Omniscio

Authoring a plugin

A plugin is a folder the app loads: a manifest.json, a panel, and an optional worker backend. A starter project, a build step, the app's own manifest check, a packager and a safe unpacker all ship in the repository, so an author — or an AI agent — can go from nothing to a running plugin without touching app code or installing anything. Loading it into the app uses Developer Mode, which the person switches on; the tooling never turns it on for them.

On this page

What it is

An Omniscio plugin adds a panel to the app. The manifest names the plugin, its sidebar icon, the permissions it asks for, the panel entry point and, if it has one, the worker entry point. The panel is ordinary web code; the worker is an ES module the app starts beside it, which the panel calls through a small request table.

The author kit gives you a working starter with both halves wired together, plus the generated lists everything must match: the manifest schema, the permission names (with the wording the consent screen shows), the icon names that actually draw, and the SDK types your editor completes against. Those lists are generated from the app's own sources, so they cannot promise something the app refuses.

Where to find it

  • The authoring flow lives in the Omniscio repository, under the plugin kit script folder and the starter template it scaffolds.
  • The plugin SDK itself — the @omniscio/plugin-sdk types, the omniscio-plugin CLI and the dev shell, with their examples and docs site source — lives in plugin-sdk/ at the repository root. It installs and builds from that folder with its own pnpm install; the app root is not a pnpm workspace. The published reference for those packages is served at docs.omniscio.com/sdk.
  • The three SDK packages are published to npm under the @omniscio organization. A release is a version bump in that folder landing on master: the public copy of the folder (the SDK folder's own public GitHub repository) then publishes every version npm does not have yet from its own GitHub workflow, with no npm key, and each version on npm shows the commit that built it. The steps are in plugin-sdk/RELEASING.md.
  • The finished plugin loads through Settings → Plugins → Developer Mode, which is also where its live status, reload button and removal live.
  • Finished plugins can later be published to the Marketplace, which is a separate, review-gated step with its own account requirements.

How it behaves

Creating. The create step asks for a plugin id, an output folder, a sidebar icon and any extra permissions. It checks the generated manifest with the app's validator before writing anything, so a refused create leaves nothing on disk. The scaffold contains the manifest, a panel, a worker that answers two example methods, the SDK types, and npm scripts that call the same toolkit.

Building. The build typechecks the plugin, bundles the worker into a single file, copies the panel's static files and bundles its script. A plugin that does not typecheck is refused rather than half-built, and no source maps ship.

Checking the manifest. The validate step runs the same validator the app's loader runs. It also requires an SDK version on any manifest that declares a worker backend, because that field selects the loader — a backend without it could never start. It is deliberately not a copy of the schema: the app's answer is the only answer that matters.

Packaging. The package step runs the plugin's own validate and build, clears the old output so a stale build cannot ship, strips source maps, writes a .amcplugin archive, and verifies the finished archive: the expected top-level entries, every declared entry point present, the version matching the manifest, and no source maps or TypeScript inside. A failed package leaves nothing publishable and names what was wrong.

Inspecting and unpacking. An archive can be read without extracting it — manifest, permissions, file list, signature state, and whether the app would accept the embedded manifest. Unpacking treats the archive as untrusted: it refuses paths that try to escape, absolute and drive-letter paths, symbolic links, duplicate or case-colliding names, oversized archives and entries that inflate past their declared size. It writes into a temporary folder and only moves it into place when every file is safely written, so a refused unpack never damages or half-fills a folder you already had.

Loading it. Developer Mode loads your source folder straight into the running app. The tooling asks the app to load it and the app shows an approval card naming the folder; nothing runs until the person approves. A loaded plugin carries a DEV badge and beats a marketplace or built-in copy with the same id. Developer Mode is the person's switch: turning it off unloads every dev plugin, and the tooling never turns it on by itself.

Running WebAssembly. A plugin panel cannot compile WebAssembly by default. A plugin that needs it (a video tool running a model on the graphics card, say) declares the webassembly permission. The person sees it on the install card, marked elevated, and approves it once. From then on only that plugin's panel may compile WebAssembly; it still cannot turn text into code with eval, and built-in plugins are unchanged. If the panel ships its own page policy, that policy must allow 'wasm-unsafe-eval' too, because the two policies combine.

Signature state. A locally built package carries no signature. The Marketplace signs the package bytes when it is uploaded and stores that signature with its own record, which is why an inspector reports every local package as unsigned.

Popup or full. A plugin's manifest can set ui.presentation to "popup" or "full". Leave it out and the plugin opens full, as it always has. A popup plugin opens from its top-bar button in a small floating card that you can drag; it has an Open full view button and closes with Esc. Phones always get the full page. Only popup apps can be newly pinned to the top bar. The manifest guide at plugin-sdk/docs/guide/manifest.md has the details and an example.

A card near the tray. A plugin's manifest can also declare ui.trayPopup — a small page Omniscio shows in a window beside the system tray, opened by the plugin's own code with AgentMC.tray.openPopup() and gone again when you click away or press Esc. It never opens the main window, and it gets the same protection as the plugin's panel: sandboxed, Node off, pinned to the page it declared. The host never reads or logs what the page shows. Desktop only.

Shipping a large program

A program a plugin ships inside its own package has to fit the 10 MB package. When one is far bigger than that — a video reader with its models, say — the plugin ships a pin instead, and Omniscio fetches the program once and keeps it.

  • In manifest.json, a process.pinnedPrograms entry sets source: "marketplace", names the published file with path (a bare file name), and carries the program's sha256. It sets no folder.
  • The marketplace record for that version carries the matching programs entry: the same name, the same fingerprint, the size, and the storage link. Omniscio refuses unless the two fingerprints agree and the link is the marketplace's own storage.
  • The person sees one extra line on the install card: the programs that will be downloaded and how large they are. Nothing downloads before they accept.
  • The download then happens during the install, and the bytes land read-only in Omniscio's own store and are checked again before every start.
  • The fingerprint proves the bytes are the ones you published. It does not mean anyone inspected them, and the app says exactly that.

Publishing is where this stops being an Omniscio plugin. A plugin meant for Claude Code itself ships through a different catalog — a .claude-plugin/marketplace.json file in a repository — and Publish a Claude Code plugin covers the three distribution routes, the validation run before each release, and the naming rule that strands existing installs. A plugin can also ship its own eval suite — Testing a Claude Code plugin with evals walks one case and the graders that score it, a run that reports the plugin's score with and without it, and the exit code CI reads.

Publishing the bytes. Run firebase/marketplace/scripts/upload-plugin-programs.mjs --plugin <id> --file <path> [--platform win32|darwin|linux]; it uploads the file, prints the descriptor, and refuses if the uploaded object is not the file it hashed. Put that descriptor in the upload's programs field.

If a person has turned downloads off, the app skips the download, installs the app anyway, and the pinned program refuses to start with a plain sentence until downloads are back on. A program already downloaded keeps working.

Last verified 2026-12-02