mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 18:47:40 +00:00
* fix(skills): republish under an existing skill bundle name as a new version Look up the caller's package by bundle name before packaging so a re-share reuses its package id, and explain a name a teammate already holds instead of a generic failure. Also stop classifying cloud request failures as filesystem failures (same fix as #20848). Fixes #20770 * fix(skills): keep the cloud request error importable without Electron The runtime now classifies SkillCloudRequestError, and orcad has no Electron. * fix(skills): map a held name only at lookup; leave classification to #20848 A finalize 409 after a signed-out preview is the user's own name, so it falls back to the generic publish failure instead of blaming a teammate. * fix(skills): say the skill name is in use instead of blaming a teammate Orca has no team UI, so the copy states only what the server told us.
3.6 KiB
3.6 KiB
Artifact and skill publishing commands
The publish gate and its recovery are in the guide body. This is the command surface behind it.
Artifacts
ORCA artifacts share <file> --json
ORCA artifacts update <file> --json
ORCA artifacts unshare <file> --json
ORCA artifacts list [--cursor <cursor>] --json
ORCA artifacts delete <id> --json
share,update, andunshareaccept.html,.htm,.md, and.markdownfiles.sharesaves the returned edit token in the active Orca profile and never includes it in CLI output.updateandunsharelook up that record by the resolved local file path, so use the same path and Orca profile that originally shared the file.listreturns one page of artifacts owned by the signed-in account. If JSON output hasnextCursor, pass it back with--cursor <cursor>.delete <id>deletes an account-owned artifact by the id returned fromlist; it does not need the original local file or its edit-token record.- Relative HTML assets are not uploaded. Share a self-contained HTML file or use absolute asset URLs.
- If an upload exceeds the CLI transport limit, use the browser upload page as directed by the error.
- For local or staging development,
--api-url <url>overrides the artifact service;ORCA_ARTIFACTS_API_URLprovides the same override for the session. ORCA_CLOUD_AUTH_TOKENis a development-only authentication override. Prefer the active Orca profile's normal PropelAuth session and never expose the token in logs or agent output.
Skill sharing
Agents can publish one or more installed skills behind one unlisted link through the signed-in Orca account. The user must first grant the separate, default-off permission in Settings → Share Skills ("Allow agents and the Orca CLI to publish skill links"). There is no CLI or RPC way to grant it. Manual publishing from the reviewed desktop flow remains available without this agent permission.
ORCA skills installed --json
ORCA skills share --skill <selector> [--skill <selector> ...] --bundle-name <name> --json
skills installedreturns safe discovery IDs and names. It does not expose local skill paths in CLI output. Sharing then verifies that eachSKILL.mddeclares a portable lowercase name containing only letters, numbers, and hyphens.- Each
--skillmust be an exact discovery ID or an unambiguous installed-skill name. Use IDs when names collide. - Multiple
--skillflags create one bundle and one link.--alland arbitrary paths are intentionally unsupported; name every skill the user asked to publish. - Skill folders can contain scripts, configuration, or credentials. The permission is authority, not intent: publish only the skills the user named and never widen the set.
- A denied command fails with
agent_skill_sharing_disabled. Do not retry; ask the user to enable the switch in the desktop app if they want this action. - Orca stages one agent-published bundle at a time per host. If another publish is active,
wait for it to finish before retrying
agent_skill_sharing_busy. - Sharing again under a
--bundle-namethe account already published adds a new version to that package.agent_skill_bundle_name_takenmeans the name is already in use; do not retry, ask the user for a different name. - Run the command in an Orca terminal on the machine that stores the skills. Forwarded WSL, SSH, and paired-runtime invocations fail before discovery so Orca cannot read from the wrong filesystem.
- The JSON result contains the unlisted URL and public share/package/version IDs. It never includes cloud authentication tokens.