nolo-cli 0.19.0 → 0.24.0-alpha.7

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 (133) hide show
  1. package/{_executeModel-X5PCIZN6.js → _executeModel-ARCMGGMY.js} +46 -44
  2. package/{action-LT7BRFLK.js → action-5MNAXR5B.js} +7 -6
  3. package/{addContentAction-PL3KKBDH.js → addContentAction-UNSYTVTB.js} +5 -5
  4. package/{addDialogAgentAction-FCMSKYAF.js → addDialogAgentAction-LJGNP2AO.js} +5 -5
  5. package/{agentDeleteCommand-2BZDQV36.js → agentDeleteCommand-C5PIEBMZ.js} +27 -26
  6. package/{agentEmailCommands-2QJDGRMB.js → agentEmailCommands-QTGQ3ZAD.js} +57 -55
  7. package/{agentListCommands-6VEPTKBI.js → agentListCommands-LRHBS3A5.js} +30 -26
  8. package/{agentMachineCommands-NVVHNWYI.js → agentMachineCommands-4PXIT4BP.js} +25 -24
  9. package/{agentRecordCommands-4GGRDMD4.js → agentRecordCommands-ZZPTYTYR.js} +52 -50
  10. package/{agentRunCommand-XOLQNKBZ.js → agentRunCommand-7ZTPZNUX.js} +55 -54
  11. package/{agentRunControl-Y5AFH5PQ.js → agentRunControl-SNUKXN6J.js} +6 -2
  12. package/{agentRuntimeLocal-7WYWCGL4.js → agentRuntimeLocal-QOYY5UV2.js} +19 -18
  13. package/{agentSlice-EAXPGEYV.js → agentSlice-J3W3RX2I.js} +5 -5
  14. package/{appDeleteCommands-77KR2RJ4.js → appDeleteCommands-7NS46XDH.js} +23 -22
  15. package/{appDeployCommands-K7CAHGBI.js → appDeployCommands-RSRNQ67U.js} +23 -22
  16. package/{appDeployStatusCommands-4OEKLTBT.js → appDeployStatusCommands-EF4RSGC6.js} +23 -22
  17. package/{appGetCommands-VM2WDLAZ.js → appGetCommands-YA7JWYUX.js} +23 -22
  18. package/{appListCommands-GX6BBA6U.js → appListCommands-WM2ON6JW.js} +23 -22
  19. package/{authCommand-DY6UUL6O.js → authCommand-HJP7FURK.js} +12 -13
  20. package/{authCommands-XTBV7OFZ.js → authCommands-NYZM2B2I.js} +4 -5
  21. package/{chunk-MKA6QE5E.js → chunk-2IPEVBUO.js} +126 -68
  22. package/{chunk-OWOHNGCN.js → chunk-2MBTWINN.js} +42 -3
  23. package/{chunk-K6EUAOW3.js → chunk-35RYGII3.js} +1 -1
  24. package/{chunk-TRT4I4UD.js → chunk-4POUK2BV.js} +2 -2
  25. package/{chunk-LLWKHDG4.js → chunk-4ULSC37S.js} +1 -3
  26. package/{chunk-EDV7EBOI.js → chunk-4ZH6GUJF.js} +2151 -1500
  27. package/{chunk-MVQ4TBSD.js → chunk-54VHTARN.js} +1 -1
  28. package/{chunk-L4F3I4SR.js → chunk-5HQQ4LUU.js} +4 -6
  29. package/{chunk-Z4NR32XR.js → chunk-5RGU3J7P.js} +13 -0
  30. package/{chunk-7BUYEZ6U.js → chunk-7H3UTGPM.js} +12 -72
  31. package/{chunk-RQN4SEKL.js → chunk-7W6GFNJL.js} +1 -1
  32. package/{chunk-HEGV7BH3.js → chunk-AQZCWJOG.js} +1 -1
  33. package/{chunk-3ND52WIL.js → chunk-ATWUOTJP.js} +180 -24
  34. package/chunk-CF7S2RYZ.js +376 -0
  35. package/{chunk-I2ZJKTG5.js → chunk-CGVRC2TB.js} +7 -7
  36. package/{chunk-UAIVG4J6.js → chunk-CHSCAUZN.js} +1 -8
  37. package/{chunk-KFEVY3ST.js → chunk-D34RI6NI.js} +18 -8
  38. package/{chunk-ROWQEJRP.js → chunk-DXJS7VSG.js} +3 -2
  39. package/{chunk-MHSGJW4Z.js → chunk-EHOYZRTI.js} +44 -14
  40. package/{chunk-XRZJGPFI.js → chunk-FON47ACC.js} +4 -4
  41. package/{chunk-SCTYAHYK.js → chunk-H2NAWOLH.js} +217 -141
  42. package/{chunk-MPVYDS7I.js → chunk-H6ODMJR3.js} +3 -3
  43. package/{chunk-R35XMF6F.js → chunk-H73ZV2GL.js} +352 -30
  44. package/{chunk-4T5F7YZQ.js → chunk-I6RJGORZ.js} +1 -1
  45. package/{chunk-OK6YSWLH.js → chunk-IICW77GI.js} +1 -1
  46. package/{chunk-VDXCXCXH.js → chunk-IUDMBCXC.js} +1 -1
  47. package/{chunk-AHCY2S2I.js → chunk-JADNODCQ.js} +1 -1
  48. package/{chunk-DFCFMCY6.js → chunk-JBLY6HQP.js} +2 -2
  49. package/{chunk-UGUW3FHG.js → chunk-JMSCXQUG.js} +2 -2
  50. package/{chunk-N54HIJVJ.js → chunk-KFUCLS7Z.js} +101 -9
  51. package/{chunk-FQZZLA3C.js → chunk-KXKQO4Q6.js} +17 -0
  52. package/{chunk-3Q7WHGCB.js → chunk-L65QKSVJ.js} +1 -1
  53. package/{chunk-3ZX7PERL.js → chunk-LALVWNE4.js} +20 -7
  54. package/{chunk-PJSV3IZ5.js → chunk-M3TMVJKG.js} +1 -1
  55. package/{chunk-REA4JLBH.js → chunk-M5OZCOBV.js} +7 -6
  56. package/{chunk-JLA4FXYC.js → chunk-MALVZUYL.js} +1 -1
  57. package/{chunk-GFUIQ4RY.js → chunk-MXFQHRSS.js} +1 -1
  58. package/{chunk-LSFAWXKC.js → chunk-N7J63Q6C.js} +1 -0
  59. package/{chunk-6Y7A3OQQ.js → chunk-NRY4GCKJ.js} +2 -0
  60. package/{chunk-G5U6LDLG.js → chunk-NVHPMDSZ.js} +6 -6
  61. package/{chunk-23FZYPLC.js → chunk-OJFYT3ZQ.js} +842 -1060
  62. package/{chunk-ELT65PZW.js → chunk-OXLLFZNF.js} +1 -1
  63. package/{chunk-CZ6NYQTV.js → chunk-P4QWLZGU.js} +2 -2
  64. package/{chunk-5MIDPSSK.js → chunk-PB7G5MAM.js} +3 -3
  65. package/{chunk-HWW2M4SN.js → chunk-QLVWFXZQ.js} +5 -4
  66. package/{chunk-VYHDJEQD.js → chunk-QNLLGS37.js} +136 -78
  67. package/{chunk-XHG22OEX.js → chunk-ROJI6DRT.js} +2 -2
  68. package/{chunk-BV4VEE3W.js → chunk-ROYOKSX4.js} +243 -354
  69. package/{chunk-VNAEBGDK.js → chunk-RZNYL4LW.js} +123 -26
  70. package/{chunk-RVOUXDFU.js → chunk-S6KVFOUG.js} +6 -34
  71. package/{chunk-V3ED5AWK.js → chunk-S77SCVBU.js} +27 -16
  72. package/{chunk-UBHAWFQ6.js → chunk-S7RWIPDI.js} +42 -19
  73. package/{chunk-B5TOXZAK.js → chunk-SIZQB7BD.js} +1 -1
  74. package/{chunk-DFFIZ25G.js → chunk-SLOGKB7M.js} +4 -1
  75. package/{chunk-FXUSIQC2.js → chunk-SROR5TSM.js} +1 -1
  76. package/{chunk-PIZYJVHQ.js → chunk-TN4YHAI3.js} +4 -4
  77. package/{chunk-IYEXFJPC.js → chunk-TW35GDNW.js} +64 -57
  78. package/chunk-UZ6XXCVR.js +50 -0
  79. package/{chunk-DKZFOK24.js → chunk-UZH44DWK.js} +7 -288
  80. package/{chunk-YGW4G5W5.js → chunk-X546QUDT.js} +61 -12
  81. package/chunk-YYLHWIW6.js +48 -0
  82. package/{chunk-SWDPIPOY.js → chunk-ZGVW7MSZ.js} +1 -1
  83. package/{chunk-34WPV75U.js → chunk-ZUXIXYJI.js} +1 -1
  84. package/{chunk-VC6OZXO5.js → chunk-ZWJOGMKH.js} +2 -26
  85. package/{cliExecutor-DNE7TCC4.js → cliExecutor-K3F7DMRO.js} +2 -2
  86. package/{codingSkills-36KN5NQT.js → codingSkills-EN6Z6G6U.js} +4 -4
  87. package/{createAgentAutomationAction-GNFF524X.js → createAgentAutomationAction-MKQWN4VQ.js} +19 -18
  88. package/{createDialogAction-RB55KCLO.js → createDialogAction-YWIZPLFS.js} +22 -20
  89. package/{createPageAction-Y7343GLU.js → createPageAction-74TTEIPC.js} +20 -19
  90. package/{db-W3O47YGF.js → db-W5UHK4P3.js} +150 -0
  91. package/{dbSlice-CGSRFJN3.js → dbSlice-5BKDURDL.js} +4 -4
  92. package/{dialogCommands-IAZK6YHQ.js → dialogCommands-MJIP32FL.js} +24 -23
  93. package/{dialogSlice-UQAXF23P.js → dialogSlice-KLLVH4WI.js} +24 -18
  94. package/{docCreateCommands-I2EWZGCI.js → docCreateCommands-5DN472U6.js} +24 -27
  95. package/{docDeleteCommands-IZ45UZKG.js → docDeleteCommands-HE76LBN4.js} +25 -24
  96. package/{docReadCommands-R6Z4QJYU.js → docReadCommands-XVGZSCBS.js} +24 -23
  97. package/{docStore-5HOJ4D7D.js → docStore-SPH3D6BT.js} +20 -19
  98. package/{docUpdateCommands-2LRBKQPY.js → docUpdateCommands-P7IAWUAD.js} +24 -27
  99. package/{fetchMessages-BMGVZVSE.js → fetchMessages-W4IKHPCS.js} +2 -3
  100. package/{getPricing-G7DLAST6.js → getPricing-WENPBVWH.js} +3 -3
  101. package/{handleSendMessageAction-Q4HY35WX.js → handleSendMessageAction-ZU6WJVL7.js} +23 -20
  102. package/index.js +74 -74
  103. package/{localDialogRead-4H3QJFLW.js → localDialogRead-JXTAHW2E.js} +2 -2
  104. package/{machineCommands-PKBPQKTY.js → machineCommands-NI76PVHK.js} +59 -57
  105. package/{machineWsRunDispatch-UZAW4OXJ.js → machineWsRunDispatch-W3G6NJVQ.js} +51 -49
  106. package/{models-DJFSJ7SW.js → models-DB27UAE3.js} +2 -2
  107. package/package.json +1 -1
  108. package/{read-3FMPZPER.js → read-F3L3T2WJ.js} +2 -1
  109. package/{readDocTool-VSYHKK3V.js → readDocTool-FOHWVA4R.js} +1 -1
  110. package/{readlineWorkspace-Y2RDOFZG.js → readlineWorkspace-BDH4G477.js} +880 -425
  111. package/{removeDialogAgentAction-OAGA2G3U.js → removeDialogAgentAction-QCFGIUIH.js} +8 -7
  112. package/{runAgentClientLoop-NBPIKJ6J.js → runAgentClientLoop-ZPKMXCM5.js} +45 -38
  113. package/{setDialogExtraReferencesAction-JZEXA5SL.js → setDialogExtraReferencesAction-DK4CKERU.js} +5 -5
  114. package/{setPrimaryDialogAgentAction-4ZUQQKDG.js → setPrimaryDialogAgentAction-SJSO6N27.js} +8 -7
  115. package/{settingSlice-7MNKHZ6R.js → settingSlice-XNM5AFPU.js} +6 -5
  116. package/{spaceCommands-DHCZ7J5I.js → spaceCommands-3GGBJRQR.js} +25 -24
  117. package/{spaceSlice-ZXLLG3CR.js → spaceSlice-47Z6XLFQ.js} +21 -18
  118. package/{streamAgentChatTurn-L3YW6LSB.js → streamAgentChatTurn-VT5K5JSD.js} +140 -98
  119. package/switchDialogAgentAction-4OAC6QRN.js +61 -0
  120. package/{tableCommands-BEQAGE4I.js → tableCommands-HEQYT2KP.js} +1 -1
  121. package/{toolApiClient-QI3YBNWB.js → toolApiClient-ISM4ZQX4.js} +2 -2
  122. package/{tools-ECGXR5QF.js → tools-L7RCHAPT.js} +36 -33
  123. package/{tuiSummaryLlmCaller-OMSCNHXA.js → tuiSummaryLlmCaller-3DYOLTVN.js} +6 -6
  124. package/{updateCommands-XTW55TOT.js → updateCommands-HTCOBXCA.js} +2 -2
  125. package/{updateDialogTitleAction-HQ2EUDFT.js → updateDialogTitleAction-KMPVPQ4A.js} +28 -27
  126. package/chunk-DL6EPNIK.js +0 -50
  127. package/chunk-V5R4NZP2.js +0 -78
  128. package/chunk-X4Q4UZEY.js +0 -26
  129. package/queryRunOverlay-O4LOMMPO.js +0 -161
  130. package/runOverlayPresentation-ZO4VCWEU.js +0 -11
  131. package/types-ZSTJ7MPR.js +0 -7
  132. package/{chunk-X7W4TNB4.js → chunk-CMKUBIGW.js} +3 -3
  133. package/{runtimeDoctorCommands-E2OUORHK.js → runtimeDoctorCommands-HSU632DY.js} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  buildStaticUserPolicyContext,
