nolo-cli 0.177.0-alpha.3 → 0.178.0-alpha.2

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 (65) hide show
  1. package/{_executeModel-V4F6LXUR.js → _executeModel-ZP6M2EWK.js} +14 -14
  2. package/{agentDeleteCommand-ZW6A5N5R.js → agentDeleteCommand-7TH3MY5U.js} +16 -16
  3. package/{agentEmailCommands-PSWCVDBS.js → agentEmailCommands-LVSCPVGC.js} +18 -18
  4. package/{agentListCommands-NYYOKQ2U.js → agentListCommands-67HVR7KB.js} +7 -7
  5. package/{agentMachineCommands-3QKXW7CS.js → agentMachineCommands-36IZWYUV.js} +8 -8
  6. package/{agentRecordCommands-WVMYMRVI.js → agentRecordCommands-4AIFNXVY.js} +17 -17
  7. package/{agentRunCommand-VT7XPW4E.js → agentRunCommand-3B224VOA.js} +18 -18
  8. package/{agentRuntimeLocal-OIEOKQ26.js → agentRuntimeLocal-I4J6XDO7.js} +7 -7
  9. package/{agentSlice-QNH6SH4J.js → agentSlice-XYVD7VDW.js} +1 -1
  10. package/{appDeleteCommands-DJBT6TXH.js → appDeleteCommands-VBI7C4IO.js} +7 -7
  11. package/{appDeployCommands-PO2OTNLX.js → appDeployCommands-FYUG5XWE.js} +7 -7
  12. package/{appDeployStatusCommands-I65SVQFQ.js → appDeployStatusCommands-TYHJOMUA.js} +7 -7
  13. package/{appGetCommands-NBSDDOG4.js → appGetCommands-HINYK5UT.js} +7 -7
  14. package/{appListCommands-NUDI4I6D.js → appListCommands-NWDNQT4A.js} +7 -7
  15. package/{authCommand-R2VRZLJY.js → authCommand-UIF5UTYV.js} +3 -3
  16. package/{chunk-33A622FT.js → chunk-CIM3IW2X.js} +1 -1
  17. package/{chunk-XEAOB5YS.js → chunk-CR5WXQX7.js} +2 -2
  18. package/{chunk-3TPHYXLU.js → chunk-CUVJE3L5.js} +2 -2
  19. package/{chunk-KYAMW3AY.js → chunk-E2BESSAW.js} +8 -5
  20. package/{chunk-PSJXWKPQ.js → chunk-EEEBL4MX.js} +8 -8
  21. package/{chunk-QABYIMXP.js → chunk-FSTHTTI6.js} +2 -2
  22. package/{chunk-KVCFBIRU.js → chunk-GPA3EA3Q.js} +8 -8
  23. package/{chunk-SLSWIH7D.js → chunk-IAOVXFL7.js} +2 -2
  24. package/{chunk-OD6ENIKN.js → chunk-IU4FJDRU.js} +3 -3
  25. package/{chunk-AEZBL2MY.js → chunk-JDCX5RWD.js} +3 -3
  26. package/{chunk-NCBXTFBP.js → chunk-KMSMIOOL.js} +11 -9
  27. package/{chunk-OEVWFVSS.js → chunk-L7PTHI3I.js} +3 -3
  28. package/{chunk-45QG4FAQ.js → chunk-LM7VJUSD.js} +1 -1
  29. package/{chunk-STT5PIQ5.js → chunk-LOCHKPC4.js} +21 -21
  30. package/{chunk-SDONLCYB.js → chunk-LRXTGAZ4.js} +5 -5
  31. package/{chunk-NS3FGNV6.js → chunk-LY4HX6OD.js} +9 -9
  32. package/{chunk-32Z3HRB4.js → chunk-M7ZURZLR.js} +2 -2
  33. package/{chunk-XWKEZYHG.js → chunk-NQKFBJD4.js} +1 -1
  34. package/{chunk-SOY7VHZN.js → chunk-P2BGRAW7.js} +5 -3
  35. package/{chunk-KZMDDWPY.js → chunk-PP4TMS3T.js} +3 -3
  36. package/{chunk-UVOA25PV.js → chunk-UTZF3X4Z.js} +2 -2
  37. package/{chunk-3QTBKJPI.js → chunk-UVPKOBVG.js} +9 -8
  38. package/{chunk-G3Y3E6JT.js → chunk-X7YSFSY3.js} +3 -3
  39. package/{chunk-D6QFFZVF.js → chunk-YO776XHS.js} +6 -6
  40. package/{chunk-VYQMMIBR.js → chunk-YOXGSXOV.js} +8 -8
  41. package/{commandRegistry-QST6FMJ6.js → commandRegistry-YGDYRIAX.js} +47 -47
  42. package/{contentThunks-BMJI3JJA.js → contentThunks-WNBEFSCD.js} +3 -3
  43. package/{createAgentAutomationAction-VC3PLYUE.js → createAgentAutomationAction-NTL5ST3J.js} +3 -3
  44. package/{createDialogAction-VAB5FNNF.js → createDialogAction-JWGDTE6S.js} +4 -4
  45. package/{createPageAction-QECNYENN.js → createPageAction-FPM5RD4C.js} +3 -3
  46. package/{dialogCommands-PQPI2B4F.js → dialogCommands-D4MNLDBH.js} +7 -7
  47. package/{dialogSlice-JOMW24BQ.js → dialogSlice-QVQO4JCU.js} +2 -2
  48. package/{docCreateCommands-K4KZUG7I.js → docCreateCommands-765YJTNP.js} +7 -7
  49. package/{docDeleteCommands-S53LJIXM.js → docDeleteCommands-G5U77546.js} +7 -7
  50. package/{docReadCommands-ACBGMNCO.js → docReadCommands-5YU7WGGT.js} +7 -7
  51. package/{docStore-4KT7EHZO.js → docStore-VN2HSHLZ.js} +1 -1
  52. package/{docUpdateCommands-LL7IVHSL.js → docUpdateCommands-H2AHPZRW.js} +7 -7
  53. package/{handleSendMessageAction-OGUIPOMS.js → handleSendMessageAction-DMXH4YLX.js} +8 -8
  54. package/index.js +4 -4
  55. package/{localRuntimeAdapter-ZCRX2PAA.js → localRuntimeAdapter-CQH4RFZC.js} +16 -16
  56. package/{machineCommands-KYLK4EMZ.js → machineCommands-TVCJZ5K5.js} +17 -17
  57. package/{machineWsRunDispatch-5QYFBWBB.js → machineWsRunDispatch-663CSUA3.js} +17 -17
  58. package/package.json +1 -1
  59. package/{readlineWorkspace-PWT6GHCI.js → readlineWorkspace-C3FPP5KC.js} +18 -18
  60. package/{runAgentClientLoop-RDYMQTSB.js → runAgentClientLoop-J3CTCBSI.js} +12 -12
  61. package/{spaceCommands-HKDI3T3V.js → spaceCommands-2ESFYAZG.js} +7 -7
  62. package/{streamAgentChatTurn-UOBJLR2V.js → streamAgentChatTurn-Z4DGKLGP.js} +16 -16
  63. package/{tools-B55PB6ML.js → tools-A2L3DK2Y.js} +7 -7
  64. package/{tuiSummaryLlmCaller-H2CLON2B.js → tuiSummaryLlmCaller-A6T54UJ3.js} +4 -4
  65. package/{updateDialogTitleAction-NPNSXH5Z.js → updateDialogTitleAction-WM5YYYFZ.js} +3 -3
