nolo-cli 0.170.1 → 0.171.0-alpha.1

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 (100) hide show
  1. package/{_executeModel-7J6IIHWQ.js → _executeModel-YJW2HPFY.js} +29 -29
  2. package/{agentDeleteCommand-F66NIWCF.js → agentDeleteCommand-O3EG3HS4.js} +37 -37
  3. package/{agentEmailCommands-M4SHODDA.js → agentEmailCommands-AIWZNMRW.js} +41 -41
  4. package/{agentListCommands-4BBFWXHX.js → agentListCommands-377PQ6K4.js} +25 -25
  5. package/{agentMachineCommands-R55P5SZY.js → agentMachineCommands-TYL7KKSL.js} +21 -21
  6. package/{agentProviderCommands-4USYTCL3.js → agentProviderCommands-TWVILNAN.js} +2 -2
  7. package/{agentRecordCommands-PDWACZFR.js → agentRecordCommands-YPRND72K.js} +37 -37
  8. package/{agentRunCommand-U2F74LTS.js → agentRunCommand-T7AQKKH5.js} +38 -38
  9. package/{agentRunControl-EI3BGJFM.js → agentRunControl-SBHIICUQ.js} +5 -5
  10. package/{agentRuntimeLocal-7EZYBR6X.js → agentRuntimeLocal-7ZE2ZQAL.js} +19 -19
  11. package/{agentSlice-UN7ZHCAM.js → agentSlice-BHH2DZKN.js} +3 -3
  12. package/{appDeleteCommands-WS3UFMCB.js → appDeleteCommands-LHOX4HM3.js} +22 -22
  13. package/{appDeployCommands-W5B7I73P.js → appDeployCommands-A6CQQTI3.js} +22 -22
  14. package/{appDeployStatusCommands-UEHNV2GU.js → appDeployStatusCommands-7TTNQODL.js} +22 -22
  15. package/{appGetCommands-XJOBVREN.js → appGetCommands-22F4E37N.js} +22 -22
  16. package/{appListCommands-BISQV6BQ.js → appListCommands-WCDOJUVV.js} +22 -22
  17. package/{authCommand-H35CPF25.js → authCommand-BSOLJFPV.js} +12 -12
  18. package/{builtinSkillRegistry-LJV7FHNI.js → builtinSkillRegistry-V76JTNCJ.js} +2 -2
  19. package/{chunk-2AZSL4GL.js → chunk-22FIHMYU.js} +3 -3
  20. package/{chunk-SH3XD4E2.js → chunk-3LNVSFTH.js} +2 -1
  21. package/{chunk-SAZSXMTR.js → chunk-6OC2YMGH.js} +4 -4
  22. package/{chunk-2DXGW4UO.js → chunk-6OYC7NDH.js} +160 -37
  23. package/{chunk-7NKZA46B.js → chunk-72T5DXRH.js} +4 -4
  24. package/{chunk-3USFOET4.js → chunk-7CDMXZJA.js} +3 -3
  25. package/{chunk-DI7ZFGDQ.js → chunk-7L2HZQNN.js} +2 -2
  26. package/{chunk-XLBQQ5SB.js → chunk-7MBN2JZ5.js} +4 -4
  27. package/{chunk-FQU23S3P.js → chunk-AGAB26VE.js} +11 -11
  28. package/{chunk-G3VYRPTV.js → chunk-AJ52EA72.js} +4 -4
  29. package/{chunk-JPPQ3GUO.js → chunk-APB44JID.js} +3 -3
  30. package/{chunk-CEXJ6Y3C.js → chunk-AUGBRK3P.js} +2 -1
  31. package/{chunk-WC7UXON2.js → chunk-BJWOOJX5.js} +89 -36
  32. package/{chunk-URO44BCD.js → chunk-BQSW7453.js} +1 -1
  33. package/{chunk-Z6HR75HX.js → chunk-C2OYZYJ7.js} +3 -3
  34. package/{chunk-IMMA7QFE.js → chunk-CAAH5LNN.js} +2 -2
  35. package/{chunk-O2AY3CVI.js → chunk-CEYUVQYU.js} +16 -16
  36. package/{chunk-URW5UM6Y.js → chunk-CI5DVWU7.js} +1 -1
  37. package/{chunk-WVREKHHJ.js → chunk-DWQD3JTX.js} +3 -3
  38. package/{chunk-45IOFLGH.js → chunk-EPMWJ7X7.js} +11 -11
  39. package/{chunk-IOFLVIKF.js → chunk-EWLPIR2S.js} +1 -1
  40. package/{chunk-6EQD4AQL.js → chunk-GC64WGMD.js} +1 -1
  41. package/{chunk-FYYSDHVQ.js → chunk-HLAL63BZ.js} +1 -1
  42. package/{chunk-PIG2IUVZ.js → chunk-I2QHI2XM.js} +2 -2
  43. package/{chunk-BSKTDOGA.js → chunk-JHXY4H3P.js} +56 -56
  44. package/{chunk-7VWWGKEQ.js → chunk-K2NTGYVK.js} +3 -3
  45. package/{chunk-I7S63QUU.js → chunk-KNDA4K34.js} +1 -1
  46. package/{chunk-CMRP4XHV.js → chunk-MIME4XKU.js} +12 -12
  47. package/{chunk-HEC32F3G.js → chunk-O3FUFEUI.js} +1 -1
  48. package/{chunk-KJETBEEN.js → chunk-OPNHKULV.js} +1 -1
  49. package/{chunk-EWO77ZGF.js → chunk-OQ3DOBYB.js} +3 -3
  50. package/{chunk-WLPUUBFR.js → chunk-P4V35AFD.js} +3 -3
  51. package/{chunk-DHNQA4VI.js → chunk-Q7UPF643.js} +1 -1
  52. package/{chunk-TOUKACDK.js → chunk-RATR6VCP.js} +1 -1
  53. package/{chunk-XITIONPS.js → chunk-SC5TDLTP.js} +6 -6
  54. package/{chunk-LEZLJTQ4.js → chunk-SUBKVXFM.js} +1 -1
  55. package/{chunk-ZPKUJROL.js → chunk-TDNAAXUQ.js} +2 -2
  56. package/{chunk-SQX235S2.js → chunk-TSCI6X6C.js} +1 -1
  57. package/{chunk-V7PCFWX3.js → chunk-TVGX5QIN.js} +2 -2
  58. package/{chunk-XLQFVHNX.js → chunk-TYQZRSL6.js} +1 -1
  59. package/{chunk-46OQD3AP.js → chunk-UIVOLTFM.js} +4 -4
  60. package/{chunk-3ELX6JK5.js → chunk-UPC23AAN.js} +10 -10
  61. package/{chunk-MFVOJ6KF.js → chunk-W6E5IXIP.js} +3 -3
  62. package/{chunk-HZMWJUSD.js → chunk-WPOSH6PA.js} +2 -2
  63. package/{chunk-YCRROBDY.js → chunk-WXOKJP3W.js} +2 -1
  64. package/{chunk-CEQFVBI2.js → chunk-X2Q5GT5J.js} +3 -3
  65. package/{chunk-ASSNAASW.js → chunk-XHR22EKE.js} +5 -5
  66. package/{chunk-KMDDG73K.js → chunk-XWX5ZGWR.js} +1 -1
  67. package/{chunk-QW6SSF7V.js → chunk-ZJ66I757.js} +15 -15
  68. package/{commandRegistry-3XBG7JHS.js → commandRegistry-EAPXP4BC.js} +56 -56
  69. package/{contentThunks-OO3MJAED.js → contentThunks-SJAKJV4V.js} +11 -11
  70. package/{createAgentAutomationAction-F3O6FJ5W.js → createAgentAutomationAction-IBSAZBSP.js} +11 -11
  71. package/{createDialogAction-UBQKDUK5.js → createDialogAction-MQDTLASD.js} +13 -13
  72. package/{createPageAction-RDEDO4GF.js → createPageAction-EOPBBQMH.js} +11 -11
  73. package/{dialogCommands-P5HSDZ7T.js → dialogCommands-SV4M5HAV.js} +23 -23
  74. package/{dialogSlice-WZCWWYR3.js → dialogSlice-6CC3YDDL.js} +10 -10
  75. package/{docCreateCommands-B2M3MGX7.js → docCreateCommands-UC2CPMH7.js} +21 -21
  76. package/{docDeleteCommands-NHCUX4XL.js → docDeleteCommands-SRPTGMZ2.js} +22 -22
  77. package/{docReadCommands-FOLST4JD.js → docReadCommands-U3TDUPOY.js} +21 -21
  78. package/{docStore-PTSCGC6T.js → docStore-RSBDE3UH.js} +1 -1
  79. package/{docUpdateCommands-YZT2PQP2.js → docUpdateCommands-G5J5UKGP.js} +21 -21
  80. package/{getPricing-XQ3N3RBP.js → getPricing-2UPNNW3Y.js} +3 -3
  81. package/{handleSendMessageAction-3YMQS6XO.js → handleSendMessageAction-EM43KNSP.js} +23 -23
  82. package/index.js +4 -4
  83. package/{localRuntimeAdapter-ZIAOTUBE.js → localRuntimeAdapter-N5WDXYSY.js} +35 -35
  84. package/{machineCommands-3LSEP24P.js → machineCommands-L34XTTLG.js} +36 -36
  85. package/{machineWsRunDispatch-7A3TSH4Q.js → machineWsRunDispatch-IKI7FGKI.js} +36 -36
  86. package/{models-PZQC7VV4.js → models-UUNO6DOL.js} +2 -2
  87. package/package.json +1 -1
  88. package/{providerPresetApply-PKUOHQJT.js → providerPresetApply-5K4PBX4J.js} +6 -6
  89. package/{providerRegistry-HNQLIFN2.js → providerRegistry-K5MSZ3Y5.js} +6 -6
  90. package/{readlineWorkspace-OFBP6OA7.js → readlineWorkspace-ZANIHEDR.js} +44 -44
  91. package/{runAgentClientLoop-F6EQK26A.js → runAgentClientLoop-HPF2WFFQ.js} +27 -27
  92. package/{runtimeDoctorCommands-LYMJEM4F.js → runtimeDoctorCommands-DXJH5HIB.js} +6 -6
  93. package/{secretCommands-DNY56NSU.js → secretCommands-7S6REMJV.js} +2 -2
  94. package/{spaceCommands-XESXH5CW.js → spaceCommands-6KPBWGGE.js} +21 -21
  95. package/{streamAgentChatTurn-KXELVHFR.js → streamAgentChatTurn-3SNWCCK2.js} +33 -33
  96. package/{tools-FMNDEVTZ.js → tools-7SMCO2GW.js} +21 -21
  97. package/{tuiSummaryLlmCaller-FQOEF4IE.js → tuiSummaryLlmCaller-H6WX54WY.js} +8 -8
  98. package/{updateDialogTitleAction-65R3Y22L.js → updateDialogTitleAction-XIMLNROU.js} +11 -11
  99. package/{chunk-CGFNDIKK.js → chunk-5KTQVMCX.js} +0 -0
  100. package/{chunk-UHTDNB5Y.js → chunk-76YUTLOT.js} +3 -3
