@lark-codem/codem-cli 0.1.270 → 0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f
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/bin/codem.js +0 -13
- package/package.json +9 -11
- package/profile/credential-errors.js +1 -4
- package/profile/runtime-logs.js +95 -319
- package/profile/slardar-pc-transport.js +3 -7
- package/bin/linco-paths.js +0 -45
- package/bin/tt-env.js +0 -171
- package/bin/worker-runtime-telemetry.js +0 -75
- package/bin/worker-runtime.js +0 -294
- package/profile/worker-runtime-observation.js +0 -10
package/bin/codem.js
CHANGED
|
@@ -145,19 +145,6 @@ function explainWindowsFatalStatus(code) {
|
|
|
145
145
|
].join("\n");
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
// Source/development and npm entrypoints select before invoking business code.
|
|
149
|
-
// The compiled entry has the same guard for managed/direct binary installations.
|
|
150
|
-
if (process.env.CODEM_WORKER_RUNTIME !== undefined) {
|
|
151
|
-
const { isWorkerRuntimeStartup } = await import("./worker-runtime.js");
|
|
152
|
-
if (isWorkerRuntimeStartup()) {
|
|
153
|
-
const bootstrap = await import("../dist/src/worker-runtime-bootstrap.js").catch(() => null);
|
|
154
|
-
if (bootstrap) {
|
|
155
|
-
try { process.exitCode = await bootstrap.runWorkerRuntimeBootstrap(); }
|
|
156
|
-
catch (error) { writeStderrSync(`worker runtime startup failed: ${error.message}`); process.exitCode = 1; }
|
|
157
|
-
process.exit(process.exitCode ?? 0);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
148
|
const binaryPath = resolvePlatformBinary();
|
|
162
149
|
|
|
163
150
|
if (binaryPath) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-codem/codem-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f",
|
|
4
4
|
"codemServiceManagementProtocol": 3,
|
|
5
|
-
"codemWorkerRuntimeProtocol": 1,
|
|
6
5
|
"codemProfileProtocol": 1,
|
|
7
6
|
"type": "module",
|
|
8
7
|
"description": "CodeM local CLI for Feishu-driven coding sessions",
|
|
@@ -30,19 +29,18 @@
|
|
|
30
29
|
"access": "public"
|
|
31
30
|
},
|
|
32
31
|
"dependencies": {
|
|
33
|
-
"@lark-codem/codem-core": "0.8.
|
|
32
|
+
"@lark-codem/codem-core": "0.8.88-bot-continuation-20261112.100103742941.0.gde0179a",
|
|
34
33
|
"zod": "3.25.76",
|
|
35
|
-
"@lark-codem/lark-cli": "0.1.1"
|
|
34
|
+
"@lark-codem/lark-cli": "0.1.1-test.20261110.1"
|
|
36
35
|
},
|
|
37
36
|
"optionalDependencies": {
|
|
38
|
-
"@lark-codem/codem-cli-darwin-arm64": "0.1.
|
|
39
|
-
"@lark-codem/codem-cli-darwin-x64": "0.1.
|
|
40
|
-
"@lark-codem/codem-cli-linux-arm64": "0.1.
|
|
41
|
-
"@lark-codem/codem-cli-linux-x64": "0.1.
|
|
42
|
-
"@lark-codem/codem-cli-win32-arm64": "0.1.270",
|
|
43
|
-
"@lark-codem/codem-cli-win32-x64": "0.1.270"
|
|
37
|
+
"@lark-codem/codem-cli-darwin-arm64": "0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f",
|
|
38
|
+
"@lark-codem/codem-cli-darwin-x64": "0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f",
|
|
39
|
+
"@lark-codem/codem-cli-linux-arm64": "0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f",
|
|
40
|
+
"@lark-codem/codem-cli-linux-x64": "0.1.271-bot-continuation-20261112.100103742941.0.g7eb703f"
|
|
44
41
|
},
|
|
45
42
|
"engines": {
|
|
46
43
|
"node": ">=18"
|
|
47
|
-
}
|
|
44
|
+
},
|
|
45
|
+
"codemAutomationProxyProtocol": 1
|
|
48
46
|
}
|
|
@@ -30,8 +30,5 @@ export class CredentialStorageError extends Error {
|
|
|
30
30
|
|
|
31
31
|
export function isRecoverableCredentialState(error) {
|
|
32
32
|
return error?.code === "credential_storage_rotation_pending"
|
|
33
|
-
|| error?.code === "credential_storage_rotation_unknown"
|
|
34
|
-
// A missing OAuth record permits reauthorization with the existing device,
|
|
35
|
-
// never use of its stale plaintext mirror or another credential kind.
|
|
36
|
-
|| (error?.code === "credential_storage_missing" && error.kind === "oauth");
|
|
33
|
+
|| error?.code === "credential_storage_rotation_unknown";
|
|
37
34
|
}
|