linkque-cli-v2 1.0.2-beta.2026091501 → 1.0.2-beta.2026091502
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/linkquejs.js +3 -6
- package/package.json +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-QEYFTCVG.js → chunk-5LYUFB4C.js} +2 -7
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-LNAM4RYS.js → chunk-737ZCGB2.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-ISGYA5UW.js → chunk-M235KAEK.js} +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +3 -3
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/clientCapability.js +2 -2
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js +2 -2
- package/worker.js +2 -7
package/linkquejs.js
CHANGED
|
@@ -21744,11 +21744,9 @@ function validateAction(value, path23, issues, depth) {
|
|
|
21744
21744
|
if (body.target !== void 0)
|
|
21745
21745
|
validateOverlayTarget(body.target, `${path23}.event.target`, issues);
|
|
21746
21746
|
} else if (branch === "function") {
|
|
21747
|
-
rejectUnknownKeys(body, ["ref"
|
|
21747
|
+
rejectUnknownKeys(body, ["ref"], `${path23}.function`, issues);
|
|
21748
21748
|
if (!isFunctionActionRef(body.ref))
|
|
21749
21749
|
issues.push(issue2(`${path23}.function.ref`, "INVALID_FUNCTION_ACTION_REF", "function ref must be a dot-separated identifier up to 128 characters"));
|
|
21750
|
-
if (!Number.isSafeInteger(body.version) || Number(body.version) < 1)
|
|
21751
|
-
issues.push(issue2(`${path23}.function.version`, "INVALID_FUNCTION_ACTION_VERSION", "function version must be a positive safe integer"));
|
|
21752
21750
|
} else if (branch === "local") {
|
|
21753
21751
|
rejectUnknownKeys(body, ["name", "path", "value"], `${path23}.local`, issues);
|
|
21754
21752
|
if (body.name !== "data.set" || typeof body.path !== "string" || !isSafePath(body.path) || !Object.prototype.hasOwnProperty.call(body, "value"))
|
|
@@ -23647,7 +23645,7 @@ function actionTargets(component, occurrenceId) {
|
|
|
23647
23645
|
return [agentOnlyAction(occurrenceId, "\u52A8\u6001\u6216\u590D\u6742\u4E8B\u4EF6\u901A\u8FC7\u667A\u80FD\u4F53\u4FEE\u6539")];
|
|
23648
23646
|
}
|
|
23649
23647
|
const functionAction = isPlainRecord(action.function) ? action.function : void 0;
|
|
23650
|
-
if (functionAction && typeof functionAction.ref === "string"
|
|
23648
|
+
if (functionAction && typeof functionAction.ref === "string") {
|
|
23651
23649
|
return [
|
|
23652
23650
|
{
|
|
23653
23651
|
kind: "function",
|
|
@@ -23655,8 +23653,7 @@ function actionTargets(component, occurrenceId) {
|
|
|
23655
23653
|
occurrenceId,
|
|
23656
23654
|
propertyPath: "action",
|
|
23657
23655
|
label: "\u524D\u7AEF\u51FD\u6570",
|
|
23658
|
-
ref: functionAction.ref
|
|
23659
|
-
version: Number(functionAction.version)
|
|
23656
|
+
ref: functionAction.ref
|
|
23660
23657
|
}
|
|
23661
23658
|
];
|
|
23662
23659
|
}
|
package/package.json
CHANGED
package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-QEYFTCVG.js → chunk-5LYUFB4C.js}
RENAMED
|
@@ -10344,11 +10344,9 @@ function validateAction(value, path2, issues, depth) {
|
|
|
10344
10344
|
if (body.target !== void 0)
|
|
10345
10345
|
validateOverlayTarget(body.target, `${path2}.event.target`, issues);
|
|
10346
10346
|
} else if (branch === "function") {
|
|
10347
|
-
rejectUnknownKeys(body, ["ref"
|
|
10347
|
+
rejectUnknownKeys(body, ["ref"], `${path2}.function`, issues);
|
|
10348
10348
|
if (!isFunctionActionRef(body.ref))
|
|
10349
10349
|
issues.push(issue2(`${path2}.function.ref`, "INVALID_FUNCTION_ACTION_REF", "function ref must be a dot-separated identifier up to 128 characters"));
|
|
10350
|
-
if (!Number.isSafeInteger(body.version) || Number(body.version) < 1)
|
|
10351
|
-
issues.push(issue2(`${path2}.function.version`, "INVALID_FUNCTION_ACTION_VERSION", "function version must be a positive safe integer"));
|
|
10352
10350
|
} else if (branch === "local") {
|
|
10353
10351
|
rejectUnknownKeys(body, ["name", "path", "value"], `${path2}.local`, issues);
|
|
10354
10352
|
if (body.name !== "data.set" || typeof body.path !== "string" || !isSafePath(body.path) || !Object.prototype.hasOwnProperty.call(body, "value"))
|
|
@@ -11557,12 +11555,9 @@ function parseA2UIFunctionMcpExecuteRequest(value) {
|
|
|
11557
11555
|
if (!isPlainRecord(value.action))
|
|
11558
11556
|
issues.push("action must be an object");
|
|
11559
11557
|
else {
|
|
11560
|
-
rejectExtraKeys2(value.action, ["ref"
|
|
11558
|
+
rejectExtraKeys2(value.action, ["ref"], "action", issues);
|
|
11561
11559
|
if (!isFunctionRef(value.action.ref))
|
|
11562
11560
|
issues.push("action.ref is invalid");
|
|
11563
|
-
if (!Number.isSafeInteger(value.action.version) || Number(value.action.version) < 1) {
|
|
11564
|
-
issues.push("action.version must be a positive integer");
|
|
11565
|
-
}
|
|
11566
11561
|
}
|
|
11567
11562
|
validateSource2(value.source, issues);
|
|
11568
11563
|
if (!isPlainRecord(value.tool))
|
|
@@ -38,13 +38,13 @@ import {
|
|
|
38
38
|
resolveLinkqueGatewayAuth,
|
|
39
39
|
resolveRunStorage,
|
|
40
40
|
toAgentRunMessages
|
|
41
|
-
} from "../../chunk-
|
|
41
|
+
} from "../../chunk-737ZCGB2.js";
|
|
42
42
|
import "../../chunk-IWOFD643.js";
|
|
43
43
|
import "../../chunk-PXCGFBV5.js";
|
|
44
44
|
import "../../chunk-ETG6PNHQ.js";
|
|
45
45
|
import {
|
|
46
46
|
getBakedProtocol
|
|
47
|
-
} from "../../chunk-
|
|
47
|
+
} from "../../chunk-M235KAEK.js";
|
|
48
48
|
import {
|
|
49
49
|
CANCEL_CONVERSATION_RUN_OPERATION,
|
|
50
50
|
CONVERSATION_HISTORY_VERSION,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
summarizeBody,
|
|
152
152
|
warnLogFailure,
|
|
153
153
|
wrapToolWithHooks
|
|
154
|
-
} from "../../chunk-
|
|
154
|
+
} from "../../chunk-5LYUFB4C.js";
|
|
155
155
|
import "../../chunk-XUFLSZM4.js";
|
|
156
156
|
import "../../chunk-GAYNLDWK.js";
|
|
157
157
|
import "../../chunk-HM7KNEG3.js";
|
package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/clientCapability.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
runClientCapability,
|
|
4
4
|
runClientCapabilityCleanup,
|
|
5
5
|
runClientCapabilityResult
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-737ZCGB2.js";
|
|
7
7
|
import "../../chunk-IWOFD643.js";
|
|
8
8
|
import "../../chunk-PXCGFBV5.js";
|
|
9
9
|
import "../../chunk-ETG6PNHQ.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-5LYUFB4C.js";
|
|
11
11
|
import "../../chunk-XUFLSZM4.js";
|
|
12
12
|
import "../../chunk-GAYNLDWK.js";
|
|
13
13
|
import "../../chunk-HM7KNEG3.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getBakedProtocol,
|
|
3
3
|
setBakedProtocol
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-M235KAEK.js";
|
|
5
|
+
import "../chunk-5LYUFB4C.js";
|
|
6
6
|
import "../chunk-XUFLSZM4.js";
|
|
7
7
|
import "../chunk-GAYNLDWK.js";
|
|
8
8
|
import "../chunk-HM7KNEG3.js";
|
package/worker.js
CHANGED
|
@@ -9585,11 +9585,9 @@ function validateAction(value, path9, issues, depth) {
|
|
|
9585
9585
|
if (body.target !== void 0)
|
|
9586
9586
|
validateOverlayTarget(body.target, `${path9}.event.target`, issues);
|
|
9587
9587
|
} else if (branch === "function") {
|
|
9588
|
-
rejectUnknownKeys(body, ["ref"
|
|
9588
|
+
rejectUnknownKeys(body, ["ref"], `${path9}.function`, issues);
|
|
9589
9589
|
if (!isFunctionActionRef(body.ref))
|
|
9590
9590
|
issues.push(issue2(`${path9}.function.ref`, "INVALID_FUNCTION_ACTION_REF", "function ref must be a dot-separated identifier up to 128 characters"));
|
|
9591
|
-
if (!Number.isSafeInteger(body.version) || Number(body.version) < 1)
|
|
9592
|
-
issues.push(issue2(`${path9}.function.version`, "INVALID_FUNCTION_ACTION_VERSION", "function version must be a positive safe integer"));
|
|
9593
9591
|
} else if (branch === "local") {
|
|
9594
9592
|
rejectUnknownKeys(body, ["name", "path", "value"], `${path9}.local`, issues);
|
|
9595
9593
|
if (body.name !== "data.set" || typeof body.path !== "string" || !isSafePath(body.path) || !Object.prototype.hasOwnProperty.call(body, "value"))
|
|
@@ -11199,12 +11197,9 @@ function parseA2UIFunctionMcpExecuteRequest(value) {
|
|
|
11199
11197
|
if (!isPlainRecord(value.action))
|
|
11200
11198
|
issues.push("action must be an object");
|
|
11201
11199
|
else {
|
|
11202
|
-
rejectExtraKeys2(value.action, ["ref"
|
|
11200
|
+
rejectExtraKeys2(value.action, ["ref"], "action", issues);
|
|
11203
11201
|
if (!isFunctionRef(value.action.ref))
|
|
11204
11202
|
issues.push("action.ref is invalid");
|
|
11205
|
-
if (!Number.isSafeInteger(value.action.version) || Number(value.action.version) < 1) {
|
|
11206
|
-
issues.push("action.version must be a positive integer");
|
|
11207
|
-
}
|
|
11208
11203
|
}
|
|
11209
11204
|
validateSource2(value.source, issues);
|
|
11210
11205
|
if (!isPlainRecord(value.tool))
|