6
6
  resolveSpaceContextPreloadPlan
7
- } from "./chunk-MVQ4TBSD.js";
7
+ } from "./chunk-54VHTARN.js";
8
8
  import {
9
9
  INVALID_TOOL_ARGS_REPLACEMENT,
10
10
  buildInvalidToolCallSelfHealResult,
@@ -17,11 +17,11 @@ import {
17
17
  sanitizeOutboundResponsesInput,
18
18
  sendOpenAICompletionsRequest,
19
19
  updateTotalUsage
20
- } from "./chunk-UBHAWFQ6.js";
20
+ } from "./chunk-S7RWIPDI.js";
21
21
  import "./chunk-JEXVIMYZ.js";
22
22
  import {
23
23
  prepareTools
24
- } from "./chunk-CZ6NYQTV.js";
24
+ } from "./chunk-P4QWLZGU.js";
25
25
  import {
26
26
  fetchReferenceContents,
27
27
  generateRequestBody,
@@ -35,52 +35,45 @@ import {
35
35
  resolveToolsFromKeys,
36
36
  selectResponsesConversationState,
37
37
  updateResponsesConversationState
38
- } from "./chunk-VYHDJEQD.js";
39
- import "./chunk-FXUSIQC2.js";
38
+ } from "./chunk-QNLLGS37.js";
39
+ import "./chunk-SROR5TSM.js";
40
40
  import {
41
- TOOL_PACKS,
42
- addDefaultSystemCapabilityTools,
43
- applyDefaultWebToolPacks,
44
- applyDisabledTools,
45
- applySystemBuiltinSkillFilter,
46
41
  createSSEParser,
47
- expandEnabledPackPromptPatches,
48
- expandEnabledPacks,
49
42
  getAllToolRuns,
50
- resolveEffectiveEnabledPacks,
43
+ resolveAgentRecommendedSkillNames,
44
+ resolveAgentRequiredPackIds,
51
45
  shouldBlockForGptPro,
52
46
  waitForAbortableDelay
53
- } from "./chunk-EDV7EBOI.js";
47
+ } from "./chunk-4ZH6GUJF.js";
54
48
  import "./chunk-RQSOAMPJ.js";
