linkque-cli-v2 1.0.2-beta.4 → 1.0.4
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 -3
- package/linkquejs.js +1 -1
- package/package.json +2 -2
- package/worker.js +2 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Linkque CLI
|
|
1
|
+
# Linkque CLI Public Bundle
|
|
2
2
|
|
|
3
3
|
该目录已内联 AgentDev/Dev 调试链路所需的 JavaScript 依赖,不需要安装内网 npm 包。
|
|
4
4
|
|
|
@@ -10,5 +10,3 @@ linkquejs --version --json
|
|
|
10
10
|
也可以不安装,直接执行 `node linkquejs.js <command>`。
|
|
11
11
|
|
|
12
12
|
`agentbuild` 依赖额外构建资产,不属于该公网调试包的支持范围。
|
|
13
|
-
|
|
14
|
-
> 警告:该测试包允许 Home Data 缺少可信用户 ID,仅用于临时联调,禁止用于正式环境。
|
package/linkquejs.js
CHANGED
|
@@ -31602,5 +31602,5 @@ var runCliFromProcess = () => {
|
|
|
31602
31602
|
});
|
|
31603
31603
|
};
|
|
31604
31604
|
|
|
31605
|
-
// scripts/
|
|
31605
|
+
// scripts/publicEntry.ts
|
|
31606
31606
|
void runCliFromProcess();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linkque-cli-v2",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Public Linkque CLI bundle for sandbox debugging",
|
|
5
5
|
"bin": {
|
|
6
6
|
"linkquejs": "linkquejs.js"
|
|
7
7
|
},
|
package/worker.js
CHANGED
|
@@ -197054,8 +197054,6 @@ var LOG_MAX_BYTES = 1024 * 1024;
|
|
|
197054
197054
|
var LOG_ROTATIONS = 3;
|
|
197055
197055
|
var SHUTDOWN_GRACE_MS = 5e3;
|
|
197056
197056
|
var HOME_DATA_TRUSTED_CONTEXT_FIELD = "_trustedContext_";
|
|
197057
|
-
var ALLOW_MISSING_TRUSTED_USER_ID = true;
|
|
197058
|
-
var PORTABLE_TEST_USER_ID = "portable-home-data-test-user";
|
|
197059
197057
|
var RotatingLogWriter = class extends import_stream2.Writable {
|
|
197060
197058
|
constructor(logPath) {
|
|
197061
197059
|
super();
|
|
@@ -197239,12 +197237,12 @@ var parseHomeDataProxyInput = (value) => {
|
|
|
197239
197237
|
const trustedContext = isRecord6(value) ? value[HOME_DATA_TRUSTED_CONTEXT_FIELD] : void 0;
|
|
197240
197238
|
const trustedUserId = isRecord6(trustedContext) ? trustedContext.userId : void 0;
|
|
197241
197239
|
const normalizedUserId = typeof trustedUserId === "string" ? trustedUserId.trim() : "";
|
|
197242
|
-
if (!isRecord6(value) || !normalizedUserId
|
|
197240
|
+
if (!isRecord6(value) || !normalizedUserId) {
|
|
197243
197241
|
throw new Error("home-data trusted user is invalid");
|
|
197244
197242
|
}
|
|
197245
197243
|
const request = { ...value };
|
|
197246
197244
|
delete request[HOME_DATA_TRUSTED_CONTEXT_FIELD];
|
|
197247
|
-
return { request, userId: normalizedUserId
|
|
197245
|
+
return { request, userId: normalizedUserId };
|
|
197248
197246
|
};
|
|
197249
197247
|
var isRecord6 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
197250
197248
|
var errorMessage2 = (error40) => error40 instanceof Error ? error40.message : "unknown agent error";
|