nolo-cli 0.171.0-alpha.1 → 0.171.0

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 (102) hide show
  1. package/{_executeModel-YJW2HPFY.js → _executeModel-7J6IIHWQ.js} +29 -29
  2. package/{agentDeleteCommand-O3EG3HS4.js → agentDeleteCommand-F66NIWCF.js} +37 -37
  3. package/{agentEmailCommands-AIWZNMRW.js → agentEmailCommands-M4SHODDA.js} +41 -41
  4. package/{agentListCommands-377PQ6K4.js → agentListCommands-4BBFWXHX.js} +25 -25
  5. package/{agentMachineCommands-TYL7KKSL.js → agentMachineCommands-R55P5SZY.js} +21 -21
  6. package/{agentProviderCommands-TWVILNAN.js → agentProviderCommands-4USYTCL3.js} +2 -2
  7. package/{agentRecordCommands-YPRND72K.js → agentRecordCommands-PDWACZFR.js} +37 -37
  8. package/{agentRunCommand-T7AQKKH5.js → agentRunCommand-U2F74LTS.js} +38 -38
  9. package/{agentRunControl-SBHIICUQ.js → agentRunControl-EI3BGJFM.js} +5 -5
  10. package/{agentRuntimeLocal-7ZE2ZQAL.js → agentRuntimeLocal-7EZYBR6X.js} +19 -19
  11. package/{agentSlice-BHH2DZKN.js → agentSlice-UN7ZHCAM.js} +3 -3
  12. package/{appDeleteCommands-LHOX4HM3.js → appDeleteCommands-WS3UFMCB.js} +22 -22
  13. package/{appDeployCommands-A6CQQTI3.js → appDeployCommands-W5B7I73P.js} +22 -22
  14. package/{appDeployStatusCommands-7TTNQODL.js → appDeployStatusCommands-UEHNV2GU.js} +22 -22
  15. package/{appGetCommands-22F4E37N.js → appGetCommands-XJOBVREN.js} +22 -22
  16. package/{appListCommands-WCDOJUVV.js → appListCommands-BISQV6BQ.js} +22 -22
  17. package/{authCommand-BSOLJFPV.js → authCommand-H35CPF25.js} +12 -12
  18. package/{builtinSkillRegistry-V76JTNCJ.js → builtinSkillRegistry-LJV7FHNI.js} +2 -2
  19. package/{chunk-22FIHMYU.js → chunk-2AZSL4GL.js} +3 -3
  20. package/{chunk-6OYC7NDH.js → chunk-2DXGW4UO.js} +37 -160
  21. package/{chunk-UPC23AAN.js → chunk-3ELX6JK5.js} +10 -10
  22. package/{chunk-7CDMXZJA.js → chunk-3USFOET4.js} +3 -3
  23. package/{chunk-EPMWJ7X7.js → chunk-45IOFLGH.js} +11 -11
  24. package/{chunk-UIVOLTFM.js → chunk-46OQD3AP.js} +4 -4
  25. package/{chunk-GC64WGMD.js → chunk-6EQD4AQL.js} +1 -1
  26. package/{chunk-TWJYVVUB.js → chunk-6MXCQLLB.js} +74 -321
  27. package/{chunk-72T5DXRH.js → chunk-7NKZA46B.js} +4 -4
  28. package/{chunk-K2NTGYVK.js → chunk-7VWWGKEQ.js} +3 -3
  29. package/{chunk-XHR22EKE.js → chunk-ASSNAASW.js} +5 -5
  30. package/{chunk-JHXY4H3P.js → chunk-BSKTDOGA.js} +56 -56
  31. package/{chunk-X2Q5GT5J.js → chunk-CEQFVBI2.js} +3 -3
  32. package/{chunk-AUGBRK3P.js → chunk-CEXJ6Y3C.js} +1 -2
  33. package/{chunk-MIME4XKU.js → chunk-CMRP4XHV.js} +12 -12
  34. package/{chunk-Q7UPF643.js → chunk-DHNQA4VI.js} +1 -1
  35. package/{chunk-7L2HZQNN.js → chunk-DI7ZFGDQ.js} +2 -2
  36. package/{chunk-OQ3DOBYB.js → chunk-EWO77ZGF.js} +3 -3
  37. package/{chunk-AGAB26VE.js → chunk-FQU23S3P.js} +11 -11
  38. package/{chunk-HLAL63BZ.js → chunk-FYYSDHVQ.js} +1 -1
  39. package/{chunk-AJ52EA72.js → chunk-G3VYRPTV.js} +4 -4
  40. package/{chunk-O3FUFEUI.js → chunk-HEC32F3G.js} +1 -1
  41. package/{chunk-WPOSH6PA.js → chunk-HZMWJUSD.js} +2 -2
  42. package/{chunk-KNDA4K34.js → chunk-I7S63QUU.js} +1 -1
  43. package/{chunk-CAAH5LNN.js → chunk-IMMA7QFE.js} +2 -2
  44. package/{chunk-EWLPIR2S.js → chunk-IOFLVIKF.js} +1 -1
  45. package/{chunk-APB44JID.js → chunk-JPPQ3GUO.js} +3 -3
  46. package/{chunk-OPNHKULV.js → chunk-KJETBEEN.js} +1 -1
  47. package/{chunk-XWX5ZGWR.js → chunk-KMDDG73K.js} +1 -1
  48. package/{chunk-SUBKVXFM.js → chunk-LEZLJTQ4.js} +1 -1
  49. package/{chunk-W6E5IXIP.js → chunk-MFVOJ6KF.js} +3 -3
  50. package/{chunk-CEYUVQYU.js → chunk-O2AY3CVI.js} +16 -16
  51. package/{chunk-I2QHI2XM.js → chunk-PIG2IUVZ.js} +2 -2
  52. package/{chunk-ZJ66I757.js → chunk-QW6SSF7V.js} +15 -15
  53. package/{chunk-6OC2YMGH.js → chunk-SAZSXMTR.js} +4 -4
  54. package/{chunk-3LNVSFTH.js → chunk-SH3XD4E2.js} +1 -2
  55. package/{chunk-TSCI6X6C.js → chunk-SQX235S2.js} +1 -1
  56. package/{chunk-RATR6VCP.js → chunk-TOUKACDK.js} +1 -1
  57. package/{chunk-BQSW7453.js → chunk-URO44BCD.js} +1 -1
  58. package/{chunk-CI5DVWU7.js → chunk-URW5UM6Y.js} +1 -1
  59. package/{chunk-TVGX5QIN.js → chunk-V7PCFWX3.js} +2 -2
  60. package/{chunk-BJWOOJX5.js → chunk-WC7UXON2.js} +36 -89
  61. package/{chunk-P4V35AFD.js → chunk-WLPUUBFR.js} +3 -3
  62. package/{chunk-DWQD3JTX.js → chunk-WVREKHHJ.js} +3 -3
  63. package/{chunk-SC5TDLTP.js → chunk-XITIONPS.js} +6 -6
  64. package/{chunk-7MBN2JZ5.js → chunk-XLBQQ5SB.js} +4 -4
  65. package/{chunk-TYQZRSL6.js → chunk-XLQFVHNX.js} +1 -1
  66. package/{chunk-WXOKJP3W.js → chunk-YCRROBDY.js} +1 -2
  67. package/{chunk-C2OYZYJ7.js → chunk-Z6HR75HX.js} +3 -3
  68. package/{chunk-TDNAAXUQ.js → chunk-ZPKUJROL.js} +2 -2
  69. package/{commandRegistry-EAPXP4BC.js → commandRegistry-HI2DPDAH.js} +61 -61
  70. package/{contentThunks-SJAKJV4V.js → contentThunks-OO3MJAED.js} +11 -11
  71. package/{createAgentAutomationAction-IBSAZBSP.js → createAgentAutomationAction-F3O6FJ5W.js} +11 -11
  72. package/{createDialogAction-MQDTLASD.js → createDialogAction-UBQKDUK5.js} +13 -13
  73. package/{createPageAction-EOPBBQMH.js → createPageAction-RDEDO4GF.js} +11 -11
  74. package/{dialogCommands-SV4M5HAV.js → dialogCommands-P5HSDZ7T.js} +23 -23
  75. package/{dialogSlice-6CC3YDDL.js → dialogSlice-WZCWWYR3.js} +10 -10
  76. package/{docCreateCommands-UC2CPMH7.js → docCreateCommands-B2M3MGX7.js} +21 -21
  77. package/{docDeleteCommands-SRPTGMZ2.js → docDeleteCommands-NHCUX4XL.js} +22 -22
  78. package/{docReadCommands-U3TDUPOY.js → docReadCommands-FOLST4JD.js} +21 -21
  79. package/{docStore-RSBDE3UH.js → docStore-PTSCGC6T.js} +1 -1
  80. package/{docUpdateCommands-G5J5UKGP.js → docUpdateCommands-YZT2PQP2.js} +21 -21
  81. package/{getPricing-2UPNNW3Y.js → getPricing-XQ3N3RBP.js} +3 -3
  82. package/{handleSendMessageAction-EM43KNSP.js → handleSendMessageAction-3YMQS6XO.js} +23 -23
  83. package/index.js +47 -22
  84. package/{localRuntimeAdapter-N5WDXYSY.js → localRuntimeAdapter-ZIAOTUBE.js} +35 -35
  85. package/{machineCommands-L34XTTLG.js → machineCommands-3LSEP24P.js} +36 -36
  86. package/{machineWsRunDispatch-IKI7FGKI.js → machineWsRunDispatch-7A3TSH4Q.js} +36 -36
  87. package/{models-UUNO6DOL.js → models-PZQC7VV4.js} +2 -2
  88. package/package.json +1 -1
  89. package/{providerPresetApply-5K4PBX4J.js → providerPresetApply-PKUOHQJT.js} +6 -6
  90. package/{providerRegistry-K5MSZ3Y5.js → providerRegistry-HNQLIFN2.js} +6 -6
  91. package/{readlineWorkspace-ZANIHEDR.js → readlineWorkspace-67ZVVHVC.js} +43 -43
  92. package/{runAgentClientLoop-HPF2WFFQ.js → runAgentClientLoop-F6EQK26A.js} +27 -27
  93. package/{runtimeDoctorCommands-DXJH5HIB.js → runtimeDoctorCommands-LYMJEM4F.js} +6 -6
  94. package/{secretCommands-7S6REMJV.js → secretCommands-DNY56NSU.js} +2 -2
  95. package/{spaceCommands-6KPBWGGE.js → spaceCommands-XESXH5CW.js} +21 -21
  96. package/{streamAgentChatTurn-3SNWCCK2.js → streamAgentChatTurn-KXELVHFR.js} +33 -33
  97. package/{tools-7SMCO2GW.js → tools-FMNDEVTZ.js} +21 -21
  98. package/{tuiSummaryLlmCaller-H6WX54WY.js → tuiSummaryLlmCaller-FQOEF4IE.js} +8 -8
  99. package/{updateCommands-C56QMWHF.js → updateCommands-BXGFH4VX.js} +1 -1
  100. package/{updateDialogTitleAction-XIMLNROU.js → updateDialogTitleAction-65R3Y22L.js} +11 -11
  101. package/{chunk-5KTQVMCX.js → chunk-CGFNDIKK.js} +0 -0
  102. package/{chunk-76YUTLOT.js → chunk-UHTDNB5Y.js} +3 -3
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  resolveAgentCallPlan
3
- } from "./chunk-6OC2YMGH.js";
3
+ } from "./chunk-SAZSXMTR.js";
4
4
  import {
5
5
  SUBSCRIPTION_OAUTH_PROVIDERS
6
- } from "./chunk-OQ3DOBYB.js";
6
+ } from "./chunk-EWO77ZGF.js";
7
7
  import {
8
8
  findModelConfig,
9
9
  getProviderByModelName
10
- } from "./chunk-GC64WGMD.js";
10
+ } from "./chunk-6EQD4AQL.js";
11
11
  import {
12
12
  asOptionalTrimmedString
13
13
  } from "./chunk-G3SUCT4W.js";