55
- import "./chunk-3ZX7PERL.js";
49
+ import "./chunk-I6RJGORZ.js";
50
+ import "./chunk-LALVWNE4.js";
56
51
  import "./chunk-KQHGZWSV.js";
57
- import "./chunk-4T5F7YZQ.js";
58
52
  import "./chunk-3LY4F7SV.js";
59
53
  import "./chunk-VF4K2QE6.js";
60
54
  import {
61
55
  getDocState
62
- } from "./chunk-G5U6LDLG.js";
56
+ } from "./chunk-NVHPMDSZ.js";
63
57
  import {
64
58
  getFinalPrice,
65
59
  getModelPricing,
66
60
  getPrices,
67
61
  hasExplicitAgentPricing
68
- } from "./chunk-PJSV3IZ5.js";
62
+ } from "./chunk-M3TMVJKG.js";
69
63
  import {
70
64
  getPublicImageAgentDefaultProfile,
71
65
  getPublicImageAgentMode
72
66
  } from "./chunk-VIDPVFP3.js";
73
- import "./chunk-JLA4FXYC.js";
67
+ import "./chunk-MALVZUYL.js";
74
68
  import {
75
69
  extractCategorizedMentions
76
70
  } from "./chunk-VP4WJWKW.js";
77
71
  import "./chunk-63W5N6P3.js";
