argsbarg 6.3.2 → 7.0.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 (48) hide show
  1. package/CHANGELOG.md +17 -3
  2. package/README.md +2 -2
  3. package/docs/README.md +2 -2
  4. package/docs/ai-skills.md +7 -7
  5. package/docs/bundled-docs.md +2 -2
  6. package/docs/cli-program.md +4 -4
  7. package/docs/configure.md +57 -85
  8. package/docs/developing.md +3 -3
  9. package/docs/distribution-homebrew.md +22 -23
  10. package/docs/mcp.md +3 -3
  11. package/examples/full-example/Formula/full-example.rb +7 -9
  12. package/examples/full-example/docs/cli-schema.json +48 -60
  13. package/examples/full-example/docs/cli.md +66 -36
  14. package/examples/full-example/docs/mcp.md +2 -2
  15. package/examples/full-example/docs/skill.md +1 -1
  16. package/examples/full-example/justfile +12 -12
  17. package/examples/full-example/scripts/formula-shared.ts +7 -13
  18. package/examples/full-example-json/Formula/full-example-json.rb +7 -9
  19. package/examples/full-example-json/docs/cli-schema.json +216 -270
  20. package/examples/full-example-json/docs/cli.md +297 -162
  21. package/examples/full-example-json/docs/mcp.md +2 -2
  22. package/examples/full-example-json/docs/skill.md +1 -1
  23. package/examples/full-example-json/justfile +12 -13
  24. package/examples/full-example-json/scripts/formula-shared.ts +7 -13
  25. package/index.d.ts +7 -8
  26. package/package.json +1 -1
  27. package/src/builtins/builtins.test.ts +21 -28
  28. package/src/builtins/configure-copy.ts +17 -20
  29. package/src/builtins/configure.ts +45 -74
  30. package/src/builtins/dispatch.ts +1 -8
  31. package/src/builtins/index.ts +1 -1
  32. package/src/cli-tool/create.ts +3 -1
  33. package/src/cli-tool/post-create.ts +5 -1
  34. package/src/config/file.ts +1 -0
  35. package/src/config/resolve.ts +1 -1
  36. package/src/configure/artifacts/mcp-config.ts +18 -12
  37. package/src/configure/artifacts/target-mcp-json.ts +19 -18
  38. package/src/configure/artifacts/target-skill.ts +8 -3
  39. package/src/configure/artifacts/targets/agents-mcp.ts +1 -1
  40. package/src/configure/artifacts/targets/configure.ts +2 -3
  41. package/src/configure/artifacts/uninstall.ts +5 -1
  42. package/src/configure/configure.test.ts +45 -113
  43. package/src/configure/index.ts +64 -354
  44. package/src/core/types.ts +7 -8
  45. package/src/docs/docs.test.ts +2 -2
  46. package/src/docs/mcp-guide.ts +2 -2
  47. package/src/skill/generate.ts +1 -1
  48. package/src/skill/install.ts +2 -1
