linkque-cli-v2 1.6.22 → 1.6.24

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EModelProvider
3
- } from "./chunk-5YW4CWBG.js";
3
+ } from "./chunk-2D6TBUEQ.js";
4
4
 
5
5
  // ../linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js
6
6
  var baked;
@@ -23,7 +23,7 @@ import {
23
23
  RuntimeConfigProvider,
24
24
  getRunEmbeddedQuery,
25
25
  isDebugLoggingEnabled
26
- } from "./chunk-5YW4CWBG.js";
26
+ } from "./chunk-2D6TBUEQ.js";
27
27
  import {
28
28
  __commonJS,
29
29
  __require,
@@ -59,13 +59,13 @@ import {
59
59
  resolveRunStorage,
60
60
  toAgentRunMessages,
61
61
  withIsoTimestamp
62
- } from "../../chunk-Q6N5427R.js";
62
+ } from "../../chunk-X2R6PIPU.js";
63
63
  import "../../chunk-IWOFD643.js";
64
64
  import "../../chunk-PXCGFBV5.js";
65
65
  import "../../chunk-ETG6PNHQ.js";
66
66
  import {
67
67
  getBakedProtocol
68
- } from "../../chunk-27TIUPEZ.js";
68
+ } from "../../chunk-HC6DKXYK.js";
69
69
  import {
70
70
  ACTIVATE_SKILL_TOOL_NAME,
71
71
  AUTHORIZATION_CONFIRM_EVENT,
@@ -222,6 +222,7 @@ import {
222
222
  redactHeaders,
223
223
  redactSessionMemoryPrompt,
224
224
  resolvePhoneAuthorizationDependency,
225
+ resolveStandardCardExecution,
225
226
  resolveWebSearchResource,
226
227
  sessionMemoryExpired,
227
228
  sessionMemoryMetadata,
@@ -236,7 +237,7 @@ import {
236
237
  warnLogFailure,
237
238
  wrapToolWithHooks,
238
239
  writeJsonPointer
239
- } from "../../chunk-5YW4CWBG.js";
240
+ } from "../../chunk-2D6TBUEQ.js";
240
241
  import "../../chunk-XUFLSZM4.js";
241
242
  import "../../chunk-GAYNLDWK.js";
242
243
  import "../../chunk-SICWMO5Y.js";
@@ -42748,7 +42749,7 @@ var CardRenderMcpServer = class {
42748
42749
  try {
42749
42750
  const result = await executeCardDataPipeline({
42750
42751
  resource,
42751
- config,
42752
+ config: await resolveStandardCardExecution(resource, config, this.cardProvider, signal),
42752
42753
  cardProvider: this.cardProvider,
42753
42754
  registry: this.registry,
42754
42755
  runtimeContext: this.runtimeContext,
@@ -42853,6 +42854,7 @@ var CardRenderMcpServer = class {
42853
42854
  const missingDependencies = (source.dependsOn ?? []).filter((dependency) => !state2.results.has(dependency));
42854
42855
  if (missingDependencies.length)
42855
42856
  throw new Error(`\u6570\u636E\u6E90 ${source.sourceId} \u9700\u8981\u5148\u5B8C\u6210\u4EE5\u4E0B\u4F9D\u8D56\uFF1A${missingDependencies.join(", ")}`);
42857
+ const { fields } = await resolveStandardCardExecution(resource, config, this.cardProvider, signal);
42856
42858
  const handle = discoveredHandle ?? await this.registry.resolve(source.mcpResourceId, source.toolName, signal);
42857
42859
  if (!handle)
42858
42860
  throw new Error(`MCP \u5DE5\u5177 ${source.mcpResourceId}/${source.toolName} \u5F53\u524D\u4E0D\u53EF\u7528`);
@@ -42864,7 +42866,7 @@ var CardRenderMcpServer = class {
42864
42866
  const structured = readStructuredContent(result);
42865
42867
  if (structured === void 0) {
42866
42868
  const binding = config.bindings.find((candidate) => candidate.sourceId === source.sourceId);
42867
- const field = config.fields.find((candidate) => candidate.fieldId === binding?.fieldId);
42869
+ const field = fields.find((candidate) => candidate.fieldId === binding?.fieldId);
42868
42870
  throw new CardMappingError({
42869
42871
  code: "MCP_RESULT_UNSUPPORTED",
42870
42872
  cardId: resource.resourceId,
@@ -42879,7 +42881,7 @@ var CardRenderMcpServer = class {
42879
42881
  const projectionStartedAt = Date.now();
42880
42882
  const completedSourceIds = new Set(state2.results.keys());
42881
42883
  const { receipt, cacheEntry } = await createCardSourceReceipt({
42882
- config,
42884
+ config: { ...config, fields },
42883
42885
  cardId: resource.resourceId,
42884
42886
  sourceId: source.sourceId,
42885
42887
  raw: structured,
@@ -3,11 +3,11 @@ import {
3
3
  runClientCapability,
4
4
  runClientCapabilityCleanup,
5
5
  runClientCapabilityResult
6
- } from "../../chunk-Q6N5427R.js";
6
+ } from "../../chunk-X2R6PIPU.js";
7
7
  import "../../chunk-IWOFD643.js";
8
8
  import "../../chunk-PXCGFBV5.js";
9
9
  import "../../chunk-ETG6PNHQ.js";
10
- import "../../chunk-5YW4CWBG.js";
10
+ import "../../chunk-2D6TBUEQ.js";
11
11
  import "../../chunk-XUFLSZM4.js";
12
12
  import "../../chunk-GAYNLDWK.js";
13
13
  import "../../chunk-SICWMO5Y.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getBakedProtocol,
3
3
  setBakedProtocol
4
- } from "../chunk-27TIUPEZ.js";
5
- import "../chunk-5YW4CWBG.js";
4
+ } from "../chunk-HC6DKXYK.js";
5
+ import "../chunk-2D6TBUEQ.js";
6
6
  import "../chunk-XUFLSZM4.js";
7
7
  import "../chunk-GAYNLDWK.js";
8
8
  import "../chunk-SICWMO5Y.js";