78
- import "./chunk-IYEXFJPC.js";
72
+ import "./chunk-TW35GDNW.js";
79
73
  import {
80
74
  PERSONALIZATION_DIALOG_CATEGORY,
81
75
  addToolMessage,
82
76
  addUserMessage,
83
- appendOverlayMessage,
84
77
  buildPersonalizationDialogPolicyContext,
85
78
  estimateMissingUsage,
86
79
  extractReferenceKeysFromMessage,
@@ -89,6 +82,7 @@ import {
89
82
  messageStreaming,
90
83
  prepareAndPersistUserMessage,
91
84
  removeTransientMessage,
85
+ resolveBuiltinPlatformAgentRecord,
92
86
  selectAllMsgs,
93
87
  selectCurrentDialogConfig,
94
88
  selectCurrentSpaceId,
@@ -98,22 +92,33 @@ import {
98
92
  selectTableRows,
99
93
  selectViewMode,
100
94
  updateTokens
101
- } from "./chunk-SCTYAHYK.js";
95
+ } from "./chunk-H2NAWOLH.js";
102
96
  import "./chunk-XOIF2TNF.js";
103
- import "./chunk-B5TOXZAK.js";
104
97
  import "./chunk-MRC4Q34M.js";
105
- import "./chunk-REA4JLBH.js";
98
+ import "./chunk-SIZQB7BD.js";
99
+ import "./chunk-M5OZCOBV.js";
100
+ import "./chunk-YYLHWIW6.js";
106
101
  import "./chunk-CWMSB67P.js";
107
102
  import {
108
103
  createCliChatTurnStream,
109
104
  getCliChatSession,
110
105
  startCliChatSession
111
- } from "./chunk-XHG22OEX.js";
112
- import "./chunk-Z4NR32XR.js";
106
+ } from "./chunk-ROJI6DRT.js";
107
+ import "./chunk-5RGU3J7P.js";
113
108
  import "./chunk-M76ECQRD.js";
114
- import "./chunk-3Q7WHGCB.js";
115
- import "./chunk-7BUYEZ6U.js";
116
- import "./chunk-VC6OZXO5.js";
109
+ import "./chunk-L65QKSVJ.js";
110
+ import "./chunk-7H3UTGPM.js";
111
+ import {
112
+ TOOL_PACKS,
113
+ addDefaultSystemCapabilityTools,
114
+ applyDefaultWebToolPacks,
115
+ applyDisabledTools,
116
+ applySystemBuiltinSkillFilter,
117
+ expandEnabledPackPromptPatches,
118
+ expandEnabledPacks,
119
+ resolveEffectiveEnabledPacks
120
+ } from "./chunk-CF7S2RYZ.js";
121
+ import "./chunk-ZWJOGMKH.js";
117
122
  import "./chunk-WZSRQNQG.js";
118
123
  import {
119
124
  assertDesktopAgentRuntimeTurnBodyHasNoRawSecrets,
@@ -123,24 +128,26 @@ import {
123
128
  import {
124
129
  projectToolMessageContent,
125
130
  resolveAgentImageInputSupport
126
- } from "./chunk-YGW4G5W5.js";
127
- import "./chunk-LSFAWXKC.js";
128
- import "./chunk-34WPV75U.js";
131
+ } from "./chunk-X546QUDT.js";
132
+ import "./chunk-N7J63Q6C.js";
133
+ import "./chunk-ZUXIXYJI.js";
129
134
  import {
130
135
  extractImagePartsFromResponseOutput,
131
136
  extractTextFromResponseOutput,
132
137
  toResponsesTools
133
- } from "./chunk-KFEVY3ST.js";
134
- import "./chunk-MHSGJW4Z.js";
138
+ } from "./chunk-D34RI6NI.js";
139
+ import {
140
+ isOpenAiResponsesModel
141
+ } from "./chunk-EHOYZRTI.js";
135
142
  import {
136
143
  resolveRuntimeToolSurfaceForAgent
137
- } from "./chunk-DKZFOK24.js";
144
+ } from "./chunk-UZH44DWK.js";
138
145
  import {
139
146
  estimateTokenCount,
140
147
  getModelContextWindow,
141
148
  getModelInfo,
142
149
  planContextUsage
143
- } from "./chunk-I2ZJKTG5.js";
150
+ } from "./chunk-CGVRC2TB.js";
144
151
  import "./chunk-5MMAK75Q.js";
145
152
  import "./chunk-5CS33IBL.js";
146
153
  import "./chunk-JZPBVBIY.js";
@@ -148,12 +155,8 @@ import {
148
155
  getApiEndpoint,
149
156
  getModelConfig,
150
157
  getProviderByModelName
151
- } from "./chunk-UAIVG4J6.js";
158
+ } from "./chunk-CHSCAUZN.js";
152
159
  import "./chunk-ZHXJ6M7T.js";
153
- import {
154
- toErrorMessage
155
- } from "./chunk-HNMXYYJR.js";
156
- import "./chunk-ELT65PZW.js";
157
160
  import {
158
161
  buildLinkedSpacesSection,
159
162
  buildSpaceContextLayer
@@ -165,10 +168,7 @@ import {
165
168
  } from "./chunk-ZZ2MH7LE.js";
166
169
  import {
167
170
  resolveToolBaseUrl
168
- } from "./chunk-5MIDPSSK.js";
169
- import {
170
- extractCustomId
171
- } from "./chunk-DFFIZ25G.js";
171
+ } from "./chunk-PB7G5MAM.js";
172
172
  import {
173
173
  addActiveController,
174
174
  clearPendingUserInputQueue,
@@ -180,13 +180,16 @@ import {
180
180
  tokenUsageLiveUpdate
181
181
  } from "./chunk-3ASDTTEI.js";
182
182
  import "./chunk-DWLEOOGR.js";
183
- import "./chunk-FQZZLA3C.js";
183
+ import "./chunk-KXKQO4Q6.js";
184
184
  import {
185
185
  buildCliPrompt
186
186
  } from "./chunk-ATNTHIZI.js";
187
- import "./chunk-LLWKHDG4.js";
188
- import "./chunk-MKA6QE5E.js";
189
- import "./chunk-UGUW3FHG.js";
187
+ import {
188
+ toErrorMessage
189
+ } from "./chunk-HNMXYYJR.js";
190
+ import "./chunk-4ULSC37S.js";
191
+ import "./chunk-2IPEVBUO.js";
192
+ import "./chunk-JMSCXQUG.js";
190
193
  import {
191
194
  selectAiRecentContentLimit,
192
195
  selectCurrentServer,
@@ -195,21 +198,23 @@ import {
195
198
  selectMaxExecutionTime,
196
199
  selectSpaceContextLevel,
197
200
  selectUserTonePreset
198
- } from "./chunk-RVOUXDFU.js";
201
+ } from "./chunk-S6KVFOUG.js";
199
202
  import "./chunk-Y5GCAMGP.js";
203
+ import "./chunk-UZ6XXCVR.js";
200
204
  import {
201
205
  asRecordOrEmpty
202
206
  } from "./chunk-KX6YBIHG.js";
207
+ import "./chunk-OXLLFZNF.js";
203
208
  import {
204
209
  patch,
205
210
  read,
206
211
  selectById,
207
212
  write
208
- } from "./chunk-XRZJGPFI.js";
213
+ } from "./chunk-FON47ACC.js";
209
214
  import {
210
215
  createDialogMessageKeyAndId,
211
216
  dialogMessageKey
212
- } from "./chunk-6Y7A3OQQ.js";
217
+ } from "./chunk-NRY4GCKJ.js";
213
218
  import {
214
219
  asOptionalFiniteNumber
215
220
  } from "./chunk-WWC7I6TA.js";
