axon publish
Publish the project in the current directory to the registry.
axon publish
Axon detects the kind — module, cognet, bench, prompt or extension — and publishes it accordingly. There is no kind to name, which is why one verb covers all of them.
cd my-tool
axon prepare # regenerate types first
axon publish
Requires axon login. The package identity comes from the project's
package.json, and the scope must be one you own.
Agents deploy rather than publish — an agent is a running service, not a package
someone installs. See axon deploy. Agents can be published for
others to clone; that is axon publish from an agent folder, and what
axon clone then pulls down.
The explicit form acts on one kind from anywhere:
axon module publish
axon cognet publish
axon ext publish
See Project kinds for the shared init → prepare → publish
grammar.