@linzumi/cli 1.0.197 → 1.0.199
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 +1 -1
- package/dist/impl-res/index.js +180 -149
- package/dist/impl-res/mcp-server.mjs +82 -51
- package/dist/impl-ts/index.js +482 -452
- package/dist/impl-ts/mcp-server.mjs +93 -63
- package/dist/mcp-server.mjs +93 -63
- package/package.json +6 -4
- package/scripts/build-mcp-parity-oracle.mjs +22 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linzumi/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.199",
|
|
4
4
|
"description": "Linzumi CLI \u2014 point a Codex agent at the real code on your laptop, with your team watching and steering from shared threads.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
49
49
|
"@openai/codex": "^0.144.1",
|
|
50
50
|
"blessed": "^0.1.81",
|
|
51
|
+
"proper-lockfile": "3.2.0",
|
|
51
52
|
"undici": "^6.25.0",
|
|
52
53
|
"ws": "^8.18.0",
|
|
53
54
|
"zod": "^3.25.76"
|
|
@@ -58,13 +59,14 @@
|
|
|
58
59
|
"readmeFilename": "README.md",
|
|
59
60
|
"devDependencies": {
|
|
60
61
|
"@types/blessed": "^0.1.27",
|
|
61
|
-
"rescript": "12.3.0",
|
|
62
62
|
"@types/node": "^22.18.6",
|
|
63
|
+
"@types/proper-lockfile": "4.1.4",
|
|
64
|
+
"@typescript/native-preview": "7.0.0-dev.20260703.1",
|
|
63
65
|
"esbuild": "^0.27.2",
|
|
64
66
|
"fast-check": "^3.23.2",
|
|
67
|
+
"rescript": "12.3.0",
|
|
65
68
|
"tsx": "^4.21.0",
|
|
66
|
-
"vitest": "^1.6.1",
|
|
67
69
|
"typescript": "^5.9.3",
|
|
68
|
-
"
|
|
70
|
+
"vitest": "^1.6.1"
|
|
69
71
|
}
|
|
70
72
|
}
|
|
@@ -61,6 +61,7 @@ import {
|
|
|
61
61
|
import { createLinzumiMcpApiClient } from './src/linzumiApiClient';
|
|
62
62
|
import {
|
|
63
63
|
devServiceLogPath,
|
|
64
|
+
devServiceRecordBytes,
|
|
64
65
|
devServiceWatchdogProgram,
|
|
65
66
|
devServiceWatchdogSpawn,
|
|
66
67
|
devServicesScopeDir,
|
|
@@ -281,6 +282,8 @@ async function handle(testCase) {
|
|
|
281
282
|
return devServiceLogPath(testCase.scopeDir, testCase.name);
|
|
282
283
|
case 'parseDevServiceRecord':
|
|
283
284
|
return outcome(() => parseDevServiceRecord(testCase.value));
|
|
285
|
+
case 'devServiceRecordBytes':
|
|
286
|
+
return devServiceRecordBytes(testCase.record);
|
|
284
287
|
case 'watchdogProgram':
|
|
285
288
|
return devServiceWatchdogProgram();
|
|
286
289
|
case 'watchdogSpawn':
|
|
@@ -291,7 +294,26 @@ async function handle(testCase) {
|
|
|
291
294
|
liveness: testCase.status.liveness,
|
|
292
295
|
portProbes: testCase.status.portProbes,
|
|
293
296
|
lastExit: testCase.status.lastExit ?? undefined,
|
|
297
|
+
failure: testCase.status.failure ?? undefined,
|
|
294
298
|
});
|
|
299
|
+
case 'devServiceStatusOutputBytes':
|
|
300
|
+
return JSON.stringify(devServiceStatusJson({
|
|
301
|
+
record: testCase.status.record,
|
|
302
|
+
liveness: testCase.status.liveness,
|
|
303
|
+
portProbes: testCase.status.portProbes,
|
|
304
|
+
lastExit: testCase.status.lastExit ?? undefined,
|
|
305
|
+
failure: testCase.status.failure ?? undefined,
|
|
306
|
+
}));
|
|
307
|
+
case 'devServiceMcpResponseBytes': {
|
|
308
|
+
const status = devServiceStatusJson({
|
|
309
|
+
record: testCase.status.record,
|
|
310
|
+
liveness: testCase.status.liveness,
|
|
311
|
+
portProbes: testCase.status.portProbes,
|
|
312
|
+
lastExit: testCase.status.lastExit ?? undefined,
|
|
313
|
+
failure: testCase.status.failure ?? undefined,
|
|
314
|
+
});
|
|
315
|
+
return JSON.stringify(mcpJsonResult({services: [status]}));
|
|
316
|
+
}
|
|
295
317
|
case 'toolSurface':
|
|
296
318
|
return await toolSurface(testCase);
|
|
297
319
|
case 'clientCall': {
|