@mono-agent/agent-app 0.11.5 → 0.13.0

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.
Files changed (223) hide show
  1. package/README.md +54 -17
  2. package/dist/adapter-send-tools.d.ts.map +1 -1
  3. package/dist/adapter-send-tools.js +126 -34
  4. package/dist/adapter-send-tools.js.map +1 -1
  5. package/dist/app-controller-lifecycle.d.ts.map +1 -1
  6. package/dist/app-controller-lifecycle.js +2 -6
  7. package/dist/app-controller-lifecycle.js.map +1 -1
  8. package/dist/app-controller-maintenance.d.ts.map +1 -1
  9. package/dist/app-controller-maintenance.js +2 -1
  10. package/dist/app-controller-maintenance.js.map +1 -1
  11. package/dist/app-controller-memory-health.d.ts +1 -1
  12. package/dist/app-controller-memory-health.d.ts.map +1 -1
  13. package/dist/app-controller-memory-health.js +5 -1
  14. package/dist/app-controller-memory-health.js.map +1 -1
  15. package/dist/app-controller-responder.d.ts.map +1 -1
  16. package/dist/app-controller-responder.js +8 -3
  17. package/dist/app-controller-responder.js.map +1 -1
  18. package/dist/app-controller-traceability.d.ts.map +1 -1
  19. package/dist/app-controller-traceability.js +15 -1
  20. package/dist/app-controller-traceability.js.map +1 -1
  21. package/dist/app-controller.d.ts +14 -1
  22. package/dist/app-controller.d.ts.map +1 -1
  23. package/dist/app-controller.js +61 -9
  24. package/dist/app-controller.js.map +1 -1
  25. package/dist/audit-runs.d.ts.map +1 -1
  26. package/dist/audit-runs.js +12 -2
  27. package/dist/audit-runs.js.map +1 -1
  28. package/dist/background-runtime.d.ts +26 -0
  29. package/dist/background-runtime.d.ts.map +1 -1
  30. package/dist/background-runtime.js +874 -46
  31. package/dist/background-runtime.js.map +1 -1
  32. package/dist/background.d.ts +12 -2
  33. package/dist/background.d.ts.map +1 -1
  34. package/dist/background.js +195 -40
  35. package/dist/background.js.map +1 -1
  36. package/dist/channel-drivers/live.d.ts +3 -2
  37. package/dist/channel-drivers/live.d.ts.map +1 -1
  38. package/dist/channel-drivers/live.js +3 -2
  39. package/dist/channel-drivers/live.js.map +1 -1
  40. package/dist/channel-drivers/slack.d.ts.map +1 -1
  41. package/dist/channel-drivers/slack.js +6 -0
  42. package/dist/channel-drivers/slack.js.map +1 -1
  43. package/dist/channel-drivers/telegram.d.ts.map +1 -1
  44. package/dist/channel-drivers/telegram.js +20 -4
  45. package/dist/channel-drivers/telegram.js.map +1 -1
  46. package/dist/channel-drivers/tui.d.ts.map +1 -1
  47. package/dist/channel-drivers/tui.js +24 -0
  48. package/dist/channel-drivers/tui.js.map +1 -1
  49. package/dist/channel-runtime-controls.d.ts +23 -0
  50. package/dist/channel-runtime-controls.d.ts.map +1 -0
  51. package/dist/channel-runtime-controls.js +63 -0
  52. package/dist/channel-runtime-controls.js.map +1 -0
  53. package/dist/channel-status-display.d.ts +15 -0
  54. package/dist/channel-status-display.d.ts.map +1 -0
  55. package/dist/channel-status-display.js +48 -0
  56. package/dist/channel-status-display.js.map +1 -0
  57. package/dist/cli-args.d.ts +19 -22
  58. package/dist/cli-args.d.ts.map +1 -1
  59. package/dist/cli-args.js +115 -68
  60. package/dist/cli-args.js.map +1 -1
  61. package/dist/cli-background-command.d.ts +1 -0
  62. package/dist/cli-background-command.d.ts.map +1 -1
  63. package/dist/cli-background-command.js +72 -16
  64. package/dist/cli-background-command.js.map +1 -1
  65. package/dist/cli-commands.d.ts +4 -2
  66. package/dist/cli-commands.d.ts.map +1 -1
  67. package/dist/cli-commands.js +51 -47
  68. package/dist/cli-commands.js.map +1 -1
  69. package/dist/cli-help.d.ts +19 -1
  70. package/dist/cli-help.d.ts.map +1 -1
  71. package/dist/cli-help.js +217 -70
  72. package/dist/cli-help.js.map +1 -1
  73. package/dist/cli-init-command.d.ts.map +1 -1
  74. package/dist/cli-init-command.js +4 -18
  75. package/dist/cli-init-command.js.map +1 -1
  76. package/dist/cli-install-skill-command.d.ts.map +1 -1
  77. package/dist/cli-install-skill-command.js +32 -3
  78. package/dist/cli-install-skill-command.js.map +1 -1
  79. package/dist/cli-runs-command.d.ts +13 -0
  80. package/dist/cli-runs-command.d.ts.map +1 -0
  81. package/dist/cli-runs-command.js +70 -0
  82. package/dist/cli-runs-command.js.map +1 -0
  83. package/dist/cli-sandbox-command.d.ts +1 -1
  84. package/dist/cli-sandbox-command.d.ts.map +1 -1
  85. package/dist/cli-sandbox-command.js +14 -2
  86. package/dist/cli-sandbox-command.js.map +1 -1
  87. package/dist/cli-validate-config-command.d.ts +24 -5
  88. package/dist/cli-validate-config-command.d.ts.map +1 -1
  89. package/dist/cli-validate-config-command.js +120 -41
  90. package/dist/cli-validate-config-command.js.map +1 -1
  91. package/dist/config-reference.d.ts +1 -1
  92. package/dist/config-reference.d.ts.map +1 -1
  93. package/dist/config-reference.js +63 -1
  94. package/dist/config-reference.js.map +1 -1
  95. package/dist/configured-agent.js +3 -1
  96. package/dist/configured-agent.js.map +1 -1
  97. package/dist/docs-mcp-pairing.d.ts +35 -0
  98. package/dist/docs-mcp-pairing.d.ts.map +1 -0
  99. package/dist/docs-mcp-pairing.js +311 -0
  100. package/dist/docs-mcp-pairing.js.map +1 -0
  101. package/dist/doctor.d.ts +6 -0
  102. package/dist/doctor.d.ts.map +1 -1
  103. package/dist/doctor.js +6 -5
  104. package/dist/doctor.js.map +1 -1
  105. package/dist/install-skill.d.ts +2 -0
  106. package/dist/install-skill.d.ts.map +1 -1
  107. package/dist/install-skill.js +10 -4
  108. package/dist/install-skill.js.map +1 -1
  109. package/dist/interaction-bridge.d.ts +2 -0
  110. package/dist/interaction-bridge.d.ts.map +1 -1
  111. package/dist/interaction-bridge.js +46 -1
  112. package/dist/interaction-bridge.js.map +1 -1
  113. package/dist/launchd.d.ts +18 -0
  114. package/dist/launchd.d.ts.map +1 -1
  115. package/dist/launchd.js +69 -0
  116. package/dist/launchd.js.map +1 -1
  117. package/dist/local-configuration.d.ts +2 -2
  118. package/dist/local-configuration.d.ts.map +1 -1
  119. package/dist/local-configuration.js +10 -10
  120. package/dist/local-configuration.js.map +1 -1
  121. package/dist/managed-runtime-publication.d.ts +22 -0
  122. package/dist/managed-runtime-publication.d.ts.map +1 -0
  123. package/dist/managed-runtime-publication.js +91 -0
  124. package/dist/managed-runtime-publication.js.map +1 -0
  125. package/dist/managed-startup.d.ts +8 -0
  126. package/dist/managed-startup.d.ts.map +1 -0
  127. package/dist/managed-startup.js +12 -0
  128. package/dist/managed-startup.js.map +1 -0
  129. package/dist/memory-retrieval.d.ts.map +1 -1
  130. package/dist/memory-retrieval.js +31 -18
  131. package/dist/memory-retrieval.js.map +1 -1
  132. package/dist/metrics.d.ts.map +1 -1
  133. package/dist/metrics.js +12 -2
  134. package/dist/metrics.js.map +1 -1
  135. package/dist/modules/known-tools.d.ts +2 -2
  136. package/dist/modules/known-tools.d.ts.map +1 -1
  137. package/dist/modules/known-tools.js +2 -1
  138. package/dist/modules/known-tools.js.map +1 -1
  139. package/dist/notify-runtime.d.ts +26 -0
  140. package/dist/notify-runtime.d.ts.map +1 -0
  141. package/dist/notify-runtime.js +27 -0
  142. package/dist/notify-runtime.js.map +1 -0
  143. package/dist/notify-tool.d.ts +51 -0
  144. package/dist/notify-tool.d.ts.map +1 -0
  145. package/dist/notify-tool.js +182 -0
  146. package/dist/notify-tool.js.map +1 -0
  147. package/dist/posted-reply-history.d.ts.map +1 -1
  148. package/dist/posted-reply-history.js +7 -0
  149. package/dist/posted-reply-history.js.map +1 -1
  150. package/dist/project-skills.d.ts +1 -1
  151. package/dist/project-skills.d.ts.map +1 -1
  152. package/dist/project-skills.js +9 -7
  153. package/dist/project-skills.js.map +1 -1
  154. package/dist/recipes/base.d.ts +15 -0
  155. package/dist/recipes/base.d.ts.map +1 -0
  156. package/dist/recipes/base.js +51 -0
  157. package/dist/recipes/base.js.map +1 -0
  158. package/dist/recipes/catalog.d.ts +4 -0
  159. package/dist/recipes/catalog.d.ts.map +1 -0
  160. package/dist/recipes/catalog.js +525 -0
  161. package/dist/recipes/catalog.js.map +1 -0
  162. package/dist/recipes/index.d.ts +11 -0
  163. package/dist/recipes/index.d.ts.map +1 -0
  164. package/dist/recipes/index.js +14 -0
  165. package/dist/recipes/index.js.map +1 -0
  166. package/dist/recipes/types.d.ts +70 -0
  167. package/dist/recipes/types.d.ts.map +1 -0
  168. package/dist/recipes/types.js +15 -0
  169. package/dist/recipes/types.js.map +1 -0
  170. package/dist/request-model-override.d.ts +3 -2
  171. package/dist/request-model-override.d.ts.map +1 -1
  172. package/dist/request-model-override.js +13 -7
  173. package/dist/request-model-override.js.map +1 -1
  174. package/dist/run-history.d.ts.map +1 -1
  175. package/dist/run-history.js +35 -22
  176. package/dist/run-history.js.map +1 -1
  177. package/dist/runtime-provenance.d.ts.map +1 -1
  178. package/dist/runtime-provenance.js +10 -5
  179. package/dist/runtime-provenance.js.map +1 -1
  180. package/dist/sessions-command.d.ts +53 -0
  181. package/dist/sessions-command.d.ts.map +1 -0
  182. package/dist/sessions-command.js +309 -0
  183. package/dist/sessions-command.js.map +1 -0
  184. package/dist/setup.d.ts +29 -0
  185. package/dist/setup.d.ts.map +1 -0
  186. package/dist/setup.js +97 -0
  187. package/dist/setup.js.map +1 -0
  188. package/dist/tui-command.d.ts +1 -1
  189. package/dist/tui-command.d.ts.map +1 -1
  190. package/dist/tui-command.js +6 -5
  191. package/dist/tui-command.js.map +1 -1
  192. package/dist/web-command.d.ts +109 -43
  193. package/dist/web-command.d.ts.map +1 -1
  194. package/dist/web-command.js +1108 -237
  195. package/dist/web-command.js.map +1 -1
  196. package/dist/wizard/from-flags.d.ts +0 -1
  197. package/dist/wizard/from-flags.d.ts.map +1 -1
  198. package/dist/wizard/from-flags.js +1 -8
  199. package/dist/wizard/from-flags.js.map +1 -1
  200. package/dist/wizard/index.d.ts +1 -1
  201. package/dist/wizard/index.d.ts.map +1 -1
  202. package/dist/wizard/index.js +1 -1
  203. package/dist/wizard/index.js.map +1 -1
  204. package/dist/wizard/presets.d.ts +3 -12
  205. package/dist/wizard/presets.d.ts.map +1 -1
  206. package/dist/wizard/presets.js +3 -15
  207. package/dist/wizard/presets.js.map +1 -1
  208. package/dist/wizard/prompts.d.ts.map +1 -1
  209. package/dist/wizard/prompts.js +2 -1
  210. package/dist/wizard/prompts.js.map +1 -1
  211. package/dist/wizard/run.d.ts.map +1 -1
  212. package/dist/wizard/run.js +9 -9
  213. package/dist/wizard/run.js.map +1 -1
  214. package/package.json +15 -15
  215. package/schema/mono-agent.config.schema.json +70 -2
  216. package/skills/mono-agent-composer/SKILL.md +14 -6
  217. package/skills/mono-agent-composer/agents/openai.yaml +1 -1
  218. package/skills/mono-agent-composer/references/config-blueprint.md +30 -9
  219. package/skills/mono-agent-composer/references/discovery-questions.md +10 -5
  220. package/skills/mono-agent-composer/references/feature-coverage.md +14 -12
  221. package/skills/mono-agent-composer/references/package-map.md +10 -3
  222. package/skills/mono-agent-composer/references/playbooks.md +8 -8
  223. package/skills/mono-agent-composer/references/validation.md +4 -2
