nolo-cli 0.171.0-alpha.1 → 0.172.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 (68) hide show
  1. package/{_executeModel-YJW2HPFY.js → _executeModel-IABRBGAE.js} +18 -18
  2. package/{agentDeleteCommand-O3EG3HS4.js → agentDeleteCommand-ATU2HZT2.js} +20 -19
  3. package/{agentEmailCommands-AIWZNMRW.js → agentEmailCommands-YTKUTNLR.js} +22 -21
  4. package/{agentListCommands-377PQ6K4.js → agentListCommands-ZBA5JTWP.js} +14 -13
  5. package/{agentMachineCommands-TYL7KKSL.js → agentMachineCommands-ZSKWBVPO.js} +11 -10
  6. package/{agentRecordCommands-YPRND72K.js → agentRecordCommands-KVN6OF4P.js} +21 -20
  7. package/{agentRunCommand-T7AQKKH5.js → agentRunCommand-CC6JZOGT.js} +22 -21
  8. package/{agentRuntimeLocal-7ZE2ZQAL.js → agentRuntimeLocal-JA2Q6UBJ.js} +10 -9
  9. package/{agentSlice-BHH2DZKN.js → agentSlice-RVJDFNRB.js} +1 -1
  10. package/{appDeleteCommands-LHOX4HM3.js → appDeleteCommands-4XONJLO7.js} +10 -9
  11. package/{appDeployCommands-A6CQQTI3.js → appDeployCommands-SDGJMAUG.js} +10 -9
  12. package/{appDeployStatusCommands-7TTNQODL.js → appDeployStatusCommands-A6O3FEEW.js} +10 -9
  13. package/{appGetCommands-22F4E37N.js → appGetCommands-U4Z5HSNF.js} +10 -9
  14. package/{appListCommands-WCDOJUVV.js → appListCommands-T4HVTIUC.js} +10 -9
  15. package/{chunk-6OYC7NDH.js → chunk-2EC6FNS4.js} +44 -55
  16. package/chunk-2WZXXAQD.js +57 -0
  17. package/{chunk-AUGBRK3P.js → chunk-5WOL7BUP.js} +10 -2
  18. package/{chunk-C2OYZYJ7.js → chunk-6BDTSKUT.js} +3 -3
  19. package/{chunk-BJWOOJX5.js → chunk-74PQM3XI.js} +28 -24
  20. package/{chunk-O3FUFEUI.js → chunk-7TBARDLF.js} +1 -46
  21. package/{chunk-Q7UPF643.js → chunk-AKXKBNLQ.js} +1 -1
  22. package/{chunk-SC5TDLTP.js → chunk-BE42X662.js} +4 -4
  23. package/{chunk-XHR22EKE.js → chunk-BKCR2JHG.js} +48 -3
  24. package/{chunk-22FIHMYU.js → chunk-BW3LCST7.js} +2 -2
  25. package/{chunk-AGAB26VE.js → chunk-CZLO63PE.js} +10 -10
  26. package/{chunk-UIVOLTFM.js → chunk-F3F3ARBN.js} +2 -2
  27. package/{chunk-7L2HZQNN.js → chunk-FZSVCJUU.js} +102 -2
  28. package/{chunk-JHXY4H3P.js → chunk-I33CJERI.js} +2 -57
  29. package/{chunk-K2NTGYVK.js → chunk-ISMHFI2Y.js} +1 -1
  30. package/{chunk-BQSW7453.js → chunk-MYZHJKLG.js} +1 -1
  31. package/{chunk-WPOSH6PA.js → chunk-O4H4HD4X.js} +2 -2
  32. package/{chunk-7MBN2JZ5.js → chunk-ORKQ3T5D.js} +3 -3
  33. package/{chunk-72T5DXRH.js → chunk-R2RDXNEE.js} +8 -2
  34. package/{chunk-ZJ66I757.js → chunk-SDAIVJZG.js} +9 -9
  35. package/{chunk-X2Q5GT5J.js → chunk-TCWK2EQX.js} +2 -2
  36. package/{chunk-P4V35AFD.js → chunk-UA4VAUQL.js} +2 -2
  37. package/{chunk-CEYUVQYU.js → chunk-UG3UI4Z7.js} +13 -11
  38. package/{chunk-MIME4XKU.js → chunk-ULE7ABRN.js} +11 -11
  39. package/{chunk-DWQD3JTX.js → chunk-WKF6C3X5.js} +1 -1
  40. package/{chunk-UPC23AAN.js → chunk-WW5MNBTZ.js} +4 -4
  41. package/{chunk-EPMWJ7X7.js → chunk-X7KVZ2OK.js} +8 -8
  42. package/{chunk-6OC2YMGH.js → chunk-XBJIESNS.js} +1 -1
  43. package/{chunk-7CDMXZJA.js → chunk-ZB4JKLJM.js} +3 -3
  44. package/{commandRegistry-EAPXP4BC.js → commandRegistry-ICL67WF7.js} +40 -40
  45. package/{contentThunks-SJAKJV4V.js → contentThunks-SM5FP7FM.js} +6 -6
  46. package/{createAgentAutomationAction-IBSAZBSP.js → createAgentAutomationAction-ECWLREQU.js} +6 -6
  47. package/{createDialogAction-MQDTLASD.js → createDialogAction-LROHLFQ2.js} +7 -7
  48. package/{createPageAction-EOPBBQMH.js → createPageAction-KUQVLZMZ.js} +6 -6
  49. package/{dialogCommands-SV4M5HAV.js → dialogCommands-T5JYBPS6.js} +10 -9
  50. package/{dialogSlice-6CC3YDDL.js → dialogSlice-2FWQCZDB.js} +5 -5
  51. package/{docCreateCommands-UC2CPMH7.js → docCreateCommands-7F4ICTJQ.js} +10 -9
  52. package/{docDeleteCommands-SRPTGMZ2.js → docDeleteCommands-4INN7EWS.js} +10 -9
  53. package/{docReadCommands-U3TDUPOY.js → docReadCommands-7PZZR3C3.js} +10 -9
  54. package/{docStore-RSBDE3UH.js → docStore-WUR5MNKF.js} +1 -1
  55. package/{docUpdateCommands-G5J5UKGP.js → docUpdateCommands-H2YXAGOV.js} +10 -9
  56. package/{handleSendMessageAction-EM43KNSP.js → handleSendMessageAction-DVXNAQ2V.js} +13 -12
  57. package/index.js +4 -4
  58. package/{localRuntimeAdapter-N5WDXYSY.js → localRuntimeAdapter-M64P55I7.js} +20 -19
  59. package/{machineCommands-L34XTTLG.js → machineCommands-2H7QW35Q.js} +21 -20
  60. package/{machineWsRunDispatch-IKI7FGKI.js → machineWsRunDispatch-4L2DSIMF.js} +21 -20
  61. package/package.json +1 -1
  62. package/{readlineWorkspace-ZANIHEDR.js → readlineWorkspace-KNE2THUN.js} +23 -22
  63. package/{runAgentClientLoop-HPF2WFFQ.js → runAgentClientLoop-34ME2HDT.js} +16 -16
  64. package/{spaceCommands-6KPBWGGE.js → spaceCommands-HAVZ3PQN.js} +10 -9
  65. package/{streamAgentChatTurn-3SNWCCK2.js → streamAgentChatTurn-YXFJ3UWD.js} +23 -22
  66. package/{tools-7SMCO2GW.js → tools-M7H7Z44Z.js} +11 -11
  67. package/{tuiSummaryLlmCaller-H6WX54WY.js → tuiSummaryLlmCaller-KVAXEH7O.js} +10 -4
  68. package/{updateDialogTitleAction-XIMLNROU.js → updateDialogTitleAction-YXQ2AJVK.js} +6 -6
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveAgentCallPlan
3
- } from "./chunk-6OC2YMGH.js";
3
+ } from "./chunk-XBJIESNS.js";
4
4
  import {
5
5
  SUBSCRIPTION_OAUTH_PROVIDERS
6
6
  } from "./chunk-OQ3DOBYB.js";
