@scrydon/sdk-authoring
v0.0.4
Published
Unified authoring SDK for Scrydon platform — covers vendor integrations and process templates (manifest schemas, define DSL, CLI, runtime bundle inspector).
Readme
@scrydon/sdk-authoring
The authoring SDK for the Scrydon platform. Define Integrations, Ontologies, Process Templates, and Packs as upload-ready bundles, with types and validation that match the platform's runtime.
Full documentation: docs.scrydon.com/sdks/authoring
Install
npm install --save-dev @scrydon/sdk-authoring zod
# or
bun add -d @scrydon/sdk-authoring zodzod is a peer dependency (any ^4).
Surfaces
The package has no root barrel — import from the subpath for the artifact you are authoring.
| Subpath | What you define | Docs |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| @scrydon/sdk-authoring/integrations | Vendor connectors with auth, blocks, tools, and capability runtimes (LLM, STT, TTS, embeddings, OCR, video, webhooks). | docs |
| @scrydon/sdk-authoring/ontologies | Typed Object Types, Link Types, Action Types, identity rules, and bindings shipped as a versioned pack. | docs |
| @scrydon/sdk-authoring/process-templates | Reusable process templates with stages, tasks, personas, voice triggers, and action templates. | docs |
| @scrydon/sdk-authoring/packs | Bundle multiple ontologies + a process flow into a single .scrydon-pack.tar.gz artifact, ready for upload. | docs |
Quick start
import { defineVendor } from "@scrydon/sdk-authoring/integrations/define";
import { defineOntology } from "@scrydon/sdk-authoring/ontologies";
import { defineProcessTemplate } from "@scrydon/sdk-authoring/process-templates";
import { defineScrydonPack } from "@scrydon/sdk-authoring/packs";Each define* helper is a zero-runtime pass-through that gives you full TypeScript narrowing against the platform's manifest schemas. See the Authoring SDK guide for end-to-end examples per surface.
CLI
The package ships a single bin with two subcommands. Invoke it via the package-qualified form — it works whether or not the package is installed locally:
| Subcommand | Purpose |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| @scrydon/sdk-authoring integrations | init, build, test — vendor integration bundles. |
| @scrydon/sdk-authoring pack | build, inspect, validate — Scrydon Pack bundles (process flow + ontology). |
bunx @scrydon/sdk-authoring --version
bunx @scrydon/sdk-authoring --help
bunx @scrydon/sdk-authoring integrations --help
bunx @scrydon/sdk-authoring pack --help
bunx @scrydon/sdk-authoring integrations build --entry src/index.ts
# pack build accepts a directory — auto-discovers pack.ts | pack.mjs | pack.js | pack.json:
bunx @scrydon/sdk-authoring pack build .
# Or pass an explicit manifest + override the subdirs:
bunx @scrydon/sdk-authoring pack build pack.json --ontology ./ontology --process-flow ./process-flowWhat this package does NOT contain
Host-side runtime lives in private engine packages, not in this SDK:
@scrydon/engine-dlp— DLP scanner, detectors, enforcement@scrydon/engine-integrations— vendor actor pool, dispatch, capability registry, manifest extractor@scrydon/engine-packs— pack install orchestrator, cross-bind, bundle inspector@scrydon/engine-process-templates— graph validator
These are not on npm and not consumed by integration authors.
Compatibility
- Runtime: Node 20+, Bun 1.x. Pure ESM.
- TypeScript: 5.7+ recommended.
- Zod: peer dep
^4.0.
License
Proprietary. Copyright © Scrydon. All rights reserved. See LICENSE for permitted use.
