Skip to content

Publishing ​

Publish your plugin to the Omniscio Marketplace so other Omniscio users can discover and install it.

Overview ​

The publish workflow is:

  1. Build and package your plugin
  2. Authenticate with GitHub (automatic on first publish)
  3. Upload the .amcplugin archive to the marketplace
  4. Wait for review (manual review by the marketplace team)
  5. Published -- your plugin appears in Omniscio's marketplace browser

Prerequisites ​

  • A GitHub account
  • A built and validated plugin (run npx -p @omniscio/plugin-cli omniscio-plugin validate first)

Step 1: Build and Package ​

Make sure your plugin builds cleanly and passes validation:

bash
npm run build
npx -p @omniscio/plugin-cli omniscio-plugin validate
npx -p @omniscio/plugin-cli omniscio-plugin package

Expected output:

Manifest validated
Compiling TypeScript...
Build complete

✓ Manifest schema
✓ SDK version declared (2.0.0)
✓ UI entry point exists (dist/ui/index.html)
✓ TypeScript compilation
✓ No banned imports
✓ All checks passed

Packaged: my-plugin-1.0.0.amcplugin (0.01 MB)

TIP

If you skip the package step, the publish command runs it automatically.

What Your Listing Shows ​

There is no listing form. Everything the marketplace page shows comes from the package you upload:

On the listingSourceLimits
Name, description, author, category, license, icon, tagsmanifest.json → plugin.*see the manifest reference
Long description (Overview tab)the README.md next to manifest.json, packaged automatically by omniscio-plugin package (CLI 3.1 and later)markdown only, 64 KB; use absolute https:// image URLs, a repo-relative path cannot load
Screenshot galleryplugin.screenshots, a list of image URLs you hostup to 8 http(s) URLs, 2048 characters each
Support tabplugin.links with any of homepage, support, privacy, contact, repositoryeach an http(s) URL, all optional
Ratings and downloadsusers and the marketplacenothing to supply

omniscio-plugin preflight (and the preflight that runs inside publish) prints one Listing line: pass when the README, screenshots and support links are all present, otherwise a warning that names what is missing. It never blocks a publish, so a plugin with nothing to show can still ship.

It also prints one README line, and this one does block: the README is the text customers read on the store page, so preflight and publish refuse a root README.md that contains raw HTML tags, a badge image (shields.io and similar), a Developer notes heading or a line of developer notes, or more than 3,000 characters. The message names each offending line (up to five). Move developer content, badges and HTML to docs/DEVELOPMENT.md; a one-line pointer such as "Developer notes: docs/DEVELOPMENT.md" is fine, and tags inside code fences or inline code are not counted.

Older CLIs drop the README