@@ -9,7 +9,7 @@ import {
9
9
  platformHostedModels,
10
10
  toCnyCredits,
11
11
  zaiModels
12
- } from "./chunk-CGFNDIKK.js";
12
+ } from "./chunk-5KTQVMCX.js";
13
13
 
14
14
  // packages/integrations/qwen/models.ts
15
15
  var qwenModels = [
@@ -4,7 +4,7 @@ import {
4
4
  openrouterModels,
5
5
  platformHostedModels,
6
6
  zaiModels
7
- } from "./chunk-CGFNDIKK.js";
7
+ } from "./chunk-5KTQVMCX.js";
8
8
 
9
9
  // packages/ai/llm/modelAbility.ts
10
10
  var MODEL_ABILITY_TABLE = {
@@ -4,7 +4,7 @@ import {
4
4
  resolvePlatformHostedCredentialProvider,
5
5
  resolvePlatformProxyChatGatewayEndpoint,
6
6
  resolvePlatformResponsesEndpoint
7
- } from "./chunk-V7PCFWX3.js";
7
+ } from "./chunk-TVGX5QIN.js";
8
8
  import {
9
9
  CLI_PROVIDER_VALUES
10
10
  } from "./chunk-5BHQICF2.js";
@@ -21,7 +21,7 @@ import {
21
21
  CLIENT_VERSION_TOO_OLD_CODE,
22
22
  buildClientVersionGateErrorDetail,
23
23
  evaluatePlatformHostedClientVersionGate
24
- } from "./chunk-CGFNDIKK.js";
24
+ } from "./chunk-5KTQVMCX.js";
25
25
  import {
26
26
  asTrimmedLowercaseString
27
27
  } from "./chunk-QSJ3HFEF.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  resolveAgentCallPlan
