Skip to content

Agents by domain

The publish domain

How an agent reaches the publish domain: its MCP tools, its CLI commands and its edit operations.

Last updated:

This page is generated from the registry. Print it with stuarty agent:docs --print guide:publish; stuarty publish lists the commands of the domain.

Publications and the approval queue that gates them and costly generations.

How to reach it#

MCP tools: command_help, job_start, job_get, publication. Tools that take domain=publish: command_help.

CLI: stuarty publish lists the commands of the domain and stuarty publish <verb> runs one; the full names stay valid.

  • approval:list: list the approval queue: what waits for a person (pending by default)
  • approval:show: show one approval request: what will be sent, where, the cost and its state
  • approval:rule:list: list the rules that approve without asking
  • social:network:list: list the social networks this build can publish to, with their limits and where they were read
  • social:connect: start the sign-in to a network with your own developer app; the client secret is read from standard input or a file, never from an argument
  • social:account:list: list the connected social accounts and whether each is signed in
  • publish:validate: check a post against the limits of its network and show what a person would approve; sends nothing
  • publish:now: prepare the publication of an exported video: it waits for a person to approve it in the app, then it is sent; you cannot approve it
  • publish:status: show the state of a publication: waiting_approval, uploading, processing, published, sent_as_draft or failed
  • publication:create: plan a publication: a video for one or more accounts, each with its own time; nothing is asked or sent until you schedule it
  • publication:list: list the publications of the calendar, by project, state, network or time range
  • publication:show: show one publication with each target: its time, its state, its approval, its address or its error
  • publication:update: change a publication or its targets; a post that waited for approval or was approved goes back to waiting for approval
  • publication:schedule: give a target its time and ask for approval: it is sent at that time only after a person approves it in the app; you cannot approve it
  • publication:send-now: ask for approval to send a target as soon as it is approved; use it for a missed target too
  • publication:retry: ask for approval to send a failed target again; read why it failed with publication:show
  • publication:cancel: cancel a target, or every target that has not gone out when --target is left out
  • calendar:plan: read a range of the calendar: its days with notes, themes and quiet marks, its recurring slots and the target that fills each one
  • calendar:day: write the note and the theme of a day (a flag you leave out stays; an empty one clears it); a person marks a day as quiet with calendar:quiet
  • calendar:quiet: mark a day as quiet (no posts) or clear the mark; only a person in the app does, every other caller is refused
  • calendar:slot: create or change a recurring slot: a weekday and a local time on a network, shown as an empty slot to fill; it never sends anything
  • calendar:slot-remove: remove a recurring slot
  • calendar:export: print the targets of a range as an .ics file (read only, times in UTC, no credential); redirect it to a file to open it in another calendar app
  • publication:duplicate: copy a publication to another day or hour as a new draft; nothing is asked or sent until you schedule the copy

Operations#

No edit operations yet. The domain is reached through the tools and commands above; operations that a later epic registers in it appear here, and command_help domain=publish lists them.