@@ -15,6 +15,57 @@ import {
15
15
  asTrimmedLowercaseString
16
16
  } from "./chunk-QSJ3HFEF.js";
17
17
 
18
+ // packages/ai/agent/toolOutputPolicy.ts
19
+ var MAX_IN_TURN_TOOL_CONTENT_CHARS = 4e3;
20
+ var DEFAULT_TOOL_OUTPUT_PROFILE = {
21
+ maxChars: MAX_IN_TURN_TOOL_CONTENT_CHARS,
22
+ headRatio: 0.5
23
+ };
24
+ var TOOL_OUTPUT_PROFILES = {
25
+ readFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
26
+ read_file: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
27
+ readWorkspaceFile: { maxChars: 4800, headRatio: 0.68, historicalMaxChars: 4800 },
28
+ globFiles: { maxChars: 2800, headRatio: 0.85 },
29
+ execShell: { maxChars: 4e3, headRatio: 0.35 },
30
+ runCommand: { maxChars: 4e3, headRatio: 0.35 },
31
+ launchProcess: { maxChars: 2800, headRatio: 0.35 },
32
+ editFile: { maxChars: 1200, headRatio: 0.62 },
33
+ writeFile: { maxChars: 1e3, headRatio: 0.62 },
34
+ readPastedText: { maxChars: 4800, headRatio: 0.5, historicalMaxChars: 4800 },
35
+ // loadSkill 内联的是文档正文(SKILL.md 全文),与 readFile 同类,不该因为工具名未登记就退回
36
+ // DEFAULT 的 4000。历史事故(nolo-plan omitted middle)正是 headRatio 0.5 掐掉中段,把
37
+ // 「MUST / 禁止」所在的中段静默省略。取 4800(与 readFile 同级),不激进放大;headRatio 同 DEFAULT。
38
+ loadSkill: { maxChars: 4800, headRatio: 0.5 }
39
+ };
40
+ function resolveToolOutputProfile(toolName) {
41
+ return (toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0) ?? DEFAULT_TOOL_OUTPUT_PROFILE;
42
+ }
43
+ function resolveHistoricalToolContentCap(toolName, historicalMaxChars) {
44
+ const profile = toolName ? TOOL_OUTPUT_PROFILES[toolName] : void 0;
45
+ return profile?.historicalMaxChars !== void 0 ? Math.max(historicalMaxChars, profile.historicalMaxChars) : historicalMaxChars;
46
+ }
47
+ function projectToolMessageContent(input) {
48
+ const { content, toolName } = input;
49
+ const maxChars = resolveToolOutputProfile(toolName).maxChars;
50
+ if (content.length <= maxChars) return content;
51
+ return clipToolText(
52
+ content,
53
+ maxChars,
54
+ resolveToolOutputProfile(toolName).headRatio,
55
+ `
56
+ \u2026[\u622A\u65AD\uFF0C\u539F\u59CB\u957F\u5EA6 ${content.length} \u5B57\u7B26]`
57
+ );
58
+ }
59
+ function clipToolText(content, maxChars, headRatio, marker = "\n\n[... tool output middle omitted; head/tail preserved ...]\n\n") {
60
+ const normalized = content.replace(/\r\n/g, "\n").trim();
61
+ if (normalized.length <= maxChars) return normalized;
62
+ if (maxChars <= marker.length + 2) return normalized.slice(0, maxChars);
63
+ const available = maxChars - marker.length;
64
+ const headChars = Math.max(1, Math.floor(available * headRatio));
65
+ const tailChars = Math.max(1, available - headChars);
66
+ return `${normalized.slice(0, headChars)}${marker}${normalized.slice(-tailChars)}`;
67
+ }
68
+
18
69
  // packages/ai/llm/agentCapabilities.ts