@@ -21,42 +21,36 @@
21
21
  {
22
22
  "key": "configure",
23
23
  "description": "Set up agent skills and MCP config for this app (binary via Homebrew).",
24
- "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew post_install runs:\n full-example configure --refresh --yes\n\nInteractive setup (per target):\n full-example configure\n\nUpgrade:\n brew upgrade full-example\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 configure --status\n\nUninstall:\n brew uninstall <tap>/full-example\n\nThe formula uninstall hook runs `configure --remove-all --yes` (skills, MCP, and app config).\n\nUse --dry to preview changes without writing files.\nUse --json for machine-readable output.",
25
- "options": [
24
+ "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 configure install\n\nUpgrade:\n brew upgrade full-example\n full-example 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 configure status\n\nUninstall:\n full-example configure uninstall\n brew uninstall <tap>/full-example\n\nUse `configure status --json` for machine-readable output.",
25
+ "commands": [
26
26
  {
27
- "name": "refresh",
28
- "description": "Refresh installed skills and MCP. Used by Homebrew post_install.",
29
- "kind": "presence"
27
+ "key": "install",
28
+ "description": "Install agent artifacts and bootstrap app config."
30
29
  },
31
30
  {
32
- "name": "remove-all",
33
- "description": "Remove all detected agent artifacts (skills and MCP).",
34
- "kind": "presence"
31
+ "key": "uninstall",
32
+ "description": "Remove agent artifacts and app config.",
33
+ "options": [
34
+ {
35
+ "name": "yes",
36
+ "description": "Skip uninstall confirmation.",
37
+ "kind": "presence",
38
+ "shortName": "y"
39
+ }
40
+ ]
35
41
  },
36
42
  {
37
- "name": "status",
43
+ "key": "status",
38
44
  "description": "Print what is currently installed (read-only).",
39
- "kind": "presence"
40
- },
41
- {
42
- "name": "yes",
43
- "description": "Skip confirmation (required for --refresh, --remove-all, --remove-config).",
44
- "kind": "presence",
45
- "shortName": "y"
46
- },
47
- {
48
- "name": "dry",
49
- "description": "Show what would change without writing files.",
50
- "kind": "presence"
51
- },
52
- {
53
- "name": "json",
54
- "description": "Print changed paths or status JSON on stdout.",
55
- "kind": "presence"
45
+ "options": [
46
+ {
47
+ "name": "json",
48
+ "description": "Print status JSON on stdout.",
49
+ "kind": "presence"
50
+ }
51
+ ]
56
52
  }
57
- ],
58
- "fallbackCommand": "run",
59
- "fallbackMode": "missingOnly"
53
+ ]
60
54
  },
61
55
  {
62
56
  "key": "docs",
@@ -138,7 +132,7 @@
138
132
  },