@@ -7,7 +7,7 @@ import {
7
7
  mergeReferences,
8
8
  resolveReferenceAssets,
9
9
  resolveToolsFromKeys
10
- } from "./chunk-UVOA25PV.js";
10
+ } from "./chunk-UTZF3X4Z.js";
11
11
  import {
12
12
  UI_CARD_ENVELOPE_MAX_BYTES,
13
13
  getAllToolRuns,
@@ -20,7 +20,7 @@ import {
20
20
  selectSpaceContextLevel,
21
21
  selectUserTonePreset,
22
22
  uiCardFallback
23
- } from "./chunk-QABYIMXP.js";
23
+ } from "./chunk-FSTHTTI6.js";
24
24
  import {
25
25
  resolveToolBaseUrl
26
26
  } from "./chunk-MYOH447Z.js";
@@ -32,15 +32,15 @@ import {
32
32
  } from "./chunk-TDNAAXUQ.js";
33
33
  import {
34
34
  getDocState
35
- } from "./chunk-3TPHYXLU.js";
35
+ } from "./chunk-CUVJE3L5.js";
36
36
  import {
37
37
  getTableState
38
- } from "./chunk-45QG4FAQ.js";
38
+ } from "./chunk-LM7VJUSD.js";
39
39
  import {
40
40
  PERSONALIZATION_DIALOG_CATEGORY,
41
41
  buildPersonalizationDialogPolicyContext,
42
42
  selectAllMsgs
43
- } from "./chunk-VYQMMIBR.js";
43
+ } from "./chunk-YOXGSXOV.js";
44
44
  import {
45
45
  getCurrentSpaceIdRaw,
46
46
  getViewMode
@@ -9,7 +9,7 @@ import {
9
9
  resolveRawAgentInput,
10
10
  resolveServerUrl,
11
11
  writeUsage
12
- } from "./chunk-33A622FT.js";
12
+ } from "./chunk-CIM3IW2X.js";
13
13
  import {
14
14
  getReadableCliDb
15
15
  } from "./chunk-62TBKWTV.js";