3
- } from "./chunk-SAZSXMTR.js";
3
+ } from "./chunk-6OC2YMGH.js";
4
4
  import {
5
5
  SUBSCRIPTION_OAUTH_PROVIDERS
6
- } from "./chunk-EWO77ZGF.js";
6
+ } from "./chunk-OQ3DOBYB.js";
7
7
  import {
8
8
  findModelConfig,
9
9
  getProviderByModelName
10
- } from "./chunk-6EQD4AQL.js";
10
+ } from "./chunk-GC64WGMD.js";
11
11
  import {
12
12
  asOptionalTrimmedString
13
13
  } from "./chunk-G3SUCT4W.js";
@@ -15,57 +15,6 @@ 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
-
69
18
  // packages/ai/llm/agentCapabilities.ts
70
19
  var ANTIGRAVITY_EFFORT_SUFFIXES = [
71
20
  "-tiered",
@@ -145,10 +94,61 @@ var resolveAgentImageInputSupport = (agent) => {
145
94
  return true;
146
95
  };
147
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
148
  export {
149
+ resolveAgentImageInputSupport,
149
150
  resolveToolOutputProfile,
150
151
  resolveHistoricalToolContentCap,
151
152
  projectToolMessageContent,
152
- clipToolText,
153
- resolveAgentImageInputSupport
153
+ clipToolText
154
154
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-LEZLJTQ4.js";
4
+ } from "./chunk-SUBKVXFM.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-KJETBEEN.js";
7
+ } from "./chunk-OPNHKULV.js";
8
8
  import {
9
9
  deriveCredentialGroup
10
- } from "./chunk-XITIONPS.js";
10
+ } from "./chunk-SC5TDLTP.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-D2MDMY2M.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-G3VYRPTV.js";
4
+ } from "./chunk-AJ52EA72.js";
5
5
  import {
6
6
  asOptionalFiniteNumber
7
7
  } from "./chunk-WWC7I6TA.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-QYPE3TS3.js";
