@bike4mind/cli 1.1.0 → 2.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 (28) hide show
  1. package/README.md +4 -1
  2. package/bin/bike4mind-cli.mjs +0 -5
  3. package/dist/AgentHistoryStore-DIMzvf-y.mjs +18200 -0
  4. package/dist/{ApiClient-BOWpVvTq.mjs → ApiClient-BTI0-m0g.mjs} +44 -5
  5. package/dist/{BubblewrapRuntime-CkL9-gnG.mjs → BubblewrapRuntime-5bLPTwEC.mjs} +2 -2
  6. package/dist/{ConfigStore-DdHHCH2t.mjs → ConfigStore-DIs-K9oD.mjs} +3541 -1625
  7. package/dist/{ProxyManager-C1-lgzEU.mjs → ProxyManager-B0-RuR2w.mjs} +21 -4
  8. package/dist/{SandboxOrchestrator-CIegJrCj.mjs → SandboxOrchestrator-BcUv9fQ3.mjs} +46 -12
  9. package/dist/{SandboxRuntimeAdapter-ChGlxSGQ.mjs → SandboxRuntimeAdapter-BgLUVTJL.mjs} +2 -2
  10. package/dist/{SandboxRuntimeAdapter-CKelGICD.mjs → SandboxRuntimeAdapter-BmHELLuM.mjs} +1 -1
  11. package/dist/{SeatbeltRuntime-Qqt19cAN.mjs → SeatbeltRuntime-C_Y8q8Mr.mjs} +9 -1
  12. package/dist/buildAgent-DOvEp92a.mjs +2106 -0
  13. package/dist/commands/acpCommand.mjs +9 -6
  14. package/dist/commands/apiCommand.mjs +1 -1
  15. package/dist/commands/doctorCommand.mjs +1 -1
  16. package/dist/commands/envCommand.mjs +1 -1
  17. package/dist/commands/headlessCommand.mjs +27 -16
  18. package/dist/commands/mcpCommand.mjs +3 -3
  19. package/dist/commands/pluginCommand.mjs +1 -1
  20. package/dist/commands/updateCommand.mjs +1 -1
  21. package/dist/index.mjs +954 -122
  22. package/dist/{package-Bqg2LSnH.mjs → package-Dl_F2Fah.mjs} +1 -1
  23. package/dist/{serve-DO9Edl5S.mjs → serve-Y2zMbfGs.mjs} +237 -73
  24. package/package.json +11 -12
  25. package/dist/AgentHistoryStore-kT9eNMRO.mjs +0 -39471
  26. package/dist/ProxyManager-B1jFWL7b.mjs +0 -3
  27. package/dist/SandboxOrchestrator-BbMDgjzr.mjs +0 -3
  28. package/dist/buildAgent-B_kArQ_Y.mjs +0 -833
package/README.md CHANGED
@@ -199,6 +199,7 @@ While in interactive mode. This mirrors the registry in `src/config/commands.ts`
199
199
  - `/sandbox` - Show sandbox status and configuration
200
200
  - `/sandbox:enable` / `/sandbox:disable` - Toggle the sandbox
201
201
  - `/sandbox:mode <auto-allow|permissions>` - Set enforcement mode
202
+ - `/sandbox:network <on|off>` - Toggle network egress (fail-closed by default; on filters proxy-aware clients against the allowlist)
202
203
  - `/sandbox:trust-domain <domain> [...]` / `/sandbox:domains` - Manage the network allowlist
203
204
  - `/sandbox:violations [count]` / `/sandbox:violations:clear` - Inspect / clear violations
204
205
 
@@ -394,7 +395,9 @@ You can also run any MCP server via npx or custom executables:
394
395
 
395
396
  #### Serve Bike4Mind itself as an MCP server (`b4m mcp serve`)
396
397
 
397
- The reverse of adding a server: `b4m mcp serve` exposes your Bike4Mind backend to any MCP client (Claude Desktop, editors, other agents). It advertises eight tools (`list_notebooks`, `get_notebook`, `create_notebook`, `send_message`, `search_knowledge_base`, `list_files`, `get_file`, `generate_sound_effect`) plus four resource templates (`b4m://notebook/{id}`, `b4m://file/{id}`, `b4m://project/{id}`, `b4m://artifact/{id}`), each listable and readable as JSON, and `b4m://agent-quest` - the credential-free manifest for The Open Door, the onboarding quest for agents.
398
+ The reverse of adding a server: `b4m mcp serve` exposes your Bike4Mind backend to any MCP client (Claude Desktop, editors, other agents). It advertises ten tools (`list_notebooks`, `get_notebook`, `create_notebook`, `send_message`, `search_knowledge_base`, `list_lakes`, `list_files`, `get_file`, `generate_sound_effect`, `text_to_speech`) plus four resource templates (`b4m://notebook/{id}`, `b4m://file/{id}`, `b4m://project/{id}`, `b4m://artifact/{id}`), each listable and readable as JSON, and `b4m://agent-quest` - the credential-free manifest for The Open Door, the onboarding quest for agents.
399
+
400
+ To get answers grounded in a data lake, call `list_lakes`, then `create_notebook { dataLakeId }` with a lake's id, then `send_message { notebookId }` on that notebook: the result carries the `reply` plus the `citables` it was grounded in. `list_lakes` needs a key with `datalake:read` (and data lakes enabled on the instance).
398
401
 
399
402
  ```bash
400
403
  b4m mcp serve # stdio (default) - for local clients that spawn the process
@@ -259,11 +259,6 @@ const argv = await yargs(hideBin(process.argv))
259
259
  .alias('version', 'V')
260
260
  .parse();
261
261
 
262
- // Suppress dotenv startup log unless verbose mode is enabled
263
- if (!argv.verbose && !argv['debug-stream']) {
264
- process.env.DOTENV_CONFIG_QUIET = 'true';
265
- }
266
-
267
262
  // Set environment variables from CLI flags
268
263
  if (argv.verbose) {
269
264
  process.env.B4M_VERBOSE = '1';