@@ -94,61 +94,6 @@ var resolveAgentImageInputSupport = (agent) => {
94
94
  return true;
95
95
  };
96
96
 
97
- // packages/ai/agent/toolOutputPolicy.ts
98
- var MAX_IN_TURN_TOOL_CONTENT_CHARS = 4e3;
99
- var DEFAULT_TOOL_OUTPUT_PROFILE = {
100
- maxChars: MAX_IN_TURN_TOOL_CONTENT_CHARS,
101
- headRatio: 0.5
102
- };
103
- var TOOL_OUTPUT_PROFILES = {
104
- readFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
105
- read_file: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
106
- readWorkspaceFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
107
- globFiles: { maxChars: 2800, headRatio: 0.85 },
108
- execShell: { maxChars: 4e3, headRatio: 0.35 },
109
- runCommand: { maxChars: 4e3, headRatio: 0.35 },
110
- launchProcess: { maxChars: 2800, headRatio: 0.35 },
111
- editFile: { maxChars: 1200, headRatio: 0.62 },
112
- writeFile: { maxChars: 1e3, headRatio: 0.62 },
113
- readPastedText: { maxChars: 4800, headRatio: 0.5, historicalMaxChars: 4800 },
114
- // loadSkill 内联的是文档正文(SKILL.md 全文),与 readFile 同类,不该因为工具名未登记就退回
115
- // DEFAULT 的 4000。历史事故(nolo-plan omitted middle)正是 headRatio 0.5 掐掉中段,把
116
- // 「MUST / 禁止」所在的中段静默省略。取 4800(与 readFile 同级),不激进放大;headRatio 同 DEFAULT。
117
- loadSkill: { maxChars: 4800, headRatio: 0.5 }
118
- };
119
- function resolveToolOutputProfile(toolName) {
120
- return (toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0) ?? DEFAULT_TOOL_OUTPUT_PROFILE;
121
- }
122
- function resolveHistoricalToolContentCap(toolName, historicalMaxChars) {
123
- const profile = toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0;
124
- return profile?.historicalMaxChars !== void 0 ? Math.max(historicalMaxChars, profile.historicalMaxChars) : historicalMaxChars;
125
- }
126
- function projectToolMessageContent(input) {
127
- const { content, toolName } = input;
128
- const maxChars = resolveToolOutputProfile(toolName).maxChars;
129
- if (content.length <= maxChars) return content;
130
- return clipToolText(
131
- content,
132
- maxChars,
133
- resolveToolOutputProfile(toolName).headRatio,
134
- `
135
- \u2026[\u622A\u65AD\uFF0C\u539F\u59CB\u957F\u5EA6 ${content.length} \u5B57\u7B26]`
136
- );
137
- }
138
- function clipToolText(content, maxChars, headRatio, marker = "\n\n[... tool output middle omitted; head/tail preserved ...]\n\n") {
139
- const normalized = content.replace(/\r\n/g, "\n").trim();
140
- if (normalized.length <= maxChars) return normalized;
141
- if (maxChars <= marker.length + 2) return normalized.slice(0, maxChars);
142
- const available = maxChars - marker.length;
143
- const headChars = Math.max(1, Math.floor(available * headRatio));
144
- const tailChars = Math.max(1, available - headChars);
145
- return `${normalized.slice(0, headChars)}${marker}${normalized.slice(-tailChars)}`;
146
- }
147
-
148
97
  export {
149
- resolveAgentImageInputSupport,
150
- resolveToolOutputProfile,
151
- resolveHistoricalToolContentCap,
152
- projectToolMessageContent,
153
- clipToolText
98
+ resolveAgentImageInputSupport
154
99
  };
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-OPNHKULV.js";
8
8
  import {
9
9
  deriveCredentialGroup
10
- } from "./chunk-SC5TDLTP.js";
10
+ } from "./chunk-BE42X662.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-D2MDMY2M.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDialog,
3
3
  runtime_default,