19
70
  var ANTIGRAVITY_EFFORT_SUFFIXES = [
20
71
  "-tiered",
@@ -94,61 +145,10 @@ var resolveAgentImageInputSupport = (agent) => {
94
145
  return true;
95
146
  };
96
147
 
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
148
  export {
149
- resolveAgentImageInputSupport,
150
149
  resolveToolOutputProfile,
151
150
  resolveHistoricalToolContentCap,
152
151
  projectToolMessageContent,
153
- clipToolText
152
+ clipToolText,
153
+ resolveAgentImageInputSupport
154
154
  };
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-P4V35AFD.js";
5
+ } from "./chunk-WLPUUBFR.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-CMRP4XHV.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
@@ -35,7 +35,7 @@ import {
35
35
  extractRuntimePageCapabilities,
36
36
  resolveBuiltinSkillPage,
37
37
  resolveSkillGraphFromRoots
38
- } from "./chunk-3LNVSFTH.js";
38
+ } from "./chunk-SH3XD4E2.js";
39
39
  import {
40
40
  isAbortError
41
41
  } from "./chunk-7DPNBQSV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveAgentImageInputSupport
3
- } from "./chunk-JHXY4H3P.js";
3
+ } from "./chunk-BSKTDOGA.js";
4
4
  import {
5
5
  asOptionalFiniteNumber
6
6
  } from "./chunk-WWC7I6TA.js";