12
12
  import {
13
13
  runLlm
14
- } from "./chunk-XLBQQ5SB.js";
14
+ } from "./chunk-7MBN2JZ5.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-HEC32F3G.js";
107
+ } from "./chunk-O3FUFEUI.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-ASSNAASW.js";
124
+ } from "./chunk-XHR22EKE.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-6EQD4AQL.js";
163
+ } from "./chunk-GC64WGMD.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-CGFNDIKK.js";
196
+ } from "./chunk-5KTQVMCX.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-UN7ZHCAM.js");
11065
+ const { streamAgentChatTurn } = await import("./agentSlice-BHH2DZKN.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-WZCWWYR3.js");
13882
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-6CC3YDDL.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-UBQKDUK5.js");
13890
+ const { createDialogAction } = await import("./createDialogAction-MQDTLASD.js");
13891
13891
  return createDialogAction(args, thunkApi);
13892
13892
  };
13893
13893
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
13894
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-F3O6FJ5W.js");
13894
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-IBSAZBSP.js");
13895
13895
  return createAgentAutomationAction(args, thunkApi);
13896
13896
  };
13897
13897
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
13898
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-65R3Y22L.js");
13898
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-XIMLNROU.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-3YMQS6XO.js");
13922
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-EM43KNSP.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-PTSCGC6T.js");
13935
+ const { createDocState } = await import("./docStore-RSBDE3UH.js");
13936
13936
  const pageKey = await createDocState(
13937
13937
  { slateData, title },
13938
13938
  { dispatch, getState }
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  getModelContextWindow,
6
6
  normalizeTimingMs
7
- } from "./chunk-ASSNAASW.js";
7
+ } from "./chunk-XHR22EKE.js";
8
8
  import {
9
9
  BUILTIN_NOLO_AGENT_KEY
10
10
  } from "./chunk-LOEO7LRC.js";
