caplets 0.6.0 → 0.7.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 (3) hide show
  1. package/README.md +13 -4
  2. package/dist/index.js +58294 -57913
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -138,8 +138,10 @@ caplets config paths
138
138
  caplets config paths --json
139
139
  ```
140
140
 
141
- Caplets validates this file at startup. Config changes take effect after restarting the
142
- Caplets MCP server.
141
+ Caplets validates this file at startup and hot reloads config changes while `caplets serve`
142
+ is running. Invalid edits are ignored until fixed, so the MCP server keeps serving the last
143
+ known-good config instead of dropping every tool because of a transient JSON or validation
144
+ error.
143
145
 
144
146
  The optional `$schema` field points editors at the generated JSON Schema in
145
147
  [`schemas/caplets-config.schema.json`](schemas/caplets-config.schema.json). CI verifies that
@@ -458,6 +460,12 @@ Configure your MCP client to run Caplets as a stdio server:
458
460
  If your client starts the configured command directly, `caplets` without arguments also
459
461
  starts the MCP server. `serve` is explicit and recommended for clarity.
460
462
 
463
+ `caplets serve` watches the effective user config, project config, user Caplet files, and
464
+ trusted project Caplet files. Adding, editing, disabling, or removing a Caplet updates the
465
+ top-level MCP tool list without restarting Caplets. When an MCP-backed Caplet changes or is
466
+ removed, Caplets closes only that affected downstream connection; unrelated Caplets and
467
+ their downstream connections keep running.
468
+
461
469
  ## How Agents Use It
462
470
 
463
471
  Caplets initially exposes one MCP tool per enabled Caplet. If the config has `filesystem`,
@@ -536,9 +544,10 @@ pnpm schema:check
536
544
  pnpm verify
537
545
  ```
538
546
 
539
- `pnpm dev` rebuilds on source changes and restarts the local stdio MCP server from
547
+ `pnpm dev` rebuilds Caplets source changes and restarts the local stdio MCP server from
540
548
  `dist/index.js`. Use it for local development, not as the command configured in an MCP
541
- client, because build logs are written to stdout.
549
+ client, because build logs are written to stdout. Runtime config hot reload is built into
550
+ normal `caplets serve` and does not require `pnpm dev`.
542
551
 
543
552
  ## Product Notes
544
553