@@ -31,7 +31,7 @@ import {
31
31
  resolveFileWriteGateEnabled,
32
32
  resolveLocalUserId,
33
33
  validateInstaboxWorkspaceSelection
34
- } from "./chunk-STT5PIQ5.js";
34
+ } from "./chunk-LOCHKPC4.js";
35
35
  import {
36
36
  clearCredentialAvailability,
37
37
  readEffectiveCredentialEntry,
@@ -79,14 +79,14 @@ import {
79
79
  } from "./chunk-BMQ2MJUK.js";
80
80
  import {
81
81
  resolveCliLocalRuntimeKeyCapability
82
- } from "./chunk-KVCFBIRU.js";
82
+ } from "./chunk-GPA3EA3Q.js";
83
83
  import {
84
84
  isTransientFetchError
85
85
  } from "./chunk-KFHREHUQ.js";
86
86
  import {
87
87
  parseUiCard,
88
88
  uiCardFallback
89
- } from "./chunk-QABYIMXP.js";
89
+ } from "./chunk-FSTHTTI6.js";
90
90
  import {
91
91
  isGatewayHttpStatus
92
92
  } from "./chunk-NF64D32W.js";
@@ -95,7 +95,7 @@ import {
95
95
  chooseMemoryOwners,
96
96
  loadMemoryCandidatesFromDb,
97
97
  resolveAgentMemoryPolicy
98
- } from "./chunk-32Z3HRB4.js";
98
+ } from "./chunk-M7ZURZLR.js";
99
99
  import {
100
100
  API_REPORTED_COST_MULTIPLIER,
101
101
  estimateMessagesTokens,
@@ -103,7 +103,7 @@ import {
103
103
  resolveAgentContextWindow,
104
104
  resolveOccupancy,
105
105
  resolveOccupancyWindow
106
- } from "./chunk-VYQMMIBR.js";
106
+ } from "./chunk-YOXGSXOV.js";
107
107
  import {
108
108
  buildSkillDiscoveryContextLayer
109
109
  } from "./chunk-AU7AXHUL.js";
@@ -115,10 +115,10 @@ import {
115
115
  LOCAL_AGENT_CONFIG_MISSING_CODE,
116
116
  LOCAL_TURN_ABORTED_CODE,
117
117
  readActionGate
118
- } from "./chunk-3QTBKJPI.js";
118
+ } from "./chunk-UVPKOBVG.js";
119
119
  import {
120
120
  resolveAgentRuntimeConfigFromRecord
121
- } from "./chunk-XEAOB5YS.js";
121
+ } from "./chunk-CR5WXQX7.js";
122
122
  import {
123
123
  createThinkParserState,
124
124
  flushThinkParser,
@@ -11376,7 +11376,7 @@ function isBalanceExhaustedError(error) {
11376
11376
 
11377
11377
  // packages/cli/client/agentRun.ts
11378
11378
  async function loadRunLocalAgentTurn() {
11379
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-OIEOKQ26.js");
11379
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-I4J6XDO7.js");
11380
11380
  return runLocalAgentTurn;
11381
11381
  }
11382
11382
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-45QG4FAQ.js";
3
+ } from "./chunk-LM7VJUSD.js";
4
4
  import {
5
5
  format,
6
6
  prepareAndPersistMessage,
7
7
  uiAskChoiceFunc,
8
8
  uiAskChoiceFunctionSchema
9
- } from "./chunk-VYQMMIBR.js";
9
+ } from "./chunk-YOXGSXOV.js";
10
10
  import {
11
11
  formatISO
12
12
  } from "./chunk-ZRAU6T47.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-62TBKWTV.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-STT5PIQ5.js";
