@tom2012/cc-web 2026.5.24-j → 2026.6.12-a
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/backend/dist/host-stats.d.ts +34 -0
- package/backend/dist/host-stats.d.ts.map +1 -0
- package/backend/dist/host-stats.js +151 -0
- package/backend/dist/host-stats.js.map +1 -0
- package/backend/dist/index.d.ts.map +1 -1
- package/backend/dist/index.js +11 -6
- package/backend/dist/index.js.map +1 -1
- package/backend/dist/mcp/daemon-client.d.ts +16 -0
- package/backend/dist/mcp/daemon-client.d.ts.map +1 -0
- package/backend/dist/mcp/daemon-client.js +136 -0
- package/backend/dist/mcp/daemon-client.js.map +1 -0
- package/backend/dist/mcp/server.d.ts +2 -0
- package/backend/dist/mcp/server.d.ts.map +1 -0
- package/backend/dist/mcp/server.js +33 -0
- package/backend/dist/mcp/server.js.map +1 -0
- package/backend/dist/mcp/tools.d.ts +12 -0
- package/backend/dist/mcp/tools.d.ts.map +1 -0
- package/backend/dist/mcp/tools.js +215 -0
- package/backend/dist/mcp/tools.js.map +1 -0
- package/backend/dist/routes/host-stats.d.ts +8 -0
- package/backend/dist/routes/host-stats.d.ts.map +1 -0
- package/backend/dist/routes/host-stats.js +21 -0
- package/backend/dist/routes/host-stats.js.map +1 -0
- package/backend/dist/routes/projects.d.ts.map +1 -1
- package/backend/dist/routes/projects.js +79 -0
- package/backend/dist/routes/projects.js.map +1 -1
- package/backend/dist/terminal-manager.d.ts +4 -6
- package/backend/dist/terminal-manager.d.ts.map +1 -1
- package/backend/dist/terminal-manager.js +20 -13
- package/backend/dist/terminal-manager.js.map +1 -1
- package/backend/package-lock.json +594 -8
- package/backend/package.json +1 -0
- package/bin/ccweb.js +16 -0
- package/frontend/dist/assets/{ChatOverlay-BRgnwGwh.js → ChatOverlay-C6RdSj9e.js} +3 -3
- package/frontend/dist/assets/{GraphPreview-BVM9gfmS.js → GraphPreview-Dw1vaeAh.js} +1 -1
- package/frontend/dist/assets/{MobilePage-B9a2MiNi.js → MobilePage-CDeNNMvX.js} +3 -3
- package/frontend/dist/assets/{OfficePreview-kRfFYNJL.js → OfficePreview-D0_TpLvk.js} +2 -2
- package/frontend/dist/assets/{PdfPreview-BoQe2z7m.js → PdfPreview-8gw66dXT.js} +1 -1
- package/frontend/dist/assets/{ProjectPage-0A4qihgf.js → ProjectPage-3_GsDNjW.js} +3 -3
- package/frontend/dist/assets/{SettingsPage-CKzoera_.js → SettingsPage-BImUEDUD.js} +1 -1
- package/frontend/dist/assets/{SkillHubPage-Cm6IFJEd.js → SkillHubPage-TJxZNqMT.js} +1 -1
- package/frontend/dist/assets/{chevron-down-BKjdR_9i.js → chevron-down-CTVvTLhb.js} +1 -1
- package/frontend/dist/assets/index-CMlFtaTa.js +75 -0
- package/frontend/dist/assets/{index-DB7vdaUN.css → index-Czlx_FcC.css} +1 -1
- package/frontend/dist/assets/{index-CEbDU5Rb.js → index-D5PscqpS.js} +1 -1
- package/frontend/dist/assets/{index-BvT4ZzpF.js → index-o8xpeYuN.js} +1 -1
- package/frontend/dist/assets/{jszip.min-nwjCmvsr.js → jszip.min-GIboMR_6.js} +1 -1
- package/frontend/dist/assets/{search-DCMeG4M-.js → search-sJdiRvSJ.js} +1 -1
- package/frontend/dist/assets/{select-B98b-7vv.js → select-DGBcT103.js} +1 -1
- package/frontend/dist/index.html +2 -2
- package/package.json +1 -1
- package/frontend/dist/assets/index-W_XJ77yr.js +0 -75
package/backend/package.json
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@azure/msal-node": "^3.8.10",
|
|
15
15
|
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
16
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
16
17
|
"@tom2012/train-adapter-spec": "file:./vendor/@tom2012/train-adapter-spec",
|
|
17
18
|
"@types/js-yaml": "^4.0.9",
|
|
18
19
|
"adm-zip": "^0.5.16",
|
package/bin/ccweb.js
CHANGED
|
@@ -578,6 +578,7 @@ Usage:
|
|
|
578
578
|
ccweb enable-autostart Enable auto-start on login
|
|
579
579
|
ccweb disable-autostart Disable auto-start on login
|
|
580
580
|
ccweb logs Tail log file (background mode)
|
|
581
|
+
ccweb mcp Run stdio MCP server (for Claude Code / Codex / Cursor)
|
|
581
582
|
|
|
582
583
|
Data directory : ${DATA_DIR}
|
|
583
584
|
Config file : ${CONFIG_FILE}
|
|
@@ -642,6 +643,21 @@ const accessModeFlag = args.includes('--local') ? 'local'
|
|
|
642
643
|
updatePackage();
|
|
643
644
|
break;
|
|
644
645
|
|
|
646
|
+
case 'mcp': {
|
|
647
|
+
// Stdio MCP server. stdout is reserved for JSON-RPC framing — all
|
|
648
|
+
// diagnostics must go to stderr (the child enforces this internally).
|
|
649
|
+
// We exec the compiled entry point and inherit stdio so the parent's
|
|
650
|
+
// stdin/stdout pipe straight through to the MCP client.
|
|
651
|
+
const mcpEntry = path.join(__dirname, '..', 'backend', 'dist', 'mcp', 'server.js');
|
|
652
|
+
if (!fs.existsSync(mcpEntry)) {
|
|
653
|
+
console.error('MCP server not built. Reinstall ccweb or run `npm run build` from the source tree.');
|
|
654
|
+
process.exit(1);
|
|
655
|
+
}
|
|
656
|
+
const child = fork(mcpEntry, [], { stdio: 'inherit' });
|
|
657
|
+
child.on('exit', (code) => process.exit(code ?? 0));
|
|
658
|
+
break;
|
|
659
|
+
}
|
|
660
|
+
|
|
645
661
|
case 'logs': {
|
|
646
662
|
if (!fs.existsSync(LOG_FILE)) { console.log('No log file found.'); break; }
|
|
647
663
|
// Tail the log file (cross-platform)
|