@@ -427,7 +427,6 @@ function assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets(body) {
427
427
  export {
428
428
  extractImageUrlsFromMessages,
429
429
  hasImageInRuntimeMessages,
430
- IMAGE_OMITTED_PLACEHOLDER,
431
430
  stripImagePartsFromMessages,
432
431
  stripImagePartsForTextOnlyAgent,
433
432
  resolveAgentRuntimeConfigFromRecord,
@@ -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-XLBQQ5SB.js";
15
15
  import {
16
16
  getApproxPricePerImage
17
17
  } from "./chunk-4JH2UMJR.js";
@@ -104,7 +104,7 @@ import {
104
104
  isOAuthApiKeyRef,
105
105
  normalizeUsage,
106
106
  resolveAutoExecutionProfile
107
- } from "./chunk-O3FUFEUI.js";
107
+ } from "./chunk-HEC32F3G.js";
108
108
  import {
109
109
  isDevinOAuthAgent
110
110
  } from "./chunk-5ZUL4CUO.js";
@@ -121,7 +121,7 @@ import {
121
121
  getModelInfo,
122
122
  planCompression,
123
123
  serializeMessageContent
124
- } from "./chunk-XHR22EKE.js";
124
+ } from "./chunk-ASSNAASW.js";
125
125
  import {
126
126
  asRecordOrEmpty
127
127
  } from "./chunk-KX6YBIHG.js";