9
+ } from "./chunk-LOCHKPC4.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-R4BMKAR5.js";
@@ -91,19 +91,21 @@ var resolveAgentImageInputSupport = (agent) => {
91
91
  return resolveCatalogImageSupport(agent) ?? agent.hasVision ?? true;
92
92
  };
93
93
  var resolveToolImagePolicy = (input) => {
94
+ const maxImagesPerRequest = 4;
94
95
  const env = typeof process !== "undefined" ? process.env : void 0;
95
96
  if (env?.NOLO_TOOL_IMAGE_POLICY === "legacy") {
96
97
  return {
97
98
  supportsToolImages: input.legacySupportsToolImages ?? resolveAgentImageInputSupport({ ...input, hasVision: input.hasVision ?? false }),
99
+ maxImagesPerRequest,
98
100
  reason: "legacy"
99
101
  };
100
102
  }
101
103
  const catalog = resolveCatalogImageSupport(input);
102
- if (catalog !== void 0) return { supportsToolImages: catalog, reason: "catalog" };
104
+ if (catalog !== void 0) return { maxImagesPerRequest, supportsToolImages: catalog, reason: "catalog" };
103
105
  if (typeof input.hasVision === "boolean") {
104
- return { supportsToolImages: input.hasVision, reason: "agent-declaration" };
106
+ return { maxImagesPerRequest, supportsToolImages: input.hasVision, reason: "agent-declaration" };
105
107
  }
106
- return { supportsToolImages: false, reason: "unknown" };
108
+ return { maxImagesPerRequest, supportsToolImages: false, reason: "unknown" };
107
109
  };
108
110
 