package/dist/cli-help.js CHANGED
@@ -1,13 +1,18 @@
1
1
  import { createRequire } from "node:module";
2
2
  import { EFFORT_LEVELS } from "@mono-agent/config";
3
+ import { REMOVED_COMMANDS } from "./cli-args.js";
3
4
  import { readinessProbeTimeoutDescription } from "./readiness-probe.js";
4
5
  import * as ui from "./ui.js";
5
6
  const HELP_COMMANDS = [
6
7
  {
8
+ command: "init",
9
+ group: "Setup",
10
+ short: "init",
11
+ summary: "Scaffold a new agent (guided path runs live probes; --preset/--yes skip).",
7
12
  signature: "mono-agent init [--preset <id>] [--with <csv>] [--yes] [--auth] [--dry-run]\n" +
8
13
  " [--name <display-name>] [--model <ref>] [--effort <level>]\n" +
9
14
  " [--fallback <ref> [--fallback-effort <provider-default|level>]]...\n" +
10
- " [--fallback-models <csv>] [--route-safety uniform|per-route-native]\n" +
15
+ " [--route-safety uniform|per-route-native]\n" +
11
16
  " [--codex-auth browser|device] [--memory lite|journal|bujo]",
12
17
  lines: [
13
18
  "Fast scaffold-only path: flags or non-TTY input; without explicit --auth,",
@@ -16,7 +21,6 @@ const HELP_COMMANDS = [
16
21
  `with timeouts of ${readinessProbeTimeoutDescription()}.`,
17
22
  "--preset seeds a blueprint; --with adds channels.",
18
23
  `Effort levels: ${EFFORT_LEVELS.join(", ")}; an omitted fallback effort uses that provider's default.`,
19
- "--fallback-models is deprecated and will be removed in v2.0.0; repeat --fallback for new scripts.",
20
24
  "Reasoning-capable pi:* maps ultra to LOW; Pi without reasoning uses OFF; direct codex:* forwards ultra unchanged.",
21
25
  "Mono-agent rejects ultra on its Claude SDK route because the pinned SDK public contract ends at max (the SDK JavaScript itself forwards the value).",
22
26
  "The Claude CLI route passes --effort ultra, but both tested Claude Code binaries (SDK-bundled 2.1.206 and local 2.1.210) warn that it is unknown, ignore it, and use default effort.",
@@ -27,26 +31,23 @@ const HELP_COMMANDS = [
27
31
  ],
28
32
  },
29
33
  {
30
- signature: "mono-agent setup",
31
- lines: ["Alias of `init`."],
32
- },
33
- {
34
- signature: "mono-agent presets list | show <id>",
34
+ command: "presets",
35
+ group: "Setup",
36
+ short: "presets list|show <id>",
37
+ summary: "List the built-in setup presets, or show one's config.",
38
+ json: true,
39
+ signature: "mono-agent presets list | show <id> [--json]",
35
40
  lines: [
36
41
  "List the built-in setup presets, or show one's generated config,",
37
42
  ".env.example, and follow-up checklist.",
43
+ "Both `list` and `show` accept --json for the machine-readable form.",
38
44
  ],
39
45
  },
40
46
  {
41
- signature: "mono-agent validate [--preset <id>] [--consumer <path>] [--config <path>] [--env-file <path>] [--json]",
42
- lines: [
43
- "Load every config section and report what would run, wait, or fail.",
44
- "--consumer validates another agent folder read-only, including its .env.",
45
- "With --preset, also report whether the preset's capabilities are live.",
46
- "`mono-agent doctor` is an alias for this command.",
47
- ],
48
- },
49
- {
47
+ command: "auth",
48
+ group: "Setup",
49
+ short: "auth login <provider>",
50
+ summary: "Log in to a bundled Pi provider, or direct Codex.",
50
51
  signature: "mono-agent auth login <provider|codex> [--pi-auth-path <path>] [--api-key-stdin]\n" +
51
52
  " [--codex-auth browser|device] [--config <path>]",
52
53
  lines: [
@@ -58,50 +59,120 @@ const HELP_COMMANDS = [
58
59
  ],
59
60
  },
60
61
  {
62
+ command: "sandbox",
63
+ group: "Setup",
64
+ short: "sandbox status|setup|check",
65
+ summary: "Inspect, install, or prove the pinned SRT sandbox.",
66
+ json: true,
61
67
  signature: "mono-agent sandbox status | setup | check",
62
68
  lines: [
63
69
  "Inspect, install, or functionally prove the pinned SRT sandbox runtime.",
64
70
  "Managed setup is macOS-only and installs into the user's cache; it never changes PATH,",
65
71
  "global npm packages, system packages, or another user's files.",
72
+ "Only the read-only `sandbox status` accepts --json.",
73
+ ],
74
+ },
75
+ {
76
+ command: "install-skill",
77
+ group: "Setup",
78
+ short: "install-skill",
79
+ summary: "Install or refresh the composer skill and docs MCP.",
80
+ json: true,
81
+ signature: "mono-agent install-skill [--target claude|codex|both] [--force] [--no-docs-mcp]\n" +
82
+ " --project (--check|--update)",
83
+ lines: [
84
+ "Copy the bundled mono-agent-composer skill into ~/.claude/skills and",
85
+ "~/.agents/skills (default: both). Refuses to overwrite without --force.",
86
+ "By default, pair exact-version mono-agent-docs with every available target",
87
+ "CLI. --no-docs-mcp stays file-only; --force never replaces an unmanaged MCP.",
88
+ "Project mode checks or safely updates the two managed skills generated",
89
+ "by init; modified copies are never overwritten, updates retain backups,",
90
+ "and user-level MCP configuration is not changed.",
91
+ "Only the read-only `install-skill --project --check` accepts --json.",
92
+ ],
93
+ },
94
+ {
95
+ command: "validate",
96
+ group: "Check",
97
+ short: "validate",
98
+ summary: "Load every config section; report what runs, waits, or fails.",
99
+ json: true,
100
+ signature: "mono-agent validate [--preset <id>] [--consumer <path>] [--config <path>] [--env-file <path>] [--json]",
101
+ lines: [
102
+ "Load every config section and report what would run, wait, or fail.",
103
+ "--consumer validates another agent folder read-only, including its .env.",
104
+ "With --preset, also report whether the preset's capabilities are live.",
105
+ "`mono-agent doctor` is an alias for this command.",
66
106
  ],
67
107
  },
68
108
  {
69
- signature: "mono-agent config [--config <path>] [--env-file <path>]",
109
+ command: "config",
110
+ group: "Check",
111
+ short: "config",
112
+ summary: "Print the resolved config field-by-field with provenance.",
113
+ json: true,
114
+ signature: "mono-agent config [--config <path>] [--env-file <path>] [--json]",
70
115
  lines: [
71
116
  "Print the resolved config field-by-field, tagging each value with where",
72
117
  "it came from (env / json / default), plus the channel summary. Read-only.",
73
118
  ],
74
119
  },
75
120
  {
76
- signature: "mono-agent start [--config <path>] [--env-file <path>] [--foreground|-f]",
121
+ command: "start",
122
+ group: "Run",
123
+ short: "start",
124
+ summary: "Start the agent as a background launchd service.",
125
+ signature: "mono-agent start [--config <path>] [--env-file <path>] [--foreground]",
77
126
  lines: [
78
127
  "Start the agent as a background macOS service (launchd), print its",
79
128
  "instance info, and return. Re-running restarts the running instance.",
80
129
  "Refuses to start without a valid mono-agent.config.json in the folder.",
81
- "Use --foreground (-f) to run in the blocking foreground instead.",
130
+ "Use --foreground to run in the blocking foreground instead.",
82
131
  ],
83
132
  },
84
133
  {
85
- signature: "mono-agent restart [--config <path>] [--force]",
134
+ command: "restart",
135
+ group: "Run",
136
+ short: "restart",
137
+ summary: "Restart this config's instance (starts it if stopped).",
138
+ signature: "mono-agent restart [--config <path>] [--clear-sessions]",
86
139
  lines: [
87
140
  "Restart the background instance for this config (starts it if stopped).",
88
- "--force clears persisted pi sessions and active conversation history so",
89
- "the agent starts fresh. Durable memory and run artifacts are untouched.",
141
+ "--clear-sessions clears persisted pi sessions and active conversation history",
142
+ "so the agent starts fresh. Durable memory and run artifacts are untouched.",
143
+ "--force is a deprecated alias of --clear-sessions.",
90
144
  ],
91
145
  },
92
146
  {
147
+ command: "stop",
148
+ group: "Run",
149
+ short: "stop",
150
+ summary: "Stop the instance and remove its LaunchAgent.",
93
151
  signature: "mono-agent stop [--config <path>]",
94
152
  lines: ["Stop the background instance and remove its LaunchAgent."],
95
153
  },
96
154
  {
97
- signature: "mono-agent status [--config <path>]",
155
+ command: "status",
156
+ group: "Run",
157
+ short: "status",
158
+ summary: "Show this config's instance plus other running instances.",
159
+ json: true,
160
+ signature: "mono-agent status [--config <path>] [--json]",
98
161
  lines: ["Show this config's instance plus any other running instances."],
99
162
  },
100
163
  {
164
+ command: "logs",
165
+ group: "Run",
166
+ short: "logs",
167
+ summary: "Print (and optionally follow) the background log files.",
101
168
  signature: "mono-agent logs [--config <path>] [--follow|-f] [--lines <n>]",
102
169
  lines: ["Print (and optionally follow) the background instance's log files."],
103
170
  },
104
171
  {
172
+ command: "tui",
173
+ group: "Console",
174
+ short: "tui",
175
+ summary: "Operator console: live chat, recorded-run replay, config view.",
105
176
  signature: "mono-agent tui [--agent <label|sourceId>] [--conversation <id>]\n" +
106
177
  " [--configure | --local]",
107
178
  lines: [
@@ -114,32 +185,45 @@ const HELP_COMMANDS = [
114
185
  ],
115
186
  },
116
187
  {
117
- signature: "mono-agent web [--host <addr>] [--port <n>] [--no-open] [--allow-non-loopback] [--show-auth-url] [--include-memory] [--max-runs <n>] [--config <path>] [--env-file <path>]",
188
+ command: "web",
189
+ group: "Console",
190
+ short: "web [start|stop|status|...]",
191
+ summary: "Always-on assistant-ui console for every local agent.",
192
+ signature: "mono-agent web [start|stop|restart|status|logs|run] [--host <addr>|--loopback] [--port <n>]\n" +
193
+ " web reset --all --yes",
118
194
  lines: [
119
- "Serve the read-only Session Recorder web PWA from any directory: a live",
120
- "flight-recorder over every agent's runs (prompt, reasoning, tools, cost).",
121
- "Discovers running agents via the trace-source registry the same",
122
- "mechanism as `tui` and streams new/updated runs in real time.",
123
- "--include-memory also shows memory-maintenance runs. --max-runs (default",
124
- "200) bounds the in-memory working set; the UI still pages the full",
125
- "on-disk history via \"Load older\".",
126
- "Non-loopback service use requires MONO_AGENT_WEB_AUTH_TOKEN; an",
127
- "interactive run may generate one. --show-auth-url reveals a configured",
128
- "token only to an interactive terminal. Authenticated URLs are not",
129
- "auto-opened through process arguments.",
195
+ "Operate the always-on assistant-ui console for persistent conversations",
196
+ "with every discovered local agent. Bare `web` prints status and help only.",
197
+ "The default 0.0.0.0:5050 bind is reachable over LAN/Tailnet; --loopback",
198
+ "narrows it to 127.0.0.1. There is no app login: network reachability is",
199
+ "the access boundary. start/restart claim a conflict-free Tailscale Serve",
200
+ "HTTPS port without replacing existing handlers; run stays in the foreground.",
130
201
  ],
131
202
  },
132
203
  {
133
- signature: "mono-agent install-skill [--target claude|codex|both] [--force]\n" +
134
- " --project (--check|--update)",
204
+ command: "runs",
205
+ group: "Observe",
206
+ short: "runs [report|audit]",
207
+ summary: "Read-only reporting over local agent-run artifacts.",
208
+ json: true,
209
+ signature: "mono-agent runs [report|audit] [--artifacts <path> | --consumer <path>]\n" +
210
+ " [--since <iso>] [--until <iso>] [--by model|channel|failureKind]\n" +
211
+ " [--stale-after-ms <n>] [--include-memory] [--json] [--config <path>] [--env-file <path>]",
135
212
  lines: [
136
- "Copy the bundled mono-agent-composer skill into ~/.claude/skills and",
137
- "~/.agents/skills (default: both). Refuses to overwrite without --force.",
138
- "Project mode checks or safely updates the two managed skills generated",
139
- "by init; modified copies are never overwritten and updates retain backups.",
213
+ "Read-only, offline reporting over local agent-run summary artifacts.",
214
+ "report (default): status/failure-kind rates, duration percentiles, and",
215
+ "total/per-run cost, optionally windowed (--since/--until) and grouped (--by).",
216
+ "audit: artifact integrity parse failures, status/failure-kind histograms,",
217
+ "stale running summaries (never rewritten), and per-failure-kind rates.",
218
+ "--include-memory adds memory-run artifacts. Legacy `audit-runs` and `metrics`",
219
+ "still forward here (deprecated: `runs audit` / `runs`).",
140
220
  ],
141
221
  },
142
222
  {
223
+ command: "backfill",
224
+ group: "Observe",
225
+ short: "backfill",
226
+ summary: "Export recorded run artifacts to the Phoenix exporter.",
143
227
  signature: "mono-agent backfill (--run <id> | --all) [--since <iso>] [--until <iso>]\n" +
144
228
  " [--include-memory] [--dry-run] [--config <path>] [--env-file <path>]",
145
229
  lines: [
@@ -151,24 +235,11 @@ const HELP_COMMANDS = [
151
235
  ],
152
236
  },
153
237
  {
154
- signature: "mono-agent audit-runs [--artifact-dir <path> | --consumer <path>]\n" +
155
- " [--include-memory] [--config <path>] [--env-file <path>] [--stale-after-ms <n>] [--json]",
156
- lines: [
157
- "Read local agent-run summary artifacts without rewriting them. Reports parse",
158
- "failures, status and failure-kind histograms, stale running summaries,",
159
- "and per-failure-kind rates. --include-memory includes memory-run artifacts.",
160
- ],
161
- },
162
- {
163
- signature: "mono-agent metrics [--artifacts <path>] [--since <iso>] [--until <iso>]\n" +
164
- " [--include-memory] [--by model|channel|failureKind] [--json] [--config <path>] [--env-file <path>]",
165
- lines: [
166
- "Aggregate local agent-run summaries into status rates, failure-kind rates,",
167
- "duration percentiles, and total/per-run cost. Read-only and offline.",
168
- "--include-memory includes memory-run artifacts.",
169
- ],
170
- },
171
- {
238
+ command: "memory",
239
+ group: "Maintain",
240
+ short: "memory <subcommand>",
241
+ summary: "Preview and operate the configured memory store.",
242
+ json: true,
172
243
  signature: "mono-agent memory [stats|today|show <date>|search <query>|top|audit|inspect [id]|retry [id]|resolve <id> <reason>|rebuild|rollback|adopt-replay]\n" +
173
244
  "mono-agent memory forget prepare --ids-file <file> --reason <slug> --plan <file>\n" +
174
245
  "mono-agent memory forget apply --plan <file> | forget restore --backup <dir>\n" +
@@ -185,6 +256,11 @@ const HELP_COMMANDS = [
185
256
  ],
186
257
  },
187
258
  {
259
+ command: "continuations",
260
+ group: "Maintain",
261
+ short: "continuations <subcommand>",
262
+ summary: "Inspect and operate the durable-continuation service.",
263
+ json: true,
188
264
  signature: "mono-agent continuations [list [--limit <n>] [--cursor <opaque>]|health|retry <id>|cancel <id>|resolve <id> delivered|not-delivered|dead-lettered [delivery-id]] [--json]",
189
265
  lines: [
190
266
  "Inspect and operate the authenticated durable-continuation service.",
@@ -193,6 +269,25 @@ const HELP_COMMANDS = [
193
269
  ],
194
270
  },
195
271
  ];
272
+ const HELP_COMMANDS_BY_KEY = new Map(HELP_COMMANDS.map((entry) => [entry.command, entry]));
273
+ /** Display order of the summary-screen groups, with optional heading notes. */
274
+ const HELP_GROUPS = [
275
+ { id: "Setup" },
276
+ { id: "Check" },
277
+ { id: "Run", note: "(background lifecycle is macOS/launchd; elsewhere use start --foreground)" },
278
+ { id: "Console" },
279
+ { id: "Observe" },
280
+ { id: "Maintain" },
281
+ ];
282
+ /** `help <alias>` resolves to the canonical command's detail view, noting the alias. */
283
+ const HELP_ALIASES = new Map([
284
+ ["doctor", "validate"],
285
+ ["setup", "init"],
286
+ // Deprecated forwarding aliases: `metrics`/`audit-runs` still run (routing to
287
+ // `runs report`/`runs audit`), so their help topics resolve to the runs entry.
288
+ ["metrics", "runs"],
289
+ ["audit-runs", "runs"],
290
+ ]);
196
291
  const HELP_NOTES = `Background mode runs the agent under launchd, keeping it alive across logins
197
292
  (auto-restarting only on crash) until you run stop. Secrets are read from the
198
293
  .env file in the working directory, the same as foreground mode. The background
@@ -225,22 +320,74 @@ live input, fast mode, and native subagents instead of silently dropping them.
225
320
  A .env file in the current folder is loaded automatically when present;
226
321
  already-exported shell variables take precedence.
227
322
  `;
228
- /** Build the colorized help screen (plain text when color is disabled). */
323
+ const HELP_BANNER_SUBTITLE = "config-first agent host";
324
+ function helpBanner() {
325
+ return `${ui.banner("mono-agent", HELP_BANNER_SUBTITLE)}\n`;
326
+ }
327
+ /**
328
+ * Build the default grouped help summary: one scannable line per command under
329
+ * its group heading, with `[--json]` markers on the PR3 JSON surfaces. Also used
330
+ * by the error paths (unknown command / parse failure) so those stay short.
331
+ */
229
332
  export function renderHelp() {
230
- let out = ui.banner("mono-agent", "config-first agent host") + "\n";
231
- out += ui.heading("Usage");
232
- for (const entry of HELP_COMMANDS) {
233
- const [first, ...rest] = entry.signature.split("\n");
234
- out += ` ${ui.style.bold(ui.style.cyan(first ?? ""))}\n`;
235
- for (const cont of rest) {
236
- out += ` ${ui.style.cyan(cont)}\n`;
333
+ const width = HELP_COMMANDS.reduce((max, entry) => Math.max(max, entry.short.length), 0);
334
+ let out = helpBanner();
335
+ for (const group of HELP_GROUPS) {
336
+ let heading = ui.style.bold(ui.style.cyan(group.id));
337
+ if (group.note !== undefined) {
338
+ heading += ` ${ui.style.dim(group.note)}`;
237
339
  }
238
- for (const line of entry.lines) {
239
- out += ` ${ui.style.dim(line)}\n`;
340
+ out += `${heading}\n`;
341
+ for (const entry of HELP_COMMANDS.filter((candidate) => candidate.group === group.id)) {
342
+ const shortColumn = ui.style.cyan(entry.short.padEnd(width));
343
+ const jsonMarker = entry.json === true ? ui.style.dim(" [--json]") : "";
344
+ out += ` ${shortColumn} ${entry.summary}${jsonMarker}\n`;
240
345
  }
241
346
  out += "\n";
242
347
  }
243
- out += ui.style.dim(HELP_NOTES);
348
+ out += `${ui.style.dim("Run `mono-agent help <command>` for full flags and behavior notes.")}\n`;
349
+ out += `${ui.style.dim("Run `mono-agent help notes` for model references, fallback chains, and env-file rules.")}\n`;
350
+ return out;
351
+ }
352
+ /**
353
+ * Resolve a `help <topic>` request: `notes` prints the notes block, a command
354
+ * (or its alias) prints that command's detail view, a removed command prints its
355
+ * replacement pointer, and anything else is a usage error listing valid topics.
356
+ */
357
+ export function renderHelpTopic(topic) {
358
+ if (topic === "notes") {
359
+ return { ok: true, text: `${helpBanner()}${ui.style.dim(HELP_NOTES)}` };
360
+ }
361
+ const removed = REMOVED_COMMANDS.get(topic);
362
+ if (removed !== undefined) {
363
+ return { ok: true, text: `${helpBanner()}${ui.style.dim(removed)}\n` };
364
+ }
365
+ const canonical = HELP_ALIASES.get(topic) ?? topic;
366
+ const entry = HELP_COMMANDS_BY_KEY.get(canonical);
367
+ if (entry === undefined) {
368
+ return { ok: false, message: unknownHelpTopicMessage(topic) };
369
+ }
370
+ const aliasNote = canonical === topic ? undefined : `\`${topic}\` is an alias of \`${canonical}\`.`;
371
+ return { ok: true, text: renderHelpEntryDetail(entry, aliasNote) };
372
+ }
373
+ function unknownHelpTopicMessage(topic) {
374
+ const topics = [...HELP_COMMANDS.map((entry) => entry.command), "notes"].join(", ");
375
+ return `Unknown help topic \`${topic}\`. Valid topics: ${topics}.`;
376
+ }
377
+ /** Render one command's full signature + behavior notes (the `help <command>` view). */
378
+ function renderHelpEntryDetail(entry, aliasNote) {
379
+ let out = helpBanner();
380
+ if (aliasNote !== undefined) {
381
+ out += `${ui.style.dim(aliasNote)}\n`;
382
+ }
383
+ const [first, ...rest] = entry.signature.split("\n");
384
+ out += ` ${ui.style.bold(ui.style.cyan(first ?? ""))}\n`;
385
+ for (const cont of rest) {
386
+ out += ` ${ui.style.cyan(cont)}\n`;
387
+ }
388
+ for (const line of entry.lines) {
389
+ out += ` ${ui.style.dim(line)}\n`;
390
+ }
244
391
  return out;
245
392
  }
246
393
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"cli-help.js","sourceRoot":"","sources":["../src/cli-help.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAO9B,MAAM,aAAa,GAAyB;IAC1C;QACE,SAAS,EAAE,+EAA+E;YACxF,8EAA8E;YAC9E,sFAAsF;YACtF,uFAAuF;YACvF,4EAA4E;QAC9E,KAAK,EAAE;YACL,2EAA2E;YAC3E,+EAA+E;YAC/E,8EAA8E;YAC9E,oBAAoB,gCAAgC,EAAE,GAAG;YACzD,mDAAmD;YACnD,kBAAkB,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,4DAA4D;YACtG,mGAAmG;YACnG,mHAAmH;YACnH,qJAAqJ;YACrJ,sLAAsL;YACtL,6FAA6F;YAC7F,4GAA4G;YAC5G,8EAA8E;YAC9E,oFAAoF;SACrF;KACF;IACD;QACE,SAAS,EAAE,kBAAkB;QAC7B,KAAK,EAAE,CAAC,kBAAkB,CAAC;KAC5B;IACD;QACE,SAAS,EAAE,qCAAqC;QAChD,KAAK,EAAE;YACL,kEAAkE;YACl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,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;CACxD;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,SAAS,mBAAmB,EAAE,EACvC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,GAC9B,SAAS,yBAAyB,EAAE,CAOtC"}
@@ -18,7 +18,7 @@ import { readinessProbeTimeoutMs, runAllRouteReadinessProbe } from "./readiness-
18
18
  import { setupManagedSrt } from "./sandbox-manager.js";
19
19
  import { composeWizardPlan, referencedSetupModelRefs } from "./wizard/answers.js";
20
20
  import { answersFromCli, isWithChannel } from "./wizard/from-flags.js";
21
- import { findPreset, presetIds, RECIPE_TO_PRESET } from "./wizard/presets.js";
21
+ import { findPreset, presetIds } from "./wizard/presets.js";
22
22
  import { runInitWizard, runSetupRepairWizard } from "./wizard/run.js";
23
23
  import * as p from "@clack/prompts";
24
24
  import * as ui from "./ui.js";
@@ -762,7 +762,6 @@ export async function runInit(args, environment) {
762
762
  const answers = answersFromCli({
763
763
  ...(args.model === undefined ? {} : { model: args.model }),
764
764
  ...(args.name === undefined ? {} : { name: args.name }),
765
- ...(args.fallbackModels === undefined ? {} : { fallbackModels: args.fallbackModels }),
766
765
  ...(args.fallbacks === undefined ? {} : { fallbacks: args.fallbacks }),
767
766
  ...(args.routeSafety === undefined ? {} : { routeSafety: args.routeSafety }),
768
767
  ...(args.effort === undefined ? {} : { effort: args.effort }),
@@ -1721,11 +1720,9 @@ function printProviderSetupPlan(plan) {
1721
1720
  }
1722
1721
  }
1723
1722
  /**
1724
- * Resolve the preset id for `init`: `--preset` wins, `--recipe` is a deprecated
1725
- * alias removed in v2.0.0 and mapped to the preset that replaced it. Returns
1726
- * the preset id to compose from, `undefined` for the default scaffold, or
1727
- * `"unknown"` after emitting the
1728
- * error/hint (an unknown preset, or a retired recipe with no replacement).
1723
+ * Resolve the preset id for `init`: `--preset` wins. Returns the preset id to
1724
+ * compose from, `undefined` for the default scaffold, or `"unknown"` after
1725
+ * emitting the error/hint for an unknown preset.
1729
1726
  */
1730
1727
  function resolveInitPresetId(args) {
1731
1728
  if (args.preset !== undefined) {
@@ -1737,17 +1734,6 @@ function resolveInitPresetId(args) {
1737
1734
  }
1738
1735
  return preset.id;
1739
1736
  }
1740
- if (args.recipe !== undefined) {
1741
- const preset = RECIPE_TO_PRESET.get(args.recipe);
1742
- if (preset === undefined) {
1743
- process.stderr.write(ui.errorLine(`Recipe \`${args.recipe}\` was retired; the wizard composes capabilities directly.`));
1744
- process.stderr.write(ui.hint(`Use \`mono-agent init --preset <id>\` (${presetIds().join(", ")}), or \`mono-agent init\` for the step-by-step wizard.`));
1745
- process.stderr.write(ui.hint("See the mono-agent-composer skill and docs/playbooks for capability recipes."));
1746
- return "unknown";
1747
- }
1748
- process.stderr.write(ui.hint(`Using replacement preset ${preset.id}. See \`mono-agent presets list\`.`));
1749
- return preset.id;
1750
- }
1751
1737
  return undefined;
1752
1738
  }
1753
1739
  function resolveWithChannels(args) {