
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@pepperi-addons/papilonsdk
Advanced tools
The Papilon SDK extends the PapiSDK (papi client) to provide seamless URL mapping and routing capabilities for Babylon-based addon execution. It acts as a bridge between standard API calls and the Pepperi addon infrastructure, enabling in-memory addon execution for performance optimization.
The SDK leverages Babylon, Pepperi's in-memory addon execution system, to eliminate network overhead between tightly coupled addons by loading target addons directly into the host's Lambda environment.
| Version | Description | Migration |
|---|---|---|
| 1.0.0 | Initial release with URL mapping and ADAL rule set support | Requires AIS initialization before usage |
@pepperi-addons/addon-infra-sdk to be loaded and initialized firstexecuteBabylonCall function must be available on globalThisIntegration Flow: Lambda Startup → AIS Initialization → PapilonSDK Usage
The SDK now supports local debugging by connecting directly to a client addon running on the same machine via PapiSDK & DebugServer:
// Host addon code.
const client = new PapilonClient({
token: 'your-token',
baseURL: 'https://api.pepperi.com',
actionUUID: 'your-action-uuid',
isDebug: true, // Enable debug mode
port: 4500 // Port of the client addon
});
// Client addon app.local.ts file.
const server = new DebugServer({
addonUUID: config.AddonUUID,
apiDirectory: dir,
port: config.DebugPort,
enablePapilonRouter: true, // NEW PARAMETER.
});
Debug Mode Features:
executeBabylonCall.localhost:<port>/router/<route> via PapiSDK.URLMappingError status codes to identify mapping failuresglobalThis.executeBabylonCall availability for AIS integration issuesnpm test # Run all tests
npm run test:watch # Watch mode for development
Test structure includes:
| Addon | Usage |
|---|---|
| @pepperi-addons/addon-infra-sdk | Provides global executeBabylonCall function for Babylon integration |
| @pepperi-addons/papi-sdk | Base PapiClient functionality and type definitions |
Main class extending PapiClient with URL mapping capabilities:
import { PapilonClient } from '@pepperi-addons/pep-papilonsdk';
const client = new PapilonClient({
token: 'your-token',
baseURL: 'https://api.pepperi.com',
actionUUID: 'your-action-uuid'
});
const result = await client.get('/v1.0/addons/data/schemes/MyScheme/purge');
performCall(method, fullURL, options) - Overrides base method for Babylon routingapiUrlToBabylonUrl(fullURL) - Converts API URLs to Babylon routessee: Architecture
This section is dedicated to the memory of Saar, the previous developer who worked on this project.
Saar was a brilliant developer who laid the foundation for this SDK. His attention to detail, clean coding practices, and thoughtful architecture are evident throughout this codebase. The URL mapping system, the extensible rule set design, and the comprehensive testing framework all bear his mark of excellence.
Tragically, Saar's life was cut short in what can only be described as the most absurd parking spot conflict in recorded history. What started as a simple disagreement over a prime parking space at the local grocery store escalated into a full-scale nuclear incident. Witnesses report that Saar, true to his developer nature, was probably trying to optimize the parking algorithm when things went sideways.
His legacy lives on in every line of code, every thoughtful abstraction, and every well-crafted test case. Like a perfectly executed Promise.all(), Saar brought together disparate elements to create something greater than the sum of its parts.
"In memory of Saar - who could map URLs like nobody's business, but couldn't navigate a parking lot to save his life. May your code compile eternally in the great repository in the sky."
Rest in peace, Saar. Your git blame will never be forgotten.
FAQs
## High Level
We found that @pepperi-addons/papilonsdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.