109
111
  export {
@@ -347,7 +347,7 @@ var slice = createSliceWithThunks({
347
347
  const overrides = {};
348
348
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
349
349
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
350
- const { _executeModel } = await import("./_executeModel-V4F6LXUR.js");
350
+ const { _executeModel } = await import("./_executeModel-ZP6M2EWK.js");
351
351
  return _executeModel(
352
352
  {
353
353
  isStreaming: args.isStreaming ?? false,
@@ -368,7 +368,7 @@ var slice = createSliceWithThunks({
368
368
  * - 循环直到无工具调用或触发其他运行时停止条件
369
369
  */
370
370
  runAgent: create.asyncThunk(async (args, thunkApi) => {
371
- const { runAgentClientLoop } = await import("./runAgentClientLoop-RDYMQTSB.js");
371
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-J3CTCBSI.js");
372
372
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
373
373
  {
374
374
  agentKey: args.agentKey,
@@ -384,7 +384,7 @@ var slice = createSliceWithThunks({
384
384
  * 聊天轮次流式 Agent 调用
385
385
  */
386
386
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
387
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-UOBJLR2V.js");
387
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-Z4DGKLGP.js");
388
388
  return streamAgentChatTurnHandler(args, thunkApi);
389
389
  }),
390
390
  /**
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-QABYIMXP.js";
5
+ } from "./chunk-FSTHTTI6.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-AGIM7IMJ.js";
22
22
  import {
23
23
  fetchAndCacheMessages
24
- } from "./chunk-VYQMMIBR.js";
24
+ } from "./chunk-YOXGSXOV.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
@@ -2,7 +2,7 @@ import {
2
2
  DEVIN_CONNECT_URL,
3
3
  parseSseDataLineJson,
4
4
  parseSseDataLineObject
5
- } from "./chunk-NCBXTFBP.js";
5
+ } from "./chunk-KMSMIOOL.js";
6
6
  import {
7
7
  applyChatCompletionDelta,
8
8
  applyResponsesToolEvent,
@@ -11,7 +11,7 @@ import {
11
11
  flushChatCompletionStream,
12
12
  providerHttpFailure,
13
13
  throwIfChatCompletionStreamFailed
14
- } from "./chunk-D6QFFZVF.js";
14
+ } from "./chunk-YO776XHS.js";
15
15
  import {
16
16
  readSseFrames
17
17
  } from "./chunk-HNUWUO75.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  hasImageInRuntimeMessages,
31
31
  stripImagePartsFromMessages
32
- } from "./chunk-XEAOB5YS.js";
32
+ } from "./chunk-CR5WXQX7.js";
33
33
  import {
34
34
  clipToolText,
35
35
  resolveHistoricalToolContentCap,
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  resolveAgentImageInputSupport,
40
40
  resolveToolImagePolicy
41
- } from "./chunk-SOY7VHZN.js";
41
+ } from "./chunk-P2BGRAW7.js";
42
42
  import {
43
43
  applyShapingCounts,
44
44
  attachProjectionFacts,
@@ -97,7 +97,7 @@ import {
97
97
  toOpenAiCompatibleMessages,
98
98
  toResponsesTools,
99
99
  transferDowngradedToolTurnOrigin
100
- } from "./chunk-AEZBL2MY.js";
100
+ } from "./chunk-JDCX5RWD.js";
101
101
  import {
102
102
  TOOL_HAD_IMAGES,
103
103
  TOOL_IMAGES,
@@ -110,7 +110,7 @@ import {
110
110
  toolImageDelivery,
111
111
  toolImages,
112
112
  withoutToolImages
113
- } from "./chunk-KYAMW3AY.js";
113
+ } from "./chunk-E2BESSAW.js";
114
114
  import {
115
115
  BRIDGE_STREAM_MAX_CHARS,
116
116
  CLI_NOLO_WORKSPACE_TOOL_NAMES,
@@ -20982,7 +20982,7 @@ function buildResponsesRequestBody(body, model, options) {
20982
20982
  ...body,
20983
20983
  model,
20984
20984
  input: Array.isArray(body.input) && body.input.length > 0 ? body.input : convertMessagesToResponsesInput(body.messages ?? [], {
20985
- supportsToolImages: options?.supportsToolImages
20985
+ ...options
20986
20986
  }),
20987
20987
  ...Array.isArray(body.tools) ? { tools: tools ?? void 0 } : {},
20988
20988
  ...typeof body.max_tokens === "number" ? { max_output_tokens: body.max_tokens } : {},
@@ -21323,6 +21323,7 @@ function buildOpenAiCompatibleChatCompletionRequest(args2) {
21323
21323
  hasVision: args2.providerConfig.hasVision
21324
21324
  });
21325
21325
  const messages = toOpenAiCompatibleMessages(sanitizedMessages, {
21326
+ maxImagesPerRequest: toolImagePolicy.maxImagesPerRequest,
21326
21327
  supportsToolImages: !isResponses && toolImagePolicy.supportsToolImages,
21327
21328
  stripReasoningContent: shouldStripReasoning,
21328
21329
  ...args2.shapingCounts ? { shapingCounts: args2.shapingCounts } : {},
@@ -21361,7 +21362,7 @@ function buildOpenAiCompatibleChatCompletionRequest(args2) {
21361
21362
  } : {}
21362
21363
  };
21363
21364
  const body = isResponses ? buildResponsesRequestBody(rawBody, args2.providerConfig.model, {
21364
- supportsToolImages: toolImagePolicy.supportsToolImages
21365
+ ...toolImagePolicy
21365
21366
  }) : normalizeChatCompletionsBodyForProvider({
21366
21367
  body: rawBody,
21367
21368
  provider: args2.providerConfig.provider,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-STT5PIQ5.js";
4
+ } from "./chunk-LOCHKPC4.js";
5
5
  import {
6
6
  t
7
7
  } from "./chunk-TDX2L4W2.js";
8
8
  import {
9
9
  clipMultilineText
10
- } from "./chunk-QABYIMXP.js";
10
+ } from "./chunk-FSTHTTI6.js";
11
11
  import {
12
12
  runLocalAgentTurn
13
- } from "./chunk-3QTBKJPI.js";
13
+ } from "./chunk-UVPKOBVG.js";
14
14
  import {
15
15
  applyToolSurfaceConstraints
16
16
  } from "./chunk-2GRXE3YJ.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HNUWUO75.js";
4
4
  import {
5
5
  resolveToolImagePolicy
6
- } from "./chunk-SOY7VHZN.js";
6
+ } from "./chunk-P2BGRAW7.js";
7
7
  import {
8
8
  accumulateToolCallDelta,
9
9
  createThinkParserState,
@@ -30,7 +30,7 @@ import {
30
30
  stablePromptCacheKey,
31
31
  toOpenAiCompatibleMessages,
32
32
  toResponsesTools
33
- } from "./chunk-AEZBL2MY.js";
33
+ } from "./chunk-JDCX5RWD.js";
34
34
  import {
35
35
  isMeaningfulChatCompletionOutput,
36
36
  isMeaningfulResponsesOutput
@@ -531,24 +531,24 @@ function buildPlatformChatCompletionRequest(args) {
531
531
  // Responses 协议天然支持 reasoning 数组回放,因此不 stripReasoningContent。
532
532
  input: convertMessagesToResponsesInput(
533
533
  toOpenAiCompatibleMessages(sanitizedMessages, {
534
- supportsToolImages: resolveToolImagePolicy({
534
+ ...resolveToolImagePolicy({
535
535
  routeKind: "platform",
536
536
  provider: args.providerConfig.usageProvider ?? args.providerConfig.provider,
537
537
  model: args.providerConfig.model,
538
538
  customProviderUrl: args.providerConfig.endpoint,
539
539
  hasVision: args.providerConfig.hasVision
540
- }).supportsToolImages
540
+ })
541
541
  })
542
542
  )
543
543
  } : {
544
544
  messages: toOpenAiCompatibleMessages(sanitizedMessages, {
545
- supportsToolImages: resolveToolImagePolicy({
545
+ ...resolveToolImagePolicy({
546
546
  routeKind: "platform",
547
547
  provider: args.providerConfig.usageProvider ?? args.providerConfig.provider,
548
548
  model: args.providerConfig.model,
549
549
  customProviderUrl: args.providerConfig.endpoint,
550
550
  hasVision: args.providerConfig.hasVision
551
- }).supportsToolImages,
551
+ }),
552
552
  stripReasoningContent: shouldStripReasoning
553
553
  })
554
554
  },
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-QYPE3TS3.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-KZMDDWPY.js";
14
+ } from "./chunk-PP4TMS3T.js";
15
15
  import {
16
16
  getApproxPricePerImage
17
17
  } from "./chunk-4JH2UMJR.js";
@@ -11064,7 +11064,7 @@ var messageSlice = createSliceWithThunks({
11064
11064
  runtimeOptions: args.runtimeOptions
11065
11065
  });
11066
11066
  if (agentKeyToUse) {
11067
- const { streamAgentChatTurn } = await import("./agentSlice-QNH6SH4J.js");
11067
+ const { streamAgentChatTurn } = await import("./agentSlice-XYVD7VDW.js");
11068
11068
  await dispatch(
11069
11069
  streamAgentChatTurn({
11070
11070
  agentKey: agentKeyToUse,
@@ -13881,7 +13881,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13881
13881
  }
13882
13882
  if (isCurrentDialog) {
13883
13883
  await thunkApi.dispatch(resetMsgs());
13884
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-JOMW24BQ.js");
13884
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-QVQO4JCU.js");
13885
13885
  dispatch(clearPendingAttachments2());
13886
13886
  }
13887
13887
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13889,15 +13889,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13889
13889
 
13890
13890
  // packages/chat/dialog/dialogSlice.ts
13891
13891
  var runCreateDialogAction = async (args, thunkApi) => {
13892
- const { createDialogAction } = await import("./createDialogAction-VAB5FNNF.js");
13892
+ const { createDialogAction } = await import("./createDialogAction-JWGDTE6S.js");
13893
13893
  return createDialogAction(args, thunkApi);
13894
13894
  };
13895
13895
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13896
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-VC3PLYUE.js");
13896
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-NTL5ST3J.js");
13897
13897
  return createAgentAutomationAction(args, thunkApi);
13898
13898
  };
13899
13899
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13900
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-NPNSXH5Z.js");
13900
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-WM5YYYFZ.js");
13901
13901
  return updateDialogTitleAction(args, thunkApi);
13902
13902
  };
13903
13903
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -13921,7 +13921,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13921
13921
  return setDialogExtraReferencesAction(args, thunkApi);
13922
13922
  };
13923
13923
  var runHandleSendMessageAction = async (args, thunkApi) => {
13924
- const { handleSendMessageAction } = await import("./handleSendMessageAction-OGUIPOMS.js");
13924
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-DMXH4YLX.js");
13925
13925
  return handleSendMessageAction(args, thunkApi);
13926
13926
  };
13927
13927
  function clearDialogState() {
@@ -13934,7 +13934,7 @@ var createPageAndAddReference = createAsyncThunk(
13934
13934
  async (payload, { dispatch, getState, rejectWithValue }) => {
13935
13935
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13936
13936
  try {
13937
- const { createDocState } = await import("./docStore-4KT7EHZO.js");
13937
+ const { createDocState } = await import("./docStore-VN2HSHLZ.js");
13938
13938
  const pageKey = await createDocState(
13939
13939
  { slateData, title },
13940
13940
  { dispatch, getState }