Files

3.7 KiB

Standalone extension development

Extension source, dependencies, tests, releases, and agent instructions belong in each extension repository. Updating an extension does not require rebuilding or publishing the host app unless the documented bridge contract itself changes.

  • RSX matching and quote generation: isa-match-rsx-to-quote.
  • Generic starter and worker example: hello-world-extension. The monorepo keeps its Hello World host-compatibility example; the standalone repository is a self-contained template.
  • Shared agent skills: extension-skills, intentionally public.

Install shared skills

From the monorepo, install the CLI once:

cargo install --path chat-ui-3/extensions/isa-ext --locked

From a standalone extension root:

isa-ext update-skill

The standalone repositories also bundle a pinned CLI and manifest crate under tools/, so no monorepo checkout is needed for builds or skill installation:

npm run isa-ext -- update-skill
npm test
npm run build

The command fetches https://git.isawarden.com/ISAWarden/extension-skills, reads its skills/<name>/SKILL.md folders, and installs them into .agents/skills. It preserves unrelated skills and refuses to overwrite locally changed managed files. Review the downloaded instructions and commit the snapshot when adopting an update. The public source must never contain credentials or private customer data.

The isa-extension-development skill includes a versioned specification snapshot for bridge contracts, styling, persistence, workers, and packaging. The isa-extension-ui-control skill covers native app interaction through the host's current selector automation workflow. Keep project-specific RSX behavior and validation instructions in that project's AGENTS.md; shared skills remain generic.

When adopting custom MCP recommendations, update the pinned packager and manifest crate from a template that supports toolRecommendations.schemaVersion 2. After building, inspect the package-root manifest. The installed guide includes a complete sample with bearer authentication and a catalog service. Recommend tools during installation

Locate the optional native host

isa-ext find-monorepo
isa-ext find-monorepo --monorepo /absolute/path/to/monorepo

Discovery checks ancestor and adjacent directories for a valid host checkout. ISA_WARDEN_MONOREPO provides an explicit override. Multiple matching adjacent checkouts require explicit selection. If none is found, the UI-control skill asks for the location; it does not require a host checkout for extension build or unit tests.

Use the discovered checkout's .agents/skills/control-chat-ui/SKILL.md to install/start the native automation build. Mount the standalone project through the app's developer-extension folder picker, then select it by manifest ID. Native folder pickers and permission prompts require user interaction. Only mounted developer extensions expose automation contexts; marketplace installations do not. Stop the app session after validation and report any untested host interactions.

Maintain independent releases

Keep local SDK/theme/packaging snapshots pinned. Update them deliberately when adopting a host contract change and rerun the extension's complete package command and relevant tests. Do not add sibling-monorepo imports or packaging paths. Publish extension changes only to their own repository; host compatibility tests should exercise the generic local example rather than depending on an RSX application checkout.