@@ -218,8 +223,9 @@ import {
218
223
  asNonEmptyStringArray
219
224
  } from "./chunk-I42VC5KR.js";
220
225
  import "./chunk-QSJ3HFEF.js";
221
- import "./chunk-X4Q4UZEY.js";
222
- import "./chunk-3ND52WIL.js";
226
+ import {
227
+ isSystemBuiltinTrustedAgentKey
228
+ } from "./chunk-ATWUOTJP.js";
223
229
  import {
224
230
  selectIdentityToken,
225
231
  selectIdentityUser,
@@ -235,6 +241,9 @@ import {
235
241
  asTrimmedString
236
242
  } from "./chunk-3EUW3WEO.js";
237
243
  import "./chunk-U6VC4MU4.js";
244
+ import {
245
+ extractCustomId
246
+ } from "./chunk-SLOGKB7M.js";
238
247
  import {
239
248
  isRecord
240
249
  } from "./chunk-KUG52IAP.js";
@@ -320,6 +329,12 @@ function projectDesktopToolUiContent(args) {
320
329
  const toolName = asOptionalTrimmedString(args.toolName) || "tool";
321
330
  const metadata = isRecord(args.metadata) ? args.metadata : {};
322
331
  const rawContent = typeof args.content === "string" ? args.content : typeof args.summary === "string" ? args.summary : typeof args.message === "string" ? args.message : "";
332
+ if (toolName === "setTodoList") {
333
+ const existing = tryParseJsonRecord(rawContent);
334
+ if (existing && Array.isArray(existing.todos)) {
335
+ return clipUiText(JSON.stringify({ todos: existing.todos }));
336
+ }
337
+ }
323
338
  if (toolName === "execShell") {
324
339
  const existing = tryParseJsonRecord(rawContent);
325
340
  if (existing && (typeof existing.stdout === "string" || typeof existing.command === "string" || typeof existing.stderr === "string")) {
@@ -2088,10 +2103,10 @@ var mergeContexts = (staticCtx, dynamicCtx) => ({
2088
2103
  });
2089
2104
  var mergeAgentToolsWithRuntime = (agentConfig, referencedTools, mentionedTools, runtimeOptions, state) => {
2090
2105
  const rawBaseTools = Array.isArray(agentConfig.tools) ? agentConfig.tools : [];
2091
- const agentEnabledPacks = agentConfig?.enabledPacks;
2106
+ const agentEnabledPacks = resolveAgentRequiredPackIds(agentConfig);
2092
2107
  const isInlineArtifact = isInlineVisualArtifactAgent(agentConfig);
2093
2108
  const effectiveEnabledPacks = resolveEffectiveEnabledPacks({
2094
- enabledPacks: Array.isArray(agentEnabledPacks) ? agentEnabledPacks : [],
2109
+ enabledPacks: agentEnabledPacks,
2095
2110
  declaredOnly: isInlineArtifact
2096
2111
  });
2097
2112
  const expandedPackTools = expandEnabledPacks(
@@ -2106,7 +2121,10 @@ var mergeAgentToolsWithRuntime = (agentConfig, referencedTools, mentionedTools,
2106
2121
  agentConfig.recommendedSkillTools ?? []
2107
2122
  );
2108
2123
  const recommendedSkillHints = [
2109
- ...new Set(asNonEmptyStringArray(agentConfig.recommendedSkillHints))
2124
+ .../* @__PURE__ */ new Set([
2125
+ ...asNonEmptyStringArray(agentConfig.recommendedSkillHints),
2126
+ ...resolveAgentRecommendedSkillNames(agentConfig)
2127
+ ])
2110
2128
  ];
2111
2129
  const skillPromptPatches = [
2112
2130
  .../* @__PURE__ */ new Set([
@@ -2136,9 +2154,10 @@ var mergeAgentToolsWithRuntime = (agentConfig, referencedTools, mentionedTools,
2136
2154
  const viewMode = state ? selectViewMode(state) : "categories";
2137
2155
  if (viewMode === "all") {
2138
2156
  enhancedTools.delete("search_workspace");
2139
- enhancedTools.add("search_all_spaces");
2157
+ if (!recommendedSkillHints.includes("search-all-spaces")) {
2158
+ recommendedSkillHints.push("search-all-spaces");
2159
+ }
2140
2160
  } else {
2141
- enhancedTools.delete("search_all_spaces");
2142
2161
  enhancedTools.add("search_workspace");
2143
2162
  }
2144
2163
  }
@@ -2521,13 +2540,15 @@ var resolveRemoteBoundMachineId = (machineId) => {
2521
2540
  return currentMachineId && currentMachineId === machineId ? "" : machineId;
2522
2541
  };
2523
2542
  var resolveWebAgentRuntimeToolSurface = (agentConfig, state) => {
2543
+ const agentKey = agentConfig.dbKey ?? agentConfig.agentKey;
2524
2544
  const toolSurface = resolveRuntimeToolSurfaceForAgent({
2525
2545
  explicitToolNames: Array.isArray(agentConfig.tools) ? agentConfig.tools : [],
2526
2546
  currentUserId: selectIdentityUserId(state),
2527
2547
  agentOwnerId: typeof agentConfig.userId === "string" ? agentConfig.userId : null,
2528
- agentKey: agentConfig.dbKey ?? agentConfig.agentKey,
2548
+ agentKey,
2529
2549
  isPublic: agentConfig.isPublic === true,
2530
2550
  sharingLevel: typeof agentConfig.sharingLevel === "string" ? agentConfig.sharingLevel : null,
2551
+ trustedPrivateInvocation: isSystemBuiltinTrustedAgentKey(agentKey),
2531
2552
  runtimeHost: "web"
2532
2553
  });
2533
2554
  return {
@@ -2704,18 +2725,28 @@ async function consumeAgentRunStream(handlers) {
2704
2725
  }
2705
2726
  }
2706
2727
 
2707
- // packages/ai/llm/isResponseAPIModel.ts
2708
- var isResponseAPIModel = (agentConfig) => {
2709
- const provider = agentConfig.provider?.trim().toLowerCase();
2710
- if (provider !== "openai") return false;
2711
- if (agentConfig.endpointKey === "responses") return true;
2712
- if (!agentConfig.model) return false;
2713
- try {
2714
- return getModelConfig("openai", agentConfig.model).endpointKey === "responses";
2715
- } catch {
2716
- return false;
2728
+ // packages/ai/chat/wireAdapters/resolveChatWire.ts
2729
+ function resolveChatWire(agentOrInput) {
2730
+ if (!agentOrInput) return "completions";
2731
+ const { provider, model, endpointKey, cliProvider, customProviderUrl, endpoint } = agentOrInput;
2732
+ if (cliProvider === "codex") return "codex";
2733
+ if (cliProvider === "claude") return "anthropic";
2734
+ const responsesUrlPattern = /\/responses(?:[/?#]|$)/;
2735
+ if (endpointKey === "responses" || endpoint && responsesUrlPattern.test(endpoint) || customProviderUrl && responsesUrlPattern.test(customProviderUrl)) {
2736
+ return "responses";
2717
2737
  }
2718
- };
2738
+ const normProvider = provider ? provider.trim().toLowerCase() : "";
2739
+ if (normProvider === "anthropic" || normProvider === "claude") {
2740
+ return "anthropic";
2741
+ }
2742
+ if (isOpenAiResponsesModel({ provider, model, endpointKey })) {
2743
+ return "responses";
2744
+ }
2745
+ return "completions";
2746
+ }
2747
+
2748
+ // packages/ai/llm/isResponseAPIModel.ts
2749
+ var isResponseAPIModel = (agentConfig) => resolveChatWire(agentConfig) === "responses";
2719
2750
 
2720
2751
  // packages/ai/agent/streamTurnQuickChat.ts
2721
2752
  var QUICK_CHAT_AGENT_CONFIG_READ_TIMEOUT_MS = 1e4;
@@ -3063,6 +3094,7 @@ function safeParseToolArgs(argsStr) {
3063
3094
  var streamAgentChatTurnHandler = async (args, thunkApi) => {
3064
3095
  const {
3065
3096
  agentKey,
3097
+ agentConfig: providedAgentConfig,
3066
3098
  userInput,
3067
3099
  dialogKey: explicitDialogKey,
3068
3100
  parentMessageId,
@@ -3108,11 +3140,40 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
3108
3140
  agentKey
3109
3141
  );
3110
3142
  let rawAgentConfig = null;
3111
- rawAgentConfig = isUsableAgentConfig(cachedAgentConfig) ? cachedAgentConfig : await readAgentConfigForTurn(
3112
- dispatch,
3113
- agentKey,
3114
- quickChatPerfStartedAt
3115
- );
3143
+ let agentConfigSource;
3144
+ if (isUsableAgentConfig(providedAgentConfig)) {
3145
+ rawAgentConfig = providedAgentConfig;
3146
+ agentConfigSource = "provided";
3147
+ } else if (isUsableAgentConfig(cachedAgentConfig)) {
3148
+ rawAgentConfig = cachedAgentConfig;
3149
+ agentConfigSource = "cache";
3150
+ } else {
3151
+ const builtinFallback = resolveBuiltinPlatformAgentRecord(
3152
+ agentKey
3153
+ );
3154
+ try {
3155
+ const readConfig = await readAgentConfigForTurn(
3156
+ dispatch,
3157
+ agentKey,
3158
+ quickChatPerfStartedAt
3159
+ );
3160
+ if (isUsableAgentConfig(readConfig)) {
3161
+ rawAgentConfig = readConfig;
3162
+ agentConfigSource = "read";
3163
+ } else {
3164
+ rawAgentConfig = builtinFallback ?? readConfig ?? null;
3165
+ agentConfigSource = builtinFallback ? "builtin-unusable-record" : "read";
3166
+ }
3167
+ } catch (error) {
3168
+ if (isTurnAborted(error) || !builtinFallback) throw error;
3169
+ console.warn(
3170
+ "[streamAgentChatTurn] Agent record unavailable; using builtin platform config",
3171
+ { agentKey, error: toErrorMessage(error) }
3172
+ );
3173
+ rawAgentConfig = builtinFallback;
3174
+ agentConfigSource = "builtin-read-failed";
3175
+ }
3176
+ }
3116
3177
  if (!rawAgentConfig) {
3117
3178
  return rejectWithValue(
3118
3179
  `Agent config not found for ID: ${agentKey}`
@@ -3124,7 +3185,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
3124
3185
  runtimeOptions.quickChatModelOverride
3125
3186
  );
3126
3187
  }
3127
- if (runtimeOptions?.quickChatReasoningEffort && rawAgentConfig.model === "deepseek-v4-flash") {
3188
+ if (runtimeOptions?.quickChatReasoningEffort && (rawAgentConfig.model === "deepseek-v4-flash" || rawAgentConfig.model === "deepseek-v4-pro")) {
3128
3189
  rawAgentConfig = {
3129
3190
  ...rawAgentConfig,
3130
3191
  reasoning_effort: runtimeOptions.quickChatReasoningEffort
@@ -3144,7 +3205,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
3144
3205
  model: agentConfig.model,
3145
3206
  provider: agentConfig.provider,
3146
3207
  apiSource: agentConfig.apiSource,
3147
- source: rawAgentConfig === cachedAgentConfig ? "cache" : "read"
3208
+ source: agentConfigSource
3148
3209
  });
3149
3210
  const gptProCheck = shouldBlockForGptPro(
3150
3211
  agentConfig,
@@ -3962,6 +4023,7 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
3962
4023
  }
3963
4024
  ],
3964
4025
  totalUsage: streamResult.usage ?? void 0,
4026
+ billingUsageRecords: streamResult.usageRecords,
3965
4027
  messageId,
3966
4028
  msgKey,
3967
4029
  agentConfig,
@@ -4862,26 +4924,6 @@ var streamAgentChatTurnHandler = async (args, thunkApi) => {
4862
4924
  if (turnAborted) {
4863
4925
  dispatch(clearPendingUserInputQueue(runtimeDialogKey ? { dialogKey: runtimeDialogKey } : void 0));
4864
4926
  }
4865
- if (runtimeDialogKey && !turnAborted) {
4866
- try {
4867
- const { queryRunOverlay } = await import("./queryRunOverlay-O4LOMMPO.js");
4868
- const overlayState = await queryRunOverlay(
4869
- getState(),
4870
- runtimeDialogKey
4871
- );
4872
- if (overlayState && overlayState.runs.size > 0) {
4873
- const { buildOverlayPresentation } = await import("./runOverlayPresentation-ZO4VCWEU.js");
4874
- const presentation = buildOverlayPresentation(overlayState);
4875
- if (presentation) {
4876
- dispatch(appendOverlayMessage({
4877
- dialogKey: runtimeDialogKey,
4878
- text: presentation
4879
- }));
4880
- }
4881
- }
4882
- } catch {
4883
- }
4884
- }
4885
4927
  if (runtimeDialogKey) {
4886
4928
  dispatch(runChatQueueTurnEnd({
4887
4929
  dialogKey: runtimeDialogKey,
@@ -0,0 +1,61 @@
1
+ import {
2
+ require_date_fns
3
+ } from "./chunk-M76ECQRD.js";
4
+ import {
5
+ getActiveDialogKey
6
+ } from "./chunk-3ASDTTEI.js";
7
+ import {
8
+ patch,
9
+ selectById
10
+ } from "./chunk-FON47ACC.js";
11
+ import "./chunk-NRY4GCKJ.js";
12
+ import "./chunk-WWC7I6TA.js";
13
+ import "./chunk-SKDNBYZK.js";
14
+ import "./chunk-I42VC5KR.js";
15
+ import "./chunk-QSJ3HFEF.js";
16
+ import "./chunk-ATWUOTJP.js";
17
+ import "./chunk-XMLRJUU5.js";
18
+ import "./chunk-R5V5G73M.js";
19
+ import "./chunk-GBRG75BQ.js";
20
+ import "./chunk-3EUW3WEO.js";
21
+ import "./chunk-U6VC4MU4.js";
22
+ import "./chunk-SLOGKB7M.js";
23
+ import "./chunk-KUG52IAP.js";
24
+ import "./chunk-LCBAMY2M.js";
25
+ import "./chunk-4SN6J65J.js";
26
+ import "./chunk-CF7PE763.js";
27
+ import "./chunk-G3SUCT4W.js";
28
+ import {
29
+ __toESM
30
+ } from "./chunk-4VNS5WPM.js";
31
+
32
+ // packages/chat/dialog/actions/switchDialogAgentAction.ts
33
+ var import_date_fns = __toESM(require_date_fns());
34
+ var switchDialogAgentAction = async (payload, thunkApi) => {
35
+ const { dispatch, getState } = thunkApi;
36
+ const state = getState();
37
+ const targetDialogKey = payload?.dialogKey ?? getActiveDialogKey();
38
+ if (!targetDialogKey) {
39
+ throw new Error("No target dialog specified");
40
+ }
41
+ if (typeof payload?.agentKey !== "string" || !payload.agentKey.trim()) {
42
+ throw new Error("No valid agent key provided");
43
+ }
44
+ const dialogConfig = selectById(state, targetDialogKey);
45
+ if (!dialogConfig) {
46
+ throw new Error("Dialog configuration not found");
47
+ }
48
+ const changes = {
49
+ activeAgentKey: payload.agentKey.trim(),
50
+ updatedAt: (0, import_date_fns.formatISO)(/* @__PURE__ */ new Date())
51
+ };
52
+ return await dispatch(
53
+ patch({
54
+ dbKey: targetDialogKey,
55
+ changes
56
+ })
57
+ ).unwrap();
58
+ };
59
+ export {
60
+ switchDialogAgentAction
61
+ };
@@ -9,7 +9,7 @@ import {
9
9
  getCurrentProfile,
10
10
  getDefaultProfileConfigPath,
11
11
  loadProfileConfig
12
- } from "./chunk-ROWQEJRP.js";
12
+ } from "./chunk-DXJS7VSG.js";
13
13
  import {
14
14
  DEFAULT_NOLO_SERVER_URL
15
15
  } from "./chunk-OLZBQWZU.js";
@@ -7,11 +7,11 @@ import {
7
7
  getToolRequestContext,
8
8
  resolveToolApiBaseUrl,
9
9
  resolveToolBaseUrl
10
- } from "./chunk-5MIDPSSK.js";
11
- import "./chunk-DFFIZ25G.js";
10
+ } from "./chunk-PB7G5MAM.js";
12
11
  import "./chunk-3ASDTTEI.js";
13
12
  import "./chunk-DWLEOOGR.js";
14
13
  import "./chunk-QSJ3HFEF.js";
14
+ import "./chunk-SLOGKB7M.js";
15
15
  import "./chunk-KUG52IAP.js";
16
16
  import "./chunk-4VNS5WPM.js";
17
17
  export {
@@ -1,8 +1,5 @@
1
1
  import {
2
2
  TOOL_GROUP_META,
3
- TOOL_PACKS,
4
- addDefaultLightWebToolsForConfiguredAgents,
5
- applyDefaultWebToolPacks,
6
3
  findToolExecutor,
7
4
  patchAgentToolSchemas,
8
5
  toolDefinitionsByName,
@@ -11,65 +8,71 @@ import {
11
8
  toolQueryFunc,
12
9
  toolQueryFunctionSchema,
13
10
  toolRegistry
14
- } from "./chunk-EDV7EBOI.js";
11
+ } from "./chunk-4ZH6GUJF.js";
15
12
  import "./chunk-RQSOAMPJ.js";
16
- import "./chunk-3ZX7PERL.js";
13
+ import "./chunk-I6RJGORZ.js";
14
+ import "./chunk-LALVWNE4.js";
17
15
  import "./chunk-KQHGZWSV.js";
18
- import "./chunk-4T5F7YZQ.js";
19
16
  import "./chunk-3LY4F7SV.js";
20
17
  import "./chunk-VF4K2QE6.js";
21
- import "./chunk-G5U6LDLG.js";
22
- import "./chunk-JLA4FXYC.js";
18
+ import "./chunk-NVHPMDSZ.js";
19
+ import "./chunk-MALVZUYL.js";
23
20
  import "./chunk-VP4WJWKW.js";
24
21
  import "./chunk-63W5N6P3.js";
25
- import "./chunk-IYEXFJPC.js";
26
- import "./chunk-SCTYAHYK.js";
22
+ import "./chunk-TW35GDNW.js";
23
+ import "./chunk-H2NAWOLH.js";
27
24
  import "./chunk-XOIF2TNF.js";
28
- import "./chunk-B5TOXZAK.js";
29
25
  import "./chunk-MRC4Q34M.js";
30
- import "./chunk-REA4JLBH.js";
26
+ import "./chunk-SIZQB7BD.js";
27
+ import "./chunk-M5OZCOBV.js";
28
+ import "./chunk-YYLHWIW6.js";
31
29
  import "./chunk-CWMSB67P.js";
32
- import "./chunk-XHG22OEX.js";
33
- import "./chunk-Z4NR32XR.js";
30
+ import "./chunk-ROJI6DRT.js";
31
+ import "./chunk-5RGU3J7P.js";
34
32
  import "./chunk-M76ECQRD.js";
35
- import "./chunk-3Q7WHGCB.js";
36
- import "./chunk-7BUYEZ6U.js";
37
- import "./chunk-VC6OZXO5.js";
33
+ import "./chunk-L65QKSVJ.js";
34
+ import "./chunk-7H3UTGPM.js";
35
+ import {
36
+ TOOL_PACKS,
37
+ addDefaultLightWebToolsForConfiguredAgents,
38
+ applyDefaultWebToolPacks
39
+ } from "./chunk-CF7S2RYZ.js";
40
+ import "./chunk-ZWJOGMKH.js";
38
41
  import "./chunk-WZSRQNQG.js";
39
- import "./chunk-DKZFOK24.js";
40
- import "./chunk-I2ZJKTG5.js";
42
+ import "./chunk-UZH44DWK.js";
43
+ import "./chunk-CGVRC2TB.js";
41
44
  import "./chunk-5MMAK75Q.js";
42
45
  import "./chunk-5CS33IBL.js";
43
46
  import "./chunk-JZPBVBIY.js";
44
- import "./chunk-UAIVG4J6.js";
47
+ import "./chunk-CHSCAUZN.js";
45
48
  import "./chunk-ZHXJ6M7T.js";
46
- import "./chunk-HNMXYYJR.js";
47
- import "./chunk-ELT65PZW.js";
48
49
  import "./chunk-ZZ2MH7LE.js";
49
- import "./chunk-5MIDPSSK.js";
50
- import "./chunk-DFFIZ25G.js";
50
+ import "./chunk-PB7G5MAM.js";
51
51
  import "./chunk-3ASDTTEI.js";
52
52
  import "./chunk-DWLEOOGR.js";
53
- import "./chunk-FQZZLA3C.js";
54
- import "./chunk-LLWKHDG4.js";
55
- import "./chunk-MKA6QE5E.js";
56
- import "./chunk-UGUW3FHG.js";
57
- import "./chunk-RVOUXDFU.js";
53
+ import "./chunk-KXKQO4Q6.js";
54
+ import "./chunk-HNMXYYJR.js";
55
+ import "./chunk-4ULSC37S.js";
56
+ import "./chunk-2IPEVBUO.js";
57
+ import "./chunk-JMSCXQUG.js";
58
+ import "./chunk-S6KVFOUG.js";
58
59
  import "./chunk-Y5GCAMGP.js";
60
+ import "./chunk-UZ6XXCVR.js";
59
61
  import "./chunk-KX6YBIHG.js";
60
- import "./chunk-XRZJGPFI.js";
61
- import "./chunk-6Y7A3OQQ.js";
62
+ import "./chunk-OXLLFZNF.js";
63
+ import "./chunk-FON47ACC.js";
64
+ import "./chunk-NRY4GCKJ.js";
62
65
  import "./chunk-WWC7I6TA.js";
63
66
  import "./chunk-SKDNBYZK.js";
64
67
  import "./chunk-I42VC5KR.js";
65
68
  import "./chunk-QSJ3HFEF.js";
66
- import "./chunk-X4Q4UZEY.js";
67
- import "./chunk-3ND52WIL.js";
69
+ import "./chunk-ATWUOTJP.js";
68
70
  import "./chunk-XMLRJUU5.js";
69
71
  import "./chunk-R5V5G73M.js";
70
72
  import "./chunk-GBRG75BQ.js";
71
73
  import "./chunk-3EUW3WEO.js";
72
74
  import "./chunk-U6VC4MU4.js";
75
+ import "./chunk-SLOGKB7M.js";
73
76
  import "./chunk-KUG52IAP.js";
74
77
  import "./chunk-LCBAMY2M.js";
75
78
  import "./chunk-4SN6J65J.js";