@cubis/foundry 0.3.48 → 0.3.50
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 +15 -0
- package/bin/cubis.js +559 -113
- package/mcp/Dockerfile +1 -0
- package/mcp/dist/index.js +277 -49
- package/mcp/src/index.ts +37 -15
- package/mcp/src/server.ts +17 -12
- package/mcp/src/telemetry/tokenBudget.ts +8 -2
- package/mcp/src/tools/skillBrowseCategory.ts +6 -1
- package/mcp/src/tools/skillBudgetReport.ts +18 -5
- package/mcp/src/tools/skillGet.ts +12 -0
- package/mcp/src/tools/skillListCategories.ts +4 -0
- package/mcp/src/tools/skillSearch.ts +6 -1
- package/mcp/src/transports/streamableHttp.ts +247 -4
- package/mcp/src/utils/logger.ts +5 -1
- package/mcp/src/vault/manifest.ts +22 -5
- package/mcp/src/vault/scanner.ts +16 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,6 +351,9 @@ cbx mcp runtime up --scope global --name cbx-mcp --port 3310 --fallback local
|
|
|
351
351
|
# Recreate existing container
|
|
352
352
|
cbx mcp runtime up --scope global --name cbx-mcp --replace --fallback local
|
|
353
353
|
|
|
354
|
+
# Force an explicit skill vault mount source
|
|
355
|
+
cbx mcp runtime up --scope global --name cbx-mcp --replace --skills-root ~/.agents/skills
|
|
356
|
+
|
|
354
357
|
# Stop/remove runtime container
|
|
355
358
|
cbx mcp runtime down --name cbx-mcp
|
|
356
359
|
```
|
|
@@ -373,6 +376,14 @@ Optional strict key mode:
|
|
|
373
376
|
CBX_MCP_REQUIRE_KEYS=1 npm run test:mcp:docker
|
|
374
377
|
```
|
|
375
378
|
|
|
379
|
+
Use host skill vault instead of the script's isolated sample vault:
|
|
380
|
+
|
|
381
|
+
```bash
|
|
382
|
+
CBX_MCP_USE_HOST_SKILLS=1 npm run test:mcp:docker
|
|
383
|
+
# or an explicit path
|
|
384
|
+
CBX_MCP_USE_HOST_SKILLS=1 CBX_MCP_HOST_SKILLS_DIR="$PWD/.agents/skills" npm run test:mcp:docker
|
|
385
|
+
```
|
|
386
|
+
|
|
376
387
|
Context budget reporting (from MCP skill tools):
|
|
377
388
|
|
|
378
389
|
- Skill tools now include `structuredContent.metrics` with deterministic estimates.
|
|
@@ -383,6 +394,7 @@ Context budget reporting (from MCP skill tools):
|
|
|
383
394
|
- `estimatedSavingsVsFullCatalog`
|
|
384
395
|
- `estimatedSavingsVsFullCatalogPercent`
|
|
385
396
|
- New rollup tool: `skill_budget_report` for consolidated Skill Log + Context Budget.
|
|
397
|
+
- Docker smoke now prints token estimate lines (`token.full_catalog`, `token.selected`, `token.loaded`, `token.savings`, etc.) for quick visibility.
|
|
386
398
|
- All token values are estimates using `ceil(char_count / charsPerToken)` (default `charsPerToken=4`), not provider billing tokens.
|
|
387
399
|
|
|
388
400
|
Install profile flags:
|
|
@@ -485,6 +497,9 @@ cbx mcp runtime up --scope global --name cbx-mcp --replace
|
|
|
485
497
|
|
|
486
498
|
# Check mount hint
|
|
487
499
|
cbx mcp runtime status --scope global --name cbx-mcp
|
|
500
|
+
|
|
501
|
+
# Force mount from an explicit path
|
|
502
|
+
cbx mcp runtime up --scope global --name cbx-mcp --replace --skills-root ~/.agents/skills
|
|
488
503
|
```
|
|
489
504
|
|
|
490
505
|
If `~/.agents/skills` is missing, runtime still starts but will warn and skill discovery may return zero.
|