@@ -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-PKUOHQJT.js");
559
+ const { resolveProviderPresetFields } = await import("./providerPresetApply-5K4PBX4J.js");
560
560
  const fields = resolveProviderPresetFields(args.parsed.presetId);
561
561
  if (fields.kind === "manual") {
562
562
  throw new Error(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ANTIGRAVITY_CLOUD_CODE_BASE_URL
3
- } from "./chunk-SQX235S2.js";
3
+ } from "./chunk-TSCI6X6C.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-6EQD4AQL.js";
14
+ } from "./chunk-GC64WGMD.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-CGFNDIKK.js";
20
+ } from "./chunk-5KTQVMCX.js";
21
21
  import {
22
22
  asTrimmedLowercaseString
23
23
  } from "./chunk-QSJ3HFEF.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-VYNMQ6HW.js";
9
9
  import {
10
10
  fetchAndCacheTableRows
11
- } from "./chunk-URO44BCD.js";
11
+ } from "./chunk-BQSW7453.js";
12
12
  import {
13
13
  require_react
14
14
  } from "./chunk-YDH3FDFQ.js";
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  resolveBuiltinCapability,
24
24
  resolveBuiltinSkillEntry
25
- } from "./chunk-SH3XD4E2.js";
25
+ } from "./chunk-3LNVSFTH.js";
26
26
  import {
27
27
  DEFAULT_SYSTEM_AGENT_CAPABILITIES
28
28
  } from "./chunk-EUGTFFO6.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-FMNDEVTZ.js");
524
+ const { findToolExecutor } = await import("./tools-7SMCO2GW.js");
525
525
  const { executor } = findToolExecutor(run.toolName);
526
526
  toolRunStarted({
527
527
  id: run.id,
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-NBTY7YJF.js";
6
6
  import {
7
7
  resolveCliLocalRuntimeKeyCapability
8
- } from "./chunk-QW6SSF7V.js";
8
+ } from "./chunk-ZJ66I757.js";
9
9
  import {
10
10
  HIGH_RISK_MUTATION_TOOL_NAMES
11
11
  } from "./chunk-6J227QXV.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PSCNXBYA.js";
16
16
  import {
17
17
  getModelConfig
18
- } from "./chunk-6EQD4AQL.js";
18
+ } from "./chunk-GC64WGMD.js";
19
19
  import {
20
20
  asTrimmedString
21
21
  } from "./chunk-3EUW3WEO.js";
@@ -11,22 +11,22 @@ import {
11
11
  } from "./chunk-JLR5NWP2.js";
12
12
  import {
13
13
  isOAuthApiKeyRef
14
- } from "./chunk-HEC32F3G.js";
14
+ } from "./chunk-O3FUFEUI.js";
15
15
  import {
16
16
  isOwnedAgentKey,
17
17
  ownedAgentKey,
18
18
  publicAgentKey
19
19
  } from "./chunk-M2EJHDJP.js";
20
- import {
21
- getModelAbility
22
- } from "./chunk-FYYSDHVQ.js";
23
20
  import {
24
21
  isSubscriptionEndpoint,
25
22
  isSubscriptionOAuthCredential
26
- } from "./chunk-EWO77ZGF.js";
23
+ } from "./chunk-OQ3DOBYB.js";
27
24
  import {
28
25
  isAntigravityOAuthAgent
29
- } from "./chunk-SQX235S2.js";
26
+ } from "./chunk-TSCI6X6C.js";
27
+ import {
28
+ getModelAbility
29
+ } from "./chunk-HLAL63BZ.js";
30
30
 