4
4
  toast
5
- } from "./chunk-MIME4XKU.js";
5
+ } from "./chunk-ULE7ABRN.js";
6
6
  import {
7
7
  getCurrentSpaceId,
8
8
  getCurrentSpaceIdRaw,
@@ -333,7 +333,7 @@ async function saveDocState(arg, { dispatch, getState }) {
333
333
  ).unwrap();
334
334
  if (dbSpaceId) {
335
335
  try {
336
- const { updateContentTitle } = await import("./contentThunks-SJAKJV4V.js");
336
+ const { updateContentTitle } = await import("./contentThunks-SM5FP7FM.js");
337
337
  await dispatch(
338
338
  updateContentTitle({
339
339
  spaceId: dbSpaceId,
@@ -372,7 +372,7 @@ async function saveDocState(arg, { dispatch, getState }) {
372
372
  }
373
373
  }
374
374
  async function createDocState(args, thunkApi) {
375
- const { createPageAction } = await import("./createPageAction-EOPBBQMH.js");
375
+ const { createPageAction } = await import("./createPageAction-KUQVLZMZ.js");
376
376
  return createPageAction(args, thunkApi);
377
377
  }
378
378
  function subscribe(listener) {
@@ -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-YJW2HPFY.js");
350
+ const { _executeModel } = await import("./_executeModel-IABRBGAE.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-HPF2WFFQ.js");
371
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-34ME2HDT.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-3SNWCCK2.js");
387
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-YXFJ3UWD.js");
388
388
  return streamAgentChatTurnHandler(args, thunkApi);
389
389
  }),
390
390
  /**
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  readSseFrames
3
3
  } from "./chunk-HNUWUO75.js";
4
+ import {
5
+ resolveAgentImageInputSupport
6
+ } from "./chunk-I33CJERI.js";
4
7
  import {
5
8
  accumulateToolCallDelta,
6
9
  createThinkParserState,
@@ -27,11 +30,11 @@ import {
27
30
  stablePromptCacheKey,
28
31
  toOpenAiCompatibleMessages,
29
32
  toResponsesTools
30
- } from "./chunk-7L2HZQNN.js";
33
+ } from "./chunk-FZSVCJUU.js";
31
34
  import {
32
35
  isMeaningfulChatCompletionOutput,
33
36
  isMeaningfulResponsesOutput
34
- } from "./chunk-XHR22EKE.js";
37
+ } from "./chunk-BKCR2JHG.js";
35
38
  import {
36
39
  clipCompactText
37
40
  } from "./chunk-5MMAK75Q.js";
@@ -478,6 +481,7 @@ async function resolvePlatformChatProviderConfig(args) {
478
481
  serverUrl: resolvePlatformServerUrl(args.env),
479
482
  authToken: resolvePlatformAuthToken(args.env),
480
483
  agentKey: args.agentConfig.key,
484
+ hasVision: args.agentConfig.hasVision,
481
485
  model: plan.model,
482
486
  provider: plan.provider,
483
487
  endpoint: plan.endpoint,
@@ -493,6 +497,7 @@ async function resolvePlatformChatProviderConfig(args) {
493
497
  serverUrl: plan.serverUrl,
494
498
  authToken: plan.authToken,
495
499
  agentKey: plan.agentKey,
500
+ hasVision: args.agentConfig.hasVision,
496
501
  model: plan.model,
497
502
  provider: plan.provider,
498
503
  endpoint: plan.endpoint,
@@ -524,6 +529,7 @@ function buildPlatformChatCompletionRequest(args) {
524
529
  input: convertMessagesToResponsesInput(sanitizedMessages)
525
530
  } : {
526
531
  messages: toOpenAiCompatibleMessages(sanitizedMessages, {
532
+ supportsToolImages: resolveAgentImageInputSupport({ provider: args.providerConfig.usageProvider ?? args.providerConfig.provider, model: args.providerConfig.model, customProviderUrl: args.providerConfig.endpoint, hasVision: args.providerConfig.hasVision ?? false }),
527
533
  stripReasoningContent: shouldStripReasoning
528
534
  })
529
535
  },
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assembleAgentDiscoveryResult,
3
3
  resolveDiscoveryScope
4
- } from "./chunk-SC5TDLTP.js";
4
+ } from "./chunk-BE42X662.js";
5
5
  import {
6
6
  fetchWithTransientRetry
7
7
  } from "./chunk-KFHREHUQ.js";
@@ -20,7 +20,7 @@ import {
20
20
  toolRunUpdated,
21
21
  uiCardFallback,
22
22
  waitForAbortableDelay
23
- } from "./chunk-P4V35AFD.js";
23
+ } from "./chunk-UA4VAUQL.js";
24
24
  import {
25
25
  isGatewayHttpStatus
26
26
  } from "./chunk-NF64D32W.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-VF4K2QE6.js";
65
65
  import {
66
66
  createDocState
67
- } from "./chunk-WPOSH6PA.js";
67
+ } from "./chunk-O4H4HD4X.js";
68
68
  import {
69
69
  addMemberSpace,
70
70
  fetchAuthoritativeRemoteSpace,
@@ -79,7 +79,7 @@ import {
79
79
  } from "./chunk-BAWAKW7X.js";
80
80
  import {
81
81
  createDialogAction
82
- } from "./chunk-UIVOLTFM.js";
82
+ } from "./chunk-F3F3ARBN.js";
83
83
  import {
84
84
  setDialogExtraReferencesAction
85
85
  } from "./chunk-IF7V3CBU.js";
@@ -102,7 +102,7 @@ import {
102
102
  updateContentCategory,
103
103
  updateContentTitle,
104
104
  writeStoredCollapsedCategories
105
- } from "./chunk-BQSW7453.js";
105
+ } from "./chunk-MYZHJKLG.js";
106
106
  import {
107
107
  buildDatabaseFileContentUrl,
108
108
  deleteDialog,
@@ -115,7 +115,7 @@ import {
115
115
  selectMsgById,
116
116
  uiAskChoiceFunc,
117
117
  uiAskChoiceFunctionSchema
118
- } from "./chunk-MIME4XKU.js";
118
+ } from "./chunk-ULE7ABRN.js";
119
119
  import {
120
120
  buildMediaToolConfirmation,
121
121
  normalizeMediaConfirmExecutionRevision
@@ -126,7 +126,7 @@ import {
126
126
  runLlm,
127
127
  streamAgentChatTurn,
128
128
  updateAgent
129
- } from "./chunk-7MBN2JZ5.js";
129
+ } from "./chunk-ORKQ3T5D.js";
130
130
  import {
131
131
  getCurrentSpaceId,
132
132
  getCurrentSpaceIdRaw,
@@ -3882,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3882
3882
  const deletedDialogIds = [];
3883
3883
  const deletedDialogKeys = [];
3884
3884
  const failures = [];
3885
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-6CC3YDDL.js");
3885
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-2FWQCZDB.js");
3886
3886
  for (const target of targets) {
3887
3887
  try {
3888
3888
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -18563,7 +18563,7 @@ async function updateDocFunc(args, thunkApi) {
18563
18563
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18564
18564
  };
18565
18565
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18566
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-RSBDE3UH.js");
18566
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-WUR5MNKF.js");
18567
18567
  if (getDocState().pageKey === id) {
18568
18568
  applyExternalDocUpdate({
18569
18569
  slateData: finalSlateData,
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-P4V35AFD.js";
5
+ } from "./chunk-UA4VAUQL.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-MIME4XKU.js";
24
+ } from "./chunk-ULE7ABRN.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-VYNMQ6HW.js";
9
9
  import {
10
10
  fetchAndCacheTableRows
11
- } from "./chunk-BQSW7453.js";
11
+ } from "./chunk-MYZHJKLG.js";
12
12
  import {
13
13
  require_react
14
14
  } from "./chunk-YDH3FDFQ.js";
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
521
521
  if (!executionInput) {
522
522
  throw new Error(`ToolRun ${id} has no input to execute with.`);
523
523
  }
524
- const { findToolExecutor } = await import("./tools-7SMCO2GW.js");
524
+ const { findToolExecutor } = await import("./tools-M7H7Z44Z.js");
525
525
  const { executor } = findToolExecutor(run.toolName);
526
526
  toolRunStarted({
527
527
  id: run.id,
@@ -9,7 +9,7 @@ import {
9
9
  resolveRawAgentInput,
10
10
  resolveServerUrl,
11
11
  writeUsage
12
- } from "./chunk-Q7UPF643.js";
12
+ } from "./chunk-AKXKBNLQ.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-BJWOOJX5.js";
34
+ } from "./chunk-74PQM3XI.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-ZJ66I757.js";
82
+ } from "./chunk-SDAIVJZG.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-P4V35AFD.js";
89
+ } from "./chunk-UA4VAUQL.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-UIVOLTFM.js";
98
+ } from "./chunk-F3F3ARBN.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-MIME4XKU.js";
106
+ } from "./chunk-ULE7ABRN.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-6OYC7NDH.js";
118
+ } from "./chunk-2EC6FNS4.js";
119
119
  import {
120
120
  resolveAgentRuntimeConfigFromRecord
121
- } from "./chunk-AUGBRK3P.js";
121
+ } from "./chunk-5WOL7BUP.js";
122
122
  import {
123
123
  createThinkParserState,
124
124
  flushThinkParser,
@@ -142,9 +142,11 @@ import {
142
142
  resolveCredentialKeyWithFallback
143
143
  } from "./chunk-JLR5NWP2.js";
144
144
  import {
145
- isOAuthApiKeyRef,
146
145
  normalizeUsage
147
- } from "./chunk-O3FUFEUI.js";
146
+ } from "./chunk-7TBARDLF.js";
147
+ import {
148
+ isOAuthApiKeyRef
149
+ } from "./chunk-BKCR2JHG.js";
148
150
  import {
149
151
  clipCompactText
150
152
  } from "./chunk-5MMAK75Q.js";
@@ -11374,7 +11376,7 @@ function isBalanceExhaustedError(error) {
11374
11376
 
11375
11377
  // packages/cli/client/agentRun.ts
11376
11378
  async function loadRunLocalAgentTurn() {
11377
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-7ZE2ZQAL.js");
11379
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-JA2Q6UBJ.js");
11378
11380
  return runLocalAgentTurn;
11379
11381
  }
11380
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();
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-QYPE3TS3.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-7MBN2JZ5.js";
14
+ } from "./chunk-ORKQ3T5D.js";
15
15
  import {
16
16
  getApproxPricePerImage
17
17
  } from "./chunk-4JH2UMJR.js";
@@ -101,10 +101,9 @@ import {
101
101
  asOptionalJsonRecord,
102
102
  devinChannelContextWindow,
103
103
  extractReferenceKeysFromMessage,
104
- isOAuthApiKeyRef,
105
104
  normalizeUsage,
106
105
  resolveAutoExecutionProfile
107
- } from "./chunk-O3FUFEUI.js";
106
+ } from "./chunk-7TBARDLF.js";
108
107
  import {
109
108
  isDevinOAuthAgent
110
109
  } from "./chunk-5ZUL4CUO.js";
@@ -119,9 +118,10 @@ import {
119
118
  formatFileOperationsFromMessages,
120
119
  formatMessagesForSummaryWithTruncation,
121
120
  getModelInfo,
121
+ isOAuthApiKeyRef,
122
122
  planCompression,
123
123
  serializeMessageContent
124
- } from "./chunk-XHR22EKE.js";
124
+ } from "./chunk-BKCR2JHG.js";
125
125
  import {
126
126
  asRecordOrEmpty
127
127
  } from "./chunk-KX6YBIHG.js";
@@ -11062,7 +11062,7 @@ var messageSlice = createSliceWithThunks({
11062
11062
  runtimeOptions: args.runtimeOptions
11063
11063
  });
11064
11064
  if (agentKeyToUse) {
11065
- const { streamAgentChatTurn } = await import("./agentSlice-BHH2DZKN.js");
11065
+ const { streamAgentChatTurn } = await import("./agentSlice-RVJDFNRB.js");
11066
11066
  await dispatch(
11067
11067
  streamAgentChatTurn({
11068
11068
  agentKey: agentKeyToUse,
@@ -13879,7 +13879,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13879
13879
  }
13880
13880
  if (isCurrentDialog) {
13881
13881
  await thunkApi.dispatch(resetMsgs());
13882
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-6CC3YDDL.js");
13882
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-2FWQCZDB.js");
13883
13883
  dispatch(clearPendingAttachments2());
13884
13884
  }
13885
13885
  return { dialogKey, isCurrentDialog, attachmentPlan };
@@ -13887,15 +13887,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
13887
13887
 
13888
13888
  // packages/chat/dialog/dialogSlice.ts
13889
13889
  var runCreateDialogAction = async (args, thunkApi) => {
13890
- const { createDialogAction } = await import("./createDialogAction-MQDTLASD.js");
13890
+ const { createDialogAction } = await import("./createDialogAction-LROHLFQ2.js");
13891
13891
  return createDialogAction(args, thunkApi);
13892
13892
  };
13893
13893
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13894
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-IBSAZBSP.js");
13894
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-ECWLREQU.js");
13895
13895
  return createAgentAutomationAction(args, thunkApi);
13896
13896
  };
13897
13897
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13898
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-XIMLNROU.js");
13898
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-YXQ2AJVK.js");
13899
13899
  return updateDialogTitleAction(args, thunkApi);
13900
13900
  };
13901
13901
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -13919,7 +13919,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
13919
13919
  return setDialogExtraReferencesAction(args, thunkApi);
13920
13920
  };
13921
13921
  var runHandleSendMessageAction = async (args, thunkApi) => {
13922
- const { handleSendMessageAction } = await import("./handleSendMessageAction-EM43KNSP.js");
13922
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-DVXNAQ2V.js");
13923
13923
  return handleSendMessageAction(args, thunkApi);
13924
13924
  };
13925
13925
  function clearDialogState() {
@@ -13932,7 +13932,7 @@ var createPageAndAddReference = createAsyncThunk(
13932
13932
  async (payload, { dispatch, getState, rejectWithValue }) => {
13933
13933
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
13934
13934
  try {
13935
- const { createDocState } = await import("./docStore-RSBDE3UH.js");
13935
+ const { createDocState } = await import("./docStore-WUR5MNKF.js");
13936
13936
  const pageKey = await createDocState(
13937
13937
  { slateData, title },
13938
13938
  { dispatch, getState }
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-62TBKWTV.js";
7
7
  import {
8
8
  clearCliLocalRuntimePreparedAgentCache
9
- } from "./chunk-BJWOOJX5.js";
9
+ } from "./chunk-74PQM3XI.js";
10
10
  import {
11
11
  readCredentialAvailability
12
12
  } from "./chunk-R4BMKAR5.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-X2Q5GT5J.js";
6
+ } from "./chunk-TCWK2EQX.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-7MBN2JZ5.js";
9
+ } from "./chunk-ORKQ3T5D.js";
10
10
  import {
11
11
  buildSkillGuidancePromptBlock
12
12
  } from "./chunk-3LNVSFTH.js";
@@ -32,11 +32,11 @@ import {
32
32
  resolveReasoningReplayOptions,
33
33
  shouldStripReasoningContentForOutbound,
34
34
  stablePromptCacheKey
35
- } from "./chunk-7L2HZQNN.js";
35
+ } from "./chunk-FZSVCJUU.js";
36
36
  import {
37
37
  resolveAgentCallPlan,
38
38
  resolveClientWire
39
- } from "./chunk-6OC2YMGH.js";
39
+ } from "./chunk-XBJIESNS.js";
40
40
  import {
41
41
  createFileCredentialBroker
42
42
  } from "./chunk-76YUTLOT.js";
@@ -7,7 +7,7 @@ import {
7
7
  mergeReferences,
8
8
  resolveReferenceAssets,
9
9
  resolveToolsFromKeys
10
- } from "./chunk-X2Q5GT5J.js";
10
+ } from "./chunk-TCWK2EQX.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-P4V35AFD.js";
23
+ } from "./chunk-UA4VAUQL.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-WPOSH6PA.js";
35
+ } from "./chunk-O4H4HD4X.js";
36
36
  import {
37
37
  getTableState
38
- } from "./chunk-BQSW7453.js";
38
+ } from "./chunk-MYZHJKLG.js";
39
39
  import {
40
40
  PERSONALIZATION_DIALOG_CATEGORY,
41
41
  buildPersonalizationDialogPolicyContext,
42
42
  selectAllMsgs
43
- } from "./chunk-MIME4XKU.js";
43
+ } from "./chunk-ULE7ABRN.js";
44
44
  import {
45
45
  getCurrentSpaceIdRaw,
46
46
  getViewMode
@@ -69,18 +69,18 @@ import {
69
69
  } from "./chunk-WXOKJP3W.js";
70
70
  import {
71
71
  projectToolMessageContent
72
- } from "./chunk-JHXY4H3P.js";
72
+ } from "./chunk-2WZXXAQD.js";
73
73
  import {
74
74
  attachmentKind,
75
75
  normalizeAttachmentPart
76
76
  } from "./chunk-WJZOQR2J.js";
77
77
  import {
78
78
  extractReferenceKeysFromMessage
79
- } from "./chunk-O3FUFEUI.js";
79
+ } from "./chunk-7TBARDLF.js";
80
80
  import {
81
81
  getModelContextWindow,
82
82
  planContextUsage
83
- } from "./chunk-XHR22EKE.js";
83
+ } from "./chunk-BKCR2JHG.js";
84
84
  import {
85
85
  asRecordOrEmpty
86
86
  } from "./chunk-KX6YBIHG.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  shouldUseServerProxy
3
- } from "./chunk-O3FUFEUI.js";
3
+ } from "./chunk-BKCR2JHG.js";
4
4
  import {
5
5
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
6
6
  isAntigravityCloudCodeBaseUrl,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-X2Q5GT5J.js";
4
+ } from "./chunk-TCWK2EQX.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-MIME4XKU.js";
7
+ } from "./chunk-ULE7ABRN.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-OWYYDMGJ.js";
@@ -12,7 +12,7 @@ import {
12
12
  extractReasoningFromResponseOutput,
13
13
  extractTextFromResponseOutput,
14
14
  extractToolCallsFromResponseOutput
15
- } from "./chunk-7L2HZQNN.js";
15
+ } from "./chunk-FZSVCJUU.js";
16
16
  import {
17
17
  isRecord
18
18
  } from "./chunk-KUG52IAP.js";