argsbarg 7.0.10 → 7.1.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 (91) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/README.md +3 -2
  3. package/docs/ai-skills.md +2 -2
  4. package/docs/cli-program.md +3 -5
  5. package/docs/developing.md +3 -3
  6. package/docs/mcp.md +20 -7
  7. package/docs/output-schema.md +1 -1
  8. package/examples/full-example/AGENTS.md +20 -12
  9. package/examples/full-example/README.md +57 -12
  10. package/examples/full-example/biome.json +5 -4
  11. package/examples/full-example/bunfig.toml +3 -0
  12. package/examples/full-example/justfile +22 -27
  13. package/examples/full-example-json/AGENTS.md +14 -12
  14. package/examples/full-example-json/README.md +63 -15
  15. package/examples/full-example-json/biome.json +1 -3
  16. package/examples/full-example-json/bunfig.toml +3 -0
  17. package/examples/full-example-json/justfile +22 -27
  18. package/examples/mcp-plugin/.claude-plugin/plugin.json +11 -0
  19. package/examples/mcp-plugin/.cursor/hooks/run-tests-on-stop.ts +56 -0
  20. package/examples/mcp-plugin/.cursor/hooks.json +12 -0
  21. package/examples/mcp-plugin/.cursor-plugin/plugin.json +12 -0
  22. package/examples/mcp-plugin/.mcp.json +6 -0
  23. package/examples/mcp-plugin/AGENTS.md +90 -0
  24. package/examples/mcp-plugin/CLAUDE.md +1 -0
  25. package/examples/mcp-plugin/README.md +70 -0
  26. package/examples/mcp-plugin/biome.json +20 -0
  27. package/examples/mcp-plugin/bun.lock +48 -0
  28. package/examples/mcp-plugin/bunfig.toml +3 -0
  29. package/examples/mcp-plugin/docs/README.md +27 -0
  30. package/examples/mcp-plugin/docs/cli-schema.json +2085 -0
  31. package/examples/mcp-plugin/docs/cli.md +2026 -0
  32. package/examples/mcp-plugin/docs/http.md +92 -0
  33. package/examples/mcp-plugin/docs/mcp.md +116 -0
  34. package/examples/mcp-plugin/docs/openapi.json +1243 -0
  35. package/examples/mcp-plugin/justfile +89 -0
  36. package/examples/mcp-plugin/mcp.json +8 -0
  37. package/examples/mcp-plugin/package.json +23 -0
  38. package/examples/mcp-plugin/scripts/create-identity.ts +12 -0
  39. package/examples/mcp-plugin/scripts/mcp.mjs +11106 -0
  40. package/examples/mcp-plugin/scripts/release.ts +225 -0
  41. package/examples/mcp-plugin/skills/mcp-plugin/SKILL.md +59 -0
  42. package/examples/mcp-plugin/src/commands/echo/command.ts +26 -0
  43. package/examples/mcp-plugin/src/commands/render-json/__generated__/RenderJsonInputSchema.json +15 -0
  44. package/examples/mcp-plugin/src/commands/render-json/__generated__/index.ts +5 -0
  45. package/examples/mcp-plugin/src/commands/render-json/command.test.ts +46 -0
  46. package/examples/mcp-plugin/src/commands/render-json/command.ts +30 -0
  47. package/examples/mcp-plugin/src/commands/render-json/types.ts +9 -0
  48. package/examples/mcp-plugin/src/commands/status/__generated__/StatusJsonOutputSchema.json +15 -0
  49. package/examples/mcp-plugin/src/commands/status/__generated__/index.ts +5 -0
  50. package/examples/mcp-plugin/src/commands/status/command.test.ts +10 -0
  51. package/examples/mcp-plugin/src/commands/status/command.ts +28 -0
  52. package/examples/mcp-plugin/src/commands/status/types.ts +6 -0
  53. package/examples/mcp-plugin/src/commands/workspaces/__generated__/WorkspaceNameInputSchema.json +15 -0
  54. package/examples/mcp-plugin/src/commands/workspaces/__generated__/index.ts +5 -0
  55. package/examples/mcp-plugin/src/commands/workspaces/command.test.ts +58 -0
  56. package/examples/mcp-plugin/src/commands/workspaces/command.ts +94 -0
  57. package/examples/mcp-plugin/src/commands/workspaces/types.ts +6 -0
  58. package/examples/mcp-plugin/src/db/index.test.ts +86 -0
  59. package/examples/mcp-plugin/src/db/index.ts +77 -0
  60. package/examples/mcp-plugin/src/db/tables/workspaces.ts +58 -0
  61. package/examples/mcp-plugin/src/index.ts +10 -0
  62. package/examples/mcp-plugin/src/program.ts +32 -0
  63. package/examples/mcp-plugin/src/types/argsbarg.d.ts +11 -0
  64. package/examples/mcp-plugin/src/types/md.d.ts +4 -0
  65. package/examples/mcp-plugin/tsconfig.json +17 -0
  66. package/index.d.ts +12 -0
  67. package/package.json +1 -1
  68. package/src/builtins/mcp.ts +1 -1
  69. package/src/cli-tool/create.test.ts +5 -0
  70. package/src/cli-tool/create.ts +9 -1
  71. package/src/config/manifest.ts +56 -0
  72. package/src/config/resolve.test.ts +12 -12
  73. package/src/configure/configure.test.ts +5 -3
  74. package/src/core/parse.test.ts +6 -5
  75. package/src/core/types.ts +12 -0
  76. package/src/exports/mcp.ts +12 -0
  77. package/src/help.test.ts +36 -0
  78. package/src/help.ts +32 -19
  79. package/src/mcp/bundle.ts +12 -3
  80. package/src/mcp/claude.test.ts +2 -7
  81. package/src/mcp/claude.ts +49 -67
  82. package/src/mcp/cursor.test.ts +151 -0
  83. package/src/mcp/cursor.ts +155 -0
  84. package/src/mcp/hidden-mcpb.test.ts +34 -1
  85. package/src/mcp/plugin-shared.ts +107 -0
  86. package/src/mcp/result.ts +5 -1
  87. package/src/mcp/server.ts +3 -2
  88. package/src/test/fixtures.ts +13 -0
  89. package/src/test/integration/mcp.test.ts +8 -7
  90. package/examples/full-example/scripts/print-identity.ts +0 -28
  91. package/examples/full-example-json/scripts/print-identity.ts +0 -28