@@ -160,7 +160,7 @@ import {
160
160
  import {
161
161
  findModelConfig,
162
162
  getModelConfig
163
- } from "./chunk-GC64WGMD.js";
163
+ } from "./chunk-6EQD4AQL.js";
164
164
  import {
165
165
  isRecord
166
166
  } from "./chunk-KUG52IAP.js";
@@ -193,7 +193,7 @@ import {
193
193
  isPlatformManagedProvider,
194
194
  resolvePlatformEffectiveModel,
195
195
  resolvePlatformHostedRouting
196
- } from "./chunk-5KTQVMCX.js";
196
+ } from "./chunk-CGFNDIKK.js";
197
197
  import {
198
198
  asTrimmedLowercaseString
199
199
  } from "./chunk-QSJ3HFEF.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-UN7ZHCAM.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-WZCWWYR3.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-UBQKDUK5.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-F3O6FJ5W.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-65R3Y22L.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-3YMQS6XO.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-PTSCGC6T.js");
13936
13936
  const pageKey = await createDocState(
13937
13937
  { slateData, title },
13938
13938
  { dispatch, getState }
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-NBTY7YJF.js";
6
6
  import {
7
7
  resolveCliLocalRuntimeKeyCapability
8
- } from "./chunk-ZJ66I757.js";
8
+ } from "./chunk-QW6SSF7V.js";
9
9
  import {
10
10
  HIGH_RISK_MUTATION_TOOL_NAMES
11
11
  } from "./chunk-6J227QXV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelContextWindow
3
- } from "./chunk-XHR22EKE.js";
3
+ } from "./chunk-ASSNAASW.js";
4
4
  import {
5
5
  isRecord
6
6
  } from "./chunk-KUG52IAP.js";
@@ -11,7 +11,7 @@ import {
11
11
  PLATFORM_HOSTED_KIMI_K3_MODEL,
12
12
  isFireworksKimiModel,
13
13
  isNoloHostedProvider
14
- } from "./chunk-5KTQVMCX.js";
14
+ } from "./chunk-CGFNDIKK.js";
15
15
  import {
16
16
  asTrimmedLowercaseString
17
17
  } from "./chunk-QSJ3HFEF.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ANTIGRAVITY_CLOUD_CODE_BASE_URL
3
- } from "./chunk-TSCI6X6C.js";
3
+ } from "./chunk-SQX235S2.js";
4
4
  import {
5
5
  commandCodeModels,
6
6
  kimiCodeModels,
@@ -11,13 +11,13 @@ import {
11
11
  qwenTokenPlanModels,
12
12
  stepfunModels,
13
13
  stepfunStepPlanModels
14
- } from "./chunk-GC64WGMD.js";
14
+ } from "./chunk-6EQD4AQL.js";
15
15
  import {
16
16
  PLATFORM_HOSTED_DEEPSEEK_FLASH_OFF_PEAK_PRICE,
17
17
  PLATFORM_HOSTED_DEEPSEEK_FLASH_PEAK_PRICE,
18
18
  PLATFORM_HOSTED_DEEPSEEK_PRO_OFF_PEAK_PRICE,
19
19
  PLATFORM_HOSTED_DEEPSEEK_PRO_PEAK_PRICE
20
- } from "./chunk-5KTQVMCX.js";
20
+ } from "./chunk-CGFNDIKK.js";
21
21
  import {
22
22
  asTrimmedLowercaseString
23
23
  } from "./chunk-QSJ3HFEF.js";
@@ -5,7 +5,7 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-22FIHMYU.js";
8
+ } from "./chunk-2AZSL4GL.js";
9
9
  import {
10
10
  CONFIRMATION_INPUT_KEYS,
11
11
  INVALID_TOOL_ARGS_REPLACEMENT,
@@ -14,16 +14,16 @@ import {
14
14
  performFetchRequest,
15
15
  sanitizeOutboundMessages,
16
16
  stripModelToolArgs
17
- } from "./chunk-UPC23AAN.js";
17
+ } from "./chunk-3ELX6JK5.js";
18
18
  import {
19
19
  findToolExecutor,
20
20
  toolDefinitionsByName
21
- } from "./chunk-ZJ66I757.js";
21
+ } from "./chunk-QW6SSF7V.js";
22
22
  import {
23
23
  classifyApiError,
24
24
  classifyGenerationError,
25
25
  extractErrorDiagnostics
26
- } from "./chunk-X2Q5GT5J.js";
26
+ } from "./chunk-CEQFVBI2.js";
27
27
  import {
28
28
  createSSEParser,
29
29
  createToolRunId,
@@ -32,7 +32,7 @@ import {
32
32
  toolRunSetPending,
33
33
  toolRunStarted,
34
34
  toolRunSucceeded
35
- } from "./chunk-P4V35AFD.js";
35
+ } from "./chunk-WLPUUBFR.js";
36
36
  import {
37
37
  getPublicImageAgentMode
38
38
  } from "./chunk-VIDPVFP3.js";