31
31
  // packages/ai/agent/agentBilling.ts
32
32
  function resolveBillingSource(candidate) {
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-KJETBEEN.js";
5
+ } from "./chunk-OPNHKULV.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-OXME3PEE.js";
@@ -12,12 +12,12 @@ import {
12
12
  } from "./chunk-WWC7I6TA.js";
13
13
  import {
14
14
  getModelConfig
15
- } from "./chunk-6EQD4AQL.js";
15
+ } from "./chunk-GC64WGMD.js";
16
16
  import {
17
17
  isPlatformHostedImageModel,
18
18
  isPlatformManagedProvider,
19
19
  resolvePlatformEffectiveModel
20
- } from "./chunk-CGFNDIKK.js";
20
+ } from "./chunk-5KTQVMCX.js";
21
21
 
22
22
  // packages/ai/llm/getPricing.ts
23
23
  var MAX_OUTPUT_TOKENS = 8192;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-WWC7I6TA.js";
4
4
  import {
5
5
  trimTrailingSlash
6
- } from "./chunk-PIG2IUVZ.js";
6
+ } from "./chunk-I2QHI2XM.js";
7
7
  import {
8
8
  toErrorMessage
9
9
  } from "./chunk-HNMXYYJR.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getModelConfig
3
- } from "./chunk-6EQD4AQL.js";
3
+ } from "./chunk-GC64WGMD.js";
4
4
  import {
5
5
  isPlatformHostedDeepseekModel,
6
6
  isPlatformHostedOpenAIImageModel,
7
7
  resolvePlatformHostedRouting
8
- } from "./chunk-CGFNDIKK.js";
8
+ } from "./chunk-5KTQVMCX.js";
9
9
  import {
10
10
  asTrimmedLowercaseString
11
11
  } from "./chunk-QSJ3HFEF.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-IOFLVIKF.js";
3
+ } from "./chunk-EWLPIR2S.js";
4
4
  import {
5
5
  t
6
6
  } from "./chunk-TDX2L4W2.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-URO44BCD.js";
3
+ } from "./chunk-BQSW7453.js";
4
4
  import {
5
5
  format,
6
6
  prepareAndPersistMessage,
7
7
  uiAskChoiceFunc,
8
8
  uiAskChoiceFunctionSchema
9
- } from "./chunk-CMRP4XHV.js";
9
+ } from "./chunk-MIME4XKU.js";
10
10
  import {
11
11
  formatISO
12
12
  } from "./chunk-ZRAU6T47.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-PXYBUFDB.js";
26
26
  import {
27
27
  buildBuiltinObjectSkillReference
28
- } from "./chunk-YCRROBDY.js";
28
+ } from "./chunk-WXOKJP3W.js";
29
29
  import {
30
30
  extractCustomId
31
31
  } from "./chunk-M2EJHDJP.js";
@@ -52,7 +52,7 @@ import {
52
52
  import {
53
53
  PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL,
54
54
  PLATFORM_HOSTED_KIMI_PROVIDER
55
- } from "./chunk-CGFNDIKK.js";
55
+ } from "./chunk-5KTQVMCX.js";
56
56
 
57
57
  // packages/chat/dialog/objectAssistantRegistry.ts
