@ouro.bot/cli 0.1.0-alpha.1297 → 0.1.0-alpha.1299

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "_note": "This changelog is maintained as part of the PR/version-bump workflow. Agent-curated, not auto-generated. Agents read this file directly via read_file to understand what changed between versions.",
3
3
  "versions": [
4
+ {
5
+ "version": "0.1.0-alpha.1299",
6
+ "changes": [
7
+ "Every ouro a2a, gateway, desk, task, presence, voice and BlueBubbles command has an Ouro AX card, so an agent reads when to use it and how it fails."
8
+ ]
9
+ },
10
+ {
11
+ "version": "0.1.0-alpha.1298",
12
+ "changes": [
13
+ "Every ouro friend, session, habit, poke, mind, mail and MCP command has an Ouro AX card, so an agent reads when to use it and how it fails."
14
+ ]
15
+ },
4
16
  {
5
17
  "version": "0.1.0-alpha.1297",
6
18
  "changes": [
@@ -1,5 +1,5 @@
1
1
  {
2
- "runtimeVersion": "0.1.0-alpha.1297",
2
+ "runtimeVersion": "0.1.0-alpha.1299",
3
3
  "bundleSchemaVersion": 3,
4
4
  "lastUpdated": "2026-09-03T00:00:00.000Z"
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <Container version="2">
3
3
  <Name>ouro-butler</Name>
4
- <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1297</Repository>
4
+ <Repository>ghcr.io/ourostack/ouroboros-butler:0.1.0-alpha.1299</Repository>
5
5
  <Registry>https://github.com/ourostack/ouroboros/pkgs/container/ouroboros-butler</Registry>
6
6
  <Network>host</Network>
7
7
  <Shell>sh</Shell>
@@ -11,7 +11,7 @@ const resolution_proof_1 = require("./resolution-proof");
11
11
  const NEEDS_ROOT = "refusing: this command writes root-owned files the agent cannot forge, so it must run as root on the agent's host (for example docker exec as root, or sudo). Nothing was written.";
12
12
  function requireRoot(ctx) {
13
13
  if (!ctx.isRoot)
14
- throw new Error(NEEDS_ROOT);
14
+ throw Object.assign(new Error(NEEDS_ROOT), { code: "needs-root" });
15
15
  }
16
16
  async function requireFriend(ctx, friendId) {
17
17
  const friend = await ctx.store.get(friendId);
@@ -1,20 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.A2A_COMMANDS = void 0;
4
+ const cards_1 = require("./cards");
4
5
  exports.A2A_COMMANDS = [
5
- { name: "gateway serve", effect: "others", summary: "Serve the gateway that other agents connect to." },
6
- { name: "a2a card", effect: "private", readOnly: true, summary: "Show the agent's A2A card." },
7
- { name: "a2a delegated-commands grant", effect: "others", summary: "Let a friend's agent run delegated commands." },
8
- { name: "a2a delegated-commands list", effect: "private", readOnly: true, summary: "List the delegated command grants." },
9
- { name: "a2a delegated-commands revoke", effect: "private", summary: "Revoke a delegated command grant." },
10
- { name: "a2a escalation grant", effect: "others", summary: "Let a friend escalate to the person." },
11
- { name: "a2a escalation list", effect: "private", readOnly: true, summary: "List escalation grants." },
12
- { name: "a2a escalation revoke", effect: "private", summary: "Revoke an escalation grant." },
13
- { name: "a2a identity", effect: "private", readOnly: true, summary: "Show the agent's A2A identity." },
14
- { name: "a2a message", effect: "others", summary: "Send an A2A message to another agent." },
15
- { name: "a2a onboard", effect: "private", summary: "Onboard another agent from its card." },
16
- { name: "a2a outbox ack", effect: "others", summary: "Acknowledge messages another agent sent." },
17
- { name: "a2a outbox list", effect: "private", readOnly: true, summary: "List the A2A outbox." },
18
- { name: "a2a outbox resolve", effect: "others", summary: "Resolve a report another agent filed." },
19
- { name: "a2a serve", effect: "others", summary: "Serve the agent's A2A endpoint to other agents." },
6
+ { name: "gateway serve", effect: "others", summary: "Serve the gateway that other agents connect to.", ax: { id: "cli:gateway serve", group: "a2a", effect: "write", when: "Run the credit gateway in the foreground: agents call it with one master key, and it spends upstream keys from --keys-dir in order.", errors: [(0, cards_1.usageError)("gateway serve", "needs --keys-dir <dir>.", "Pass the folder holding the upstream Anthropic keys."), (0, cards_1.needsWhy)("gateway serve", "serves model access to other agents"), (0, cards_1.unknownFlag)("gateway serve")] } },
7
+ { name: "a2a card", effect: "private", readOnly: true, summary: "Show the agent's A2A card.", ax: { id: "cli:a2a card", group: "a2a", effect: "read", when: "Get the public card other agents fetch to reach this one: its name, skills and JSON-RPC endpoint under --base-url.", errors: [(0, cards_1.unknownFlag)("a2a card"), ...(0, cards_1.agentErrors)("a2a card")] } },
8
+ { name: "a2a delegated-commands grant", effect: "others", summary: "Let a friend's agent run delegated commands.", ax: { id: "cli:a2a delegated-commands grant", group: "a2a", effect: "consequential", confirm: "The friend's agent can run delegated commands as this agent until revoked or until --expires passes.", when: "Let one friend's agent, pinned by its --did, run commands here as this agent, optionally until --expires; run as root.", errors: [(0, cards_1.usageError)("a2a delegated-commands grant", "needs --friend <id> and --did <did:key>, and --expires in the future.", "Pass the friend id, its host's DID, and an ISO date such as 2027-01-01T00:00:00Z."), { code: "needs-root", means: "ouro a2a delegated-commands grant writes root-owned trust files, and this shell isn't root.", fix: "Ask the person to run it as root on the agent's host, such as with sudo or docker exec as root." }, (0, cards_1.needsWhy)("a2a delegated-commands grant", "lets another agent act as this one"), (0, cards_1.unknownFlag)("a2a delegated-commands grant"), ...(0, cards_1.agentErrors)("a2a delegated-commands grant")] } },
9
+ { name: "a2a delegated-commands list", effect: "private", readOnly: true, summary: "List the delegated command grants.", ax: { id: "cli:a2a delegated-commands list", group: "a2a", effect: "read", when: "See which friends' agents may run commands here as this agent, each grant's pinned DID and when it expires.", errors: [(0, cards_1.unknownFlag)("a2a delegated-commands list"), ...(0, cards_1.agentErrors)("a2a delegated-commands list")] } },
10
+ { name: "a2a delegated-commands revoke", effect: "private", summary: "Revoke a delegated command grant.", ax: { id: "cli:a2a delegated-commands revoke", group: "a2a", effect: "write", when: "Take back a friend's agent's right to run commands as this one, before its grant expires; run as root.", errors: [(0, cards_1.usageError)("a2a delegated-commands revoke", "needs --friend <id>.", "Pass the friend id that ouro a2a delegated-commands list shows."), { code: "needs-root", means: "ouro a2a delegated-commands revoke changes root-owned trust files, and this shell isn't root.", fix: "Ask the person to run it as root on the agent's host, such as with sudo or docker exec as root." }, (0, cards_1.unknownFlag)("a2a delegated-commands revoke"), ...(0, cards_1.agentErrors)("a2a delegated-commands revoke")] } },
11
+ { name: "a2a escalation grant", effect: "others", summary: "Let a friend escalate to the person.", ax: { id: "cli:a2a escalation grant", group: "a2a", effect: "consequential", confirm: "The friend's agent can interrupt the person through this agent until the grant is revoked.", when: "Let one friend's agent, pinned by its --did, escalate to the person through this agent; run as root on the agent's host.", errors: [(0, cards_1.usageError)("a2a escalation grant", "needs --friend <id> and --did <did:key>.", "Pass the friend id and the DID its host prints with ouro a2a identity."), { code: "needs-root", means: "ouro a2a escalation grant writes root-owned trust files, and this shell isn't root.", fix: "Ask the person to run it as root on the agent's host, such as with sudo or docker exec as root." }, (0, cards_1.needsWhy)("a2a escalation grant", "lets another agent reach the person"), (0, cards_1.unknownFlag)("a2a escalation grant"), ...(0, cards_1.agentErrors)("a2a escalation grant")] } },
12
+ { name: "a2a escalation list", effect: "private", readOnly: true, summary: "List escalation grants.", ax: { id: "cli:a2a escalation list", group: "a2a", effect: "read", when: "See which friends' agents may currently escalate to the person through this agent, and the DID each is pinned to.", errors: [(0, cards_1.unknownFlag)("a2a escalation list"), ...(0, cards_1.agentErrors)("a2a escalation list")] } },
13
+ { name: "a2a escalation revoke", effect: "private", summary: "Revoke an escalation grant.", ax: { id: "cli:a2a escalation revoke", group: "a2a", effect: "write", when: "Stop a friend's agent from escalating to the person through this agent; run as root on the agent's host.", errors: [(0, cards_1.usageError)("a2a escalation revoke", "needs --friend <id>.", "Pass the friend id that ouro a2a escalation list shows."), { code: "needs-root", means: "ouro a2a escalation revoke changes root-owned trust files, and this shell isn't root.", fix: "Ask the person to run it as root on the agent's host, such as with sudo or docker exec as root." }, (0, cards_1.unknownFlag)("a2a escalation revoke"), ...(0, cards_1.agentErrors)("a2a escalation revoke")] } },
14
+ { name: "a2a identity", effect: "private", summary: "Show the agent's A2A identity.", ax: { id: "cli:a2a identity", group: "a2a", effect: "write", when: "Print this host's own DID, the key another agent's owner pins when granting this agent escalation or commands; the first run creates its key file.", errors: [(0, cards_1.unknownFlag)("a2a identity")] } },
15
+ { name: "a2a message", effect: "others", summary: "Send an A2A message to another agent.", ax: { id: "cli:a2a message", group: "a2a", effect: "consequential", confirm: "The other agent gets the text at once and may act on it; it can't be taken back.", when: "Send text to another agent at the card URL given by --to, in an ongoing --context or as a --delegated command.", errors: [(0, cards_1.usageError)("a2a message", "needs --to <card-url> and --text <text>.", "Pass the peer's card URL with --to and the message with --text."), (0, cards_1.needsWhy)("a2a message", "sends a message another agent acts on"), (0, cards_1.unknownFlag)("a2a message")] } },
16
+ { name: "a2a onboard", effect: "private", summary: "Onboard another agent from its card.", ax: { id: "cli:a2a onboard", group: "a2a", effect: "write", when: "Add another agent as a friend from the card at its --card-url, or by --did and --name when it publishes no card.", errors: [(0, cards_1.usageError)("a2a onboard", "needs --card-url, or --did with --name.", "Pass the peer's card URL, or its DID from ouro a2a identity on its host plus a name."), (0, cards_1.unknownFlag)("a2a onboard"), ...(0, cards_1.agentErrors)("a2a onboard")] } },
17
+ { name: "a2a outbox ack", effect: "others", summary: "Acknowledge messages another agent sent.", ax: { id: "cli:a2a outbox ack", group: "a2a", effect: "write", when: "Tell the peer at --to that the messages in --ids arrived, so it stops offering them again.", errors: [(0, cards_1.usageError)("a2a outbox ack", "needs --to <card-url> and --ids <id,id,...>.", "Pass the ids from ouro a2a outbox list, comma separated."), (0, cards_1.needsWhy)("a2a outbox ack", "tells another agent what arrived"), (0, cards_1.unknownFlag)("a2a outbox ack")] } },
18
+ { name: "a2a outbox list", effect: "private", summary: "List the A2A outbox.", ax: { id: "cli:a2a outbox list", group: "a2a", effect: "write", when: "See what the peer at --to has queued for this agent since the --since cursor, before acking or resolving it; it signs a request to that peer and keeps a reply ledger.", errors: [(0, cards_1.usageError)("a2a outbox list", "needs --to <card-url>.", "Pass the peer's card URL with --to."), (0, cards_1.unknownFlag)("a2a outbox list")] } },
19
+ { name: "a2a outbox resolve", effect: "others", summary: "Resolve a report another agent filed.", ax: { id: "cli:a2a outbox resolve", group: "a2a", effect: "write", when: "Close a report the peer at --to filed, naming the --version that fixed it and a --note it can read.", errors: [(0, cards_1.usageError)("a2a outbox resolve", "needs --to, --report, --version and --note.", "Pass the report id from ouro a2a outbox list with the version and a one-line note."), (0, cards_1.needsWhy)("a2a outbox resolve", "tells another agent its report is closed"), (0, cards_1.unknownFlag)("a2a outbox resolve")] } },
20
+ { name: "a2a serve", effect: "others", summary: "Serve the agent's A2A endpoint to other agents.", ax: { id: "cli:a2a serve", group: "a2a", effect: "write", when: "Run this agent's endpoint in the foreground so other agents can message it at --host and --port until stopped.", errors: [(0, cards_1.needsWhy)("a2a serve", "opens the agent to messages from other agents"), (0, cards_1.unknownFlag)("a2a serve"), ...(0, cards_1.agentErrors)("a2a serve")] } },
21
+ { name: "a2a", effect: "private", readOnly: true, summary: "The commands for talking with other agents.", ax: { id: "cli:a2a", group: "a2a", effect: "read", when: "Names the ways this agent meets other agents: its public card, onboarding peers, messages, outboxes and trust grants.", errors: [(0, cards_1.needsSubcommand)("a2a", "card, onboard, serve, message, identity, outbox, escalation, delegated-commands"), (0, cards_1.unknownFlag)("a2a")] } },
22
+ { name: "a2a outbox", effect: "private", readOnly: true, summary: "The commands for what other agents sent this one.", ax: { id: "cli:a2a outbox", group: "a2a", effect: "read", when: "Names the three outbox actions for messages and reports a peer queued for this agent: list, ack and resolve.", errors: [(0, cards_1.usageError)("a2a outbox", "needs list, ack or resolve, and --to <card-url>.", "Name the action and pass the peer's card URL with --to."), (0, cards_1.unknownFlag)("a2a outbox")] } },
23
+ { name: "a2a escalation", effect: "private", readOnly: true, summary: "The commands for which agents may escalate to the person.", ax: { id: "cli:a2a escalation", group: "a2a", effect: "read", when: "Names the three escalation actions: grant lets a friend's agent reach the person through this one, revoke ends it, list shows them.", errors: [(0, cards_1.usageError)("a2a escalation", "needs grant, revoke or list.", "Name the action; grant and revoke also need --friend."), (0, cards_1.unknownFlag)("a2a escalation")] } },
24
+ { name: "a2a delegated-commands", effect: "private", readOnly: true, summary: "The commands for which agents may run commands here.", ax: { id: "cli:a2a delegated-commands", group: "a2a", effect: "read", when: "Names the three actions for letting a friend's agent run commands as this one: grant, revoke and list.", errors: [(0, cards_1.usageError)("a2a delegated-commands", "needs grant, revoke or list.", "Name the action; grant and revoke also need --friend."), (0, cards_1.unknownFlag)("a2a delegated-commands")] } },
25
+ { name: "gateway", effect: "private", readOnly: true, summary: "The commands for the credit gateway.", ax: { id: "cli:gateway", group: "a2a", effect: "read", when: "Names the gateway's one action, serve, which shares upstream model keys with agents behind a single master key.", errors: [(0, cards_1.usageError)("gateway", "needs serve and --keys-dir <dir>.", "Run ouro gateway serve --keys-dir with the folder holding the upstream keys."), (0, cards_1.unknownFlag)("gateway")] } },
20
26
  ];
@@ -6,6 +6,7 @@ exports.usageError = usageError;
6
6
  exports.daemonDown = daemonDown;
7
7
  exports.needsSubcommand = needsSubcommand;
8
8
  exports.needsTerminal = needsTerminal;
9
+ exports.needsWhy = needsWhy;
9
10
  /** The flag gate's refusal of a flag this command doesn't take. */
10
11
  function unknownFlag(name) {
11
12
  return {
@@ -57,3 +58,11 @@ function needsTerminal(name, fix) {
57
58
  fix,
58
59
  };
59
60
  }
61
+ /** The gate's refusal of a command other people see when no `--why` is given. */
62
+ function needsWhy(name, reaches) {
63
+ return {
64
+ code: "needs-why",
65
+ means: `ouro ${name} ${reaches}, so the gate wants a one-line reason it can record.`,
66
+ fix: `Add --why "<reason>" saying why, then run it again.`,
67
+ };
68
+ }
@@ -3,7 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CODING_TOOLS_COMMANDS = void 0;
4
4
  const cards_1 = require("./cards");
5
5
  exports.CODING_TOOLS_COMMANDS = [
6
- { name: "mcp call", effect: "private", summary: "Call a tool on an MCP server." },
7
- { name: "mcp doctor", effect: "private", readOnly: true, summary: "Check an agent's MCP servers." },
6
+ { name: "mcp call", effect: "private", summary: "Call a tool on an MCP server.", ax: { id: "cli:mcp call", group: "coding-tools", effect: "consequential", confirm: "The tool runs with the agent's access, and what it changes depends on that tool.", when: "Run one tool on one of the agent's MCP servers by name, with JSON --args, to try it outside a conversation.", errors: [(0, cards_1.usageError)("mcp call", "needs a server name and a tool name, and --args, when given, must be one JSON object.", "Find both with ouro mcp list, then quote --args as JSON."), (0, cards_1.unknownFlag)("mcp call"), (0, cards_1.daemonDown)("mcp call")] } },
7
+ { name: "mcp doctor", effect: "private", readOnly: true, summary: "Check an agent's MCP servers.", ax: { id: "cli:mcp doctor", group: "coding-tools", effect: "read", when: "When MCP tools fail inside a conversation: starts the agent's MCP server once and reports what it found broken.", errors: [(0, cards_1.usageError)("mcp doctor", "needs --agent <name>.", "Pass --agent with the agent whose MCP server to check."), (0, cards_1.unknownFlag)("mcp doctor")] } },
8
8
  { name: "mcp list", effect: "private", readOnly: true, summary: "List the MCP servers.", ax: { id: "cli:mcp list", group: "coding-tools", effect: "read", when: "Before mcp call, see which servers the agent has connected and the tools each offers.", errors: [(0, cards_1.unknownFlag)("mcp list"), (0, cards_1.daemonDown)("mcp list")] } },
9
+ { name: "mcp", effect: "private", readOnly: true, summary: "The commands for the MCP servers an agent uses.", ax: { id: "cli:mcp", group: "coding-tools", effect: "read", when: "Names the ways to see and test the MCP servers an agent has: list, call, doctor and canary.", errors: [(0, cards_1.needsSubcommand)("mcp", "list, call, doctor, canary"), (0, cards_1.unknownFlag)("mcp")] } },
10
+ { name: "mcp canary", effect: "private", readOnly: true, summary: "Probe an agent's MCP server end to end.", ax: { id: "cli:mcp canary", group: "coding-tools", effect: "read", when: "Before relying on MCP from an editor: proves the server answers a status call, exiting 1 when it doesn't.", errors: [(0, cards_1.usageError)("mcp canary", "needs --agent <name>.", "Pass --agent with the agent whose MCP server to probe."), (0, cards_1.unknownFlag)("mcp canary")] } },
11
+ { name: "mcp-serve", effect: "private", summary: "Serve an agent's tools over MCP to a dev tool.", ax: { id: "cli:mcp-serve", group: "coding-tools", effect: "write", when: "Configure an editor or coding agent to launch this; it serves the agent's tools over stdio until the client closes.", errors: [(0, cards_1.usageError)("mcp-serve", "needs --agent <name>.", "Pass --agent with the agent whose tools to serve."), (0, cards_1.unknownFlag)("mcp-serve")] } },
12
+ { name: "acp-serve", effect: "private", summary: "Serve an agent to an ACP client.", ax: { id: "cli:acp-serve", group: "coding-tools", effect: "write", when: "Configure an ACP editor to launch this, so it talks to the agent; --observe-only watches without sending turns.", errors: [(0, cards_1.usageError)("acp-serve", "needs --agent <name>.", "Pass --agent with the agent the editor should talk to."), (0, cards_1.unknownFlag)("acp-serve")] } },
9
13
  ];
@@ -1,4 +1,34 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DESK_COMMANDS = void 0;
4
- exports.DESK_COMMANDS = [];
4
+ const cards_1 = require("./cards");
5
+ exports.DESK_COMMANDS = [
6
+ { name: "desk", effect: "private", readOnly: true, summary: "The commands for an agent's desk.", ax: { id: "cli:desk", group: "desk", effect: "read", when: "Names the ways to reach the agent's work records, such as tasks, tracks, lessons and search, and Hosted Desk admin.", errors: [(0, cards_1.needsSubcommand)("desk", "task, track, friction, lesson, search, recall, reindex, thread, invite, access, delete-account"), (0, cards_1.unknownFlag)("desk")] } },
7
+ { name: "desk task", effect: "private", readOnly: true, summary: "The commands for desk tasks.", ax: { id: "cli:desk task", group: "desk", effect: "read", when: "Names the five task actions on the agent's desk: list, new, done, archive and show.", errors: [(0, cards_1.needsSubcommand)("desk task", "list, new, done, archive, show"), (0, cards_1.unknownFlag)("desk task")] } },
8
+ { name: "desk task list", effect: "private", readOnly: true, summary: "List the desk's tasks.", ax: { id: "cli:desk task list", group: "desk", effect: "read", when: "Find the agent's tasks, optionally only one --track or one --status, to get a slug for show, done or archive.", errors: [(0, cards_1.unknownFlag)("desk task list"), (0, cards_1.daemonDown)("desk task list")] } },
9
+ { name: "desk task new", effect: "private", summary: "Create a desk task.", ax: { id: "cli:desk task new", group: "desk", effect: "write", when: "Open a new piece of work for the agent under a short slug, filed in an existing --track.", errors: [(0, cards_1.usageError)("desk task new", "needs a slug and --track <track>.", "Pass the new task's slug and a track from ouro desk track list."), (0, cards_1.unknownFlag)("desk task new"), (0, cards_1.daemonDown)("desk task new")] } },
10
+ { name: "desk task done", effect: "private", summary: "Mark a desk task done.", ax: { id: "cli:desk task done", group: "desk", effect: "write", when: "Record that a task's outcome was delivered, by its slug, so it stops showing as open work.", errors: [(0, cards_1.usageError)("desk task done", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("desk task done"), (0, cards_1.daemonDown)("desk task done")] } },
11
+ { name: "desk task archive", effect: "private", summary: "Archive a desk task.", ax: { id: "cli:desk task archive", group: "desk", effect: "write", when: "Move a finished or dropped task out of the active desk by its slug, keeping its record in the archive.", errors: [(0, cards_1.usageError)("desk task archive", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("desk task archive"), (0, cards_1.daemonDown)("desk task archive")] } },
12
+ { name: "desk task show", effect: "private", readOnly: true, summary: "Show a desk task.", ax: { id: "cli:desk task show", group: "desk", effect: "read", when: "Read one task's card by its slug: its outcome, status, next step and anything blocking it.", errors: [(0, cards_1.usageError)("desk task show", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("desk task show"), (0, cards_1.daemonDown)("desk task show")] } },
13
+ { name: "desk track", effect: "private", readOnly: true, summary: "The commands for desk tracks.", ax: { id: "cli:desk track", group: "desk", effect: "read", when: "Names the three actions on the long-running areas that group tasks: list, new and show.", errors: [(0, cards_1.needsSubcommand)("desk track", "list, new, show"), (0, cards_1.unknownFlag)("desk track")] } },
14
+ { name: "desk track list", effect: "private", readOnly: true, summary: "List the desk's tracks.", ax: { id: "cli:desk track list", group: "desk", effect: "read", when: "See the areas the agent files its tasks under, to pick the --track for a new task.", errors: [(0, cards_1.unknownFlag)("desk track list"), (0, cards_1.daemonDown)("desk track list")] } },
15
+ { name: "desk track new", effect: "private", summary: "Create a desk track.", ax: { id: "cli:desk track new", group: "desk", effect: "write", when: "Start a new long-running area for tasks, under a short slug, when no existing track fits the work.", errors: [(0, cards_1.usageError)("desk track new", "needs the track's slug.", "Pass a short slug for the new track."), (0, cards_1.unknownFlag)("desk track new"), (0, cards_1.daemonDown)("desk track new")] } },
16
+ { name: "desk track show", effect: "private", readOnly: true, summary: "Show a desk track.", ax: { id: "cli:desk track show", group: "desk", effect: "read", when: "Read one track's card by its slug: what it covers and how its tasks stand.", errors: [(0, cards_1.usageError)("desk track show", "needs the track's slug.", "Find it with ouro desk track list, then pass it."), (0, cards_1.unknownFlag)("desk track show"), (0, cards_1.daemonDown)("desk track show")] } },
17
+ { name: "desk friction", effect: "private", readOnly: true, summary: "The commands for desk friction notes.", ax: { id: "cli:desk friction", group: "desk", effect: "read", when: "Names the one friction action, add, for noting something about the tools that slowed the work down.", errors: [(0, cards_1.usageError)("desk friction", "needs add and the note's text.", "Run ouro desk friction add with the note."), (0, cards_1.unknownFlag)("desk friction")] } },
18
+ { name: "desk friction add", effect: "private", summary: "Record a desk friction note.", ax: { id: "cli:desk friction add", group: "desk", effect: "write", when: "Note something about the tools or process that got in the way, in a sentence, so it can be fixed later.", errors: [(0, cards_1.usageError)("desk friction add", "needs the note's text.", "Pass the note as the words after add."), (0, cards_1.unknownFlag)("desk friction add"), (0, cards_1.daemonDown)("desk friction add")] } },
19
+ { name: "desk lesson", effect: "private", readOnly: true, summary: "The commands for desk lessons.", ax: { id: "cli:desk lesson", group: "desk", effect: "read", when: "Names the one lesson action, add, for keeping something learned so later sessions act on it.", errors: [(0, cards_1.usageError)("desk lesson", "needs add and the lesson's text.", "Run ouro desk lesson add with the lesson."), (0, cards_1.unknownFlag)("desk lesson")] } },
20
+ { name: "desk lesson add", effect: "private", summary: "Record a desk lesson.", ax: { id: "cli:desk lesson add", group: "desk", effect: "write", when: "Keep something learned the hard way, in a sentence, where later sessions of the agent will see it.", errors: [(0, cards_1.usageError)("desk lesson add", "needs the lesson's text.", "Pass the lesson as the words after add."), (0, cards_1.unknownFlag)("desk lesson add"), (0, cards_1.daemonDown)("desk lesson add")] } },
21
+ { name: "desk search", effect: "private", readOnly: true, summary: "Search the desk.", ax: { id: "cli:desk search", group: "desk", effect: "read", when: "Find desk records by words in them, across tasks, tracks, notes and lessons, before starting work that may exist.", errors: [(0, cards_1.usageError)("desk search", "needs words to search for.", "Pass the query as the words after search."), (0, cards_1.unknownFlag)("desk search"), (0, cards_1.daemonDown)("desk search")] } },
22
+ { name: "desk recall", effect: "private", readOnly: true, summary: "Recall what the desk holds on a topic.", ax: { id: "cli:desk recall", group: "desk", effect: "read", when: "Gather what the desk already knows about one topic, such as past decisions and lessons, before deciding again.", errors: [(0, cards_1.usageError)("desk recall", "needs a topic.", "Pass the topic as the words after recall."), (0, cards_1.unknownFlag)("desk recall"), (0, cards_1.daemonDown)("desk recall")] } },
23
+ { name: "desk reindex", effect: "private", summary: "Rebuild the desk's search index.", ax: { id: "cli:desk reindex", group: "desk", effect: "write", when: "When search misses records you know exist: asks the desk server to rebuild its index; older servers answer unknown tool.", errors: [(0, cards_1.unknownFlag)("desk reindex"), (0, cards_1.daemonDown)("desk reindex")] } },
24
+ { name: "desk thread", effect: "private", readOnly: true, summary: "Follow a desk record's links.", ax: { id: "cli:desk thread", group: "desk", effect: "read", when: "Trace where a desk record came from and what grew out of it, starting at its path, to see the whole story.", errors: [(0, cards_1.usageError)("desk thread", "needs a record's path.", "Pass the path a search or recall result gave."), (0, cards_1.unknownFlag)("desk thread"), (0, cards_1.daemonDown)("desk thread")] } },
25
+ { name: "desk invite", effect: "private", summary: "Invite someone to Hosted Desk.", ax: { id: "cli:desk invite", group: "desk", effect: "write", when: "As a Hosted Desk admin, make an account for a new person by --name and get their sign-up link, after a browser sign-in.", errors: [(0, cards_1.usageError)("desk invite", "needs --name <name>, or --account <id> to re-invite, not both.", "Pass --name for a new person, or --account for one who never signed up."), (0, cards_1.unknownFlag)("desk invite")] } },
26
+ { name: "desk access", effect: "private", summary: "Turn a Hosted Desk account on or off.", ax: { id: "cli:desk access", group: "desk", effect: "write", when: "As a Hosted Desk admin, let an account back in or lock it out, by its id and on or off, after a browser sign-in.", errors: [(0, cards_1.usageError)("desk access", "needs an account id and on or off.", "Pass the id Hosted Desk gave the account, then on or off."), (0, cards_1.unknownFlag)("desk access")] } },
27
+ { name: "desk delete-account", effect: "private", summary: "Delete a Hosted Desk account.", ax: { id: "cli:desk delete-account", group: "desk", effect: "consequential", destructive: true, confirm: "The account and its sign-ins are removed from Hosted Desk and can't be brought back.", when: "As a Hosted Desk admin, remove an account for good by its id, with --yes, after a browser sign-in.", errors: [(0, cards_1.usageError)("desk delete-account", "needs one account id and --yes.", "Pass the account id, and --yes once the person has agreed to the deletion."), (0, cards_1.unknownFlag)("desk delete-account")] } },
28
+ { name: "task", effect: "private", readOnly: true, summary: "The commands for desk tasks.", ax: { id: "cli:task", group: "desk", effect: "read", when: "Shorter top-level spelling of desk task: names list, new, done, archive and show for the agent's tasks.", errors: [(0, cards_1.needsSubcommand)("task", "list, new, done, archive, show"), (0, cards_1.unknownFlag)("task")] } },
29
+ { name: "task list", effect: "private", readOnly: true, summary: "List the desk's tasks.", ax: { id: "cli:task list", group: "desk", effect: "read", when: "Shorter spelling of desk task list: the agent's tasks, filtered by --track or --status, each with its slug.", errors: [(0, cards_1.unknownFlag)("task list"), (0, cards_1.daemonDown)("task list")] } },
30
+ { name: "task new", effect: "private", summary: "Create a desk task.", ax: { id: "cli:task new", group: "desk", effect: "write", when: "Shorter spelling of desk task new: opens a task under a slug, filed in the --track given.", errors: [(0, cards_1.usageError)("task new", "needs a slug and --track <track>.", "Pass the new task's slug and a track from ouro desk track list."), (0, cards_1.unknownFlag)("task new"), (0, cards_1.daemonDown)("task new")] } },
31
+ { name: "task done", effect: "private", summary: "Mark a desk task done.", ax: { id: "cli:task done", group: "desk", effect: "write", when: "Shorter spelling of desk task done: records a task's outcome as delivered, by its slug.", errors: [(0, cards_1.usageError)("task done", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("task done"), (0, cards_1.daemonDown)("task done")] } },
32
+ { name: "task archive", effect: "private", summary: "Archive a desk task.", ax: { id: "cli:task archive", group: "desk", effect: "write", when: "Shorter spelling of desk task archive: moves a task by slug out of the active desk into its archive.", errors: [(0, cards_1.usageError)("task archive", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("task archive"), (0, cards_1.daemonDown)("task archive")] } },
33
+ { name: "task show", effect: "private", readOnly: true, summary: "Show a desk task.", ax: { id: "cli:task show", group: "desk", effect: "read", when: "Shorter spelling of desk task show: one task's card by its slug, with status and next step.", errors: [(0, cards_1.usageError)("task show", "needs the task's slug.", "Find it with ouro desk task list, then pass it."), (0, cards_1.unknownFlag)("task show"), (0, cards_1.daemonDown)("task show")] } },
34
+ ];
@@ -3,12 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FRIENDS_COMMANDS = void 0;
4
4
  const cards_1 = require("./cards");
5
5
  exports.FRIENDS_COMMANDS = [
6
- { name: "friend create", effect: "private", summary: "Add a friend the agent knows." },
7
- { name: "friend link", effect: "private", summary: "Link a friend to an external account." },
8
- { name: "friend list", effect: "private", readOnly: true, summary: "List the friends this agent knows." },
9
- { name: "friend show", effect: "private", readOnly: true, summary: "Show one friend." },
10
- { name: "friend unlink", effect: "private", summary: "Remove a link between a friend and an external account." },
11
- { name: "friend update", effect: "private", summary: "Change a friend's trust, admission or initiative." },
12
- { name: "link", effect: "private", summary: "Link an agent to a friend's external account." },
6
+ { name: "friend create", effect: "private", summary: "Add a friend the agent knows.", ax: { id: "cli:friend create", group: "friends", effect: "write", when: "Add a record for someone new the agent should recognise, with a --name and an optional starting --trust.", errors: [(0, cards_1.usageError)("friend create", "needs --name <name>.", "Pass --name, and --trust if they are more than a stranger."), (0, cards_1.unknownFlag)("friend create")] } },
7
+ { name: "friend link", effect: "private", summary: "Link a friend to an external account.", example: "friend link slugger --friend f1 --provider local --external-id x1", ax: { id: "cli:friend link", group: "friends", effect: "write", when: "Tie a friend record to an identity on a channel, such as an email address, so messages from it reach that record.", errors: [(0, cards_1.usageError)("friend link", "needs the agent, --friend, a known --provider and --external-id.", "Pass all four; the error lists the identity providers it accepts."), (0, cards_1.unknownFlag)("friend link")] } },
8
+ { name: "friend list", effect: "private", readOnly: true, summary: "List the friends this agent knows.", ax: { id: "cli:friend list", group: "friends", effect: "read", when: "Find a person's friend id, trust level and linked accounts before showing, updating or messaging them.", errors: [(0, cards_1.unknownFlag)("friend list")] } },
9
+ { name: "friend show", effect: "private", readOnly: true, summary: "Show one friend.", ax: { id: "cli:friend show", group: "friends", effect: "read", when: "Read one person's full record by friend id: notes, trust, admission, initiative policy and linked identities.", errors: [(0, cards_1.usageError)("friend show", "needs the friend id after it.", "Find the id with ouro friend list, then pass it."), (0, cards_1.unknownFlag)("friend show")] } },
10
+ { name: "friend unlink", effect: "private", summary: "Remove a link between a friend and an external account.", example: "friend unlink slugger --friend f1 --provider local --external-id x1", ax: { id: "cli:friend unlink", group: "friends", effect: "write", when: "Detach a channel identity that was tied to the wrong person, so its messages stop landing on that record.", errors: [(0, cards_1.usageError)("friend unlink", "needs the agent, --friend, a known --provider and --external-id.", "Pass the same four values the link was made with."), (0, cards_1.unknownFlag)("friend unlink")] } },
11
+ { name: "friend update", effect: "private", summary: "Change a friend's trust, admission or initiative.", ax: { id: "cli:friend update", group: "friends", effect: "write", when: "Change how far the agent trusts a known person, whether they are admitted, or whether it may reach out first.", errors: [(0, cards_1.usageError)("friend update", "needs a friend id and a valid value for each flag it gets.", "Pass the id from ouro friend list, with values the usage lists."), (0, cards_1.unknownFlag)("friend update")] } },
12
+ { name: "link", effect: "private", summary: "Link an agent to a friend's external account.", ax: { id: "cli:link", group: "friends", effect: "write", when: "Older top-level spelling of friend link: ties a channel identity to a friend record so its messages reach it.", errors: [(0, cards_1.usageError)("link", "needs the agent, --friend, a known --provider and --external-id.", "Pass all four, or use ouro friend link with the same values."), (0, cards_1.unknownFlag)("link")] } },
13
13
  { name: "session list", effect: "private", readOnly: true, summary: "List the agent's sessions.", ax: { id: "cli:session list", group: "friends", effect: "read", when: "Find who the agent talks with now, on which channel and how recently, before reaching someone.", errors: [(0, cards_1.unknownFlag)("session list")] } },
14
+ { name: "friend", effect: "private", readOnly: true, summary: "The commands for the people an agent knows.", ax: { id: "cli:friend", group: "friends", effect: "read", when: "Names the ways to look up, add, change, link and merge the people an agent keeps records about.", errors: [(0, cards_1.needsSubcommand)("friend", "list, show, create, update, link, unlink, merge, dedupe"), (0, cards_1.unknownFlag)("friend")] } },
15
+ { name: "friend merge", effect: "private", summary: "Merge duplicate friend records into one.", ax: { id: "cli:friend merge", group: "friends", effect: "write", when: "Fold duplicate records for one person into the record given by --into; it previews until --apply.", errors: [(0, cards_1.usageError)("friend merge", "needs --into <friend-id> and at least one other friend id.", "Pass --into with the record to keep, then the duplicates' ids."), (0, cards_1.unknownFlag)("friend merge")] } },
16
+ { name: "friend dedupe", effect: "private", summary: "Find and merge duplicate friend records.", ax: { id: "cli:friend dedupe", group: "friends", effect: "write", when: "Look for records that are likely the same person and list the merges it would make; --apply makes them.", errors: [(0, cards_1.unknownFlag)("friend dedupe")] } },
17
+ { name: "session", effect: "private", readOnly: true, summary: "The commands for an agent's live sessions.", ax: { id: "cli:session", group: "friends", effect: "read", when: "Names the session helper; today only list, which shows who the agent is in conversation with.", errors: [(0, cards_1.needsSubcommand)("session", "list"), (0, cards_1.unknownFlag)("session")] } },
14
18
  ];
@@ -1,13 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HABITS_COMMANDS = void 0;
4
+ const cards_1 = require("./cards");
4
5
  exports.HABITS_COMMANDS = [
5
- { name: "habit cancel", effect: "private", summary: "Cancel a habit's pending run." },
6
- { name: "habit create", effect: "private", summary: "Create a habit that runs on a cadence." },
7
- { name: "habit inspect", effect: "private", readOnly: true, summary: "Show one habit run." },
8
- { name: "habit list", effect: "private", readOnly: true, summary: "List the agent's habits." },
9
- { name: "habit probe", effect: "private", readOnly: true, summary: "Check a habit without sending anything." },
10
- { name: "habit runs", effect: "private", readOnly: true, summary: "List recent habit runs." },
11
- { name: "habit summary", effect: "private", readOnly: true, summary: "Summarise a habit run." },
12
- { name: "poke", effect: "private", summary: "Wake an agent for a task or habit." },
6
+ { name: "habit cancel", effect: "private", summary: "Cancel a habit's pending run.", ax: { id: "cli:habit cancel", group: "habits", effect: "write", when: "Stop a habit's pending run that is waiting on a bridge, naming that bridge with --evidence.", errors: [(0, cards_1.usageError)("habit cancel", "needs --agent, --habit and --evidence <bridge-id>.", "Pass all three; the bridge id is in the run's summary."), (0, cards_1.unknownFlag)("habit cancel")] } },
7
+ { name: "habit create", effect: "private", summary: "Create a habit that runs on a cadence.", ax: { id: "cli:habit create", group: "habits", effect: "write", when: "Start a new recurring job for the agent under a name, running every --cadence, such as 1d or 30m.", errors: [(0, cards_1.usageError)("habit create", "needs a habit name, and a --cadence it can read.", "Pass a short name and a cadence such as 1h or 1d."), (0, cards_1.unknownFlag)("habit create")] } },
8
+ { name: "habit inspect", effect: "private", readOnly: true, summary: "Show one habit run.", ax: { id: "cli:habit inspect", group: "habits", effect: "read", when: "Read everything recorded for one execution by its run id: trigger, timing, outcome and the evidence it left.", errors: [(0, cards_1.usageError)("habit inspect", "needs the run id after it.", "Find the id with ouro habit runs, then pass it."), (0, cards_1.unknownFlag)("habit inspect")] } },
9
+ { name: "habit list", effect: "private", readOnly: true, summary: "List the agent's habits.", ax: { id: "cli:habit list", group: "habits", effect: "read", when: "See which recurring jobs an agent has, their cadence and when each last ran, before creating or poking one.", errors: [(0, cards_1.unknownFlag)("habit list")] } },
10
+ { name: "habit probe", effect: "private", readOnly: true, summary: "Check a habit without sending anything.", ax: { id: "cli:habit probe", group: "habits", effect: "read", when: "Dry-run one habit with --no-send to see what it would do now, without messaging anyone or recording a run.", errors: [(0, cards_1.usageError)("habit probe", "needs --agent, --habit and --no-send.", "Pass all three; --no-send is required so a probe never sends."), (0, cards_1.unknownFlag)("habit probe")] } },
11
+ { name: "habit runs", effect: "private", readOnly: true, summary: "List recent habit runs.", ax: { id: "cli:habit runs", group: "habits", effect: "read", when: "Find recent executions across habits, newest first, to get a run id for inspect or summary; --limit caps them.", errors: [(0, cards_1.unknownFlag)("habit runs")] } },
12
+ { name: "habit summary", effect: "private", readOnly: true, summary: "Summarise a habit run.", ax: { id: "cli:habit summary", group: "habits", effect: "read", when: "Get the short verdict of a habit's latest, previous or latest failed run, picked by run id, habit or operation id.", errors: [(0, cards_1.usageError)("habit summary", "needs one of --run-id, --habit or --operation-id.", "Pass --habit <name> for its latest run, or a --run-id from habit runs."), (0, cards_1.unknownFlag)("habit summary")] } },
13
+ { name: "poke", effect: "private", summary: "Wake an agent for a task or habit.", ax: { id: "cli:poke", group: "habits", effect: "write", when: "Wake an agent now for one task or habit instead of waiting for its cadence, saying which with --task or --habit.", errors: [(0, cards_1.usageError)("poke", "needs the agent name and one of --task or --habit.", "Pass the agent first, then --task <id> or --habit <name>."), (0, cards_1.unknownFlag)("poke")] } },
14
+ { name: "habit", effect: "private", readOnly: true, summary: "The commands for an agent's habits.", ax: { id: "cli:habit", group: "habits", effect: "read", when: "Names the ways to see, create, test and cancel the recurring jobs an agent runs on a cadence.", errors: [(0, cards_1.needsSubcommand)("habit", "list, create, runs, inspect, summary, probe, cancel"), (0, cards_1.unknownFlag)("habit")] } },
13
15
  ];
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MAIL_COMMANDS = void 0;
4
4
  const cards_1 = require("./cards");
5
5
  exports.MAIL_COMMANDS = [
6
- { name: "mail backfill-indexes", effect: "private", summary: "Rebuild the mail indexes for an agent." },
7
- { name: "mail sweep-orphans", effect: "private", summary: "Delete unreferenced encrypted raw mail (dry run unless --live)." },
8
- { name: "mail import-mbox", effect: "private", summary: "Import an MBOX export into the agent's mail." },
6
+ { name: "mail backfill-indexes", effect: "private", summary: "Rebuild the mail indexes for an agent.", ax: { id: "cli:mail backfill-indexes", group: "mail", effect: "write", when: "When mail search misses messages the Mailroom holds: rebuilds its indexes, in the background unless --foreground.", errors: [(0, cards_1.usageError)("mail backfill-indexes", "takes only --agent, --foreground and --operation-id.", "Drop the other words; pass --foreground to wait for it to finish."), (0, cards_1.unknownFlag)("mail backfill-indexes")] } },
7
+ { name: "mail sweep-orphans", effect: "private", summary: "Delete unreferenced encrypted raw mail (dry run unless --live).", ax: { id: "cli:mail sweep-orphans", group: "mail", effect: "consequential", destructive: true, confirm: "With --live it deletes stored raw mail that no index refers to; that mail can't be recovered.", when: "Free storage taken by raw mail nothing refers to; without --live it only lists what it would delete.", errors: [(0, cards_1.usageError)("mail sweep-orphans", "takes only --agent and --live.", "Run it without --live first, then add --live to delete what it listed."), (0, cards_1.unknownFlag)("mail sweep-orphans"), ...(0, cards_1.agentErrors)("mail sweep-orphans")] } },
8
+ { name: "mail import-mbox", effect: "private", summary: "Import an MBOX export into the agent's mail.", ax: { id: "cli:mail import-mbox", group: "mail", effect: "write", when: "Bring a person's existing mail into the agent's Mailroom from an MBOX export, given by --file or found with --discover.", errors: [(0, cards_1.usageError)("mail import-mbox", "needs --file <path> or --discover.", "Pass --file with the MBOX export's path, or --discover to look in the usual download folders."), (0, cards_1.unknownFlag)("mail import-mbox"), ...(0, cards_1.agentErrors)("mail import-mbox")] } },
9
9
  { name: "mailbox", effect: "private", readOnly: true, summary: "Show the agent's mailbox.", ax: { id: "cli:mailbox", group: "mail", effect: "read", when: "Get the local web address where a person can read the agent's mail in a browser.", errors: [(0, cards_1.unknownFlag)("mailbox"), (0, cards_1.daemonDown)("mailbox")], aliases: ["outlook"] } },
10
+ { name: "mail", effect: "private", readOnly: true, summary: "The commands for an agent's hosted mail.", ax: { id: "cli:mail", group: "mail", effect: "read", when: "Names the mail upkeep jobs: import-mbox brings in old mail, and the others repair indexes, cache and stray files.", errors: [(0, cards_1.needsSubcommand)("mail", "import-mbox, backfill-indexes, sync-cache, sweep-orphans"), (0, cards_1.unknownFlag)("mail")] } },
11
+ { name: "mail sync-cache", effect: "private", summary: "Refresh the local mail search cache.", ax: { id: "cli:mail sync-cache", group: "mail", effect: "write", when: "When local mail search is stale or empty on this machine: pulls the hosted Mailroom's messages into the local cache.", errors: [(0, cards_1.usageError)("mail sync-cache", "takes only one --agent <name>.", "Pass --agent once with a name, or leave it out."), (0, cards_1.unknownFlag)("mail sync-cache"), ...(0, cards_1.agentErrors)("mail sync-cache")] } },
10
12
  ];
@@ -3,15 +3,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MIND_COMMANDS = void 0;
4
4
  const cards_1 = require("./cards");
5
5
  exports.MIND_COMMANDS = [
6
- { name: "chat", effect: "private", summary: "Open an interactive chat with an agent." },
7
- { name: "event submit", effect: "others", summary: "Submit an event that can wake the agent and reach other people." },
8
- { name: "msg", effect: "others", summary: "Send a message to another agent." },
9
- { name: "nerves-review", effect: "private", readOnly: true, summary: "Review the runtime's nerves events." },
10
- { name: "private decisions", effect: "private", readOnly: true, summary: "List an agent's recent private decisions." },
6
+ { name: "chat", effect: "private", summary: "Open an interactive chat with an agent.", ax: { id: "cli:chat", group: "mind", effect: "write", when: "Talk with an agent turn by turn in this terminal, starting the daemon if it is down; from a script, send one msg instead.", errors: [(0, cards_1.unknownFlag)("chat")] } },
7
+ { name: "event submit", effect: "others", summary: "Submit an event that can wake the agent and reach other people.", ax: { id: "cli:event submit", group: "mind", effect: "write", when: "Hand the agent something that happened elsewhere, such as a webhook, with --source, --type and --id; it wakes the agent unless --no-wake.", errors: [(0, cards_1.usageError)("event submit", "needs --agent, --source, --type and --id, and --priority only as high, normal or low.", "Pass all four; the --id should be the outside system's own id so a retry isn't counted twice."), { code: "needs-why", means: "ouro event submit can lead the agent to reach other people, so it needs a reason it can record.", fix: "Add --why with one line on where the event came from." }, (0, cards_1.unknownFlag)("event submit")] } },
8
+ { name: "msg", effect: "others", summary: "Send a message to another agent.", ax: { id: "cli:msg", group: "mind", effect: "consequential", confirm: "The other agent gets the message at once and may act on it; it can't be taken back.", when: "Send one message to another agent by --to, optionally into a --session or about a --task; a reason is required as --why.", errors: [(0, cards_1.usageError)("msg", "needs --to <agent> and the message text.", "Pass --to with the agent's name, then the text as the last argument."), { code: "needs-why", means: "ouro msg reaches another agent, so it needs a reason it can record.", fix: "Add --why with one line on why you are sending it." }, (0, cards_1.unknownFlag)("msg")] } },
9
+ { name: "nerves-review", effect: "private", readOnly: true, summary: "Review the runtime's nerves events.", ax: { id: "cli:nerves-review", group: "mind", effect: "read", when: "Debug what the runtime did by filtering one process's event log by component, event, level and --since window.", errors: [(0, cards_1.unknownFlag)("nerves-review")] } },
10
+ { name: "private decisions", effect: "private", readOnly: true, summary: "List an agent's recent private decisions.", ax: { id: "cli:private decisions", group: "mind", effect: "read", when: "Find out why the agent did or didn't act on its own lately: its recent policy choices, newest first, up to --limit.", errors: [(0, cards_1.unknownFlag)("private decisions"), (0, cards_1.daemonDown)("private decisions")] } },
11
11
  { name: "private status", effect: "private", readOnly: true, summary: "Show an agent's private status.", ax: { id: "cli:private status", group: "mind", effect: "read", when: "See the inner runtime's cadence, its last wake, open return obligations and how much the diary holds.", errors: [(0, cards_1.unknownFlag)("private status")] } },
12
12
  { name: "thoughts", effect: "private", readOnly: true, summary: "Show an agent's recent thoughts.", ax: { id: "cli:thoughts", group: "mind", effect: "read", when: "Read the private runtime's recent turns to understand what the agent is mulling; --follow streams new ones live.", errors: [(0, cards_1.unknownFlag)("thoughts")] } },
13
- { name: "work card", effect: "private", readOnly: true, summary: "Show the agent's work card." },
14
- { name: "work gauntlet", effect: "private", readOnly: true, summary: "Show the agent's work gauntlet." },
15
- { name: "work sentinel", effect: "private", readOnly: true, summary: "Show the agent's work sentinel." },
13
+ { name: "work card", effect: "private", readOnly: true, summary: "Show the agent's work card.", ax: { id: "cli:work card", group: "mind", effect: "read", when: "See the agent's current work as compiled from its durable records: what it owns, what is open and what comes next.", errors: [(0, cards_1.unknownFlag)("work card")] } },
14
+ { name: "work gauntlet", effect: "private", readOnly: true, summary: "Show the agent's work gauntlet.", ax: { id: "cli:work gauntlet", group: "mind", effect: "read", when: "Score whether the agent could pick its work back up after losing its context, from its records alone.", errors: [(0, cards_1.unknownFlag)("work gauntlet")] } },
15
+ { name: "work sentinel", effect: "private", readOnly: true, summary: "Show the agent's work sentinel.", ax: { id: "cli:work sentinel", group: "mind", effect: "read", when: "Read the saved recovery checkpoint the agent would resume from after a crash, without changing it.", errors: [(0, cards_1.unknownFlag)("work sentinel")] } },
16
16
  { name: "inner", effect: "private", readOnly: true, hidden: true, summary: "The older name of private status.", ax: { id: "cli:inner", group: "mind", effect: "read", when: "Kept so existing scripts still run; it prints a note to use private status, then the same answer private status gives.", errors: [(0, cards_1.unknownFlag)("inner")] } },
17
+ { name: "event", effect: "private", readOnly: true, summary: "The commands for outside events the daemon handles.", ax: { id: "cli:event", group: "mind", effect: "read", when: "Names the two ways to feed the daemon outside happenings: submit hands it one event, repair applies a fix manifest.", errors: [(0, cards_1.needsSubcommand)("event", "submit, repair"), (0, cards_1.unknownFlag)("event")] } },
18
+ { name: "event repair", effect: "private", summary: "Apply a reviewed repair manifest for event receipts.", ax: { id: "cli:event repair", group: "mind", effect: "write", when: "After someone has reviewed a receipt-repair manifest: has the owning daemon apply it to the stored event receipts.", errors: [(0, cards_1.usageError)("event repair", "needs exactly --manifest <path>.", "Pass the reviewed manifest's path with --manifest and nothing else."), (0, cards_1.unknownFlag)("event repair")] } },
19
+ { name: "private", effect: "private", readOnly: true, summary: "The commands for an agent's private runtime.", ax: { id: "cli:private", group: "mind", effect: "read", when: "Names the two views of the agent's own background thinking: status for its state now, decisions for its recent choices.", errors: [(0, cards_1.needsSubcommand)("private", "status, decisions"), (0, cards_1.unknownFlag)("private")] } },
20
+ { name: "work", effect: "private", readOnly: true, summary: "The commands for an agent's durable work state.", ax: { id: "cli:work", group: "mind", effect: "read", when: "Names the views of what the agent is working on that survive a lost context: card, gauntlet and sentinel.", errors: [(0, cards_1.needsSubcommand)("work", "card, gauntlet, sentinel"), (0, cards_1.unknownFlag)("work")] } },
21
+ { name: "work sentinel refresh", effect: "private", summary: "Rebuild the agent's recovery checkpoint.", ax: { id: "cli:work sentinel refresh", group: "mind", effect: "write", when: "When the saved recovery checkpoint looks out of date: rebuilds it now from the agent's durable records.", errors: [(0, cards_1.unknownFlag)("work sentinel refresh")] } },
22
+ { name: "attention", effect: "private", readOnly: true, summary: "List the items waiting for an agent's attention.", ax: { id: "cli:attention", group: "mind", effect: "read", when: "See what is queued for the agent to deal with next, such as unanswered messages, each with an id for show.", errors: [(0, cards_1.unknownFlag)("attention")] } },
23
+ { name: "attention show", effect: "private", readOnly: true, summary: "Show one attention item.", ax: { id: "cli:attention show", group: "mind", effect: "read", when: "Read one queued item in full by the id the attention list gave it: where it came from and why it is waiting.", errors: [(0, cards_1.unknownFlag)("attention show")] } },
24
+ { name: "attention history", effect: "private", readOnly: true, summary: "Show the attention items an agent has handled.", ax: { id: "cli:attention history", group: "mind", effect: "read", when: "Look back at items the agent has already dealt with or dropped, to see how and when each one left the queue.", errors: [(0, cards_1.unknownFlag)("attention history")] } },
17
25
  ];
@@ -1,11 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PRESENCE_COMMANDS = void 0;
4
+ const cards_1 = require("./cards");
4
5
  exports.PRESENCE_COMMANDS = [
5
- { name: "voice join", effect: "others", summary: "Join a voice call as the agent." },
6
- { name: "voice leave", effect: "others", summary: "Leave a voice call." },
7
- { name: "voice status", effect: "private", readOnly: true, summary: "Show the agent's voice status." },
8
- { name: "bluebubbles context-smoke", effect: "private", summary: "Check the context a BlueBubbles message would get." },
9
- { name: "bluebubbles host", effect: "private", summary: "Install, check or repair the BlueBubbles host." },
10
- { name: "bluebubbles replay", effect: "private", summary: "Replay a BlueBubbles message." },
6
+ { name: "voice join", effect: "others", summary: "Join a voice call as the agent.", ax: { id: "cli:voice join", group: "presence", effect: "consequential", confirm: "The agent starts listening and speaking on the call, so everyone on it hears it.", when: "Have the agent take part in the call this Mac is on, naming who is there with --participants and why with --occasion.", errors: [(0, cards_1.usageError)("voice join", "needs --agent.", "Pass --agent, and --participants and --occasion so it knows who it is talking to."), (0, cards_1.needsWhy)("voice join", "puts the agent's voice on a call other people hear"), (0, cards_1.unknownFlag)("voice join")] } },
7
+ { name: "voice leave", effect: "others", summary: "Leave a voice call.", ax: { id: "cli:voice leave", group: "presence", effect: "write", when: "Take the agent off the call it joined on this Mac, as soon as someone on the call asks or the call ends.", errors: [(0, cards_1.usageError)("voice leave", "needs --agent.", "Pass --agent with the agent on the call."), (0, cards_1.needsWhy)("voice leave", "changes a call other people are on"), (0, cards_1.unknownFlag)("voice leave")] } },
8
+ { name: "voice status", effect: "private", readOnly: true, summary: "Show the agent's voice status.", ax: { id: "cli:voice status", group: "presence", effect: "read", when: "Check whether the agent is on a call on this Mac now, and with whom, before joining or leaving.", errors: [(0, cards_1.usageError)("voice status", "needs --agent.", "Pass --agent with the agent's name."), (0, cards_1.unknownFlag)("voice status")] } },
9
+ { name: "bluebubbles context-smoke", effect: "private", summary: "Check the context a BlueBubbles message would get.", ax: { id: "cli:bluebubbles context-smoke", group: "presence", effect: "write", when: "See the conversation context the agent would get for one iMessage, by --message-guid, without a reply; --persist saves it.", errors: [(0, cards_1.usageError)("bluebubbles context-smoke", "needs --message-guid <guid>.", "Pass the message's GUID from the BlueBubbles server or the agent's logs."), (0, cards_1.unknownFlag)("bluebubbles context-smoke"), ...(0, cards_1.agentErrors)("bluebubbles context-smoke")] } },
10
+ { name: "bluebubbles host", effect: "private", readOnly: true, summary: "The commands for the BlueBubbles server.", ax: { id: "cli:bluebubbles host", group: "presence", effect: "read", when: "Names the BlueBubbles server actions for the agent's iMessage Mac account: install, status, repair, remove and collect.", errors: [(0, cards_1.needsSubcommand)("bluebubbles host", "install, status, repair, remove, collect"), (0, cards_1.unknownFlag)("bluebubbles host")] } },
11
+ { name: "bluebubbles replay", effect: "private", readOnly: true, summary: "Replay a BlueBubbles message.", ax: { id: "cli:bluebubbles replay", group: "presence", effect: "read", when: "Fetch one past iMessage by --message-guid and show how the sense reads it, attachments included, without the agent replying.", errors: [(0, cards_1.usageError)("bluebubbles replay", "needs --message-guid <guid>.", "Pass the message's GUID from the BlueBubbles server or the agent's logs."), (0, cards_1.unknownFlag)("bluebubbles replay"), ...(0, cards_1.agentErrors)("bluebubbles replay")] } },
12
+ { name: "presence", effect: "private", readOnly: true, summary: "The commands for running an agent on several machines.", ax: { id: "cli:presence", group: "presence", effect: "read", when: "Names the ways to spread one agent over machines: join a roster, hand off or take over a sense, and see status.", errors: [(0, cards_1.usageError)("presence", "needs join, handoff, status, failover or location, and --agent for all but location.", "Name the action and pass --agent with the agent's name."), (0, cards_1.unknownFlag)("presence")] } },
13
+ { name: "presence join", effect: "private", summary: "Add this machine to an agent's roster.", ax: { id: "cli:presence join", group: "presence", effect: "write", when: "Let this machine run an agent alongside its others by adding it to the roster, then restart the daemon with ouro up.", errors: [(0, cards_1.usageError)("presence join", "needs --agent, and takes only --role and --name.", "Pass --agent; add --role or --name only to change the defaults."), (0, cards_1.unknownFlag)("presence join")] } },
14
+ { name: "presence handoff", effect: "private", summary: "Move a shared sense to another machine.", ax: { id: "cli:presence handoff", group: "presence", effect: "write", when: "Move one shared sense, such as Teams or habits, to the named machine on the agent's roster, so only that one runs it.", errors: [(0, cards_1.usageError)("presence handoff", "needs the sense, the machine and --agent.", "Find both names with ouro presence status, then pass them in that order."), (0, cards_1.unknownFlag)("presence handoff")] } },
15
+ { name: "presence status", effect: "private", readOnly: true, summary: "Show which machines run an agent.", ax: { id: "cli:presence status", group: "presence", effect: "read", when: "See which machines run the agent, which one owns each shared sense, and any failover in force, before moving one.", errors: [(0, cards_1.usageError)("presence status", "needs --agent, and takes only --json.", "Pass --agent with the agent's name."), (0, cards_1.unknownFlag)("presence status")] } },
16
+ { name: "presence failover", effect: "private", readOnly: true, summary: "The commands for covering a sense while its machine is down.", ax: { id: "cli:presence failover", group: "presence", effect: "read", when: "Names the two ways to cover for a machine that went down: take claims its sense here, release hands it back.", errors: [(0, cards_1.usageError)("presence failover", "needs take or release, the sense, and --agent.", "Name the action and the sense from ouro presence status."), (0, cards_1.unknownFlag)("presence failover")] } },
17
+ { name: "presence failover take", effect: "private", summary: "Run a sense here while its owner is down.", ax: { id: "cli:presence failover take", group: "presence", effect: "write", when: "When the machine that owns a sense is down: run that sense here for now, saying why with --reason.", errors: [(0, cards_1.usageError)("presence failover take", "needs the sense and --agent, and only --reason after them.", "Pass the sense from ouro presence status and a short --reason."), (0, cards_1.unknownFlag)("presence failover take")] } },
18
+ { name: "presence failover release", effect: "private", summary: "Hand a covered sense back to its owner.", ax: { id: "cli:presence failover release", group: "presence", effect: "write", when: "Once the owning machine is healthy again: stop covering its sense here so it takes the sense back.", errors: [(0, cards_1.usageError)("presence failover release", "needs the sense and --agent.", "Pass the sense this machine took over."), (0, cards_1.unknownFlag)("presence failover release")] } },
19
+ { name: "presence location", effect: "private", summary: "Say where this machine is.", ax: { id: "cli:presence location", group: "presence", effect: "write", when: "Label where this machine sits, such as home or office, so presence status can say which place each machine is in.", errors: [(0, cards_1.usageError)("presence location", "needs exactly one place name.", "Pass one word such as home or office."), (0, cards_1.unknownFlag)("presence location")] } },
20
+ { name: "move", effect: "private", summary: "Make this machine an agent's home.", ax: { id: "cli:move", group: "presence", effect: "consequential", confirm: "The agent's home moves to this machine; the machine it lived on stops being its home.", when: "Bring an agent to live on this machine, as in ouro move slugger here, when its old machine is going away.", errors: [(0, cards_1.usageError)("move", "needs the agent's name and the word here.", "Run it as ouro move <agent> here on the machine that should become home."), (0, cards_1.unknownFlag)("move")] } },
21
+ { name: "voice", effect: "private", readOnly: true, summary: "The commands for voice calls.", ax: { id: "cli:voice", group: "presence", effect: "read", when: "Names the three call actions on this Mac: join a call through the BlackHole audio devices, leave it, and status.", errors: [(0, cards_1.usageError)("voice", "needs join, leave or status, and --agent.", "Name the action and pass --agent."), (0, cards_1.unknownFlag)("voice")] } },
22
+ { name: "bluebubbles", effect: "private", readOnly: true, summary: "The commands for the BlueBubbles iMessage sense.", ax: { id: "cli:bluebubbles", group: "presence", effect: "read", when: "Names the iMessage helpers: replay and context-smoke test one message, and host sets up the BlueBubbles server.", errors: [(0, cards_1.needsSubcommand)("bluebubbles", "replay, context-smoke, host"), (0, cards_1.unknownFlag)("bluebubbles")] } },
23
+ { name: "bluebubbles host install", effect: "private", summary: "Install the BlueBubbles server.", ax: { id: "cli:bluebubbles host install", group: "presence", effect: "write", when: "Set up the BlueBubbles server on the macOS account an agent declares as its iMessage host; for another account it prints a step for the person.", errors: [{ code: "not-imessage-host", means: "No agent declares this macOS account as its iMessage host, so setup refuses it.", fix: "Ask the person to set senses.bluebubbles.hostUsername to the account signed in to the agent's Apple ID." }, (0, cards_1.usageError)("bluebubbles host install", "got only some of --username, --uid and --home.", "Pass all three for another account, or none for this one."), (0, cards_1.unknownFlag)("bluebubbles host install")] } },
24
+ { name: "bluebubbles host status", effect: "private", readOnly: true, summary: "Show the BlueBubbles server's state.", ax: { id: "cli:bluebubbles host status", group: "presence", effect: "read", when: "Check whether the BlueBubbles server is installed and running for the iMessage host account before replaying messages.", errors: [(0, cards_1.usageError)("bluebubbles host status", "got only some of --username, --uid and --home.", "Pass all three for another account, or none for this one."), (0, cards_1.unknownFlag)("bluebubbles host status")] } },
25
+ { name: "bluebubbles host repair", effect: "private", summary: "Repair the BlueBubbles server.", ax: { id: "cli:bluebubbles host repair", group: "presence", effect: "write", when: "When status shows the BlueBubbles server broken or stopped: reinstalls its pieces on the declared iMessage host account.", errors: [{ code: "not-imessage-host", means: "No agent declares this macOS account as its iMessage host, so repair refuses it.", fix: "Run it under the account the agent declares, or ask the person to declare this one." }, (0, cards_1.usageError)("bluebubbles host repair", "got only some of --username, --uid and --home.", "Pass all three for another account, or none for this one."), (0, cards_1.unknownFlag)("bluebubbles host repair")] } },
26
+ { name: "bluebubbles host remove", effect: "private", summary: "Remove the BlueBubbles server.", ax: { id: "cli:bluebubbles host remove", group: "presence", effect: "consequential", destructive: true, confirm: "The agent stops receiving and sending iMessages on this account until the server is installed again.", when: "Take the BlueBubbles server off a Mac account that should no longer carry the agent's iMessages.", errors: [(0, cards_1.usageError)("bluebubbles host remove", "got only some of --username, --uid and --home.", "Pass all three for another account, or none for this one."), (0, cards_1.unknownFlag)("bluebubbles host remove")] } },
27
+ { name: "bluebubbles host collect", effect: "private", summary: "Collect a host step another account ran.", ax: { id: "cli:bluebubbles host collect", group: "presence", effect: "write", when: "After the person ran the printed helper in the other account's Terminal: gather that step's outcome by --request-id.", errors: [(0, cards_1.usageError)("bluebubbles host collect", "needs --request-id <id>.", "Pass the id from the collect line install or repair printed."), (0, cards_1.unknownFlag)("bluebubbles host collect")] } },
11
28
  ];
@@ -70,7 +70,7 @@ function deskUsage() {
70
70
  " (each takes --gateway <url> --trust-gateway to manage a Hosted Desk other than desk.ouro.bot)",
71
71
  "",
72
72
  "Alias:",
73
- " ouro task ... (routes through ouro desk task ...)",
73
+ " ouro task list|new|done|archive|show ... (routes through ouro desk task ...)",
74
74
  ].join("\n");
75
75
  }
76
76
  function usageError() {
@@ -301,9 +301,7 @@ async function executeDeskCommand(command, deps) {
301
301
  response = await deps.sendCommand(deps.socketPath, daemonCommand);
302
302
  }
303
303
  catch {
304
- const message = "daemon unavailable — start with `ouro up` first";
305
- deps.writeStdout(message);
306
- return message;
304
+ throw Object.assign(new Error("daemon unavailable — start with `ouro up` first"), { code: "daemon-down" });
307
305
  }
308
306
  if (!response.ok) {
309
307
  const message = response.error ?? "unknown error";
@@ -7141,7 +7141,7 @@ async function runOuroCli(args, deps = (0, cli_defaults_1.createDefaultOuroCliDe
7141
7141
  const targetUsername = command.target?.username ?? (0, bluebubbles_host_account_1.currentOsAccount)().username;
7142
7142
  const hostCheck = (0, bluebubbles_host_account_1.checkBlueBubblesHostTarget)(targetUsername, declaredBlueBubblesHosts(deps.bundlesRoot ?? (0, identity_1.getAgentBundlesRoot)()));
7143
7143
  if (!hostCheck.ok)
7144
- throw new Error(hostCheck.message);
7144
+ throw Object.assign(new Error(hostCheck.message), { code: "not-imessage-host" });
7145
7145
  }
7146
7146
  if (command.target) {
7147
7147
  (0, bluebubbles_host_1.installBlueBubblesHostSharedHelper)({
@@ -366,6 +366,7 @@ function usage() {
366
366
  " ouro mail import-mbox --file <path> [--owner-email <email>] [--source <label>] [--agent <name>] [--foreground]",
367
367
  " ouro mail backfill-indexes [--agent <name>] [--foreground]",
368
368
  " ouro mail sweep-orphans [--agent <name>] [--live]",
369
+ " ouro mail sync-cache [--agent <name>]",
369
370
  " ouro auth verify [--agent <name>] [--provider <provider>]",
370
371
  " ouro auth switch [--agent <name>] --provider <provider> [--facing human|agent]",
371
372
  " ouro vault create [--agent <name>] --email <email> [--server <url>] [--store <store>]",
@@ -384,6 +385,7 @@ function usage() {
384
385
  " ouro chat <agent>",
385
386
  " ouro msg --to <agent> [--session <id>] [--task <ref>] <message>",
386
387
  " ouro event submit --agent <agent> --source <source> --type <event-type> --id <provider-id> [--summary <text>] [--evidence <path>] [--payload <path>] [--priority high|normal|low] [--no-wake]",
388
+ " ouro event repair --manifest <path>",
387
389
  " ouro poke <agent> --task <task-id>",
388
390
  " ouro poke <agent> --habit <name> [--trigger poke|launchd|cron|overdue|manual]",
389
391
  " ouro habit list [--agent <name>]",
@@ -396,7 +398,8 @@ function usage() {
396
398
  " ouro link <agent> --friend <id> --provider <provider> --external-id <external-id>",
397
399
  " ouro bluebubbles replay [--agent <name>] --message-guid <guid> [--event-type new-message|updated-message] [--json]",
398
400
  " ouro bluebubbles context-smoke [--agent <name>] --message-guid <guid> [--persist] [--json]",
399
- " ouro bluebubbles host <install|status|repair|remove|collect> [--username <name> --uid <uid> --home <path>] [--request-id <id>] [--json]",
401
+ " ouro bluebubbles host install|status|repair|remove [--username <name> --uid <uid> --home <path>] [--json]",
402
+ " ouro bluebubbles host collect --request-id <id> [--json]",
400
403
  " ouro rsvp <doctor|incident|cutover|legacy-render|replay|config|habit|import-legacy|refresh|compare|smoke> ...",
401
404
  " ouro friend list [--agent <name>]",
402
405
  " ouro friend show <id> [--agent <name>]",
@@ -406,9 +409,15 @@ function usage() {
406
409
  " ouro private decisions [--agent <name>] [--limit <n>] [--json]",
407
410
  " ouro private status [--agent <name>] [--json]",
408
411
  " ouro work card|gauntlet|sentinel [refresh] [--agent <name>] [--format text|json|--json]",
412
+ " ouro work sentinel refresh [--agent <name>] [--format text|json|--json]",
413
+ " ouro attention [--agent <name>]",
414
+ " ouro attention show <id> [--agent <name>]",
415
+ " ouro attention history [--agent <name>]",
409
416
  " ouro nerves-review [--agent <name>] [--process <name>] [--component <substr>] [--event <substr>] [--level <level>] [--since <duration>] [--limit <n>] [--json]",
410
417
  " ouro friend link <agent> --friend <id> --provider <p> --external-id <eid>",
411
418
  " ouro friend unlink <agent> --friend <id> --provider <p> --external-id <eid>",
419
+ " ouro friend merge --into <friend-id> <friend-id>... [--agent <name>] [--apply]",
420
+ " ouro friend dedupe [--agent <name>] [--apply]",
412
421
  " ouro a2a card [--agent <name>] [--base-url <url>] [--json]",
413
422
  " ouro a2a onboard [--agent <name>] (--card-url <url>|--did <did:key> --name <name>) [--trust <level>] [--name <name>]",
414
423
  " ouro a2a serve [--agent <name>] [--host <host>] [--port <port>] [--base-url <url>] [--path <path>]",
@@ -428,15 +437,25 @@ function usage() {
428
437
  " ouro voice join --agent <name> [--friend <id>] [--participants <text>] [--occasion <text>] [--mode conversation] [--owner-alone] [--owner-name <name>] [--silent-consent <statement>]",
429
438
  " ouro voice leave --agent <name>",
430
439
  " ouro voice status --agent <name>",
440
+ " ouro presence join --agent <name> [--role <role>] [--name <machine name>]",
441
+ " ouro presence handoff <sense> <machine> --agent <name>",
442
+ " ouro presence status --agent <name> [--json]",
443
+ " ouro presence failover take|release <sense> --agent <name> [--reason <why>]",
444
+ " ouro presence location <place>",
445
+ " ouro move <agent> here",
431
446
  " ouro session list [--agent <name>]",
432
447
  " ouro mcp list",
433
448
  " ouro mcp call <server> <tool> [--args '{...}']",
434
449
  " ouro mcp doctor --agent <name> [--json]",
450
+ " ouro mcp canary --agent <name> [--json]",
451
+ " ouro mcp-serve --agent <name> [--friend <id>]",
452
+ " ouro acp-serve --agent <name> [--friend-id <id>] [--workbench-mcp [path]] [--observe-only]",
435
453
  " ouro rollback [<version>]",
436
454
  " ouro versions",
437
455
  " ouro clone <remote> [--agent <name>]",
438
456
  " ouro sync [--agent <name>]",
439
457
  " ouro doctor",
458
+ ...(0, cli_desk_1.deskUsage)().split("\n").filter((line) => line.startsWith(" ouro ")),
440
459
  ].join("\n");
441
460
  }
442
461
  // ── Per-group parsers ──
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1297",
3
+ "version": "0.1.0-alpha.1299",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@ouro.bot/cli",
9
- "version": "0.1.0-alpha.1297",
9
+ "version": "0.1.0-alpha.1299",
10
10
  "bundleDependencies": [
11
11
  "@ouro.bot/friends"
12
12
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ouro.bot/cli",
3
- "version": "0.1.0-alpha.1297",
3
+ "version": "0.1.0-alpha.1299",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },