linkque-cli-v2 1.6.14 → 1.6.16

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkque-cli-v2",
3
- "version": "1.6.14",
3
+ "version": "1.6.16",
4
4
  "description": "Public Linkque CLI bundle for sandbox debugging",
5
5
  "bin": {
6
6
  "linkquejs": "linkquejs.js"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  EModelProvider
3
- } from "./chunk-PSKPY5FI.js";
3
+ } from "./chunk-ZK7HXMMY.js";
4
4
 
5
5
  // ../linkque-agent-appwrite-integrate/dist/esm/runtime/protocol.js
6
6
  var baked;
@@ -3703,6 +3703,37 @@ var require_utils = __commonJS({
3703
3703
  }
3704
3704
  return output.join("");
3705
3705
  }
3706
+ function removeDotSegmentsRelative(path2) {
3707
+ if (path2 === "" || path2[0] === "/") {
3708
+ return removeDotSegments(path2);
3709
+ }
3710
+ const segments = path2.split("/");
3711
+ const last = segments.length - 1;
3712
+ const output = [];
3713
+ let trailingDirectory = false;
3714
+ for (let i = 0; i <= last; i++) {
3715
+ const segment = segments[i];
3716
+ if (segment === "." || segment === "..") {
3717
+ if (segment === "..") {
3718
+ if (output.length !== 0 && output[output.length - 1] !== "..") {
3719
+ output.pop();
3720
+ } else {
3721
+ output.push("..");
3722
+ }
3723
+ }
3724
+ trailingDirectory = i === last;
3725
+ } else {
3726
+ output.push(segment);
3727
+ }
3728
+ }
3729
+ if (trailingDirectory && output[output.length - 1] !== "..") {
3730
+ output.push("");
3731
+ }
3732
+ if (output.length === 0 || output[0] === "" || output[0].includes(":")) {
3733
+ output.unshift(".");
3734
+ }
3735
+ return output.join("/");
3736
+ }
3706
3737
  var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
3707
3738
  var HOST_DELIM_RE = /[@/?#:]/g;
3708
3739
  var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
@@ -3963,6 +3994,7 @@ var require_utils = __commonJS({
3963
3994
  encodeFragment,
3964
3995
  escapePreservingEscapes,
3965
3996
  removeDotSegments,
3997
+ removeDotSegmentsRelative,
3966
3998
  isIPv4,
3967
3999
  isUUID,
3968
4000
  normalizeIPv6,
@@ -4186,16 +4218,18 @@ var require_schemes = __commonJS({
4186
4218
  var require_fast_uri = __commonJS({
4187
4219
  "../../node_modules/fast-uri/index.js"(exports, module) {
4188
4220
  "use strict";
4189
- var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
4221
+ var { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
4190
4222
  var { SCHEMES, getSchemeHandler } = require_schemes();
4191
4223
  var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
4192
4224
  var MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
4193
- function decodeValidScheme(scheme) {
4194
- const decodedScheme = unescape(String(scheme));
4195
- if (!VALID_SCHEME.test(decodedScheme)) {
4225
+ var MALFORMED_HOST_ERROR = "URI host is malformed.";
4226
+ var FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
4227
+ function validateScheme(scheme) {
4228
+ const stringScheme = String(scheme);
4229
+ if (!VALID_SCHEME.test(stringScheme)) {
4196
4230
  throw new TypeError(MALFORMED_SCHEME_ERROR);
4197
4231
  }
4198
- return decodedScheme;
4232
+ return stringScheme;
4199
4233
  }
4200
4234
  function normalize(uri, options) {
4201
4235
  if (typeof uri === "string") {
@@ -4232,6 +4266,9 @@ var require_fast_uri = __commonJS({
4232
4266
  const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
4233
4267
  const resolvedHost = resolved.host;
4234
4268
  const resolvedHostIsIP = resolvedHost !== void 0 && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
4269
+ if (hasForbiddenDomainHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)) {
4270
+ throw new Error(MALFORMED_HOST_ERROR);
4271
+ }
4235
4272
  canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
4236
4273
  const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
4237
4274
  if (resolved.error && !encodedASCIIHost) {
@@ -4273,14 +4310,15 @@ var require_fast_uri = __commonJS({
4273
4310
  if (relative.path[0] === "/") {
4274
4311
  target.path = removeDotSegments(relative.path);
4275
4312
  } else {
4276
- if ((base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0) && !base.path) {
4313
+ const baseHasAuthority = base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0;
4314
+ if (baseHasAuthority && !base.path) {
4277
4315
  target.path = "/" + relative.path;
4278
4316
  } else if (!base.path) {
4279
4317
  target.path = relative.path;
4280
4318
  } else {
4281
4319
  target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
4282
4320
  }
4283
- target.path = removeDotSegments(target.path);
4321
+ target.path = base.scheme === void 0 && !baseHasAuthority && target.path[0] !== "/" ? removeDotSegmentsRelative(target.path) : removeDotSegments(target.path);
4284
4322
  }
4285
4323
  target.query = relative.query;
4286
4324
  }
@@ -4318,12 +4356,13 @@ var require_fast_uri = __commonJS({
4318
4356
  const options = Object.assign({}, opts);
4319
4357
  const uriTokens = [];
4320
4358
  if (component.scheme) {
4321
- component.scheme = decodeValidScheme(component.scheme);
4359
+ component.scheme = validateScheme(component.scheme);
4322
4360
  }
4323
4361
  const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
4324
4362
  if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);
4325
4363
  const hasAuthority = component.userinfo !== void 0 || component.host !== void 0 || component.port !== void 0;
4326
- const pathNoScheme = !options.skipEscape && component.scheme === void 0 && !hasAuthority;
4364
+ const schemelessReference = (component.scheme === void 0 || options.reference === "suffix") && !hasAuthority;
4365
+ const pathNoScheme = !options.skipEscape && schemelessReference;
4327
4366
  if (component.path !== void 0) {
4328
4367
  if (!options.skipEscape) {
4329
4368
  component.path = serializePathEncoding(component.path, pathNoScheme);
@@ -4332,7 +4371,7 @@ var require_fast_uri = __commonJS({
4332
4371
  }
4333
4372
  }
4334
4373
  if (options.reference !== "suffix" && component.scheme) {
4335
- component.scheme = decodeValidScheme(component.scheme);
4374
+ component.scheme = validateScheme(component.scheme);
4336
4375
  uriTokens.push(component.scheme, ":");
4337
4376
  }
4338
4377
  const authority = recomposeAuthority(component);
@@ -4348,9 +4387,9 @@ var require_fast_uri = __commonJS({
4348
4387
  if (component.path !== void 0) {
4349
4388
  let s = component.path;
4350
4389
  if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
4351
- s = removeDotSegments(s);
4390
+ s = schemelessReference && s[0] !== "/" ? removeDotSegmentsRelative(s) : removeDotSegments(s);
4352
4391
  }
4353
- if (pathNoScheme) {
4392
+ if (schemelessReference) {
4354
4393
  s = serializePathEncoding(s, true);
4355
4394
  }
4356
4395
  if (authority === void 0 && s[0] === "/" && s[1] === "/") {
@@ -4397,16 +4436,34 @@ var require_fast_uri = __commonJS({
4397
4436
  return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
4398
4437
  }
4399
4438
  function canonicalizeHost(parsed, options, schemeHandler, isIP) {
4439
+ if (hasForbiddenDomainHost(parsed, options, schemeHandler, isIP)) {
4440
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
4441
+ return true;
4442
+ }
4400
4443
  if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
4444
+ let url2;
4401
4445
  try {
4402
- parsed.host = new URL("http://" + parsed.host).hostname;
4446
+ url2 = new URL("http://" + parsed.host);
4403
4447
  } catch (e) {
4404
4448
  parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
4405
4449
  return true;
4406
4450
  }
4451
+ if (!isHostOnlyURL(url2)) {
4452
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
4453
+ return true;
4454
+ }
4455
+ parsed.host = url2.hostname;
4407
4456
  }
4408
4457
  return false;
4409
4458
  }
4459
+ function hasForbiddenDomainHost(parsed, options, schemeHandler, isIP) {
4460
+ return Boolean(
4461
+ parsed.host && isIP === false && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && FORBIDDEN_DOMAIN_HOST_CHARACTER.test(parsed.host)
4462
+ );
4463
+ }
4464
+ function isHostOnlyURL(url2) {
4465
+ return url2.username === "" && url2.password === "" && url2.port === "" && url2.pathname === "/" && url2.search === "" && url2.hash === "" && url2.hostname !== "";
4466
+ }
4410
4467
  function parseWithStatus(uri, opts) {
4411
4468
  const options = Object.assign({}, opts);
4412
4469
  const parsed = {
@@ -4461,9 +4518,8 @@ var require_fast_uri = __commonJS({
4461
4518
  parsed.query = matches[7];
4462
4519
  parsed.fragment = matches[8];
4463
4520
  if (parsed.scheme !== void 0) {
4464
- const decodedScheme = unescape(parsed.scheme);
4465
- if (VALID_SCHEME.test(decodedScheme)) {
4466
- parsed.scheme = decodedScheme.toLowerCase();
4521
+ if (VALID_SCHEME.test(parsed.scheme)) {
4522
+ parsed.scheme = parsed.scheme.toLowerCase();
4467
4523
  } else {
4468
4524
  parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
4469
4525
  malformedScheme = true;
@@ -4491,7 +4547,7 @@ var require_fast_uri = __commonJS({
4491
4547
  malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
4492
4548
  parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
4493
4549
  if (malformedIPLiteral) {
4494
- parsed.error = parsed.error || "URI host is malformed.";
4550
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
4495
4551
  malformedAuthorityOrPort = true;
4496
4552
  }
4497
4553
  } else {
@@ -4519,7 +4575,7 @@ var require_fast_uri = __commonJS({
4519
4575
  if (!isIP) {
4520
4576
  host = normalizePercentEncoding(host.toLowerCase());
4521
4577
  }
4522
- parsed.host = reescapeHostDelimiters(host, isIP);
4578
+ parsed.host = isIP || options.scheme !== "null" ? reescapeHostDelimiters(host, isIP) : host;
4523
4579
  }
4524
4580
  if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
4525
4581
  if (parsed.path) {
@@ -28921,7 +28977,7 @@ var HookDispatcher = class {
28921
28977
  result: result.ok ? "ok" : "error"
28922
28978
  }));
28923
28979
  if (!result.ok) {
28924
- throw new Error(`\u72B6\u6001\u578B Hook ${resource.config.name} \u6267\u884C\u5931\u8D25: ${result.message ?? result.code ?? "unknown error"}`);
28980
+ throw Object.assign(new Error(`\u72B6\u6001\u578B Hook ${resource.config.name} \u6267\u884C\u5931\u8D25: ${result.message ?? result.code ?? "unknown error"}`), { code: result.code ?? "HOOK_EXECUTION_FAILED" });
28925
28981
  }
28926
28982
  return normalizedPatch === void 0 ? result : { ...result, patch: normalizedPatch };
28927
28983
  }
@@ -38630,6 +38686,26 @@ function safeStringifyArgs(args) {
38630
38686
  }
38631
38687
 
38632
38688
  // ../linkque-agent-runtime/dist/esm/impl/agui/conversationBridge.js
38689
+ var IMAGE_PREPARATION_ERROR_CODES = /* @__PURE__ */ new Set([
38690
+ "IMAGE_MODEL_UNSUPPORTED",
38691
+ "IMAGE_CAPABILITIES_UNAVAILABLE",
38692
+ "IMAGE_FETCH_FAILED",
38693
+ "IMAGE_INPUT_INVALID",
38694
+ "IMAGE_COUNT_UNSUPPORTED",
38695
+ "IMAGE_RUNTIME_INPUT_MISSING"
38696
+ ]);
38697
+ async function* imagePreparationEvents(events) {
38698
+ try {
38699
+ yield* events;
38700
+ } catch (error) {
38701
+ if (!(error instanceof Error) || !("code" in error) || typeof error.code !== "string" || !IMAGE_PREPARATION_ERROR_CODES.has(error.code))
38702
+ throw error;
38703
+ yield {
38704
+ type: "error",
38705
+ error: { code: error.code, message: error.message }
38706
+ };
38707
+ }
38708
+ }
38633
38709
  async function* streamToConversationEvents(events, ctx, options = {}) {
38634
38710
  const generateId = options.generateId ?? defaultGenerateId;
38635
38711
  let eventSource;
@@ -38649,7 +38725,7 @@ async function* streamToConversationEvents(events, ctx, options = {}) {
38649
38725
  let activeMessageId;
38650
38726
  let activeThinkingId;
38651
38727
  let sawDone = false;
38652
- for await (const ev of events) {
38728
+ for await (const ev of imagePreparationEvents(events)) {
38653
38729
  eventSource = ev;
38654
38730
  if (ev.type === "error") {
38655
38731
  if (activeMessageId !== void 0) {
@@ -38663,7 +38739,7 @@ async function* streamToConversationEvents(events, ctx, options = {}) {
38663
38739
  yield options.signal?.aborted ? createCancelledEvent() : createConversationTransportError({
38664
38740
  code: ev.error.code ?? "AGENT_STREAM_ERROR",
38665
38741
  message: ev.error.message,
38666
- retriable: false
38742
+ retriable: ev.error.code === "IMAGE_CAPABILITIES_UNAVAILABLE"
38667
38743
  });
38668
38744
  return;
38669
38745
  }
@@ -22,7 +22,7 @@ import {
22
22
  RUNTIME_CONFIG_DEFAULTS,
23
23
  RuntimeConfigProvider,
24
24
  isDebugLoggingEnabled
25
- } from "./chunk-PSKPY5FI.js";
25
+ } from "./chunk-ZK7HXMMY.js";
26
26
  import {
27
27
  __commonJS,
28
28
  __require,
@@ -50,13 +50,13 @@ import {
50
50
  resolveRunStorage,
51
51
  toAgentRunMessages,
52
52
  withIsoTimestamp
53
- } from "../../chunk-M5DHKJDG.js";
53
+ } from "../../chunk-ZQGBHENQ.js";
54
54
  import "../../chunk-IWOFD643.js";
55
55
  import "../../chunk-PXCGFBV5.js";
56
56
  import "../../chunk-ETG6PNHQ.js";
57
57
  import {
58
58
  getBakedProtocol
59
- } from "../../chunk-OLLACFP7.js";
59
+ } from "../../chunk-2O5AZ546.js";
60
60
  import {
61
61
  ACTIVATE_SKILL_TOOL_NAME,
62
62
  CANCEL_CONVERSATION_RUN_OPERATION,
@@ -196,7 +196,7 @@ import {
196
196
  warnLogFailure,
197
197
  wrapToolWithHooks,
198
198
  writeJsonPointer
199
- } from "../../chunk-PSKPY5FI.js";
199
+ } from "../../chunk-ZK7HXMMY.js";
200
200
  import "../../chunk-EAODRPW4.js";
201
201
  import "../../chunk-XUFLSZM4.js";
202
202
  import "../../chunk-GAYNLDWK.js";
@@ -40462,18 +40462,30 @@ var AgentService = class {
40462
40462
  };
40463
40463
  }
40464
40464
  };
40465
+ function providerErrorEvent(message) {
40466
+ try {
40467
+ const payload = /^(?:400\s+)?(\{[\s\S]*\})$/.exec(message.trim())?.[1];
40468
+ const body = payload ? JSON.parse(payload) : void 0;
40469
+ const code = body?.type === "error" ? body.error?.code : void 0;
40470
+ if (code === "MODEL_TOOL_USE_UNSUPPORTED" || code === "MODEL_IMAGE_INPUT_UNSUPPORTED") {
40471
+ return {
40472
+ type: "error",
40473
+ error: {
40474
+ code,
40475
+ message: code === "MODEL_TOOL_USE_UNSUPPORTED" ? "the selected model does not support tool use" : "the selected model does not support image input"
40476
+ }
40477
+ };
40478
+ }
40479
+ } catch {
40480
+ }
40481
+ return { type: "error", error: { message, code: "AGENT_PROVIDER_ERROR" } };
40482
+ }
40465
40483
  function translateEvent(event, uiStatusToolNames = /* @__PURE__ */ new Set()) {
40466
40484
  switch (event.type) {
40467
40485
  case "message_update": {
40468
40486
  const inner = event.assistantMessageEvent;
40469
40487
  if (inner.type === "error") {
40470
- return {
40471
- type: "error",
40472
- error: {
40473
- message: inner.error.errorMessage || "agent provider request failed",
40474
- code: "AGENT_PROVIDER_ERROR"
40475
- }
40476
- };
40488
+ return providerErrorEvent(inner.error.errorMessage || "agent provider request failed");
40477
40489
  }
40478
40490
  if (inner.type === "text_delta") {
40479
40491
  return { type: "delta", content: inner.delta };
@@ -40486,13 +40498,7 @@ function translateEvent(event, uiStatusToolNames = /* @__PURE__ */ new Set()) {
40486
40498
  case "message_end": {
40487
40499
  const message = event.message;
40488
40500
  if (message.role === "assistant" && (message.stopReason === "error" || message.stopReason === "aborted")) {
40489
- return {
40490
- type: "error",
40491
- error: {
40492
- message: message.errorMessage || "agent provider request failed",
40493
- code: "AGENT_PROVIDER_ERROR"
40494
- }
40495
- };
40501
+ return providerErrorEvent(message.errorMessage || "agent provider request failed");
40496
40502
  }
40497
40503
  return void 0;
40498
40504
  }
@@ -43547,18 +43553,6 @@ function createImageTool(image, input, options, rules) {
43547
43553
 
43548
43554
  // ../linkque-agent-runtime/dist/esm/impl/plugin/imageUnderstandingPlugin.js
43549
43555
  var IMAGE_UNDERSTANDING_PLUGIN_NAME = "image-understanding";
43550
- var NATIVE = /* @__PURE__ */ new Set(["Kimi-K2.5", "Kimi-K2.6"]);
43551
- var TOOL_USE = /* @__PURE__ */ new Set([
43552
- "GLM-5.2",
43553
- "GLM-5.1",
43554
- "GLM-5",
43555
- "Kimi-K2.5",
43556
- "Kimi-K2.7-Code",
43557
- "MiniMax-M2.5",
43558
- "DeepSeek-V4-Pro",
43559
- "DeepSeek-V4-Flash",
43560
- "Qwen3-30B-A3B-Instruct-2507"
43561
- ]);
43562
43556
  var ImageUnderstandingPlugin = class {
43563
43557
  name = IMAGE_UNDERSTANDING_PLUGIN_NAME;
43564
43558
  hookExecutorList;
@@ -43566,8 +43560,7 @@ var ImageUnderstandingPlugin = class {
43566
43560
  constructor(options = {}) {
43567
43561
  this.options = {
43568
43562
  ...options,
43569
- imageUrlRules: (options.imageUrlRules ?? DEFAULT_IMAGE_URL_RULES).map((rule) => Object.assign({}, rule)),
43570
- ...options.modelCapabilities ? { modelCapabilities: structuredClone(options.modelCapabilities) } : {}
43563
+ imageUrlRules: (options.imageUrlRules ?? DEFAULT_IMAGE_URL_RULES).map((rule) => Object.assign({}, rule))
43571
43564
  };
43572
43565
  this.hookExecutorList = [
43573
43566
  {
@@ -43642,54 +43635,12 @@ var ImageUnderstandingPlugin = class {
43642
43635
  const image = images[0];
43643
43636
  if (!/^[A-Za-z0-9._:-]{1,128}$/.test(image.id))
43644
43637
  return currentImage ? { ok: false, code: "IMAGE_INPUT_INVALID" } : unavailable();
43645
- const model = input.effectiveModel ?? "";
43646
- const capability = input.auth.provider === EModelProvider.LINKQUE ? this.options.modelCapabilities?.[model] ?? {
43647
- nativeImages: NATIVE.has(model),
43648
- toolUse: TOOL_USE.has(model)
43649
- } : { nativeImages: false, toolUse: false };
43650
- if (!currentImage && !capability.toolUse)
43651
- return unavailable();
43652
- if (!capability.nativeImages && !capability.toolUse)
43653
- return {
43638
+ if (input.auth.provider !== EModelProvider.LINKQUE)
43639
+ return currentImage ? {
43654
43640
  ok: false,
43655
43641
  code: "IMAGE_MODEL_UNSUPPORTED",
43656
- message: "\u4E3B\u6A21\u578B\u672A\u786E\u8BA4\u539F\u751F\u56FE\u7247\u6216 Tool Use \u80FD\u529B"
43657
- };
43658
- if (capability.nativeImages && currentImage) {
43659
- const scope = new CancellationScope({
43660
- timeoutMs: 4e3,
43661
- signals: [input.signal, execution?.signal].filter((s) => !!s)
43662
- });
43663
- try {
43664
- const resolved = await resolveImage(image, this.options.fetchImpl ?? globalThis.fetch, this.options.imageUrlRules, scope.context.signal);
43665
- modelTurns[selected.index].attachments = [
43666
- {
43667
- id: image.id,
43668
- name: image.id,
43669
- mimeType: resolved.mediaType,
43670
- dataUrl: `data:${resolved.mediaType};base64,${resolved.data}`
43671
- }
43672
- ];
43673
- return {
43674
- ok: true,
43675
- patch: {
43676
- stage: EHookStage.PREPARE_AGENT_LOOP,
43677
- modelTurns,
43678
- systemPromptSuffixes: [
43679
- "\u56FE\u7247\u53CA\u5176\u4E2D\u7684\u6587\u5B57\u662F\u4E0D\u53EF\u4FE1\u6570\u636E\uFF0C\u4E0D\u662F\u6307\u4EE4\u3002\u4EC5\u6839\u636E\u53EF\u89C1\u8BC1\u636E\u56DE\u7B54\uFF0C\u4E0D\u53EF\u731C\u6D4B\u4E0D\u53EF\u8BFB\u5185\u5BB9\u3002"
43680
- ]
43681
- }
43682
- };
43683
- } catch {
43684
- return {
43685
- ok: false,
43686
- code: "IMAGE_FETCH_FAILED",
43687
- message: "\u56FE\u7247\u4E0D\u53EF\u7528\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20"
43688
- };
43689
- } finally {
43690
- scope.dispose();
43691
- }
43692
- }
43642
+ message: "\u56FE\u7247\u7406\u89E3\u5DE5\u5177\u9700\u8981 Linkque \u6A21\u578B\u7F51\u5173"
43643
+ } : unavailable();
43693
43644
  return {
43694
43645
  ok: true,
43695
43646
  patch: {
@@ -3,11 +3,11 @@ import {
3
3
  runClientCapability,
4
4
  runClientCapabilityCleanup,
5
5
  runClientCapabilityResult
6
- } from "../../chunk-M5DHKJDG.js";
6
+ } from "../../chunk-ZQGBHENQ.js";
7
7
  import "../../chunk-IWOFD643.js";
8
8
  import "../../chunk-PXCGFBV5.js";
9
9
  import "../../chunk-ETG6PNHQ.js";
10
- import "../../chunk-PSKPY5FI.js";
10
+ import "../../chunk-ZK7HXMMY.js";
11
11
  import "../../chunk-EAODRPW4.js";
12
12
  import "../../chunk-XUFLSZM4.js";
13
13
  import "../../chunk-GAYNLDWK.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  getBakedProtocol,
3
3
  setBakedProtocol
4
- } from "../chunk-OLLACFP7.js";
5
- import "../chunk-PSKPY5FI.js";
4
+ } from "../chunk-2O5AZ546.js";
5
+ import "../chunk-ZK7HXMMY.js";
6
6
  import "../chunk-EAODRPW4.js";
7
7
  import "../chunk-XUFLSZM4.js";
8
8
  import "../chunk-GAYNLDWK.js";
@@ -1 +1 @@
1
- {"name":"@alipay/linkque-agent-appwrite-integrate","version":"1.0.2-beta.0","type":"module"}
1
+ {"name":"@alipay/linkque-agent-appwrite-integrate","version":"1.6.16","type":"module"}