@@ -42,10 +42,10 @@ import {
42
42
  messageStreaming,
43
43
  toolResultNeedsUserConfirmation,
44
44
  updateToolMessage
45
- } from "./chunk-MIME4XKU.js";
45
+ } from "./chunk-CMRP4XHV.js";
46
46
  import {
47
47
  streamAgentChatTurn
48
- } from "./chunk-7MBN2JZ5.js";
48
+ } from "./chunk-XLBQQ5SB.js";
49
49
  import {
50
50
  getCurrentSpaceId
51
51
  } from "./chunk-ZJ7UHBJS.js";
@@ -85,13 +85,13 @@ import {
85
85
  } from "./chunk-56GBUMO5.js";
86
86
  import {
87
87
  normalizeChatCompletionsBodyForProvider
88
- } from "./chunk-7L2HZQNN.js";
88
+ } from "./chunk-DI7ZFGDQ.js";
89
89
  import {
90
90
  EMPTY_ASSISTANT_REPAIR_PROMPT
91
- } from "./chunk-O3FUFEUI.js";
91
+ } from "./chunk-HEC32F3G.js";
92
92
  import {
93
93
  getModelInfo
94
- } from "./chunk-XHR22EKE.js";
94
+ } from "./chunk-ASSNAASW.js";
95
95
  import {
96
96
  isAbortError
97
97
  } from "./chunk-7DPNBQSV.js";
@@ -105,7 +105,7 @@ import {
105
105
  } from "./chunk-5EMSBTQ6.js";
106
106
  import {
107
107
  getApiEndpoint
108
- } from "./chunk-GC64WGMD.js";
108
+ } from "./chunk-6EQD4AQL.js";
109
109
  import {
110
110
  isRecord
111
111
  } from "./chunk-KUG52IAP.js";
@@ -4,7 +4,7 @@ import {
4
4
  openrouterModels,
5
5
  platformHostedModels,
6
6
  zaiModels
7
- } from "./chunk-5KTQVMCX.js";
7
+ } from "./chunk-CGFNDIKK.js";
8
8
 
9
9
  // packages/ai/llm/modelAbility.ts
10
10
  var MODEL_ABILITY_TABLE = {
@@ -1,6 +1,3 @@
1
- import {
2
- writeOAuthCredential
3
- } from "./chunk-ZWQUWF6W.js";
4
1
  import {
5
2
  buildEnvFromProfile,
6
3
  loadProfileConfig
@@ -18,7 +15,7 @@ import {
18
15
  getAntigravityUserAgent,
19
16
  normalizeAntigravityTokenPayload,
20
17
  refreshAntigravityToken
21
- } from "./chunk-TSCI6X6C.js";
18
+ } from "./chunk-SQX235S2.js";
22
19
  import {
23
20
  asOptionalFiniteNumber
24
21
  } from "./chunk-WWC7I6TA.js";
@@ -31,6 +28,9 @@ import {
31
28
  import {
32
29
  toErrorMessage
33
30
  } from "./chunk-HNMXYYJR.js";
31
+ import {
32
+ writeOAuthCredential
33
+ } from "./chunk-ZWQUWF6W.js";
34
34
 
35
35
  // packages/cli/oauth/callback-server.ts
36
36
  import { createServer } from "node:http";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getModelContextWindow,
6
6
  normalizeTimingMs
7
- } from "./chunk-XHR22EKE.js";
7
+ } from "./chunk-ASSNAASW.js";
8
8
  import {
9
9
  BUILTIN_NOLO_AGENT_KEY
10
10
  } from "./chunk-LOEO7LRC.js";
@@ -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-OO3MJAED.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-RDEDO4GF.js");
376
376
  return createPageAction(args, thunkApi);