139
133
  {
140
134
  "key": "skill",
141
- "description": "Print a reference agent SKILL; run `configure` to install an optimized copy.",
135
+ "description": "Print a reference agent SKILL; run `configure install` to install an optimized copy.",
142
136
  "options": [
143
137
  {
144
138
  "name": "save",
@@ -261,42 +255,36 @@
261
255
  {
262
256
  "key": "configure",
263
257
  "description": "Set up agent skills and MCP config for this app (binary via Homebrew).",
264
- "notes": "Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).\n\nHomebrew post_install runs:\n full-example configure --refresh --yes\n\nInteractive setup (per target):\n full-example configure\n\nUpgrade:\n brew upgrade full-example\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 configure --status\n\nUninstall:\n brew uninstall <tap>/full-example\n\nThe formula uninstall hook runs `configure --remove-all --yes` (skills, MCP, and app config).\n\nUse --dry to preview changes without writing files.\nUse --json for machine-readable output.",
265
- "options": [
258
+ "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 configure install\n\nUpgrade:\n brew upgrade full-example\n full-example 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 configure status\n\nUninstall:\n full-example configure uninstall\n brew uninstall <tap>/full-example\n\nUse `configure status --json` for machine-readable output.",
259
+ "commands": [
266
260
  {
267
- "name": "refresh",
268
- "description": "Refresh installed skills and MCP. Used by Homebrew post_install.",
269
- "kind": "presence"
261
+ "key": "install",
262
+ "description": "Install agent artifacts and bootstrap app config."
270
263
  },
271
264
  {
272
- "name": "remove-all",
273
- "description": "Remove all detected agent artifacts (skills and MCP).",
274
- "kind": "presence"
265
+ "key": "uninstall",
266
+ "description": "Remove agent artifacts and app config.",
267
+ "options": [
268
+ {
269
+ "name": "yes",
270
+ "description": "Skip uninstall confirmation.",
271
+ "kind": "presence",
272
+ "shortName": "y"
273
+ }
274
+ ]
275
275
  },
276
276
  {
277
- "name": "status",
277
+ "key": "status",
278
278
  "description": "Print what is currently installed (read-only).",
279
- "kind": "presence"
280
- },
281
- {
282
- "name": "yes",
283
- "description": "Skip confirmation (required for --refresh, --remove-all, --remove-config).",
284
- "kind": "presence",
285
- "shortName": "y"
286
- },
287
- {
288
- "name": "dry",
289
- "description": "Show what would change without writing files.",
290
- "kind": "presence"
291
- },
292
- {
293
- "name": "json",
294
- "description": "Print changed paths or status JSON on stdout.",
295
- "kind": "presence"
279
+ "options": [
280
+ {
281
+ "name": "json",
282
+ "description": "Print status JSON on stdout.",
283
+ "kind": "presence"
284
+ }
285
+ ]
296
286
  }
297
- ],
298
- "fallbackCommand": "run",
299
- "fallbackMode": "missingOnly"
287
+ ]
300
288
  },
301
289
  {
302
290
  "key": "docs",
@@ -378,7 +366,7 @@
378
366
  },
379
367
  {
380
368
  "key": "skill",
381
- "description": "Print a reference agent SKILL; run `configure` to install an optimized copy.",
369
+ "description": "Print a reference agent SKILL; run `configure install` to install an optimized copy.",
382
370
  "options": [
383
371
  {
384
372
  "name": "save",
@@ -43,41 +43,56 @@ Set up agent skills and MCP config for this app (binary via Homebrew).
43
43
 
44
44
  > Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).
45
45
  >
46
- > Homebrew post_install runs:
47
- > full-example configure --refresh --yes
46
+ > Homebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.
48
47
  >
49
- > Interactive setup (per target):
50
- > full-example configure
48
+ > After install or upgrade:
49
+ > full-example configure install
51
50
  >
52
51
  > Upgrade:
53
52
  > brew upgrade full-example
53
+ > full-example configure install
54
54
  >
55
55
  > Shell completions are installed by Homebrew during brew install.
56
56
  > See: https://docs.brew.sh/Shell-Completion
57
57
  >
58
58
  > See what is installed:
59
- > full-example configure --status
59
+ > full-example configure status
60
60
  >
61
61
  > Uninstall:
62
+ > full-example configure uninstall
62
63
  > brew uninstall <tap>/full-example
63
64
  >
64
- > The formula uninstall hook runs `configure --remove-all --yes` (skills, MCP, and app config).
65
- >
66
- > Use --dry to preview changes without writing files.
67
- > Use --json for machine-readable output.
65
+ > Use `configure status --json` for machine-readable output.
66
+
67
+ #### Subcommands
68
+
69
+ - `install` — Install agent artifacts and bootstrap app config.
70
+ - `uninstall` — Remove agent artifacts and app config.
71
+ - `status` — Print what is currently installed (read-only).
72
+
73
+ ##### `full-example echo configure install`
74
+
75
+ Install agent artifacts and bootstrap app config.
76
+
77
+ ##### `full-example echo configure uninstall`
78
+
79
+ Remove agent artifacts and app config.
80
+
81
+ #### Options
82
+
83
+ | Option | Type | Required | Format / default | Description |
84
+ | --- | --- | --- | --- | --- |
85
+ | `--yes` (`-y`) | flag | optional | — | Skip uninstall confirmation. |
86
+
87
+ ##### `full-example echo configure status`
68
88
 
69
- **Default subcommand:** `run` (`missingOnly`)
89
+ Print what is currently installed (read-only).
70
90
 
71
91
  #### Options
72
92
 
73
93
  | Option | Type | Required | Format / default | Description |
74
94
  | --- | --- | --- | --- | --- |
75
- | `--refresh` | flag | optional | — | Refresh installed skills and MCP. Used by Homebrew post_install. |
76
- | `--remove-all` | flag | optional | — | Remove all detected agent artifacts (skills and MCP). |
77
- | `--status` | flag | optional | — | Print what is currently installed (read-only). |
78
- | `--yes` (`-y`) | flag | optional | — | Skip confirmation (required for --refresh, --remove-all, --remove-config). |
79
- | `--dry` | flag | optional | — | Show what would change without writing files. |
80
- | `--json` | flag | optional | — | Print changed paths or status JSON on stdout. |
95
+ | `--json` | flag | optional | — | Print status JSON on stdout. |
81
96
 
82
97
  #### `full-example echo docs`
83
98
 
@@ -99,7 +114,7 @@ Print bundled CLI documentation.
99
114
  - `openapi` — Print the HTTP OpenAPI 3.1 document as JSON.
100
115
  - `cli-schema` — Print the full CLI command tree as JSON.
101
116
  - `cli` — Print the full command reference as markdown.
102
- - `skill` — Print a reference agent SKILL; run `configure` to install an optimized copy.
117
+ - `skill` — Print a reference agent SKILL; run `configure install` to install an optimized copy.
103
118
 
104
119
  ##### `full-example echo docs readme`
105
120
 
@@ -163,7 +178,7 @@ Print the full command reference as markdown.
163
178
 
164
179
  ##### `full-example echo docs skill`
165
180
 
166
- Print a reference agent SKILL; run `configure` to install an optimized copy.
181
+ Print a reference agent SKILL; run `configure install` to install an optimized copy.
167
182
 
168
183
  #### Options
169
184
 
@@ -262,41 +277,56 @@ Set up agent skills and MCP config for this app (binary via Homebrew).
262
277
 
263
278
  > Set up agent artifacts after the binary is installed via Homebrew (see README for tap install).
264
279
  >
265
- > Homebrew post_install runs:
266
- > full-example configure --refresh --yes
280
+ > Homebrew installs the binary and shell completions only. Agent artifacts live under ~/.agents and are not written during brew install.
267
281
  >
268
- > Interactive setup (per target):
269
- > full-example configure
282
+ > After install or upgrade:
283
+ > full-example configure install
270
284
  >
271
285
  > Upgrade:
272
286
  > brew upgrade full-example
287
+ > full-example configure install
273
288
  >
274
289
  > Shell completions are installed by Homebrew during brew install.
275
290
  > See: https://docs.brew.sh/Shell-Completion
276
291
  >
277
292
  > See what is installed:
278
- > full-example configure --status
293
+ > full-example configure status
279
294
  >
280
295
  > Uninstall:
296
+ > full-example configure uninstall
281
297
  > brew uninstall <tap>/full-example
282
298
  >
283
- > The formula uninstall hook runs `configure --remove-all --yes` (skills, MCP, and app config).
284
- >
285
- > Use --dry to preview changes without writing files.
286
- > Use --json for machine-readable output.
299
+ > Use `configure status --json` for machine-readable output.
300
+
301
+ #### Subcommands
302
+
303
+ - `install` — Install agent artifacts and bootstrap app config.
304
+ - `uninstall` — Remove agent artifacts and app config.
305
+ - `status` — Print what is currently installed (read-only).
306
+
307
+ ##### `full-example status configure install`
308
+
309
+ Install agent artifacts and bootstrap app config.
310
+
311
+ ##### `full-example status configure uninstall`
312
+
313
+ Remove agent artifacts and app config.
314
+
315
+ #### Options
316
+
317
+ | Option | Type | Required | Format / default | Description |
318
+ | --- | --- | --- | --- | --- |
319
+ | `--yes` (`-y`) | flag | optional | — | Skip uninstall confirmation. |
320
+
321
+ ##### `full-example status configure status`
287
322
 
288
- **Default subcommand:** `run` (`missingOnly`)
323
+ Print what is currently installed (read-only).
289
324
 
290
325
  #### Options
291
326
 
292
327
  | Option | Type | Required | Format / default | Description |
293
328
  | --- | --- | --- | --- | --- |
294
- | `--refresh` | flag | optional | — | Refresh installed skills and MCP. Used by Homebrew post_install. |
295
- | `--remove-all` | flag | optional | — | Remove all detected agent artifacts (skills and MCP). |
296
- | `--status` | flag | optional | — | Print what is currently installed (read-only). |
297
- | `--yes` (`-y`) | flag | optional | — | Skip confirmation (required for --refresh, --remove-all, --remove-config). |
298
- | `--dry` | flag | optional | — | Show what would change without writing files. |
299
- | `--json` | flag | optional | — | Print changed paths or status JSON on stdout. |
329
+ | `--json` | flag | optional | — | Print status JSON on stdout. |
300
330
 
301
331
  #### `full-example status docs`
302
332
 
@@ -318,7 +348,7 @@ Print bundled CLI documentation.
318
348
  - `openapi` — Print the HTTP OpenAPI 3.1 document as JSON.
319
349
  - `cli-schema` — Print the full CLI command tree as JSON.
320
350
  - `cli` — Print the full command reference as markdown.
321
- - `skill` — Print a reference agent SKILL; run `configure` to install an optimized copy.
351
+ - `skill` — Print a reference agent SKILL; run `configure install` to install an optimized copy.
322
352
 
323
353
  ##### `full-example status docs readme`
324
354
 
@@ -382,7 +412,7 @@ Print the full command reference as markdown.
382
412
 
383
413
  ##### `full-example status docs skill`
384
414
 
385
- Print a reference agent SKILL; run `configure` to install an optimized copy.
415
+ Print a reference agent SKILL; run `configure install` to install an optimized copy.
386
416
 
387
417
  #### Options
388
418
 
@@ -8,12 +8,12 @@ full-example exposes an MCP server with features similar to the CLI.
8
8
 
9
9
  ### `.agents` auto-install
10
10
 
11
- When `mcpServer.enabled` is set, `configure --refresh` merges this server into `~/.agents/mcp.json` per the https://dotagentsprotocol.com.
11
+ When `mcpServer.enabled` is set, `configure install` merges this server into `~/.agents/mcp.json` per the https://dotagentsprotocol.com.
12
12
 
13
13
  Install the CLI first so `full-example` is on your PATH (e.g. `brew install full-example`).
14
14
 
15
15
  ```bash
16
- full-example configure --refresh --yes
16
+ full-example configure install
17
17
  ```
18
18
 
19
19
  Writes or updates `~/.agents/mcp.json` with a `mcpServers` entry for this app.
@@ -36,7 +36,7 @@ For full detail, open `reference.md` in this skill directory (same as `full-exam
36
36
 
37
37
  Install follows the https://dotagentsprotocol.com:
38
38
 
39
- - Auto-install: `full-example configure --refresh --yes` when `skill.enabled` → `~/.agents/skills/full-example/`
39
+ - Auto-install: `full-example configure install` when `skill.enabled` → `~/.agents/skills/full-example/`
40
40
  - Cursor and most coding agents read `~/.agents/skills/` natively
41
41
 
42
42
  **Claude Code (manual):** symlink or copy into Claude's skill directory:
@@ -66,30 +66,32 @@ http:
66
66
  # Alias for backward compatibility
67
67
  install: install-local
68
68
 
69
- # Dev install: build, stage dev formula, brew install, restore release formula
69
+ # Dev install: build, stage dev formula, brew install, refresh agent artifacts
70
70
  install-local: uninstall build
71
71
  mkdir -p {{tap_parent}}
72
72
  ln -sfn '{{justfile_directory()}}' {{tap_path}}
73
73
  bun scripts/dev-formula.ts install
74
74
  HOMEBREW_NO_ASK=1 brew reinstall --formula {{tap}}/{{cli_key}} || HOMEBREW_NO_ASK=1 brew install --force --formula {{tap}}/{{cli_key}}
75
75
  bun scripts/dev-formula.ts reset
76
- @echo ""
77
- @echo "Next: {{cli_key}} configure"
76
+ {{cli_key}} configure install
78
77
 
79
78
  # Remove local dev install, then install from GitHub tap (requires gh auth login)
80
79
  install-production: uninstall
81
80
  brew tap {{release_repo}} {{tap_git_url}}
82
81
  brew install --formula {{release_repo}}/{{cli_key}}
83
- @echo ""
84
- @echo "Next: {{cli_key}} configure"
82
+ {{cli_key}} configure install
85
83
 
86
84
  # Alias for backward compatibility
87
85
  reinstall: reinstall-local
88
86
 
89
- # Rebuild binary and swap into Cellar (run install-local first)
87
+ # Rebuild binary and swap into Cellar (run install-local first; run `just refresh` for skills/MCP)
90
88
  reinstall-local: build
91
89
  install -m 755 dist/{{cli_key}} "$(brew --prefix {{cli_key}})/bin/{{cli_key}}"
92
90
 
91
+ # Refresh agent skills/MCP without reinstalling the binary
92
+ refresh:
93
+ {{cli_key}} configure install
94
+
93
95
  # Lint sources without writing
94
96
  lint:
95
97
  bun run biome check ./src ./scripts
@@ -105,6 +107,7 @@ schemagen:
105
107
  # Install bun/npm dependencies
106
108
  setup:
107
109
  bun install
110
+ test -f node_modules/argsbarg/bin/argsbarg && ln -sf ../argsbarg/bin/argsbarg node_modules/.bin/argsbarg
108
111
 
109
112
  # Run unit tests (after check)
110
113
  test: check
@@ -127,12 +130,9 @@ test-release:
127
130
  typecheck:
128
131
  bun run tsc --noEmit
129
132
 
130
- # Undo dev/Homebrew install (formula uninstall hook runs configure --remove-all)
133
+ # Undo dev/Homebrew install (remove agent artifacts, then keg + untap)
131
134
  uninstall:
135
+ @{{cli_key}} configure uninstall --yes 2>/dev/null || just run configure uninstall --yes
132
136
  @HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}} 2>/dev/null || true
133
137
  @HOMEBREW_NO_ASK=1 brew uninstall --formula {{tap}}/{{cli_key}}-local 2>/dev/null || true
134
- @HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
135
-
136
- # Remove app config file only
137
- uninstall-config:
138
- just run configure --remove-config --yes
138
+ @HOMEBREW_NO_ASK=1 brew untap {{tap}} 2>/dev/null || true
@@ -19,17 +19,15 @@ export const formulaInstallRuby = `def install
19
19
  generate_completions_from_executable(bin/"${key}", "completion", base_name: "${key}")
20
20
  end`;
21
21
 
22
- export const formulaPostInstallRuby = `def post_install
23
- system bin/"${key}", "configure", "--refresh", "--yes"
24
- end`;
25
-
26
- export const formulaUninstallRuby = `def uninstall
27
- system bin/"${key}", "configure", "--remove-all", "--yes"
28
- end`;
29
-
30
22
  export const formulaCaveatsRuby = `def caveats
31
23
  <<~EOS
32
- Run \`${key} configure\` to set up agent artifacts and app config (interactive).
24
+ After install or upgrade:
25
+ ${key} configure install
26
+
27
+ Before uninstall:
28
+ ${key} configure uninstall
29
+ brew uninstall <tap>/${key}
30
+
33
31
  Restart MCP chat apps (Cursor, Claude Desktop, etc.) after install or upgrade so they load the updated server.
34
32
  EOS
35
33
  end`;
@@ -136,10 +134,6 @@ export function renderFormula(coords: FormulaCoords): string {
136
134
 
137
135
  ${formulaInstallRuby}
138
136
 
139
- ${formulaPostInstallRuby}
140
-
141
- ${formulaUninstallRuby}
142
-
143
137
  ${formulaCaveatsRuby}
144
138
 
145
139
  ${formulaTestRuby}
@@ -10,17 +10,15 @@ class FullExampleJson < Formula
10
10
  generate_completions_from_executable(bin/"full-example-json", "completion", base_name: "full-example-json")
11
11
  end
12
12
 
13
- def post_install
14
- system bin/"full-example-json", "configure", "--refresh", "--yes"
15
- end
16
-
17
- def uninstall
18
- system bin/"full-example-json", "configure", "--remove-all", "--yes"
19
- end
20
-
21
13
  def caveats
22
14
  <<~EOS
23
- Run `full-example-json configure` to set up agent artifacts and app config (interactive).
15
+ After install or upgrade:
16
+ full-example-json configure install
17
+
18
+ Before uninstall:
19
+ full-example-json configure uninstall
20
+ brew uninstall <tap>/full-example-json
21
+
24
22
  Restart MCP chat apps (Cursor, Claude Desktop, etc.) after install or upgrade so they load the updated server.
25
23
  EOS
26
24
  end