Before CLI 3.1, omniscio-plugin package shipped only dist/ and assets/ (or a flat plugin's entry-point folders), so a README in your repository never reached the marketplace. Upgrade with npm install -D @omniscio/plugin-cli@^3.1.0, or publish with npx -p @omniscio/plugin-cli@latest omniscio-plugin publish, then publish a new version — the listing updates when that version is approved.

Step 2: Publish ​

Run the publish command from your plugin directory:

bash
npx -p @omniscio/plugin-cli omniscio-plugin publish

First-Time Authentication ​

You can sign in ahead of time with omniscio-plugin login, which runs the same GitHub sign-in and stores the same credential. On a first publish without one, the CLI signs you in itself — it opens your browser to the Omniscio Marketplace sign-in page for GitHub OAuth authentication:

Opening browser for GitHub sign-in...
If the browser doesn't open, visit: https://amc-marketplace-jls.web.app?session=A1B2C3
On a machine without a browser, open that link on any device — the CLI waits up to 15m 00s.

Waiting for sign-in... (press Ctrl+C to cancel)
............
Still waiting for sign-in — 13m 00s left.
............
Signed in as your-github-username

On a headless machine — a CI runner, a remote server, a container — nothing opens a browser, and that is fine: copy the printed link to any device with a browser and finish GitHub sign-in there, including any two-factor step. The CLI keeps polling for fifteen minutes, so there is no rush and no need to restart the publish or login.

After signing in, the CLI stores your token locally at ~/.amc/marketplace-token. Subsequent publishes reuse it, and when it expires the CLI renews it silently in the background using the stored refresh token — so you should only see the browser flow again if you sign out or your access is revoked.

Upload ​

Before it signs in, the CLI chooses the package: the one <id>-<version>.amcplugin in your plugin folder (it runs omniscio-plugin package if there is none). If the folder holds more than one package it stops and lists them; name the one to upload with --package <path>. A package whose name or inside-version is not the manifest.json version, or that carries a -test.N label, is refused. See Choosing the package.

After authentication, the CLI uploads that file:

Uploading my-plugin-1.0.0.amcplugin (0.01 MB)...

Submitted for review (submission ID: abc123)
Run `omniscio-plugin status` to check progress, or use --watch to wait.

Adding a Changelog ​

Include a changelog message for the marketplace listing:

bash
npx -p @omniscio/plugin-cli omniscio-plugin publish --changelog "Added dark mode support and fixed sidebar badge count"

Watch Mode ​

Use --watch to poll for the review decision instead of checking manually:

bash
npx -p @omniscio/plugin-cli omniscio-plugin publish --watch

The CLI polls every 30 seconds for up to 3 hours:

Uploading my-plugin-1.0.0.amcplugin (0.01 MB)...

Submitted for review (submission ID: abc123)

Watching for review decision...
......
Plugin published!

If the submission is rejected, the CLI prints the reviewer's feedback and exits with a non-zero code:

Rejected: Plugin must handle errors in the onEnable lifecycle hook

Step 3: Check Status ​

Check the review status of your submissions at any time:

bash
npx -p @omniscio/plugin-cli omniscio-plugin status

Output:

Submissions for "my-plugin":

  [?] my-plugin v1.0.0 — pending (5/17/2026)

Status icons:

IconStatusMeaning
[?]pendingAwaiting review
[OK]approvedPublished to the marketplace
[X]rejectedReview failed -- see feedback

When run from a plugin directory (with a manifest.json), the status command filters to show only submissions for that plugin. Run it from any other directory to see all your submissions across all plugins.

If rejected, the feedback is shown:

Submissions for "my-plugin":

  [X] my-plugin v1.0.0 — rejected (5/17/2026)
      Feedback: Plugin must handle errors in the onEnable lifecycle hook

Re-Submitting After Changes ​

After a rejection or when publishing an update:

  1. Fix the issues or make your changes
  2. Bump the version in manifest.json (in the plugin.version field)
  3. Rebuild, validate, and publish:
bash
npm run build
npx -p @omniscio/plugin-cli omniscio-plugin validate
npx -p @omniscio/plugin-cli omniscio-plugin publish --changelog "Fixed onEnable error handling"

Each submission is tracked independently. You can see the full history with omniscio-plugin status.

Review Process ​

Submissions go through these states:

pending  -->  approved  (published to marketplace)
         -->  rejected  (feedback provided)

The review checks for:

  • Valid manifest schema and SDK version compatibility
  • No banned imports (electron, better-sqlite3, worker_threads, child_process — the last two in both their bare and node:-prefixed spellings)
  • Correct entry points (UI and/or backend files exist)
  • Package size within the 50 MB limit
  • Security review of plugin behavior

You will hit the banned-import rule before review, not at it

omniscio-plugin publish runs the same scan as part of its preflight and refuses to upload on a hit, so this is not a surprise you discover days later in a rejection. --skip-preflight bypasses it deliberately, but the rule still applies at review — and, more to the point, at runtime: marketplace plugin backends run under Node's --permission, which blocks these modules, so a plugin built on one installs and then fails every call.

WARNING

The marketplace enforces a 50 MB package size limit. The omniscio-plugin package command warns you if your archive exceeds this.

Who Can Publish, and the Newest Powers ​

Every upload passes four steps before it reaches anyone's computer:

  1. Approved publishers only. Your account must be approved to publish. Your first upload asks for approval and is refused until the Omniscio team says yes.
  2. The automatic check. The marketplace checks your package the moment it arrives: the manifest, the permissions, the entry points, the size and the banned imports above.
  3. The AI review. An AI reviewer reads your code and writes a report for the person who decides.
  4. A person's approval. Someone on the Omniscio team reads that report, looks at your plugin and approves or rejects it. Nothing is published without that.

The newest powers are not open to outside developers yet. Until Omniscio turns them on, an upload that declares any of these is refused at the automatic check, with a message that names the power:

tasks.read, tasks.write, boards.write, vault.read, vault.write, calendar.read, calendar.write, inbox.read, people.read, sessions.control, teamChat.read, teamChat.write, members.manage

This power isn't open to outside developers yet: tasks.read.

Remove those permissions to publish now, or wait until Omniscio opens them. Plugins made by the Omniscio team are not affected. Reviewers see these powers first on every submission that declares them.

When the powers are open and someone installs your plugin, Omniscio still installs it even if a power is switched off on that person's computer. The install screen tells them that those parts won't work until it is turned on, so your plugin should handle a refused call gracefully.

Authentication Management ​

Sign In ​

bash
npx -p @omniscio/plugin-cli omniscio-plugin login

Output:

Signed in as: your-github-username (uid: abc123)
Credential saved to ~/.amc/marketplace-token

Run it whenever you need the marketplace credential without publishing — a release build of Omniscio has no marketplace sign-in of its own, so its My Plugins tab reads the one this command stores. Run it again while signed in and it tells you which account is stored and where. GitHub reuses whatever account your browser is signed into, so read The GitHub account trap under publish before switching accounts.

An older CLI has no login: run omniscio-plugin publish and it signs you in on first use, writing the same file.

Check Current Identity ​

bash
npx -p @omniscio/plugin-cli omniscio-plugin whoami

Output:

Signed in as: your-github-username (uid: abc123)

If not signed in:

Not signed in. Run `omniscio-plugin login` to sign in.

Sign Out ​

bash
npx -p @omniscio/plugin-cli omniscio-plugin logout

Output:

Signed out (was: your-github-username)

This deletes the stored token at ~/.amc/marketplace-token. The next publish or login will ask you to sign in again.

Token Storage ​

The CLI stores your marketplace authentication token at:

~/.amc/marketplace-token

The token includes your GitHub username, Firebase UID, and an expiration timestamp. It is automatically refreshed when needed, and expired tokens trigger a new browser-based sign-in flow.

CLI Command Summary ​

CommandDescription
omniscio-plugin loginSign in to the marketplace with GitHub
omniscio-plugin publishUpload plugin to the marketplace
omniscio-plugin publish --watchUpload and poll until approved/rejected
omniscio-plugin publish --changelog "..."Upload with a changelog message
omniscio-plugin statusCheck submission review status
omniscio-plugin whoamiShow authenticated GitHub username
omniscio-plugin logoutClear stored authentication token

Omniscio Plugin SDK