@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.
- package/README.md +4 -1
- package/bin/bike4mind-cli.mjs +0 -5
- package/dist/AgentHistoryStore-DIMzvf-y.mjs +18200 -0
- package/dist/{ApiClient-BOWpVvTq.mjs → ApiClient-BTI0-m0g.mjs} +44 -5
- package/dist/{BubblewrapRuntime-CkL9-gnG.mjs → BubblewrapRuntime-5bLPTwEC.mjs} +2 -2
- package/dist/{ConfigStore-DdHHCH2t.mjs → ConfigStore-DIs-K9oD.mjs} +3541 -1625
- package/dist/{ProxyManager-C1-lgzEU.mjs → ProxyManager-B0-RuR2w.mjs} +21 -4
- package/dist/{SandboxOrchestrator-CIegJrCj.mjs → SandboxOrchestrator-BcUv9fQ3.mjs} +46 -12
- package/dist/{SandboxRuntimeAdapter-ChGlxSGQ.mjs → SandboxRuntimeAdapter-BgLUVTJL.mjs} +2 -2
- package/dist/{SandboxRuntimeAdapter-CKelGICD.mjs → SandboxRuntimeAdapter-BmHELLuM.mjs} +1 -1
- package/dist/{SeatbeltRuntime-Qqt19cAN.mjs → SeatbeltRuntime-C_Y8q8Mr.mjs} +9 -1
- package/dist/buildAgent-DOvEp92a.mjs +2106 -0
- package/dist/commands/acpCommand.mjs +9 -6
- package/dist/commands/apiCommand.mjs +1 -1
- package/dist/commands/doctorCommand.mjs +1 -1
- package/dist/commands/envCommand.mjs +1 -1
- package/dist/commands/headlessCommand.mjs +27 -16
- package/dist/commands/mcpCommand.mjs +3 -3
- package/dist/commands/pluginCommand.mjs +1 -1
- package/dist/commands/updateCommand.mjs +1 -1
- package/dist/index.mjs +954 -122
- package/dist/{package-Bqg2LSnH.mjs → package-Dl_F2Fah.mjs} +1 -1
- package/dist/{serve-DO9Edl5S.mjs → serve-Y2zMbfGs.mjs} +237 -73
- package/package.json +11 -12
- package/dist/AgentHistoryStore-kT9eNMRO.mjs +0 -39471
- package/dist/ProxyManager-B1jFWL7b.mjs +0 -3
- package/dist/SandboxOrchestrator-BbMDgjzr.mjs +0 -3
- 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
|
|
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
|
package/bin/bike4mind-cli.mjs
CHANGED
|
@@ -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';
|