You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 88af60f
Browse filesBrowse the repository at this point in the historyBrowse files
feat(workspace): skill publish <name> and a "Publish to workspace" action
Retargeted onto main after #1280 merged; rebuilt as one commit carrying
only this PR's change (the stacked history interleaved #1280's commits).
The publish path from #1280 had no surface: nothing invoked it, so a
locally authored skill still had no route to the workspace, and the CLI
still did not say whether one existed.
- `altimate-code skill publish <name>` resolves the skill the way `skill
test` does, refuses a built-in (`skillSource`, which also knows the
`~/.altimate/builtin` install), and prints one line on success. Every
deliberate refusal — not linked, not the workspace's owner, workspace-
owned, binary or linked file, empty, too large, name taken elsewhere,
edited elsewhere mid-upload, uploaded but not attached — is printed
as-is, since each already says what to do.
- The Skills dialog gains "Publish to workspace" in the per-skill action
picker, next to Show / Edit / Test / Remove — where a user who wonders
whether publishing is possible will see it. Disabled for built-ins and
for skills the workspace sent us; judged against `api.state.path
.directory`, where the binding and the snapshot live.
- `describePublish` and `explainPublishError` give both surfaces the same
words; a `skill_published` telemetry event records the outcome with its
source.
Verified: 625 pass across the workspace, plugin and fork-guard suites on
main; typecheck clean. `skill publish` exercised end to end against prod
on a throwaway workspace (see #1280) — this command is what ran it.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012Q51zFUmPg1WwtS5CrGJE6
0 commit comments