377
377
  }
378
378
  function subscribe(listener) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-AJ52EA72.js";
4
+ } from "./chunk-G3VYRPTV.js";
5
5
  import {
6
6
  asOptionalFiniteNumber
7
7
  } from "./chunk-WWC7I6TA.js";
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-SUBKVXFM.js";
10
+ } from "./chunk-LEZLJTQ4.js";
11
11
  import {
12
12
  parsePositiveFiniteNumberOrFallback
13
13
  } from "./chunk-Y5GCAMGP.js";
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-I42VC5KR.js";
43
43
  import {
44
44
  resolveRunsDir
45
- } from "./chunk-CI5DVWU7.js";
45
+ } from "./chunk-URW5UM6Y.js";
46
46
  import {
47
47
  getDefaultCliLocalRuntimeDb
48
48
  } from "./chunk-GAGGEA7D.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readDbRecord,
3
3
  writeAgentRecord
4
- } from "./chunk-OPNHKULV.js";
4
+ } from "./chunk-KJETBEEN.js";
5
5
  import {
6
6
  buildSkillSummaryMarker
7
7
  } from "./chunk-VF4K2QE6.js";
@@ -1,9 +1,9 @@
1
+ import {
2
+ resolvePlatformAuthToken
3
+ } from "./chunk-PIG2IUVZ.js";
1
4
  import {
2
5
  getCredentialsDir
3
6
  } from "./chunk-ZWQUWF6W.js";
4
- import {
5
- resolvePlatformAuthToken
6
- } from "./chunk-I2QHI2XM.js";
7
7
 
8
8
  // packages/cli/client/authGuidance.ts
9
9
  import { readdirSync } from "node:fs";
@@ -556,7 +556,7 @@ async function buildCreatedAgentRecord(args) {
556
556
  const resolvedAgentInput = resolveCliAgentKeyInput(args.parsed.agentInput);
557
557
  const agentKey = resolvedAgentInput.startsWith("agent-") ? resolvedAgentInput : createAgentKey.private(userId || "local", resolvedAgentInput);
558
558
  if (args.parsed.presetId) {
559
- const { resolveProviderPresetFields } = await import("./providerPresetApply-5K4PBX4J.js");
559
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-PKUOHQJT.js");
560
560
  const fields = resolveProviderPresetFields(args.parsed.presetId);
561
561
  if (fields.kind === "manual") {
562
562
  throw new Error(
@@ -5,7 +5,7 @@ import {
5
5
  getAntigravityUserAgent,
6
6
  readAntigravityProjectId,
7
7
  resolveAntigravityCloudCodeBaseUrl
8
- } from "./chunk-TSCI6X6C.js";
8
+ } from "./chunk-SQX235S2.js";
9
9
  import {
10
10
  asOptionalTrimmedString
11
11
  } from "./chunk-G3SUCT4W.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-OPNHKULV.js";
5
+ } from "./chunk-KJETBEEN.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-OXME3PEE.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelPricing
3
- } from "./chunk-TDNAAXUQ.js";
3
+ } from "./chunk-ZPKUJROL.js";
4
4
  import {
5
5
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
6
6
  PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
@@ -23,14 +23,14 @@ import {
23
23
  } from "./chunk-M2EJHDJP.js";
24
24
  import {
25
25
  getModelConfig
26
- } from "./chunk-GC64WGMD.js";
26
+ } from "./chunk-6EQD4AQL.js";
27
27
  import {
28
28
  isRecord
29
29
  } from "./chunk-KUG52IAP.js";
30
30
  import {
31
31
  isNoloHostedProvider,
32
32
  isPlatformHostedImageModel
33
- } from "./chunk-5KTQVMCX.js";
33
+ } from "./chunk-CGFNDIKK.js";
34
34
 
35
35
  // packages/core/publicAgentSeeds.ts
36
36
  var AGENT_SEED_DEFAULTS = {