linkque-cli-v2 1.0.2-beta.2 → 1.0.2-beta.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/worker.js +0 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkque-cli-v2",
3
- "version": "1.0.2-beta.2",
3
+ "version": "1.0.2-beta.3",
4
4
  "description": "Portable Linkque CLI for public sandbox debugging",
5
5
  "bin": {
6
6
  "linkquejs": "linkquejs.js"
package/worker.js CHANGED
@@ -15836,11 +15836,6 @@ async function executeHomeData(input) {
15836
15836
  if (!handle) {
15837
15837
  return failure("TOOL_NOT_ALLOWED", "MCP \u5DE5\u5177\u4E0D\u5B58\u5728\u6216\u4E0D\u53EF\u7528", false);
15838
15838
  }
15839
- const inputSchema = cloneJsonObject(handle.inputSchema);
15840
- const outputSchema = cloneJsonObject(handle.outputSchema);
15841
- if (!inputSchema || !outputSchema) {
15842
- return failure("INVALID_OUTPUT", "\u9996\u9875\u5361\u7247\u8981\u6C42 MCP \u5DE5\u5177\u58F0\u660E\u5B8C\u6574\u7684\u8F93\u5165\u548C\u8F93\u51FA Schema", false);
15843
- }
15844
15839
  const toolInput = {};
15845
15840
  for (const mapping of request.binding.input) {
15846
15841
  let value;
@@ -15859,10 +15854,6 @@ async function executeHomeData(input) {
15859
15854
  return failure("INVALID_INPUT", `\u65E0\u6CD5\u751F\u6210 MCP \u5165\u53C2 ${mapping.target}`, false);
15860
15855
  }
15861
15856
  }
15862
- const inputIssues = validateJsonSchemaValue(inputSchema, toolInput);
15863
- if (inputIssues.length > 0) {
15864
- return failure("INVALID_INPUT", inputIssues[0].message, false);
15865
- }
15866
15857
  let result;
15867
15858
  try {
15868
15859
  result = await handle.execute(toolInput, input.signal);
@@ -15870,10 +15861,6 @@ async function executeHomeData(input) {
15870
15861
  return failure("EXECUTION_FAILED", error40 instanceof Error ? error40.message : "MCP \u5DE5\u5177\u8C03\u7528\u5931\u8D25", true);
15871
15862
  }
15872
15863
  const structured = readStructuredContent2(result);
15873
- const outputIssues = validateJsonSchemaValue(outputSchema, structured);
15874
- if (outputIssues.length > 0) {
15875
- return failure("INVALID_OUTPUT", outputIssues[0].message, false);
15876
- }
15877
15864
  let cardData = structured;
15878
15865
  if (request.binding.transform) {
15879
15866
  try {