linkque-cli-v2 1.2.3 → 1.2.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/package.json +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-RRQKGME5.js → chunk-BBS46AHY.js} +4 -0
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/handler/chat.js +1 -1
- package/vendor/linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js +1 -1
- package/worker.js +4 -0
package/package.json
CHANGED
package/vendor/linkque-agent-appwrite-integrate/dist/esm/{chunk-RRQKGME5.js → chunk-BBS46AHY.js}
RENAMED
|
@@ -19030,6 +19030,7 @@ var McpProxyTool = class {
|
|
|
19030
19030
|
return {
|
|
19031
19031
|
inputSchema: tool.inputSchema,
|
|
19032
19032
|
outputSchema: tool.outputSchema,
|
|
19033
|
+
annotations: tool.annotations,
|
|
19033
19034
|
execute: (args, sig) => entry.server.callTool(tool.name, args, sig)
|
|
19034
19035
|
};
|
|
19035
19036
|
}
|
|
@@ -19447,6 +19448,9 @@ async function executeHomeData(input) {
|
|
|
19447
19448
|
if (!handle) {
|
|
19448
19449
|
return failure("TOOL_NOT_ALLOWED", "MCP \u5DE5\u5177\u4E0D\u5B58\u5728\u6216\u4E0D\u53EF\u7528", false);
|
|
19449
19450
|
}
|
|
19451
|
+
if (handle.annotations?.readOnlyHint === false) {
|
|
19452
|
+
return failure("TOOL_NOT_READ_ONLY", "\u9996\u9875\u6570\u636E\u4E0D\u5141\u8BB8\u81EA\u52A8\u8C03\u7528\u53EF\u5199 MCP \u5DE5\u5177", false);
|
|
19453
|
+
}
|
|
19450
19454
|
const toolInput = {};
|
|
19451
19455
|
for (const mapping of request.binding.input) {
|
|
19452
19456
|
let value;
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
parseSkillFile,
|
|
66
66
|
streamToConversationEvents,
|
|
67
67
|
verifyPaymentResult
|
|
68
|
-
} from "../../chunk-
|
|
68
|
+
} from "../../chunk-BBS46AHY.js";
|
|
69
69
|
import "../../chunk-XUFLSZM4.js";
|
|
70
70
|
import "../../chunk-I64V3ICJ.js";
|
|
71
71
|
import "../../chunk-6MHDOBWO.js";
|
package/worker.js
CHANGED
|
@@ -16079,6 +16079,7 @@ var init_mcpProxyTool = __esm({
|
|
|
16079
16079
|
return {
|
|
16080
16080
|
inputSchema: tool.inputSchema,
|
|
16081
16081
|
outputSchema: tool.outputSchema,
|
|
16082
|
+
annotations: tool.annotations,
|
|
16082
16083
|
execute: (args, sig) => entry.server.callTool(tool.name, args, sig)
|
|
16083
16084
|
};
|
|
16084
16085
|
}
|
|
@@ -16442,6 +16443,9 @@ async function executeHomeData(input) {
|
|
|
16442
16443
|
if (!handle) {
|
|
16443
16444
|
return failure("TOOL_NOT_ALLOWED", "MCP \u5DE5\u5177\u4E0D\u5B58\u5728\u6216\u4E0D\u53EF\u7528", false);
|
|
16444
16445
|
}
|
|
16446
|
+
if (handle.annotations?.readOnlyHint === false) {
|
|
16447
|
+
return failure("TOOL_NOT_READ_ONLY", "\u9996\u9875\u6570\u636E\u4E0D\u5141\u8BB8\u81EA\u52A8\u8C03\u7528\u53EF\u5199 MCP \u5DE5\u5177", false);
|
|
16448
|
+
}
|
|
16445
16449
|
const toolInput = {};
|
|
16446
16450
|
for (const mapping of request.binding.input) {
|
|
16447
16451
|
let value;
|