@neurodock/cli 0.2.0 → 0.4.3

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 (75) hide show
  1. package/CHANGELOG.md +105 -1
  2. package/LICENSE +657 -7
  3. package/README.md +128 -27
  4. package/dist/clients/claude-code.d.ts.map +1 -1
  5. package/dist/clients/claude-code.js +3 -1
  6. package/dist/clients/claude-code.js.map +1 -1
  7. package/dist/clients/claude-desktop.d.ts.map +1 -1
  8. package/dist/clients/claude-desktop.js +3 -1
  9. package/dist/clients/claude-desktop.js.map +1 -1
  10. package/dist/clients/cursor.d.ts.map +1 -1
  11. package/dist/clients/cursor.js +3 -1
  12. package/dist/clients/cursor.js.map +1 -1
  13. package/dist/clients/index.d.ts.map +1 -1
  14. package/dist/clients/index.js.map +1 -1
  15. package/dist/commands/doctor.d.ts.map +1 -1
  16. package/dist/commands/doctor.js +59 -4
  17. package/dist/commands/doctor.js.map +1 -1
  18. package/dist/commands/examples.d.ts +28 -0
  19. package/dist/commands/examples.d.ts.map +1 -0
  20. package/dist/commands/examples.js +168 -0
  21. package/dist/commands/examples.js.map +1 -0
  22. package/dist/commands/host.d.ts.map +1 -1
  23. package/dist/commands/host.js +1 -1
  24. package/dist/commands/host.js.map +1 -1
  25. package/dist/commands/init.d.ts.map +1 -1
  26. package/dist/commands/init.js +14 -4
  27. package/dist/commands/init.js.map +1 -1
  28. package/dist/commands/install-all.d.ts +78 -0
  29. package/dist/commands/install-all.d.ts.map +1 -0
  30. package/dist/commands/install-all.js +283 -0
  31. package/dist/commands/install-all.js.map +1 -0
  32. package/dist/commands/plugin.d.ts +122 -0
  33. package/dist/commands/plugin.d.ts.map +1 -0
  34. package/dist/commands/plugin.js +545 -0
  35. package/dist/commands/plugin.js.map +1 -0
  36. package/dist/commands/profile.d.ts.map +1 -1
  37. package/dist/commands/profile.js +11 -2
  38. package/dist/commands/profile.js.map +1 -1
  39. package/dist/commands/uninstall.d.ts.map +1 -1
  40. package/dist/commands/uninstall.js +11 -3
  41. package/dist/commands/uninstall.js.map +1 -1
  42. package/dist/commands/update.d.ts.map +1 -1
  43. package/dist/commands/update.js +5 -1
  44. package/dist/commands/update.js.map +1 -1
  45. package/dist/commands/validate.d.ts.map +1 -1
  46. package/dist/commands/validate.js +12 -3
  47. package/dist/commands/validate.js.map +1 -1
  48. package/dist/index.d.ts +1 -1
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +145 -6
  51. package/dist/index.js.map +1 -1
  52. package/dist/lib/json-patch.d.ts.map +1 -1
  53. package/dist/lib/json-patch.js +1 -1
  54. package/dist/lib/json-patch.js.map +1 -1
  55. package/dist/lib/mcp-entries.d.ts.map +1 -1
  56. package/dist/lib/mcp-entries.js +25 -3
  57. package/dist/lib/mcp-entries.js.map +1 -1
  58. package/dist/lib/paths.d.ts +10 -0
  59. package/dist/lib/paths.d.ts.map +1 -1
  60. package/dist/lib/paths.js +19 -2
  61. package/dist/lib/paths.js.map +1 -1
  62. package/dist/lib/plugin-schema.d.ts +12 -0
  63. package/dist/lib/plugin-schema.d.ts.map +1 -0
  64. package/dist/lib/plugin-schema.js +71 -0
  65. package/dist/lib/plugin-schema.js.map +1 -0
  66. package/dist/profile/defaults.d.ts.map +1 -1
  67. package/dist/profile/defaults.js +3 -1
  68. package/dist/profile/defaults.js.map +1 -1
  69. package/dist/profile/loader.d.ts.map +1 -1
  70. package/dist/profile/loader.js +3 -1
  71. package/dist/profile/loader.js.map +1 -1
  72. package/dist/profile/validator.d.ts.map +1 -1
  73. package/dist/profile/validator.js +5 -1
  74. package/dist/profile/validator.js.map +1 -1
  75. package/package.json +21 -4
package/CHANGELOG.md CHANGED
@@ -1,6 +1,110 @@
1
1
  # @neurodock/cli changelog
2
2
 