@@ -0,0 +1,2085 @@
1
+ {
2
+ "key": "full-example-json",
3
+ "description": "Argsbarg schema-first copy template (@sg schemagen, JSON schemas, REST CRUD)",
4
+ "commands": [
5
+ {
6
+ "key": "echo",
7
+ "description": "Echo a message (MCP-friendly leaf).",
8
+ "options": [
9
+ {
10
+ "name": "message",
11
+ "description": "Text to print.",
12
+ "kind": "string",
13
+ "required": true
14
+ }
15
+ ],
16
+ "inputSchema": {
17
+ "type": "object",
18
+ "properties": {
19
+ "message": {
20
+ "type": "string",
21
+ "description": "Text to print."
22
+ }
23
+ },
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "message"
27
+ ]
28
+ },
29
+ "commands": [
30
+ {
31
+ "key": "version",
32
+ "description": "Print the program version."
33
+ },
34
+ {
35
+ "key": "configure",
36
+ "description": "Set up MCP config for this app (binary via Homebrew).",
37
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
38
+ "commands": [
39
+ {
40
+ "key": "install",
41
+ "description": "Install agent artifacts and bootstrap app config."
42
+ },
43
+ {
44
+ "key": "uninstall",
45
+ "description": "Remove agent artifacts and app config.",
46
+ "options": [
47
+ {
48
+ "name": "yes",
49
+ "description": "Skip uninstall confirmation.",
50
+ "kind": "presence",
51
+ "shortName": "y"
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "key": "status",
57
+ "description": "Print what is currently installed (read-only).",
58
+ "options": [
59
+ {
60
+ "name": "json",
61
+ "description": "Print status JSON on stdout.",
62
+ "kind": "presence"
63
+ }
64
+ ]
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "key": "docs",
70
+ "description": "Print bundled CLI documentation.",
71
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
72
+ "options": [
73
+ {
74
+ "name": "save",
75
+ "description": "Write documentation to ./docs/.",
76
+ "kind": "presence"
77
+ }
78
+ ],
79
+ "commands": [
80
+ {
81
+ "key": "readme",
82
+ "description": "Print README (user guide).",
83
+ "options": [
84
+ {
85
+ "name": "save",
86
+ "description": "Write documentation to ./docs/.",
87
+ "kind": "presence"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "key": "mcp",
93
+ "description": "Print MCP server setup and tool guidance.",
94
+ "options": [
95
+ {
96
+ "name": "save",
97
+ "description": "Write documentation to ./docs/.",
98
+ "kind": "presence"
99
+ }
100
+ ]
101
+ },
102
+ {
103
+ "key": "http",
104
+ "description": "Print HTTP API setup and tool guidance.",
105
+ "options": [
106
+ {
107
+ "name": "save",
108
+ "description": "Write documentation to ./docs/.",
109
+ "kind": "presence"
110
+ }
111
+ ]
112
+ },
113
+ {
114
+ "key": "openapi",
115
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
116
+ "options": [
117
+ {
118
+ "name": "save",
119
+ "description": "Write documentation to ./docs/.",
120
+ "kind": "presence"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "key": "cli-schema",
126
+ "description": "Print the full CLI command tree as JSON.",
127
+ "options": [
128
+ {
129
+ "name": "save",
130
+ "description": "Write documentation to ./docs/.",
131
+ "kind": "presence"
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "key": "cli",
137
+ "description": "Print the full command reference as markdown.",
138
+ "options": [
139
+ {
140
+ "name": "save",
141
+ "description": "Write documentation to ./docs/.",
142
+ "kind": "presence"
143
+ }
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "key": "mcp",
150
+ "description": "MCP server and bundle tools.",
151
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
152
+ "options": [
153
+ {
154
+ "name": "obscure-errors",
155
+ "description": "Hide unexpected errors from clients.",
156
+ "kind": "presence"
157
+ },
158
+ {
159
+ "name": "log-format",
160
+ "description": "Log format: json (ECS Logging) or text.",
161
+ "kind": "enum",
162
+ "choices": [
163
+ "json",
164
+ "text"
165
+ ]
166
+ },
167
+ {
168
+ "name": "log-file",
169
+ "description": "Append logs to this file (relative → app config dir).",
170
+ "kind": "string"
171
+ },
172
+ {
173
+ "name": "dev",
174
+ "description": "Print full stacks to stderr on errors.",
175
+ "kind": "presence"
176
+ }
177
+ ],
178
+ "fallbackCommand": "serve",
179
+ "fallbackMode": "missingOnly",
180
+ "commands": [
181
+ {
182
+ "key": "bundle",
183
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
184
+ }
185
+ ]
186
+ },
187
+ {
188
+ "key": "http",
189
+ "description": "HTTP API server for tools.",
190
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
191
+ "options": [
192
+ {
193
+ "name": "host",
194
+ "description": "Listen host.",
195
+ "kind": "string"
196
+ },
197
+ {
198
+ "name": "port",
199
+ "description": "Listen port.",
200
+ "kind": "number"
201
+ },
202
+ {
203
+ "name": "trust-proxy",
204
+ "description": "Honor X-Forwarded-For for client IP.",
205
+ "kind": "presence"
206
+ },
207
+ {
208
+ "name": "obscure-errors",
209
+ "description": "Hide unexpected errors from clients.",
210
+ "kind": "presence"
211
+ },
212
+ {
213
+ "name": "log-format",
214
+ "description": "Log format: json (ECS Logging) or text.",
215
+ "kind": "enum",
216
+ "choices": [
217
+ "json",
218
+ "text"
219
+ ]
220
+ },
221
+ {
222
+ "name": "log-file",
223
+ "description": "Append logs to this file (relative → app config dir).",
224
+ "kind": "string"
225
+ },
226
+ {
227
+ "name": "no-access-log",
228
+ "description": "Disable HTTP access logs.",
229
+ "kind": "presence"
230
+ },
231
+ {
232
+ "name": "dev",
233
+ "description": "Print full stacks to stderr on errors.",
234
+ "kind": "presence"
235
+ }
236
+ ],
237
+ "fallbackCommand": "serve",
238
+ "fallbackMode": "missingOnly"
239
+ }
240
+ ]
241
+ },
242
+ {
243
+ "key": "render-json",
244
+ "description": "Echo a JSON message (schema-first JSON leaf demo).",
245
+ "inputSchema": {
246
+ "$schema": "http://json-schema.org/draft-07/schema#",
247
+ "type": "object",
248
+ "properties": {
249
+ "message": {
250
+ "type": "string",
251
+ "description": "Message to echo back."
252
+ }
253
+ },
254
+ "required": [
255
+ "message"
256
+ ],
257
+ "additionalProperties": false,
258
+ "definitions": {}
259
+ },
260
+ "commands": [
261
+ {
262
+ "key": "version",
263
+ "description": "Print the program version."
264
+ },
265
+ {
266
+ "key": "configure",
267
+ "description": "Set up MCP config for this app (binary via Homebrew).",
268
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
269
+ "commands": [
270
+ {
271
+ "key": "install",
272
+ "description": "Install agent artifacts and bootstrap app config."
273
+ },
274
+ {
275
+ "key": "uninstall",
276
+ "description": "Remove agent artifacts and app config.",
277
+ "options": [
278
+ {
279
+ "name": "yes",
280
+ "description": "Skip uninstall confirmation.",
281
+ "kind": "presence",
282
+ "shortName": "y"
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "key": "status",
288
+ "description": "Print what is currently installed (read-only).",
289
+ "options": [
290
+ {
291
+ "name": "json",
292
+ "description": "Print status JSON on stdout.",
293
+ "kind": "presence"
294
+ }
295
+ ]
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "key": "docs",
301
+ "description": "Print bundled CLI documentation.",
302
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
303
+ "options": [
304
+ {
305
+ "name": "save",
306
+ "description": "Write documentation to ./docs/.",
307
+ "kind": "presence"
308
+ }
309
+ ],
310
+ "commands": [
311
+ {
312
+ "key": "readme",
313
+ "description": "Print README (user guide).",
314
+ "options": [
315
+ {
316
+ "name": "save",
317
+ "description": "Write documentation to ./docs/.",
318
+ "kind": "presence"
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "key": "mcp",
324
+ "description": "Print MCP server setup and tool guidance.",
325
+ "options": [
326
+ {
327
+ "name": "save",
328
+ "description": "Write documentation to ./docs/.",
329
+ "kind": "presence"
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "key": "http",
335
+ "description": "Print HTTP API setup and tool guidance.",
336
+ "options": [
337
+ {
338
+ "name": "save",
339
+ "description": "Write documentation to ./docs/.",
340
+ "kind": "presence"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "key": "openapi",
346
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
347
+ "options": [
348
+ {
349
+ "name": "save",
350
+ "description": "Write documentation to ./docs/.",
351
+ "kind": "presence"
352
+ }
353
+ ]
354
+ },
355
+ {
356
+ "key": "cli-schema",
357
+ "description": "Print the full CLI command tree as JSON.",
358
+ "options": [
359
+ {
360
+ "name": "save",
361
+ "description": "Write documentation to ./docs/.",
362
+ "kind": "presence"
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "key": "cli",
368
+ "description": "Print the full command reference as markdown.",
369
+ "options": [
370
+ {
371
+ "name": "save",
372
+ "description": "Write documentation to ./docs/.",
373
+ "kind": "presence"
374
+ }
375
+ ]
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "key": "mcp",
381
+ "description": "MCP server and bundle tools.",
382
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
383
+ "options": [
384
+ {
385
+ "name": "obscure-errors",
386
+ "description": "Hide unexpected errors from clients.",
387
+ "kind": "presence"
388
+ },
389
+ {
390
+ "name": "log-format",
391
+ "description": "Log format: json (ECS Logging) or text.",
392
+ "kind": "enum",
393
+ "choices": [
394
+ "json",
395
+ "text"
396
+ ]
397
+ },
398
+ {
399
+ "name": "log-file",
400
+ "description": "Append logs to this file (relative → app config dir).",
401
+ "kind": "string"
402
+ },
403
+ {
404
+ "name": "dev",
405
+ "description": "Print full stacks to stderr on errors.",
406
+ "kind": "presence"
407
+ }
408
+ ],
409
+ "fallbackCommand": "serve",
410
+ "fallbackMode": "missingOnly",
411
+ "commands": [
412
+ {
413
+ "key": "bundle",
414
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
415
+ }
416
+ ]
417
+ },
418
+ {
419
+ "key": "http",
420
+ "description": "HTTP API server for tools.",
421
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
422
+ "options": [
423
+ {
424
+ "name": "host",
425
+ "description": "Listen host.",
426
+ "kind": "string"
427
+ },
428
+ {
429
+ "name": "port",
430
+ "description": "Listen port.",
431
+ "kind": "number"
432
+ },
433
+ {
434
+ "name": "trust-proxy",
435
+ "description": "Honor X-Forwarded-For for client IP.",
436
+ "kind": "presence"
437
+ },
438
+ {
439
+ "name": "obscure-errors",
440
+ "description": "Hide unexpected errors from clients.",
441
+ "kind": "presence"
442
+ },
443
+ {
444
+ "name": "log-format",
445
+ "description": "Log format: json (ECS Logging) or text.",
446
+ "kind": "enum",
447
+ "choices": [
448
+ "json",
449
+ "text"
450
+ ]
451
+ },
452
+ {
453
+ "name": "log-file",
454
+ "description": "Append logs to this file (relative → app config dir).",
455
+ "kind": "string"
456
+ },
457
+ {
458
+ "name": "no-access-log",
459
+ "description": "Disable HTTP access logs.",
460
+ "kind": "presence"
461
+ },
462
+ {
463
+ "name": "dev",
464
+ "description": "Print full stacks to stderr on errors.",
465
+ "kind": "presence"
466
+ }
467
+ ],
468
+ "fallbackCommand": "serve",
469
+ "fallbackMode": "missingOnly"
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "key": "status",
475
+ "description": "Show app version.",
476
+ "options": [
477
+ {
478
+ "name": "json",
479
+ "description": "Emit JSON.",
480
+ "kind": "presence"
481
+ }
482
+ ],
483
+ "inputSchema": {
484
+ "type": "object",
485
+ "properties": {},
486
+ "additionalProperties": false
487
+ },
488
+ "outputSchema": {
489
+ "$schema": "http://json-schema.org/draft-07/schema#",
490
+ "type": "object",
491
+ "properties": {
492
+ "version": {
493
+ "type": "string",
494
+ "description": "App version from program root."
495
+ }
496
+ },
497
+ "required": [
498
+ "version"
499
+ ],
500
+ "additionalProperties": false,
501
+ "definitions": {}
502
+ },
503
+ "commands": [
504
+ {
505
+ "key": "version",
506
+ "description": "Print the program version."
507
+ },
508
+ {
509
+ "key": "configure",
510
+ "description": "Set up MCP config for this app (binary via Homebrew).",
511
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
512
+ "commands": [
513
+ {
514
+ "key": "install",
515
+ "description": "Install agent artifacts and bootstrap app config."
516
+ },
517
+ {
518
+ "key": "uninstall",
519
+ "description": "Remove agent artifacts and app config.",
520
+ "options": [
521
+ {
522
+ "name": "yes",
523
+ "description": "Skip uninstall confirmation.",
524
+ "kind": "presence",
525
+ "shortName": "y"
526
+ }
527
+ ]
528
+ },
529
+ {
530
+ "key": "status",
531
+ "description": "Print what is currently installed (read-only).",
532
+ "options": [
533
+ {
534
+ "name": "json",
535
+ "description": "Print status JSON on stdout.",
536
+ "kind": "presence"
537
+ }
538
+ ]
539
+ }
540
+ ]
541
+ },
542
+ {
543
+ "key": "docs",
544
+ "description": "Print bundled CLI documentation.",
545
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
546
+ "options": [
547
+ {
548
+ "name": "save",
549
+ "description": "Write documentation to ./docs/.",
550
+ "kind": "presence"
551
+ }
552
+ ],
553
+ "commands": [
554
+ {
555
+ "key": "readme",
556
+ "description": "Print README (user guide).",
557
+ "options": [
558
+ {
559
+ "name": "save",
560
+ "description": "Write documentation to ./docs/.",
561
+ "kind": "presence"
562
+ }
563
+ ]
564
+ },
565
+ {
566
+ "key": "mcp",
567
+ "description": "Print MCP server setup and tool guidance.",
568
+ "options": [
569
+ {
570
+ "name": "save",
571
+ "description": "Write documentation to ./docs/.",
572
+ "kind": "presence"
573
+ }
574
+ ]
575
+ },
576
+ {
577
+ "key": "http",
578
+ "description": "Print HTTP API setup and tool guidance.",
579
+ "options": [
580
+ {
581
+ "name": "save",
582
+ "description": "Write documentation to ./docs/.",
583
+ "kind": "presence"
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "key": "openapi",
589
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
590
+ "options": [
591
+ {
592
+ "name": "save",
593
+ "description": "Write documentation to ./docs/.",
594
+ "kind": "presence"
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "key": "cli-schema",
600
+ "description": "Print the full CLI command tree as JSON.",
601
+ "options": [
602
+ {
603
+ "name": "save",
604
+ "description": "Write documentation to ./docs/.",
605
+ "kind": "presence"
606
+ }
607
+ ]
608
+ },
609
+ {
610
+ "key": "cli",
611
+ "description": "Print the full command reference as markdown.",
612
+ "options": [
613
+ {
614
+ "name": "save",
615
+ "description": "Write documentation to ./docs/.",
616
+ "kind": "presence"
617
+ }
618
+ ]
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "key": "mcp",
624
+ "description": "MCP server and bundle tools.",
625
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
626
+ "options": [
627
+ {
628
+ "name": "obscure-errors",
629
+ "description": "Hide unexpected errors from clients.",
630
+ "kind": "presence"
631
+ },
632
+ {
633
+ "name": "log-format",
634
+ "description": "Log format: json (ECS Logging) or text.",
635
+ "kind": "enum",
636
+ "choices": [
637
+ "json",
638
+ "text"
639
+ ]
640
+ },
641
+ {
642
+ "name": "log-file",
643
+ "description": "Append logs to this file (relative → app config dir).",
644
+ "kind": "string"
645
+ },
646
+ {
647
+ "name": "dev",
648
+ "description": "Print full stacks to stderr on errors.",
649
+ "kind": "presence"
650
+ }
651
+ ],
652
+ "fallbackCommand": "serve",
653
+ "fallbackMode": "missingOnly",
654
+ "commands": [
655
+ {
656
+ "key": "bundle",
657
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
658
+ }
659
+ ]
660
+ },
661
+ {
662
+ "key": "http",
663
+ "description": "HTTP API server for tools.",
664
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
665
+ "options": [
666
+ {
667
+ "name": "host",
668
+ "description": "Listen host.",
669
+ "kind": "string"
670
+ },
671
+ {
672
+ "name": "port",
673
+ "description": "Listen port.",
674
+ "kind": "number"
675
+ },
676
+ {
677
+ "name": "trust-proxy",
678
+ "description": "Honor X-Forwarded-For for client IP.",
679
+ "kind": "presence"
680
+ },
681
+ {
682
+ "name": "obscure-errors",
683
+ "description": "Hide unexpected errors from clients.",
684
+ "kind": "presence"
685
+ },
686
+ {
687
+ "name": "log-format",
688
+ "description": "Log format: json (ECS Logging) or text.",
689
+ "kind": "enum",
690
+ "choices": [
691
+ "json",
692
+ "text"
693
+ ]
694
+ },
695
+ {
696
+ "name": "log-file",
697
+ "description": "Append logs to this file (relative → app config dir).",
698
+ "kind": "string"
699
+ },
700
+ {
701
+ "name": "no-access-log",
702
+ "description": "Disable HTTP access logs.",
703
+ "kind": "presence"
704
+ },
705
+ {
706
+ "name": "dev",
707
+ "description": "Print full stacks to stderr on errors.",
708
+ "kind": "presence"
709
+ }
710
+ ],
711
+ "fallbackCommand": "serve",
712
+ "fallbackMode": "missingOnly"
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ "key": "workspaces",
718
+ "description": "Workspace collection and CRUD.",
719
+ "commands": [
720
+ {
721
+ "key": "get",
722
+ "description": "List workspaces.",
723
+ "inputSchema": {
724
+ "type": "object",
725
+ "properties": {},
726
+ "additionalProperties": false
727
+ },
728
+ "commands": [
729
+ {
730
+ "key": "version",
731
+ "description": "Print the program version."
732
+ },
733
+ {
734
+ "key": "configure",
735
+ "description": "Set up MCP config for this app (binary via Homebrew).",
736
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
737
+ "commands": [
738
+ {
739
+ "key": "install",
740
+ "description": "Install agent artifacts and bootstrap app config."
741
+ },
742
+ {
743
+ "key": "uninstall",
744
+ "description": "Remove agent artifacts and app config.",
745
+ "options": [
746
+ {
747
+ "name": "yes",
748
+ "description": "Skip uninstall confirmation.",
749
+ "kind": "presence",
750
+ "shortName": "y"
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "key": "status",
756
+ "description": "Print what is currently installed (read-only).",
757
+ "options": [
758
+ {
759
+ "name": "json",
760
+ "description": "Print status JSON on stdout.",
761
+ "kind": "presence"
762
+ }
763
+ ]
764
+ }
765
+ ]
766
+ },
767
+ {
768
+ "key": "docs",
769
+ "description": "Print bundled CLI documentation.",
770
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
771
+ "options": [
772
+ {
773
+ "name": "save",
774
+ "description": "Write documentation to ./docs/.",
775
+ "kind": "presence"
776
+ }
777
+ ],
778
+ "commands": [
779
+ {
780
+ "key": "readme",
781
+ "description": "Print README (user guide).",
782
+ "options": [
783
+ {
784
+ "name": "save",
785
+ "description": "Write documentation to ./docs/.",
786
+ "kind": "presence"
787
+ }
788
+ ]
789
+ },
790
+ {
791
+ "key": "mcp",
792
+ "description": "Print MCP server setup and tool guidance.",
793
+ "options": [
794
+ {
795
+ "name": "save",
796
+ "description": "Write documentation to ./docs/.",
797
+ "kind": "presence"
798
+ }
799
+ ]
800
+ },
801
+ {
802
+ "key": "http",
803
+ "description": "Print HTTP API setup and tool guidance.",
804
+ "options": [
805
+ {
806
+ "name": "save",
807
+ "description": "Write documentation to ./docs/.",
808
+ "kind": "presence"
809
+ }
810
+ ]
811
+ },
812
+ {
813
+ "key": "openapi",
814
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
815
+ "options": [
816
+ {
817
+ "name": "save",
818
+ "description": "Write documentation to ./docs/.",
819
+ "kind": "presence"
820
+ }
821
+ ]
822
+ },
823
+ {
824
+ "key": "cli-schema",
825
+ "description": "Print the full CLI command tree as JSON.",
826
+ "options": [
827
+ {
828
+ "name": "save",
829
+ "description": "Write documentation to ./docs/.",
830
+ "kind": "presence"
831
+ }
832
+ ]
833
+ },
834
+ {
835
+ "key": "cli",
836
+ "description": "Print the full command reference as markdown.",
837
+ "options": [
838
+ {
839
+ "name": "save",
840
+ "description": "Write documentation to ./docs/.",
841
+ "kind": "presence"
842
+ }
843
+ ]
844
+ }
845
+ ]
846
+ },
847
+ {
848
+ "key": "mcp",
849
+ "description": "MCP server and bundle tools.",
850
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
851
+ "options": [
852
+ {
853
+ "name": "obscure-errors",
854
+ "description": "Hide unexpected errors from clients.",
855
+ "kind": "presence"
856
+ },
857
+ {
858
+ "name": "log-format",
859
+ "description": "Log format: json (ECS Logging) or text.",
860
+ "kind": "enum",
861
+ "choices": [
862
+ "json",
863
+ "text"
864
+ ]
865
+ },
866
+ {
867
+ "name": "log-file",
868
+ "description": "Append logs to this file (relative → app config dir).",
869
+ "kind": "string"
870
+ },
871
+ {
872
+ "name": "dev",
873
+ "description": "Print full stacks to stderr on errors.",
874
+ "kind": "presence"
875
+ }
876
+ ],
877
+ "fallbackCommand": "serve",
878
+ "fallbackMode": "missingOnly",
879
+ "commands": [
880
+ {
881
+ "key": "bundle",
882
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "key": "http",
888
+ "description": "HTTP API server for tools.",
889
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
890
+ "options": [
891
+ {
892
+ "name": "host",
893
+ "description": "Listen host.",
894
+ "kind": "string"
895
+ },
896
+ {
897
+ "name": "port",
898
+ "description": "Listen port.",
899
+ "kind": "number"
900
+ },
901
+ {
902
+ "name": "trust-proxy",
903
+ "description": "Honor X-Forwarded-For for client IP.",
904
+ "kind": "presence"
905
+ },
906
+ {
907
+ "name": "obscure-errors",
908
+ "description": "Hide unexpected errors from clients.",
909
+ "kind": "presence"
910
+ },
911
+ {
912
+ "name": "log-format",
913
+ "description": "Log format: json (ECS Logging) or text.",
914
+ "kind": "enum",
915
+ "choices": [
916
+ "json",
917
+ "text"
918
+ ]
919
+ },
920
+ {
921
+ "name": "log-file",
922
+ "description": "Append logs to this file (relative → app config dir).",
923
+ "kind": "string"
924
+ },
925
+ {
926
+ "name": "no-access-log",
927
+ "description": "Disable HTTP access logs.",
928
+ "kind": "presence"
929
+ },
930
+ {
931
+ "name": "dev",
932
+ "description": "Print full stacks to stderr on errors.",
933
+ "kind": "presence"
934
+ }
935
+ ],
936
+ "fallbackCommand": "serve",
937
+ "fallbackMode": "missingOnly"
938
+ }
939
+ ]
940
+ },
941
+ {
942
+ "key": "post",
943
+ "description": "Create a workspace.",
944
+ "inputSchema": {
945
+ "$schema": "http://json-schema.org/draft-07/schema#",
946
+ "type": "object",
947
+ "properties": {
948
+ "name": {
949
+ "type": "string",
950
+ "description": "Workspace display name."
951
+ }
952
+ },
953
+ "required": [
954
+ "name"
955
+ ],
956
+ "additionalProperties": false,
957
+ "definitions": {}
958
+ },
959
+ "commands": [
960
+ {
961
+ "key": "version",
962
+ "description": "Print the program version."
963
+ },
964
+ {
965
+ "key": "configure",
966
+ "description": "Set up MCP config for this app (binary via Homebrew).",
967
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
968
+ "commands": [
969
+ {
970
+ "key": "install",
971
+ "description": "Install agent artifacts and bootstrap app config."
972
+ },
973
+ {
974
+ "key": "uninstall",
975
+ "description": "Remove agent artifacts and app config.",
976
+ "options": [
977
+ {
978
+ "name": "yes",
979
+ "description": "Skip uninstall confirmation.",
980
+ "kind": "presence",
981
+ "shortName": "y"
982
+ }
983
+ ]
984
+ },
985
+ {
986
+ "key": "status",
987
+ "description": "Print what is currently installed (read-only).",
988
+ "options": [
989
+ {
990
+ "name": "json",
991
+ "description": "Print status JSON on stdout.",
992
+ "kind": "presence"
993
+ }
994
+ ]
995
+ }
996
+ ]
997
+ },
998
+ {
999
+ "key": "docs",
1000
+ "description": "Print bundled CLI documentation.",
1001
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
1002
+ "options": [
1003
+ {
1004
+ "name": "save",
1005
+ "description": "Write documentation to ./docs/.",
1006
+ "kind": "presence"
1007
+ }
1008
+ ],
1009
+ "commands": [
1010
+ {
1011
+ "key": "readme",
1012
+ "description": "Print README (user guide).",
1013
+ "options": [
1014
+ {
1015
+ "name": "save",
1016
+ "description": "Write documentation to ./docs/.",
1017
+ "kind": "presence"
1018
+ }
1019
+ ]
1020
+ },
1021
+ {
1022
+ "key": "mcp",
1023
+ "description": "Print MCP server setup and tool guidance.",
1024
+ "options": [
1025
+ {
1026
+ "name": "save",
1027
+ "description": "Write documentation to ./docs/.",
1028
+ "kind": "presence"
1029
+ }
1030
+ ]
1031
+ },
1032
+ {
1033
+ "key": "http",
1034
+ "description": "Print HTTP API setup and tool guidance.",
1035
+ "options": [
1036
+ {
1037
+ "name": "save",
1038
+ "description": "Write documentation to ./docs/.",
1039
+ "kind": "presence"
1040
+ }
1041
+ ]
1042
+ },
1043
+ {
1044
+ "key": "openapi",
1045
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
1046
+ "options": [
1047
+ {
1048
+ "name": "save",
1049
+ "description": "Write documentation to ./docs/.",
1050
+ "kind": "presence"
1051
+ }
1052
+ ]
1053
+ },
1054
+ {
1055
+ "key": "cli-schema",
1056
+ "description": "Print the full CLI command tree as JSON.",
1057
+ "options": [
1058
+ {
1059
+ "name": "save",
1060
+ "description": "Write documentation to ./docs/.",
1061
+ "kind": "presence"
1062
+ }
1063
+ ]
1064
+ },
1065
+ {
1066
+ "key": "cli",
1067
+ "description": "Print the full command reference as markdown.",
1068
+ "options": [
1069
+ {
1070
+ "name": "save",
1071
+ "description": "Write documentation to ./docs/.",
1072
+ "kind": "presence"
1073
+ }
1074
+ ]
1075
+ }
1076
+ ]
1077
+ },
1078
+ {
1079
+ "key": "mcp",
1080
+ "description": "MCP server and bundle tools.",
1081
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
1082
+ "options": [
1083
+ {
1084
+ "name": "obscure-errors",
1085
+ "description": "Hide unexpected errors from clients.",
1086
+ "kind": "presence"
1087
+ },
1088
+ {
1089
+ "name": "log-format",
1090
+ "description": "Log format: json (ECS Logging) or text.",
1091
+ "kind": "enum",
1092
+ "choices": [
1093
+ "json",
1094
+ "text"
1095
+ ]
1096
+ },
1097
+ {
1098
+ "name": "log-file",
1099
+ "description": "Append logs to this file (relative → app config dir).",
1100
+ "kind": "string"
1101
+ },
1102
+ {
1103
+ "name": "dev",
1104
+ "description": "Print full stacks to stderr on errors.",
1105
+ "kind": "presence"
1106
+ }
1107
+ ],
1108
+ "fallbackCommand": "serve",
1109
+ "fallbackMode": "missingOnly",
1110
+ "commands": [
1111
+ {
1112
+ "key": "bundle",
1113
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
1114
+ }
1115
+ ]
1116
+ },
1117
+ {
1118
+ "key": "http",
1119
+ "description": "HTTP API server for tools.",
1120
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
1121
+ "options": [
1122
+ {
1123
+ "name": "host",
1124
+ "description": "Listen host.",
1125
+ "kind": "string"
1126
+ },
1127
+ {
1128
+ "name": "port",
1129
+ "description": "Listen port.",
1130
+ "kind": "number"
1131
+ },
1132
+ {
1133
+ "name": "trust-proxy",
1134
+ "description": "Honor X-Forwarded-For for client IP.",
1135
+ "kind": "presence"
1136
+ },
1137
+ {
1138
+ "name": "obscure-errors",
1139
+ "description": "Hide unexpected errors from clients.",
1140
+ "kind": "presence"
1141
+ },
1142
+ {
1143
+ "name": "log-format",
1144
+ "description": "Log format: json (ECS Logging) or text.",
1145
+ "kind": "enum",
1146
+ "choices": [
1147
+ "json",
1148
+ "text"
1149
+ ]
1150
+ },
1151
+ {
1152
+ "name": "log-file",
1153
+ "description": "Append logs to this file (relative → app config dir).",
1154
+ "kind": "string"
1155
+ },
1156
+ {
1157
+ "name": "no-access-log",
1158
+ "description": "Disable HTTP access logs.",
1159
+ "kind": "presence"
1160
+ },
1161
+ {
1162
+ "name": "dev",
1163
+ "description": "Print full stacks to stderr on errors.",
1164
+ "kind": "presence"
1165
+ }
1166
+ ],
1167
+ "fallbackCommand": "serve",
1168
+ "fallbackMode": "missingOnly"
1169
+ }
1170
+ ]
1171
+ },
1172
+ {
1173
+ "key": ":id",
1174
+ "description": "One workspace by id.",
1175
+ "commands": [
1176
+ {
1177
+ "key": "get",
1178
+ "description": "Get one workspace.",
1179
+ "inputSchema": {
1180
+ "type": "object",
1181
+ "properties": {},
1182
+ "additionalProperties": false
1183
+ },
1184
+ "commands": [
1185
+ {
1186
+ "key": "version",
1187
+ "description": "Print the program version."
1188
+ },
1189
+ {
1190
+ "key": "configure",
1191
+ "description": "Set up MCP config for this app (binary via Homebrew).",
1192
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
1193
+ "commands": [
1194
+ {
1195
+ "key": "install",
1196
+ "description": "Install agent artifacts and bootstrap app config."
1197
+ },
1198
+ {
1199
+ "key": "uninstall",
1200
+ "description": "Remove agent artifacts and app config.",
1201
+ "options": [
1202
+ {
1203
+ "name": "yes",
1204
+ "description": "Skip uninstall confirmation.",
1205
+ "kind": "presence",
1206
+ "shortName": "y"
1207
+ }
1208
+ ]
1209
+ },
1210
+ {
1211
+ "key": "status",
1212
+ "description": "Print what is currently installed (read-only).",
1213
+ "options": [
1214
+ {
1215
+ "name": "json",
1216
+ "description": "Print status JSON on stdout.",
1217
+ "kind": "presence"
1218
+ }
1219
+ ]
1220
+ }
1221
+ ]
1222
+ },
1223
+ {
1224
+ "key": "docs",
1225
+ "description": "Print bundled CLI documentation.",
1226
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
1227
+ "options": [
1228
+ {
1229
+ "name": "save",
1230
+ "description": "Write documentation to ./docs/.",
1231
+ "kind": "presence"
1232
+ }
1233
+ ],
1234
+ "commands": [
1235
+ {
1236
+ "key": "readme",
1237
+ "description": "Print README (user guide).",
1238
+ "options": [
1239
+ {
1240
+ "name": "save",
1241
+ "description": "Write documentation to ./docs/.",
1242
+ "kind": "presence"
1243
+ }
1244
+ ]
1245
+ },
1246
+ {
1247
+ "key": "mcp",
1248
+ "description": "Print MCP server setup and tool guidance.",
1249
+ "options": [
1250
+ {
1251
+ "name": "save",
1252
+ "description": "Write documentation to ./docs/.",
1253
+ "kind": "presence"
1254
+ }
1255
+ ]
1256
+ },
1257
+ {
1258
+ "key": "http",
1259
+ "description": "Print HTTP API setup and tool guidance.",
1260
+ "options": [
1261
+ {
1262
+ "name": "save",
1263
+ "description": "Write documentation to ./docs/.",
1264
+ "kind": "presence"
1265
+ }
1266
+ ]
1267
+ },
1268
+ {
1269
+ "key": "openapi",
1270
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
1271
+ "options": [
1272
+ {
1273
+ "name": "save",
1274
+ "description": "Write documentation to ./docs/.",
1275
+ "kind": "presence"
1276
+ }
1277
+ ]
1278
+ },
1279
+ {
1280
+ "key": "cli-schema",
1281
+ "description": "Print the full CLI command tree as JSON.",
1282
+ "options": [
1283
+ {
1284
+ "name": "save",
1285
+ "description": "Write documentation to ./docs/.",
1286
+ "kind": "presence"
1287
+ }
1288
+ ]
1289
+ },
1290
+ {
1291
+ "key": "cli",
1292
+ "description": "Print the full command reference as markdown.",
1293
+ "options": [
1294
+ {
1295
+ "name": "save",
1296
+ "description": "Write documentation to ./docs/.",
1297
+ "kind": "presence"
1298
+ }
1299
+ ]
1300
+ }
1301
+ ]
1302
+ },
1303
+ {
1304
+ "key": "mcp",
1305
+ "description": "MCP server and bundle tools.",
1306
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
1307
+ "options": [
1308
+ {
1309
+ "name": "obscure-errors",
1310
+ "description": "Hide unexpected errors from clients.",
1311
+ "kind": "presence"
1312
+ },
1313
+ {
1314
+ "name": "log-format",
1315
+ "description": "Log format: json (ECS Logging) or text.",
1316
+ "kind": "enum",
1317
+ "choices": [
1318
+ "json",
1319
+ "text"
1320
+ ]
1321
+ },
1322
+ {
1323
+ "name": "log-file",
1324
+ "description": "Append logs to this file (relative → app config dir).",
1325
+ "kind": "string"
1326
+ },
1327
+ {
1328
+ "name": "dev",
1329
+ "description": "Print full stacks to stderr on errors.",
1330
+ "kind": "presence"
1331
+ }
1332
+ ],
1333
+ "fallbackCommand": "serve",
1334
+ "fallbackMode": "missingOnly",
1335
+ "commands": [
1336
+ {
1337
+ "key": "bundle",
1338
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "key": "http",
1344
+ "description": "HTTP API server for tools.",
1345
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
1346
+ "options": [
1347
+ {
1348
+ "name": "host",
1349
+ "description": "Listen host.",
1350
+ "kind": "string"
1351
+ },
1352
+ {
1353
+ "name": "port",
1354
+ "description": "Listen port.",
1355
+ "kind": "number"
1356
+ },
1357
+ {
1358
+ "name": "trust-proxy",
1359
+ "description": "Honor X-Forwarded-For for client IP.",
1360
+ "kind": "presence"
1361
+ },
1362
+ {
1363
+ "name": "obscure-errors",
1364
+ "description": "Hide unexpected errors from clients.",
1365
+ "kind": "presence"
1366
+ },
1367
+ {
1368
+ "name": "log-format",
1369
+ "description": "Log format: json (ECS Logging) or text.",
1370
+ "kind": "enum",
1371
+ "choices": [
1372
+ "json",
1373
+ "text"
1374
+ ]
1375
+ },
1376
+ {
1377
+ "name": "log-file",
1378
+ "description": "Append logs to this file (relative → app config dir).",
1379
+ "kind": "string"
1380
+ },
1381
+ {
1382
+ "name": "no-access-log",
1383
+ "description": "Disable HTTP access logs.",
1384
+ "kind": "presence"
1385
+ },
1386
+ {
1387
+ "name": "dev",
1388
+ "description": "Print full stacks to stderr on errors.",
1389
+ "kind": "presence"
1390
+ }
1391
+ ],
1392
+ "fallbackCommand": "serve",
1393
+ "fallbackMode": "missingOnly"
1394
+ }
1395
+ ]
1396
+ },
1397
+ {
1398
+ "key": "put",
1399
+ "description": "Replace a workspace.",
1400
+ "inputSchema": {
1401
+ "$schema": "http://json-schema.org/draft-07/schema#",
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "name": {
1405
+ "type": "string",
1406
+ "description": "Workspace display name."
1407
+ }
1408
+ },
1409
+ "required": [
1410
+ "name"
1411
+ ],
1412
+ "additionalProperties": false,
1413
+ "definitions": {}
1414
+ },
1415
+ "commands": [
1416
+ {
1417
+ "key": "version",
1418
+ "description": "Print the program version."
1419
+ },
1420
+ {
1421
+ "key": "configure",
1422
+ "description": "Set up MCP config for this app (binary via Homebrew).",
1423
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
1424
+ "commands": [
1425
+ {
1426
+ "key": "install",
1427
+ "description": "Install agent artifacts and bootstrap app config."
1428
+ },
1429
+ {
1430
+ "key": "uninstall",
1431
+ "description": "Remove agent artifacts and app config.",
1432
+ "options": [
1433
+ {
1434
+ "name": "yes",
1435
+ "description": "Skip uninstall confirmation.",
1436
+ "kind": "presence",
1437
+ "shortName": "y"
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ "key": "status",
1443
+ "description": "Print what is currently installed (read-only).",
1444
+ "options": [
1445
+ {
1446
+ "name": "json",
1447
+ "description": "Print status JSON on stdout.",
1448
+ "kind": "presence"
1449
+ }
1450
+ ]
1451
+ }
1452
+ ]
1453
+ },
1454
+ {
1455
+ "key": "docs",
1456
+ "description": "Print bundled CLI documentation.",
1457
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
1458
+ "options": [
1459
+ {
1460
+ "name": "save",
1461
+ "description": "Write documentation to ./docs/.",
1462
+ "kind": "presence"
1463
+ }
1464
+ ],
1465
+ "commands": [
1466
+ {
1467
+ "key": "readme",
1468
+ "description": "Print README (user guide).",
1469
+ "options": [
1470
+ {
1471
+ "name": "save",
1472
+ "description": "Write documentation to ./docs/.",
1473
+ "kind": "presence"
1474
+ }
1475
+ ]
1476
+ },
1477
+ {
1478
+ "key": "mcp",
1479
+ "description": "Print MCP server setup and tool guidance.",
1480
+ "options": [
1481
+ {
1482
+ "name": "save",
1483
+ "description": "Write documentation to ./docs/.",
1484
+ "kind": "presence"
1485
+ }
1486
+ ]
1487
+ },
1488
+ {
1489
+ "key": "http",
1490
+ "description": "Print HTTP API setup and tool guidance.",
1491
+ "options": [
1492
+ {
1493
+ "name": "save",
1494
+ "description": "Write documentation to ./docs/.",
1495
+ "kind": "presence"
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "key": "openapi",
1501
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
1502
+ "options": [
1503
+ {
1504
+ "name": "save",
1505
+ "description": "Write documentation to ./docs/.",
1506
+ "kind": "presence"
1507
+ }
1508
+ ]
1509
+ },
1510
+ {
1511
+ "key": "cli-schema",
1512
+ "description": "Print the full CLI command tree as JSON.",
1513
+ "options": [
1514
+ {
1515
+ "name": "save",
1516
+ "description": "Write documentation to ./docs/.",
1517
+ "kind": "presence"
1518
+ }
1519
+ ]
1520
+ },
1521
+ {
1522
+ "key": "cli",
1523
+ "description": "Print the full command reference as markdown.",
1524
+ "options": [
1525
+ {
1526
+ "name": "save",
1527
+ "description": "Write documentation to ./docs/.",
1528
+ "kind": "presence"
1529
+ }
1530
+ ]
1531
+ }
1532
+ ]
1533
+ },
1534
+ {
1535
+ "key": "mcp",
1536
+ "description": "MCP server and bundle tools.",
1537
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
1538
+ "options": [
1539
+ {
1540
+ "name": "obscure-errors",
1541
+ "description": "Hide unexpected errors from clients.",
1542
+ "kind": "presence"
1543
+ },
1544
+ {
1545
+ "name": "log-format",
1546
+ "description": "Log format: json (ECS Logging) or text.",
1547
+ "kind": "enum",
1548
+ "choices": [
1549
+ "json",
1550
+ "text"
1551
+ ]
1552
+ },
1553
+ {
1554
+ "name": "log-file",
1555
+ "description": "Append logs to this file (relative → app config dir).",
1556
+ "kind": "string"
1557
+ },
1558
+ {
1559
+ "name": "dev",
1560
+ "description": "Print full stacks to stderr on errors.",
1561
+ "kind": "presence"
1562
+ }
1563
+ ],
1564
+ "fallbackCommand": "serve",
1565
+ "fallbackMode": "missingOnly",
1566
+ "commands": [
1567
+ {
1568
+ "key": "bundle",
1569
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
1570
+ }
1571
+ ]
1572
+ },
1573
+ {
1574
+ "key": "http",
1575
+ "description": "HTTP API server for tools.",
1576
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
1577
+ "options": [
1578
+ {
1579
+ "name": "host",
1580
+ "description": "Listen host.",
1581
+ "kind": "string"
1582
+ },
1583
+ {
1584
+ "name": "port",
1585
+ "description": "Listen port.",
1586
+ "kind": "number"
1587
+ },
1588
+ {
1589
+ "name": "trust-proxy",
1590
+ "description": "Honor X-Forwarded-For for client IP.",
1591
+ "kind": "presence"
1592
+ },
1593
+ {
1594
+ "name": "obscure-errors",
1595
+ "description": "Hide unexpected errors from clients.",
1596
+ "kind": "presence"
1597
+ },
1598
+ {
1599
+ "name": "log-format",
1600
+ "description": "Log format: json (ECS Logging) or text.",
1601
+ "kind": "enum",
1602
+ "choices": [
1603
+ "json",
1604
+ "text"
1605
+ ]
1606
+ },
1607
+ {
1608
+ "name": "log-file",
1609
+ "description": "Append logs to this file (relative → app config dir).",
1610
+ "kind": "string"
1611
+ },
1612
+ {
1613
+ "name": "no-access-log",
1614
+ "description": "Disable HTTP access logs.",
1615
+ "kind": "presence"
1616
+ },
1617
+ {
1618
+ "name": "dev",
1619
+ "description": "Print full stacks to stderr on errors.",
1620
+ "kind": "presence"
1621
+ }
1622
+ ],
1623
+ "fallbackCommand": "serve",
1624
+ "fallbackMode": "missingOnly"
1625
+ }
1626
+ ]
1627
+ },
1628
+ {
1629
+ "key": "patch",
1630
+ "description": "Patch a workspace name.",
1631
+ "inputSchema": {
1632
+ "$schema": "http://json-schema.org/draft-07/schema#",
1633
+ "type": "object",
1634
+ "properties": {
1635
+ "name": {
1636
+ "type": "string",
1637
+ "description": "Workspace display name."
1638
+ }
1639
+ },
1640
+ "required": [
1641
+ "name"
1642
+ ],
1643
+ "additionalProperties": false,
1644
+ "definitions": {}
1645
+ },
1646
+ "commands": [
1647
+ {
1648
+ "key": "version",
1649
+ "description": "Print the program version."
1650
+ },
1651
+ {
1652
+ "key": "configure",
1653
+ "description": "Set up MCP config for this app (binary via Homebrew).",
1654
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
1655
+ "commands": [
1656
+ {
1657
+ "key": "install",
1658
+ "description": "Install agent artifacts and bootstrap app config."
1659
+ },
1660
+ {
1661
+ "key": "uninstall",
1662
+ "description": "Remove agent artifacts and app config.",
1663
+ "options": [
1664
+ {
1665
+ "name": "yes",
1666
+ "description": "Skip uninstall confirmation.",
1667
+ "kind": "presence",
1668
+ "shortName": "y"
1669
+ }
1670
+ ]
1671
+ },
1672
+ {
1673
+ "key": "status",
1674
+ "description": "Print what is currently installed (read-only).",
1675
+ "options": [
1676
+ {
1677
+ "name": "json",
1678
+ "description": "Print status JSON on stdout.",
1679
+ "kind": "presence"
1680
+ }
1681
+ ]
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ "key": "docs",
1687
+ "description": "Print bundled CLI documentation.",
1688
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
1689
+ "options": [
1690
+ {
1691
+ "name": "save",
1692
+ "description": "Write documentation to ./docs/.",
1693
+ "kind": "presence"
1694
+ }
1695
+ ],
1696
+ "commands": [
1697
+ {
1698
+ "key": "readme",
1699
+ "description": "Print README (user guide).",
1700
+ "options": [
1701
+ {
1702
+ "name": "save",
1703
+ "description": "Write documentation to ./docs/.",
1704
+ "kind": "presence"
1705
+ }
1706
+ ]
1707
+ },
1708
+ {
1709
+ "key": "mcp",
1710
+ "description": "Print MCP server setup and tool guidance.",
1711
+ "options": [
1712
+ {
1713
+ "name": "save",
1714
+ "description": "Write documentation to ./docs/.",
1715
+ "kind": "presence"
1716
+ }
1717
+ ]
1718
+ },
1719
+ {
1720
+ "key": "http",
1721
+ "description": "Print HTTP API setup and tool guidance.",
1722
+ "options": [
1723
+ {
1724
+ "name": "save",
1725
+ "description": "Write documentation to ./docs/.",
1726
+ "kind": "presence"
1727
+ }
1728
+ ]
1729
+ },
1730
+ {
1731
+ "key": "openapi",
1732
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
1733
+ "options": [
1734
+ {
1735
+ "name": "save",
1736
+ "description": "Write documentation to ./docs/.",
1737
+ "kind": "presence"
1738
+ }
1739
+ ]
1740
+ },
1741
+ {
1742
+ "key": "cli-schema",
1743
+ "description": "Print the full CLI command tree as JSON.",
1744
+ "options": [
1745
+ {
1746
+ "name": "save",
1747
+ "description": "Write documentation to ./docs/.",
1748
+ "kind": "presence"
1749
+ }
1750
+ ]
1751
+ },
1752
+ {
1753
+ "key": "cli",
1754
+ "description": "Print the full command reference as markdown.",
1755
+ "options": [
1756
+ {
1757
+ "name": "save",
1758
+ "description": "Write documentation to ./docs/.",
1759
+ "kind": "presence"
1760
+ }
1761
+ ]
1762
+ }
1763
+ ]
1764
+ },
1765
+ {
1766
+ "key": "mcp",
1767
+ "description": "MCP server and bundle tools.",
1768
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
1769
+ "options": [
1770
+ {
1771
+ "name": "obscure-errors",
1772
+ "description": "Hide unexpected errors from clients.",
1773
+ "kind": "presence"
1774
+ },
1775
+ {
1776
+ "name": "log-format",
1777
+ "description": "Log format: json (ECS Logging) or text.",
1778
+ "kind": "enum",
1779
+ "choices": [
1780
+ "json",
1781
+ "text"
1782
+ ]
1783
+ },
1784
+ {
1785
+ "name": "log-file",
1786
+ "description": "Append logs to this file (relative → app config dir).",
1787
+ "kind": "string"
1788
+ },
1789
+ {
1790
+ "name": "dev",
1791
+ "description": "Print full stacks to stderr on errors.",
1792
+ "kind": "presence"
1793
+ }
1794
+ ],
1795
+ "fallbackCommand": "serve",
1796
+ "fallbackMode": "missingOnly",
1797
+ "commands": [
1798
+ {
1799
+ "key": "bundle",
1800
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ "key": "http",
1806
+ "description": "HTTP API server for tools.",
1807
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
1808
+ "options": [
1809
+ {
1810
+ "name": "host",
1811
+ "description": "Listen host.",
1812
+ "kind": "string"
1813
+ },
1814
+ {
1815
+ "name": "port",
1816
+ "description": "Listen port.",
1817
+ "kind": "number"
1818
+ },
1819
+ {
1820
+ "name": "trust-proxy",
1821
+ "description": "Honor X-Forwarded-For for client IP.",
1822
+ "kind": "presence"
1823
+ },
1824
+ {
1825
+ "name": "obscure-errors",
1826
+ "description": "Hide unexpected errors from clients.",
1827
+ "kind": "presence"
1828
+ },
1829
+ {
1830
+ "name": "log-format",
1831
+ "description": "Log format: json (ECS Logging) or text.",
1832
+ "kind": "enum",
1833
+ "choices": [
1834
+ "json",
1835
+ "text"
1836
+ ]
1837
+ },
1838
+ {
1839
+ "name": "log-file",
1840
+ "description": "Append logs to this file (relative → app config dir).",
1841
+ "kind": "string"
1842
+ },
1843
+ {
1844
+ "name": "no-access-log",
1845
+ "description": "Disable HTTP access logs.",
1846
+ "kind": "presence"
1847
+ },
1848
+ {
1849
+ "name": "dev",
1850
+ "description": "Print full stacks to stderr on errors.",
1851
+ "kind": "presence"
1852
+ }
1853
+ ],
1854
+ "fallbackCommand": "serve",
1855
+ "fallbackMode": "missingOnly"
1856
+ }
1857
+ ]
1858
+ },
1859
+ {
1860
+ "key": "delete",
1861
+ "description": "Delete a workspace.",
1862
+ "inputSchema": {
1863
+ "type": "object",
1864
+ "properties": {},
1865
+ "additionalProperties": false
1866
+ },
1867
+ "commands": [
1868
+ {
1869
+ "key": "version",
1870
+ "description": "Print the program version."
1871
+ },
1872
+ {
1873
+ "key": "configure",
1874
+ "description": "Set up MCP config for this app (binary via Homebrew).",
1875
+ "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.\n\nAfter install or upgrade:\n full-example-json configure install\n\nUpgrade:\n brew upgrade full-example-json\n full-example-json configure install\n\nShell completions are installed by Homebrew during brew install.\nSee: https://docs.brew.sh/Shell-Completion\n\nSee what is installed:\n full-example-json configure status\n\nUninstall:\n full-example-json configure uninstall\n brew uninstall <tap>/full-example-json\n\nUse `configure status --json` for machine-readable output.",
1876
+ "commands": [
1877
+ {
1878
+ "key": "install",
1879
+ "description": "Install agent artifacts and bootstrap app config."
1880
+ },
1881
+ {
1882
+ "key": "uninstall",
1883
+ "description": "Remove agent artifacts and app config.",
1884
+ "options": [
1885
+ {
1886
+ "name": "yes",
1887
+ "description": "Skip uninstall confirmation.",
1888
+ "kind": "presence",
1889
+ "shortName": "y"
1890
+ }
1891
+ ]
1892
+ },
1893
+ {
1894
+ "key": "status",
1895
+ "description": "Print what is currently installed (read-only).",
1896
+ "options": [
1897
+ {
1898
+ "name": "json",
1899
+ "description": "Print status JSON on stdout.",
1900
+ "kind": "presence"
1901
+ }
1902
+ ]
1903
+ }
1904
+ ]
1905
+ },
1906
+ {
1907
+ "key": "docs",
1908
+ "description": "Print bundled CLI documentation.",
1909
+ "notes": "Topics print to stdout. Add --save to write files under ./docs/.",
1910
+ "options": [
1911
+ {
1912
+ "name": "save",
1913
+ "description": "Write documentation to ./docs/.",
1914
+ "kind": "presence"
1915
+ }
1916
+ ],
1917
+ "commands": [
1918
+ {
1919
+ "key": "readme",
1920
+ "description": "Print README (user guide).",
1921
+ "options": [
1922
+ {
1923
+ "name": "save",
1924
+ "description": "Write documentation to ./docs/.",
1925
+ "kind": "presence"
1926
+ }
1927
+ ]
1928
+ },
1929
+ {
1930
+ "key": "mcp",
1931
+ "description": "Print MCP server setup and tool guidance.",
1932
+ "options": [
1933
+ {
1934
+ "name": "save",
1935
+ "description": "Write documentation to ./docs/.",
1936
+ "kind": "presence"
1937
+ }
1938
+ ]
1939
+ },
1940
+ {
1941
+ "key": "http",
1942
+ "description": "Print HTTP API setup and tool guidance.",
1943
+ "options": [
1944
+ {
1945
+ "name": "save",
1946
+ "description": "Write documentation to ./docs/.",
1947
+ "kind": "presence"
1948
+ }
1949
+ ]
1950
+ },
1951
+ {
1952
+ "key": "openapi",
1953
+ "description": "Print the HTTP OpenAPI 3.1 document as JSON.",
1954
+ "options": [
1955
+ {
1956
+ "name": "save",
1957
+ "description": "Write documentation to ./docs/.",
1958
+ "kind": "presence"
1959
+ }
1960
+ ]
1961
+ },
1962
+ {
1963
+ "key": "cli-schema",
1964
+ "description": "Print the full CLI command tree as JSON.",
1965
+ "options": [
1966
+ {
1967
+ "name": "save",
1968
+ "description": "Write documentation to ./docs/.",
1969
+ "kind": "presence"
1970
+ }
1971
+ ]
1972
+ },
1973
+ {
1974
+ "key": "cli",
1975
+ "description": "Print the full command reference as markdown.",
1976
+ "options": [
1977
+ {
1978
+ "name": "save",
1979
+ "description": "Write documentation to ./docs/.",
1980
+ "kind": "presence"
1981
+ }
1982
+ ]
1983
+ }
1984
+ ]
1985
+ },
1986
+ {
1987
+ "key": "mcp",
1988
+ "description": "MCP server and bundle tools.",
1989
+ "notes": "Stdio MCP server. Add to Cursor, Claude Code, or Claude Desktop:\n\n command: full-example-json\n args: mcp\n\nOr:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs mcp",
1990
+ "options": [
1991
+ {
1992
+ "name": "obscure-errors",
1993
+ "description": "Hide unexpected errors from clients.",
1994
+ "kind": "presence"
1995
+ },
1996
+ {
1997
+ "name": "log-format",
1998
+ "description": "Log format: json (ECS Logging) or text.",
1999
+ "kind": "enum",
2000
+ "choices": [
2001
+ "json",
2002
+ "text"
2003
+ ]
2004
+ },
2005
+ {
2006
+ "name": "log-file",
2007
+ "description": "Append logs to this file (relative → app config dir).",
2008
+ "kind": "string"
2009
+ },
2010
+ {
2011
+ "name": "dev",
2012
+ "description": "Print full stacks to stderr on errors.",
2013
+ "kind": "presence"
2014
+ }
2015
+ ],
2016
+ "fallbackCommand": "serve",
2017
+ "fallbackMode": "missingOnly",
2018
+ "commands": [
2019
+ {
2020
+ "key": "bundle",
2021
+ "description": "Pack dist MCP artifacts (`.mcpb`, Claude Code plugin zip) from dist/<key>."
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "key": "http",
2027
+ "description": "HTTP API server for tools.",
2028
+ "notes": "HTTP tool server on http://127.0.0.1:3000.\n\nEndpoints: GET /health/liveness, GET /health/readiness, GET /openapi.json, GET /swagger, /*\n\nConfigure app settings:\n\n full-example-json configure\n\nFull setup guide: full-example-json docs http",
2029
+ "options": [
2030
+ {
2031
+ "name": "host",
2032
+ "description": "Listen host.",
2033
+ "kind": "string"
2034
+ },
2035
+ {
2036
+ "name": "port",
2037
+ "description": "Listen port.",
2038
+ "kind": "number"
2039
+ },
2040
+ {
2041
+ "name": "trust-proxy",
2042
+ "description": "Honor X-Forwarded-For for client IP.",
2043
+ "kind": "presence"
2044
+ },
2045
+ {
2046
+ "name": "obscure-errors",
2047
+ "description": "Hide unexpected errors from clients.",
2048
+ "kind": "presence"
2049
+ },
2050
+ {
2051
+ "name": "log-format",
2052
+ "description": "Log format: json (ECS Logging) or text.",
2053
+ "kind": "enum",
2054
+ "choices": [
2055
+ "json",
2056
+ "text"
2057
+ ]
2058
+ },
2059
+ {
2060
+ "name": "log-file",
2061
+ "description": "Append logs to this file (relative → app config dir).",
2062
+ "kind": "string"
2063
+ },
2064
+ {
2065
+ "name": "no-access-log",
2066
+ "description": "Disable HTTP access logs.",
2067
+ "kind": "presence"
2068
+ },
2069
+ {
2070
+ "name": "dev",
2071
+ "description": "Print full stacks to stderr on errors.",
2072
+ "kind": "presence"
2073
+ }
2074
+ ],
2075
+ "fallbackCommand": "serve",
2076
+ "fallbackMode": "missingOnly"
2077
+ }
2078
+ ]
2079
+ }
2080
+ ]
2081
+ }
2082
+ ]
2083
+ }
2084
+ ]
2085
+ }