Extending Jue
Write an Extension only to add Agent support. Users install an ordinary npm package and reference it in project config.
- Create an npm package and use
exportsfor the entrypoint. - Declare consumer compatibility in
peerDependenciesand repeat the same bounded version indevDependenciesfor local builds. Keepai-jue-coreout of runtimedependencies. - Implement Adapter
read,write, andconfirm. - Export
defineExtension({ adapters: [...] }). - Test Capability mapping, round trips, idempotency, field preservation, permissions, and native confirmation.
- Update the Agent support profile.
Agent Plugins and Bundles are Artifact changes returned by the Adapter. Core authorizes and executes those changes; Extensions do not duplicate write, transaction, or permission logic.
See the Adapter standard, Extension API.