3
- ## 0.2.0 (unreleased)
3
+ ## 0.4.3
4
+
5
+ ### Changed
6
+
7
+ - `homepage` in `package.json` now points at https://neurodock.org/
8
+ (was the GitHub README anchor). Repository link unchanged. Adds
9
+ `bugs`, `keywords`, and richer `description` for the npm listing.
10
+ - README rewritten to lead with the new slogan ("A cognitive substrate
11
+ that remembers, paces, and refuses"), reference NeuroDock by brand
12
+ rather than as an internal monorepo, and add a Links section with
13
+ the canonical home / docs / repo / issues / changelog URLs.
14
+
15
+ No behaviour change. Same surface as 0.4.2.
16
+
17
+ ## 0.4.2
18
+
19
+ ### Fixed
20
+
21
+ - `neurodock init` now wires all FIVE MCP servers into the MCP-aware
22
+ client config, not just three. Previously chronometric +
23
+ cognitive-graph + task-fractionator got registered but translation
24
+ - guardrail were skipped — so users saw 3/5 servers in Claude even
25
+ after a clean `install-all` + restart. The pip install registered
26
+ the entrypoints; the CLI just wasn't pointing the client at them.
27
+ `mcp-entries.ts` `NEURODOCK_SERVERS` list extended with the missing
28
+ two. `examples` and `install-all` already iterated all five, so no
29
+ changes there.
30
+
31
+ ## 0.4.1
32
+
33
+ ### Changed
34
+
35
+ - `neurodock install-all` now also registers the optional native-messaging
36
+ host at the end of the run (previously a separate `neurodock host install`
37
+ step). Brings first-time install to truly one command: pip-install the
38
+ six MCP servers, wire the MCP-aware clients, and register the host the
39
+ browser extension uses to read `~/.neurodock/profile.yaml`.
40
+ - New `--no-native-host` flag on `install-all` for users who don't want the
41
+ browser-extension bridge wired (e.g. headless / server installs).
42
+ - Host-install failure is non-fatal: the whole command stays exit 0, prints
43
+ a `[warn]` line, and tells the user they can re-run `neurodock host install`
44
+ later. Rationale: the host is only useful if the user also installs the
45
+ browser extension, so failing the entire first-time install over it is
46
+ worse UX than warning.
47
+ - Added a "What this just did" three-bullet recap at the end of `install-all`
48
+ so the user can see what was wired without re-reading the full log.
49
+ - New tests in `tests/install-all.test.ts`: happy-path host install,
50
+ `--no-native-host` skip, host-failure warn-but-don't-fail.
51
+
52
+ ## 0.4.0
53
+
54
+ ### Added
55
+
56
+ - `neurodock plugin` command group for managing plugins under
57
+ `~/.neurodock/plugins/` per ADR 0007. Six subcommands:
58
+ - `plugin add <source>` — install a plugin from a local directory.
59
+ Validates `plugin.yaml` against `plugin.schema.json` before copying
60
+ into `~/.neurodock/plugins/<name>/`. Flags: `--yes`, `--dry-run`,
61
+ `--force`. Exit codes: 0 ok, 1 source invalid, 2 already-installed
62
+ without `--force`, 3 schema validation failure.
63
+ - `plugin remove <name>` (alias: `uninstall`) — remove an installed
64
+ plugin. Flags: `--yes`, `--dry-run`.
65
+ - `plugin list` — list installed plugins with their enabled state.
66
+ `--json` for machine-readable output.
67
+ - `plugin enable <name>` — activate an installed plugin by writing a
68
+ `.enabled` marker file into the plugin directory. The substrate's
69
+ filesystem walk (per ADR 0007) treats marker presence as the
70
+ single source of truth for activation; no central registry file
71
+ is maintained.
72
+ - `plugin disable <name>` — remove the `.enabled` marker without
73
+ deleting the plugin files.
74
+ - `plugin validate <source>` — schema-validate a plugin manifest
75
+ without installing. `--json` flag for scripting. Exit codes: 0
76
+ valid, 1 invalid, 2 `plugin.yaml` missing.
77
+ - New tests: `tests/plugin-add.test.ts`, `tests/plugin-remove.test.ts`,
78
+ `tests/plugin-list.test.ts`, `tests/plugin-enable.test.ts`,
79
+ `tests/plugin-disable.test.ts`, `tests/plugin-validate.test.ts`.
80
+ - `pluginsDir(env)` helper in `lib/paths.ts` resolves to
81
+ `<profileDir>/plugins/` so tests that set `NEURODOCK_PROFILE_PATH`
82
+ get an isolated plugin tree for free.
83
+
84
+ ## 0.3.0
85
+
86
+ ### Added
87
+
88
+ - `neurodock install-all` — single-command first-time install. Detects
89
+ whether `uv` is on PATH (preferred) and falls back to `python -m pip`,
90
+ then installs the six Python MCP servers (`neurodock-mcp-chronometric`,
91
+ `neurodock-mcp-cognitive-graph`, `neurodock-mcp-task-fractionator`,
92
+ `neurodock-mcp-translation`, `neurodock-mcp-guardrail`,
93
+ `neurodock-evals`), verifies each entrypoint is on PATH with
94
+ `<command> --help`, and runs `neurodock init` to wire MCP clients —
95
+ collapsing six `pip install` lines plus an `init` into one command.
96
+ Flags: `--client`, `--profile`, `--installer <uv|pip|auto>`,
97
+ `--skip-install`, `--yes`, `--dry-run`. Exit codes: 0 on success,
98
+ 1 if any entrypoint is missing from PATH, 2 if init fails.
99
+ - `neurodock examples` — copy-pasteable prompt cheat-sheet that exercises
100
+ every wired NeuroDock MCP tool. Detects which servers are wired across
101
+ all detected client configs and prints 2–3 example prompts per server,
102
+ each annotated with the underlying tool name. Flags: `--server <name>`
103
+ to filter, `--json` for scripting. Honors `NO_COLOR` / `FORCE_COLOR`
104
+ via the existing `colorEnabled()` helper.
105
+ - New tests: `tests/install-all.test.ts`, `tests/examples.test.ts`.
106
+
107
+ ## 0.2.0
4
108
 
5
109
  ### Added
6
110