58
58
  var OBJECT_ASSISTANT_TO_SKILL = {
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-HS7MLR74.js";
4
4
  import {
5
5
  performServerProxyFetchWithRetry
6
- } from "./chunk-CEQFVBI2.js";
6
+ } from "./chunk-X2Q5GT5J.js";
7
7
  import {
8
8
  fetchServerSyncedCredential
9
- } from "./chunk-XLBQQ5SB.js";
9
+ } from "./chunk-7MBN2JZ5.js";
10
10
  import {
11
11
  buildSkillGuidancePromptBlock
12
- } from "./chunk-SH3XD4E2.js";
12
+ } from "./chunk-3LNVSFTH.js";
13
13
  import {
14
14
  CREDENTIAL_HYGIENE_RULE,
15
15
  DELETE_SAFETY_RED_LINE,
@@ -23,7 +23,7 @@ import {
23
23
  compileContextLayers,
24
24
  detectDispatchIntentFromMessages,
25
25
  resolveToolGuidedSections
26
- } from "./chunk-TOUKACDK.js";
26
+ } from "./chunk-RATR6VCP.js";
27
27
  import {
28
28
  convertMessagesToResponsesInput,
29
29
  getUsageRequestOptions,
@@ -32,14 +32,14 @@ import {
32
32
  resolveReasoningReplayOptions,
33
33
  shouldStripReasoningContentForOutbound,
34
34
  stablePromptCacheKey
35
- } from "./chunk-DI7ZFGDQ.js";
35
+ } from "./chunk-7L2HZQNN.js";
36
36
  import {
37
37
  resolveAgentCallPlan,
38
38
  resolveClientWire
39
- } from "./chunk-SAZSXMTR.js";
39
+ } from "./chunk-6OC2YMGH.js";
40
40
  import {
41
41
  createFileCredentialBroker
42
- } from "./chunk-UHTDNB5Y.js";
42
+ } from "./chunk-76YUTLOT.js";
43
43
  import {
44
44
  MEMORY_USE_GUIDANCE,
45
45
  buildUserResponseLanguageContext,
@@ -53,12 +53,12 @@ import {
53
53
  } from "./chunk-LCBAMY2M.js";
54
54
  import {
55
55
  buildProviderAuthHeaders
56
- } from "./chunk-PIG2IUVZ.js";
56
+ } from "./chunk-I2QHI2XM.js";
57
57
  import {
58
58
  clampReasoningEffort,
59
59
  getModelConfig,
60
60
  isModelSupportReasoningEffort
61
- } from "./chunk-6EQD4AQL.js";
61
+ } from "./chunk-GC64WGMD.js";
62
62
  import {
63
63
  isRecord
64
64
  } from "./chunk-KUG52IAP.js";
@@ -79,7 +79,7 @@ import {
79
79
  isFireworksKimiModel,
80
80
  isPlatformMimoProviderModel,
81
81
  resolveFireworksKimiModel
82
- } from "./chunk-CGFNDIKK.js";
82
+ } from "./chunk-5KTQVMCX.js";
83
83
 
84
84
  // packages/agent-runtime/responsesConversationState.ts
85
85
  function supportsResponsesConversationState(agent) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelPricing
3
- } from "./chunk-ZPKUJROL.js";
3
+ } from "./chunk-TDNAAXUQ.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-6EQD4AQL.js";
26
+ } from "./chunk-GC64WGMD.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-CGFNDIKK.js";
33
+ } from "./chunk-5KTQVMCX.js";
34
34
 
35
35
  // packages/core/publicAgentSeeds.ts
36
36
  var AGENT_SEED_DEFAULTS = {
@@ -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-OO3MJAED.js");
336
+ const { updateContentTitle } = await import("./contentThunks-SJAKJV4V.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-RDEDO4GF.js");
375
+ const { createPageAction } = await import("./createPageAction-EOPBBQMH.js");
376
376
  return createPageAction(args, thunkApi);
377
377
  }
378
378
  function subscribe(listener) {
@@ -71,11 +71,12 @@ var TOOL_PACKS = {
71
71
  // L2 - 联网搜索:与 CAPABILITY_PACKS「web-search」对齐。
72
72
  // 社交读工具属于「social-reader」包,不得因 exa_search 被旁路注入。
73
73
  LIGHT_WEB: ["exa_search", "fetchWebpage"],
74
- // 本地工作区代码读写与执行。唯一真相源——「代码执行」能力包与 coding skill
74
+ // 本地工作区代码读写、本地图片读取与执行。唯一真相源——「代码执行」能力包与 coding skill
75
75
  // 都从这里取。以前两边各抄一份(coding 还多抄了 agent-orchestration 那 3 个),
76
76
  // 改一个忘另一个就会静默不同步。
77
77
  CODE: [
78
78
  "readFile",
79
+ "read_image",
79
80
  "writeFile",
80
81
  "editFile",
81
82
  "applyEdit",