-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sirraya Codon SDK Welcome to the Sirraya Codon SDK — a secure, context-aware JavaScript SDK designed to parse, encode, and verify user commands ("codons") with robust identity validation.
Overview The Sirraya Codon SDK provides a streamlined way to:
Interpret user input into structured intents and payloads.
Generate cryptographically signed tokens ("telomeres") tied to user identity.
Verify authenticity of commands via signature checks.
Detect and embed runtime context automatically.
Parse and serialize complex codons for further processing in your application.
Built with security and extensibility in mind, this SDK is ideal for applications requiring trustworthy command interpretation combined with user identity verification.
Features Intent Parsing — Convert natural or structured user input into actionable intents.
Secure Token Generation — Create tamper-proof telomere tokens bound to user secrets.
Signature Verification — Ensure every codon is authorized before execution.
Context Detection — Automatically include device and environment context.
Easy Integration — Simple, promise-based API for embedding in web or backend projects.
Installation
npm install sirraya-codon-sdk or yarn add sirraya-codon-sdk
Quick Start
import { CodonSdk } from 'sirraya-codon-sdk';
// Provide a function to fetch user secrets securely const getUserSecret = (userId) => {
// Fetch secret from DB or environment securely return 'user-specific-secret-key';
};
const sdk = new CodonSdk(getUserSecret);
const userInput = "Order 3 units of product X"; const userId = "user_abc";
try {
const codon = sdk.parseUserInput(userInput, userId); console.log("Codon parsed successfully:", codon);
} catch (error) {
console.error("Error parsing codon:", error.message);
} Documentation See the detailed documentation pages for:
API Reference
Integration Guide
Security Model
Context Detection
Support & Contribution We welcome contributions! Please review the contribution guidelines and code of conduct before submitting pull requests.
For issues, please use the GitHub [Issues](https://github.com/your-repo/sirraya-codon-sdk/issues) page.
License This project is licensed under the MIT License — see the LICENSE file for details.
About Sirraya Sirraya is committed to creating secure, developer-friendly SDKs for next-gen applications that demand high-integrity command processing and identity validation.