nolo-cli 0.226.0-alpha.2 → 0.227.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 (165) hide show
  1. package/{_executeModel-IKZGZZXW.js → _executeModel-JKQGZ3HU.js} +60 -60
  2. package/accountResolver-EK2S4PWF.js +1 -1
  3. package/action-CK64LS6S.js +3 -3
  4. package/{addContentAction-EQXMFNPR.js → addContentAction-CARFID6E.js} +11 -11
  5. package/{addDialogAgentAction-RSDZDASD.js → addDialogAgentAction-APLZLFW5.js} +10 -10
  6. package/{agentDeleteCommand-IZY3VF5F.js → agentDeleteCommand-NVR2V2HH.js} +86 -87
  7. package/{agentEmailCommands-YWL567CL.js → agentEmailCommands-UCVOWD3S.js} +86 -87
  8. package/{agentFavoriteCommands-2LKGKSUD.js → agentFavoriteCommands-4PDOP3GW.js} +3 -3
  9. package/{agentGrantCommands-QQV4N4JW.js → agentGrantCommands-FLCEXLUH.js} +4 -4
  10. package/{agentListCommands-YBNOQ5T3.js → agentListCommands-C65UESYM.js} +70 -57
  11. package/{agentMachineCommands-AXJ4A772.js → agentMachineCommands-V3DGEJU4.js} +43 -43
  12. package/{agentProviderCommands-7BSJH7TO.js → agentProviderCommands-7QBFRFRK.js} +4 -4
  13. package/{agentPullCommand-XN6ZPBUW.js → agentPullCommand-E6JBGBVG.js} +3 -3
  14. package/{agentRecordCommands-WUUC2CX7.js → agentRecordCommands-6RCJS2EY.js} +83 -84
  15. package/{agentRunCommand-W6MDKVLJ.js → agentRunCommand-P3GRKXKS.js} +86 -86
  16. package/{agentRunControl-DFEEOFC7.js → agentRunControl-SNZZ5XP4.js} +10 -10
  17. package/{agentRuntimeLocal-GSTYFEX4.js → agentRuntimeLocal-GOX2DIY7.js} +38 -38
  18. package/{agentSlice-5F5U5X2U.js → agentSlice-N7H2FRJA.js} +15 -15
  19. package/{appDeleteCommands-L7HL4AWF.js → appDeleteCommands-LZDN26FU.js} +47 -47
  20. package/{appDeployCommands-SGSUNFZR.js → appDeployCommands-6IO6TTZH.js} +47 -47
  21. package/{appDeployStatusCommands-AAA3XD54.js → appDeployStatusCommands-FG3LX24J.js} +47 -47
  22. package/{appGetCommands-LN72GAOA.js → appGetCommands-NAKVDVD4.js} +47 -47
  23. package/{appListCommands-IJQQ3VND.js → appListCommands-KL56RN73.js} +47 -47
  24. package/{authCommand-7JXW54U4.js → authCommand-AUN5MXV2.js} +20 -20
  25. package/{authCommands-YDNAIDEY.js → authCommands-D2IPS6ES.js} +7 -7
  26. package/{builtinSkillRegistry-PXH7EGQB.js → builtinSkillRegistry-UQGLKRYP.js} +5 -5
  27. package/{chromeOpsCommands-YKX2QX3A.js → chromeOpsCommands-UJWN5HWH.js} +5 -5
  28. package/{chunk-3QFLXA24.js → chunk-2G3YSVO6.js} +1 -1
  29. package/{chunk-2COEG5ZV.js → chunk-2SKTCNWO.js} +2 -2
  30. package/{chunk-KNIIRXHF.js → chunk-3HTP4WZQ.js} +2 -2
  31. package/{chunk-2TIQO6TC.js → chunk-3VFYQH3I.js} +21 -170
  32. package/{chunk-AZQZ5XPM.js → chunk-4OKTPFNX.js} +27 -27
  33. package/{chunk-UYOICCYG.js → chunk-5HL4KC4A.js} +9 -9
  34. package/{chunk-2VA6TU4I.js → chunk-5LQDHFBN.js} +14 -14
  35. package/{chunk-QLFCTYRH.js → chunk-5RKRXQ2H.js} +2 -2
  36. package/{chunk-PDCV7P5W.js → chunk-6XIE5ZGI.js} +1 -1
  37. package/{chunk-QTMIHVLE.js → chunk-7Z3WUZ4Q.js} +27 -24
  38. package/{chunk-BLSNUIZD.js → chunk-ABGULE7H.js} +13 -13
  39. package/{chunk-VQUWV3YR.js → chunk-AXYH4734.js} +12 -12
  40. package/{chunk-UEKXWO7A.js → chunk-C2B7M567.js} +4 -4
  41. package/{chunk-2ZKFCIJJ.js → chunk-CLCXHIBS.js} +1 -1
  42. package/{chunk-GBZ4YKEO.js → chunk-CQVGR3MX.js} +2 -2
  43. package/{chunk-KC4SCKXO.js → chunk-CVERLOJM.js} +51 -52
  44. package/{chunk-KN3HEZIQ.js → chunk-EVGU5P4U.js} +1 -1
  45. package/{chunk-QZI44GWV.js → chunk-F5AY2UZL.js} +145 -4
  46. package/{chunk-WSJMT3FA.js → chunk-FKEZOMIF.js} +426 -2459
  47. package/{chunk-PVZY6P3S.js → chunk-G6HJUMST.js} +2 -2
  48. package/{chunk-NEKH3XDV.js → chunk-GOLPOTG5.js} +3 -3
  49. package/{chunk-GVGOEMNV.js → chunk-GOQ6ZVTN.js} +1 -1
  50. package/{chunk-T3T57NVP.js → chunk-GRXSJR2Z.js} +19 -19
  51. package/{chunk-GGKNJ42M.js → chunk-GUVXQSFZ.js} +2 -2
  52. package/{chunk-UKS7D2NL.js → chunk-HYKGIXNO.js} +9 -9
  53. package/{chunk-6O5YP6FX.js → chunk-IAJJYHIB.js} +5 -5
  54. package/{chunk-SOF4OWDM.js → chunk-IC2I373Q.js} +3 -5
  55. package/{chunk-UJKTI5PG.js → chunk-ILHQ2AXT.js} +0 -1
  56. package/{chunk-VV7TXWOC.js → chunk-IX2BXN2K.js} +3 -3
  57. package/{chunk-RRVQ446B.js → chunk-JHF6VLVL.js} +29 -29
  58. package/{chunk-DISQCYPE.js → chunk-KJAAPGBE.js} +1 -1
  59. package/{chunk-N5PQJKCY.js → chunk-KMRKZNGT.js} +5 -5
  60. package/{chunk-GNHMRBYZ.js → chunk-KRRE4A7D.js} +3 -3
  61. package/{chunk-6J4TTPS2.js → chunk-L42CBKBZ.js} +4 -4
  62. package/{chunk-BYH3HMUP.js → chunk-LA7JYAKF.js} +3 -3
  63. package/{chunk-EJU6WCDH.js → chunk-LXTC53TN.js} +84 -72
  64. package/{chunk-67BE44IS.js → chunk-M3Y4IBIR.js} +4 -4
  65. package/{chunk-GIABSSWQ.js → chunk-MWHOH4RJ.js} +1 -1
  66. package/{chunk-3KNEE64G.js → chunk-NAOO4PVX.js} +16 -16
  67. package/{chunk-MOMR7NMG.js → chunk-NO3VBWTL.js} +1 -1
  68. package/{chunk-YDBMZ7FV.js → chunk-OXA5GWHU.js} +2 -2
  69. package/{chunk-FTQWYWUI.js → chunk-PHOSZT3E.js} +1 -1
  70. package/{chunk-C4WTX5TU.js → chunk-PLPLH2XZ.js} +1 -1
  71. package/{chunk-W772FYAQ.js → chunk-PVAWNHP5.js} +52 -52
  72. package/{chunk-OLMJR6UM.js → chunk-PXKF5CV4.js} +4 -4
  73. package/{chunk-ZH6MUQEO.js → chunk-RU6DULV4.js} +1 -1
  74. package/{chunk-JVRQ6YVK.js → chunk-S6K5F3KP.js} +1 -1
  75. package/{chunk-AVHRSJUH.js → chunk-SFTTXGPM.js} +10 -10
  76. package/{chunk-4HFTBHBF.js → chunk-SRG5CNLC.js} +4 -4
  77. package/{chunk-HHL7WG65.js → chunk-SW6OD4KE.js} +6 -6
  78. package/{chunk-TXGQ4O5S.js → chunk-T43K75CK.js} +13 -13
  79. package/{chunk-KZU52OJ5.js → chunk-T5N6NHAT.js} +6 -6
  80. package/{chunk-JHRQXQ4A.js → chunk-TINJKQSO.js} +11 -11
  81. package/{chunk-JM5C4EUA.js → chunk-TOKPHZ55.js} +1 -1
  82. package/{chunk-GBUDWITV.js → chunk-UAPNPNSG.js} +892 -625
  83. package/{chunk-BGGHA5DV.js → chunk-UCFPVYP7.js} +1 -1
  84. package/{chunk-SOG7OEXX.js → chunk-ULAQPRHX.js} +1 -1
  85. package/{chunk-SBVTHMEG.js → chunk-UN7HIYMH.js} +1 -1
  86. package/{chunk-GOAPXKQU.js → chunk-UVUVQVZ6.js} +4 -4
  87. package/{chunk-4AMQZTE7.js → chunk-VIHDJ3FK.js} +5 -5
  88. package/{chunk-EWPDMS4N.js → chunk-VPAZ6BEN.js} +1 -1
  89. package/{chunk-XN23AUVU.js → chunk-VZW34YUL.js} +3 -3
  90. package/{chunk-D726I5AZ.js → chunk-WJP4TH6U.js} +1 -1
  91. package/{chunk-EOWLBDY6.js → chunk-X2KRQP7V.js} +1 -1
  92. package/{chunk-F7DU25CE.js → chunk-XIEYGCN6.js} +4 -10
  93. package/{chunk-KOXKKHFE.js → chunk-XZODOEKU.js} +1 -1
  94. package/{chunk-QVBXJNZ2.js → chunk-YGILMZ7N.js} +1 -1
  95. package/{chunk-C4VAR65S.js → chunk-YOT437BH.js} +5 -5
  96. package/{chunk-VFBVA3U2.js → chunk-YPPKC6FL.js} +2 -2
  97. package/{chunk-LM2PS3YS.js → chunk-YQETUZ5V.js} +5 -5
  98. package/{chunk-E5EIYI34.js → chunk-ZADGPNTV.js} +24 -24
  99. package/{chunk-L4NFXFFF.js → chunk-ZI5SZ3MV.js} +11 -11
  100. package/{chunk-EFX3Q5SM.js → chunk-ZYA2YDB6.js} +18 -18
  101. package/{cliAgentConfigHelpers-KICKKNYQ.js → cliAgentConfigHelpers-QVSQYTKC.js} +10 -10
  102. package/{cliEnvHelpers-VPSJ4XWC.js → cliEnvHelpers-D6HMC46Z.js} +2 -2
  103. package/{cliLocalAgentRecordReader-6FXGFBI3.js → cliLocalAgentRecordReader-SPKAJYME.js} +45 -45
  104. package/{commandRegistry-6EQXVODF.js → commandRegistry-TKR6OWXP.js} +91 -91
  105. package/{contentThunks-ANUP57QV.js → contentThunks-BQWRPCTM.js} +29 -29
  106. package/{createAgentAutomationAction-XMUWUDKQ.js → createAgentAutomationAction-GFI6SJZV.js} +32 -32
  107. package/{createDialogAction-43QJIQDH.js → createDialogAction-MMBIHFFU.js} +30 -30
  108. package/{createPageAction-SJO7UC3J.js → createPageAction-EEYUE5FB.js} +32 -32
  109. package/{dbSlice-ZJPDIFER.js → dbSlice-X4Z4E4QU.js} +10 -10
  110. package/{deleteFile-Q3YDB4ML.js → deleteFile-QOOP2UK7.js} +5 -5
  111. package/{dialogCommands-V5IYEOQP.js → dialogCommands-OXBQ73DD.js} +48 -48
  112. package/{dialogNotifyCommand-77B57PL6.js → dialogNotifyCommand-VWS5G4OO.js} +13 -13
  113. package/{dialogSlice-FQ6WOKWJ.js → dialogSlice-KGYIABDY.js} +27 -27
  114. package/{dialogUsageCommand-HTVPR2CX.js → dialogUsageCommand-FEWCN7IA.js} +6 -6
  115. package/{docCreateCommands-36WS33BK.js → docCreateCommands-LS32VKY3.js} +47 -47
  116. package/{docDeleteCommands-C4CS4XLF.js → docDeleteCommands-JTYR5RPH.js} +48 -48
  117. package/{docReadCommands-QZMSFMPN.js → docReadCommands-E5LTVKWN.js} +47 -47
  118. package/{docStore-BZ2O7WLF.js → docStore-TVS2FNER.js} +12 -12
  119. package/{docUpdateCommands-BYI64HVV.js → docUpdateCommands-I3J3JDZ2.js} +47 -47
  120. package/{fetchMessages-TQEUZD7H.js → fetchMessages-Q3INLN5F.js} +2 -2
  121. package/getPricing-VNGFM4PN.js +2 -2
  122. package/{handleSendMessageAction-I5J7QR7K.js → handleSendMessageAction-SSON36TJ.js} +54 -54
  123. package/{hostCredentialCreate-AVPMK7EQ.js → hostCredentialCreate-WTW4THJF.js} +83 -84
  124. package/index.js +12 -12
  125. package/{localDialogRead-SVTPA5GY.js → localDialogRead-V36DX2Q2.js} +1 -1
  126. package/{localRuntimeAdapter-S56R76HN.js → localRuntimeAdapter-MI2JGXSF.js} +83 -84
  127. package/{machineCommands-77NFB2AE.js → machineCommands-3LROJZDK.js} +86 -87
  128. package/{machineWsRunDispatch-5XWFUJ53.js → machineWsRunDispatch-BUUJRUUB.js} +82 -83
  129. package/{memberThunks-JRYNONYV.js → memberThunks-CFEPHAND.js} +14 -14
  130. package/{memoryCommands-5WC3T66U.js → memoryCommands-JQMEJO7J.js} +3 -3
  131. package/package.json +1 -1
  132. package/{projectArchive-GNOSYH6F.js → projectArchive-3X54XFVN.js} +32 -32
  133. package/{providerPresetApply-J3WMRPD2.js → providerPresetApply-FO36N5TX.js} +5 -5
  134. package/{providerRegistry-KJGB5XWS.js → providerRegistry-U2BSFE6K.js} +5 -5
  135. package/{read-Q7GOHGNP.js → read-KA3L2V7O.js} +6 -6
  136. package/{readDocTool-Z5OQ6422.js → readDocTool-AMAZAPAW.js} +1 -1
  137. package/{readlineWorkspace-2PONGBUP.js → readlineWorkspace-Z3YUH4SX.js} +599 -1264
  138. package/{removeDialogAgentAction-U3F2MNAY.js → removeDialogAgentAction-JQOJSUM7.js} +12 -12
  139. package/{runAgentClientLoop-WEXFFHVS.js → runAgentClientLoop-4FCFLMDJ.js} +63 -59
  140. package/{runtimeDoctorCommands-UXKXYBW6.js → runtimeDoctorCommands-CXOCVDPU.js} +5 -5
  141. package/{secretCommands-LJXOOYA7.js → secretCommands-GGUAWAE7.js} +3 -3
  142. package/{setDialogExtraReferencesAction-G3WSJ7EM.js → setDialogExtraReferencesAction-YXQTGXIN.js} +11 -11
  143. package/{setPrimaryDialogAgentAction-6FHAHZBB.js → setPrimaryDialogAgentAction-YNLB66WE.js} +12 -12
  144. package/{settingThunks-AXTBX3Q5.js → settingThunks-E6N7RSSS.js} +16 -16
  145. package/{spaceCommands-GUKMDRWN.js → spaceCommands-DB5DKC2J.js} +43 -43
  146. package/{streamAgentChatTurn-D2WFS5MF.js → streamAgentChatTurn-FCBGMD4D.js} +84 -123
  147. package/{switchDialogAgentAction-UOFIAGPL.js → switchDialogAgentAction-LAHLUECU.js} +10 -10
  148. package/{tools-YKE6PQHT.js → tools-6JD36D6K.js} +49 -49
  149. package/{tuiSummaryLlmCaller-7WLUKNP2.js → tuiSummaryLlmCaller-UHZIPGAX.js} +14 -14
  150. package/{updateCommands-RJVCRSBP.js → updateCommands-KZ54HCU5.js} +6 -6
  151. package/{updateDialogTitleAction-D5NCA4FC.js → updateDialogTitleAction-RV3EUEN3.js} +32 -32
  152. package/{usageCommand-YPJ2ZI2F.js → usageCommand-KFVV6UL3.js} +1 -1
  153. package/{usageRebuildCommand-FERQO74C.js → usageRebuildCommand-HHFSNK46.js} +2 -2
  154. package/{chunk-4NA3YTBC.js → chunk-6EDAMVG6.js} +6 -6
  155. package/{chunk-W6RFEDN4.js → chunk-AETZ7AD6.js} +3 -3
  156. package/{chunk-2VUZSVAS.js → chunk-CSW7IPVD.js} +9 -9
  157. package/{chunk-KEN3N2TN.js → chunk-HVUDBOQG.js} +7 -7
  158. package/{chunk-SNBZZPYH.js → chunk-OQHIVPG4.js} +3 -3
  159. package/{chunk-47ITIXO7.js → chunk-SSGTV4FC.js} +3 -3
  160. package/{chunk-IZIN2UNJ.js → chunk-T2BEPTAG.js} +6 -6
  161. package/{chunk-HXER7YJF.js → chunk-VXL2FZTP.js} +3 -3
  162. package/{chunk-2THCNKE4.js → chunk-WACI5I6V.js} +3 -3
  163. package/{cooldownCommands-X7P5M2V5.js → cooldownCommands-FZYQOWI5.js} +1 -1
  164. package/{offlineMarxistsAgentCommand-4IC3Y4C6.js → offlineMarxistsAgentCommand-AGA2X5E4.js} +6 -6
  165. package/{tableCommands-HITDSLHS.js → tableCommands-VNSXHAMG.js} +9 -9
@@ -7,7 +7,7 @@ import {
7
7
  resolveDiscoveryScope,
8
8
  resolvePaginationArgs,
9
9
  toDiscoverySafeAgentSummary
10
- } from "./chunk-QZI44GWV.js";
10
+ } from "./chunk-F5AY2UZL.js";
11
11
  import {
12
12
  ToolResultError,
13
13
  clipMultilineText,
@@ -20,7 +20,7 @@ import {
20
20
  toolRunUpdated,
21
21
  uiCardFallback,
22
22
  waitForAbortableDelay
23
- } from "./chunk-T3T57NVP.js";
23
+ } from "./chunk-GRXSJR2Z.js";
24
24
  import {
25
25
  isGatewayHttpStatus
26
26
  } from "./chunk-NF64D32W.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  AGENT_UPDATE_FIELD_NAMES,
36
36
  normalizeAgentUpdateFieldList
37
- } from "./chunk-GGKNJ42M.js";
37
+ } from "./chunk-GUVXQSFZ.js";
38
38
  import {
39
39
  markdownToSlate
40
40
  } from "./chunk-FJ23FZXF.js";
@@ -46,12 +46,12 @@ import {
46
46
  } from "./chunk-63W5N6P3.js";
47
47
  import {
48
48
  createDocState
49
- } from "./chunk-BYH3HMUP.js";
49
+ } from "./chunk-LA7JYAKF.js";
50
50
  import {
51
51
  applyFetchSpaceFulfilled,
52
52
  fetchAuthoritativeRemoteSpace,
53
53
  selectSpaceRemoteAuth
54
- } from "./chunk-KOXKKHFE.js";
54
+ } from "./chunk-XZODOEKU.js";
55
55
  import {
56
56
  ToolApiError,
57
57
  buildToolRequestHeaders,
@@ -66,13 +66,13 @@ import {
66
66
  readPageFunc,
67
67
  readPageFunctionSchema,
68
68
  resolvePageReadMarkdown
69
- } from "./chunk-BGGHA5DV.js";
69
+ } from "./chunk-UCFPVYP7.js";
70
70
  import {
71
71
  shareResourceAction
72
72
  } from "./chunk-AK5O76CC.js";
73
73
  import {
74
74
  createDialogAction
75
- } from "./chunk-HHL7WG65.js";
75
+ } from "./chunk-SW6OD4KE.js";
76
76
  import {
77
77
  DEFAULT_COLLAPSED_CATEGORIES,
78
78
  addContentToSpace,
@@ -89,7 +89,7 @@ import {
89
89
  updateContentCategory,
90
90
  updateContentTitle,
91
91
  writeStoredCollapsedCategories
92
- } from "./chunk-JHRQXQ4A.js";
92
+ } from "./chunk-TINJKQSO.js";
93
93
  import {
94
94
  buildDatabaseFileContentUrl,
95
95
  deleteDialog,
@@ -102,14 +102,14 @@ import {
102
102
  selectMsgById,
103
103
  uiAskChoiceFunc,
104
104
  uiAskChoiceFunctionSchema
105
- } from "./chunk-W772FYAQ.js";
105
+ } from "./chunk-PVAWNHP5.js";
106
106
  import {
107
107
  createAgent,
108
108
  deleteServerSyncedCredential,
109
109
  runLlm,
110
110
  streamAgentChatTurn,
111
111
  updateAgent
112
- } from "./chunk-BLSNUIZD.js";
112
+ } from "./chunk-ABGULE7H.js";
113
113
  import {
114
114
  addMemberSpace,
115
115
  getAllMemberSpaces,
@@ -126,7 +126,7 @@ import {
126
126
  setViewMode,
127
127
  updateCurrentSpaceIfMatch,
128
128
  updateMemberSpaceName
129
- } from "./chunk-MOMR7NMG.js";
129
+ } from "./chunk-NO3VBWTL.js";
130
130
  import {
131
131
  buildMediaToolConfirmation,
132
132
  normalizeMediaConfirmExecutionRevision
@@ -147,7 +147,7 @@ import {
147
147
  UNCATEGORIZED_ID,
148
148
  addContentAction,
149
149
  checkSpaceMembership
150
- } from "./chunk-PVZY6P3S.js";
150
+ } from "./chunk-G6HJUMST.js";
151
151
  import {
152
152
  createSpaceKey,
153
153
  normalizeSpaceId
@@ -163,14 +163,29 @@ import {
163
163
  selectEntities,
164
164
  toTimestampMs,
165
165
  write
166
- } from "./chunk-AVHRSJUH.js";
166
+ } from "./chunk-SFTTXGPM.js";
167
+ import {
168
+ RUN_TITLE_MAX,
169
+ TASK_PREVIEW_MAX,
170
+ buildDelegatedTaskContent,
171
+ calculateDelegatedPayloadMetrics,
172
+ formatAgentListCard,
173
+ formatListRunsCard,
174
+ formatNotFoundRunCard,
175
+ formatStartRunCard,
176
+ formatStatusRunCard,
177
+ formatStopRunCard,
178
+ normalizeRunTitle,
179
+ resolveAgentRunName,
180
+ resolveRunLabel
181
+ } from "./chunk-AXYH4734.js";
167
182
  import {
168
183
  getUserDataItemTimestamp,
169
184
  mergeAndDedupUserData
170
185
  } from "./chunk-GBWGPTA7.js";
171
186
  import {
172
187
  readAction
173
- } from "./chunk-QLFCTYRH.js";
188
+ } from "./chunk-5RKRXQ2H.js";
174
189
  import {
175
190
  DEVICE_LOCAL_OWNER_ID,
176
191
  getRuntimeServerContext,
@@ -180,7 +195,7 @@ import {
180
195
  resolveEffectiveSpaceActorId,
181
196
  resolveRecordOwnerUserId,
182
197
  selectRuntimeSnapshot
183
- } from "./chunk-2VUZSVAS.js";
198
+ } from "./chunk-CSW7IPVD.js";
184
199
  import {
185
200
  createAsyncThunk,
186
201
  noloWriteRequest
@@ -212,7 +227,7 @@ import {
212
227
  normalizeNoloSpaceInput,
213
228
  resolveNoloDialogInput,
214
229
  verifyNoloDialogSubjectRefQuery
215
- } from "./chunk-C4VAR65S.js";
230
+ } from "./chunk-YOT437BH.js";
216
231
  import {
217
232
  mergeAvailabilityDeadline,
218
233
  resolveCredentialKeyWithFallback
@@ -220,7 +235,7 @@ import {
220
235
  import {
221
236
  redactAgentRecordForWorkspaceTool,
222
237
  resolveReadOnlyToolConstraints
223
- } from "./chunk-SOF4OWDM.js";
238
+ } from "./chunk-IC2I373Q.js";
224
239
  import {
225
240
  clipCompactText
226
241
  } from "./chunk-5MMAK75Q.js";
@@ -229,16 +244,19 @@ import {
229
244
  } from "./chunk-KX6YBIHG.js";
230
245
  import {
231
246
  createFileCredentialBroker
232
- } from "./chunk-SNBZZPYH.js";
247
+ } from "./chunk-OQHIVPG4.js";
233
248
  import {
234
249
  compactWhitespace
235
250
  } from "./chunk-DWLEOOGR.js";
236
251
  import {
237
252
  isAbortError
238
253
  } from "./chunk-7DPNBQSV.js";
254
+ import {
255
+ toErrorMessage
256
+ } from "./chunk-HNMXYYJR.js";
239
257
  import {
240
258
  CAPABILITY_PACKS
241
- } from "./chunk-GNHMRBYZ.js";
259
+ } from "./chunk-KRRE4A7D.js";
242
260
  import {
243
261
  CHROME_CONNECTOR_ACCEPTED_TOOL_NAMES,
244
262
  canonicalizeToolName,
@@ -255,10 +273,30 @@ import {
255
273
  parseExternalSkillMarkdown,
256
274
  parseSkillDocProtocol,
257
275
  resolvePageSkillMetadata
258
- } from "./chunk-W6RFEDN4.js";
276
+ } from "./chunk-AETZ7AD6.js";
259
277
  import {
260
278
  extractCustomId
261
279
  } from "./chunk-M2EJHDJP.js";
280
+ import {
281
+ DEFAULT_MODEL,
282
+ clampReasoningEffort,
283
+ resolveModelReasoningCapabilityWithCache
284
+ } from "./chunk-KYH7XW3K.js";
285
+ import {
286
+ isRecord
287
+ } from "./chunk-KUG52IAP.js";
288
+ import {
289
+ asTrimmedLowercaseString
290
+ } from "./chunk-QSJ3HFEF.js";
291
+ import {
292
+ API_ENDPOINTS
293
+ } from "./chunk-LCBAMY2M.js";
294
+ import {
295
+ DEFAULT_LOCAL_API_ORIGIN
296
+ } from "./chunk-4SN6J65J.js";
297
+ import {
298
+ normalizeServerOrigin
299
+ } from "./chunk-CF7PE763.js";
262
300
  import {
263
301
  SEPARATOR,
264
302
  TYPE_STORAGE_PREFIXES,
@@ -284,53 +322,15 @@ import {
284
322
  asNonEmptyStringArray,
285
323
  asTrimmedNonEmptyStringArray
286
324
  } from "./chunk-I42VC5KR.js";
287
- import {
288
- RUN_TITLE_MAX,
289
- TASK_PREVIEW_MAX,
290
- buildDelegatedTaskContent,
291
- calculateDelegatedPayloadMetrics,
292
- formatAgentListCard,
293
- formatListRunsCard,
294
- formatNotFoundRunCard,
295
- formatStartRunCard,
296
- formatStatusRunCard,
297
- formatStopRunCard,
298
- normalizeRunTitle,
299
- resolveAgentRunName,
300
- resolveRunLabel
301
- } from "./chunk-VQUWV3YR.js";
302
- import {
303
- toErrorMessage
304
- } from "./chunk-HNMXYYJR.js";
305
325
  import {
306
326
  asTrimmedString
307
327
  } from "./chunk-3EUW3WEO.js";
308
- import {
309
- DEFAULT_MODEL,
310
- clampReasoningEffort,
311
- resolveModelReasoningCapabilityWithCache
312
- } from "./chunk-KYH7XW3K.js";
313
- import {
314
- isRecord
315
- } from "./chunk-KUG52IAP.js";
316
- import {
317
- asTrimmedLowercaseString
318
- } from "./chunk-QSJ3HFEF.js";
319
328
  import {
320
329
  asOptionalFiniteNumber
321
330
  } from "./chunk-WWC7I6TA.js";
322
- import {
323
- API_ENDPOINTS
324
- } from "./chunk-LCBAMY2M.js";
325
331
  import {
326
332
  asOptionalTrimmedString
327
333
  } from "./chunk-G3SUCT4W.js";
328
- import {
329
- DEFAULT_LOCAL_API_ORIGIN
330
- } from "./chunk-4SN6J65J.js";
331
- import {
332
- normalizeServerOrigin
333
- } from "./chunk-CF7PE763.js";
334
334
  import {
335
335
  __toESM
336
336
  } from "./chunk-U67V476Y.js";
@@ -3904,7 +3904,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3904
3904
  const deletedDialogIds = [];
3905
3905
  const deletedDialogKeys = [];
3906
3906
  const failures = [];
3907
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-FQ6WOKWJ.js");
3907
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-KGYIABDY.js");
3908
3908
  for (const target of targets) {
3909
3909
  try {
3910
3910
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -3970,7 +3970,7 @@ async function fetchUserFavoriteAgentMap(thunkApi) {
3970
3970
  }
3971
3971
  var listAgentsFunctionSchema = {
3972
3972
  name: "listAgents",
3973
- description: "List Nolo agents available for delegation as safe summaries. By default (scope='all') returns the deduplicated union of the user's own/favorite agents and public/shared agents. scope='public' returns only public/shared agents. Public agents may consume platform credits - check each agent's billingSource before dispatching. The payload returns `credentialGroups` summarizing independent credential capacities (credentialGroup, credentialKind, agentCount, and availableAt recovery timestamps). Orchestration discipline: Never fan out parallel runs on one credential; fan out only across distinct credentialGroups. A channel verdict is valid for the current dispatch attempt only; always re-read availability before dispatching, and never reuse a failure verdict from an earlier attempt. On config_unresolved-class errors, retry once before degrading. Reserve the strongest private channels for review; execution should use cheap channels. The `agents` array carries a compact agent-selection projection per agent: runnable `agentKey` (agent-<userId>-<id> owned, agent-pub-<id> public), name, model, provider, apiSource, billingSource ('user_subscription' | 'owner_subscription' | 'user_api' | 'platform_credits' | 'local'), tools, isFavorite, isOAuth, isOwned, isPublic, credentialGroup, credentialKind. Copy `agentKey` verbatim into startAgentRun. All agents are listed, including rate-limited (429) ones: cooldown agents carry `availabilityStatus` / `availabilityReason` / `nextAvailableAt` as reference info, not a dispatch gate (quota is informational; requests are still sent and upstream results are reported as-is). `unavailableCount` reports how many agents are currently rate-limited. `showUnavailable` is deprecated and has no effect (kept for compatibility). Set `verbose: true` for full safe summary details.",
3973
+ description: "List Nolo agents available for delegation as safe summaries. Returns planningRecommendation: conditional advice only when planning is needed and the candidate is suitable; simple questions need no extra planning call. action self/delegate, reason, currentTier, optional agentKey/recommendedTier, poolComplete, requiresPaidApproval. Caller identity/model/runKind are host-owned, not tool arguments. Unknown tiers are not ranked; incomplete pools cannot establish a highest candidate. Bounded subtasks do not delegate planning. Recommendation is not authorization and never starts a run; paid channels require separate approval. By default (scope='all') returns the deduplicated union of the user's own/favorite agents and public/shared agents. scope='public' returns only public/shared agents. Public agents may consume platform credits - check each agent's billingSource before dispatching. The payload returns `credentialGroups` summarizing independent credential capacities (credentialGroup, credentialKind, agentCount, and availableAt recovery timestamps). Orchestration discipline: Never fan out parallel runs on one credential; fan out only across distinct credentialGroups. A channel verdict is valid for the current dispatch attempt only; always re-read availability before dispatching, and never reuse a failure verdict from an earlier attempt. On config_unresolved-class errors, retry once before degrading. Reserve the strongest private channels for review; execution should use cheap channels. The `agents` array carries a compact agent-selection projection per agent: runnable `agentKey` (agent-<userId>-<id> owned, agent-pub-<id> public), name, model, provider, apiSource, billingSource ('user_subscription' | 'owner_subscription' | 'user_api' | 'platform_credits' | 'local'), tools, isFavorite, isOAuth, isOwned, isPublic, credentialGroup, credentialKind. Copy `agentKey` verbatim into startAgentRun. All agents are listed, including rate-limited (429) ones: cooldown agents carry `availabilityStatus` / `availabilityReason` / `nextAvailableAt` as reference info, not a dispatch gate (quota is informational; requests are still sent and upstream results are reported as-is). `unavailableCount` reports how many agents are currently rate-limited. `showUnavailable` is deprecated and has no effect (kept for compatibility). Set `verbose: true` for full safe summary details.",
3974
3974
  parameters: {
3975
3975
  type: "object",
3976
3976
  properties: {
@@ -3992,16 +3992,21 @@ var listAgentsFunctionSchema = {
3992
3992
  }
3993
3993
  }
3994
3994
  };
3995
- async function listAgentsFunc(args, thunkApi) {
3995
+ async function listAgentsFunc(args, thunkApi, context2) {
3996
3996
  const runtime = getRuntime(thunkApi);
3997
3997
  if (!runtime?.currentUserId || !runtime?.currentToken) {
3998
3998
  return {
3999
3999
  rawData: {
4000
4000
  success: true,
4001
- total: 0,
4002
- unavailableCount: 0,
4003
- agents: [],
4004
- credentialGroups: []
4001
+ ...buildAgentDiscoveryResult({
4002
+ agents: [],
4003
+ upstreamTruncated: true,
4004
+ caller: {
4005
+ agentKey: context2?.agentKey,
4006
+ effectiveModel: context2?.effectiveModel,
4007
+ runKind: context2?.runKind ?? (context2?.origin === "agent" ? "subtask" : "interactive")
4008
+ }
4009
+ })
4005
4010
  },
4006
4011
  displayData: formatAgentListCard([])
4007
4012
  };
@@ -4017,7 +4022,7 @@ async function listAgentsFunc(args, thunkApi) {
4017
4022
  const favoritesMap = await fetchUserFavoriteAgentMap(thunkApi);
4018
4023
  const scope = resolveDiscoveryScope({ scope: args?.scope, publicOnly: args?.publicOnly });
4019
4024
  let publicRecords = [];
4020
- let upstreamTruncated = false;
4025
+ let upstreamTruncated = userRecords.length >= (Number.isFinite(upstreamFetchLimit) ? upstreamFetchLimit : 500);
4021
4026
  let upstreamTotal;
4022
4027
  if (scope !== "preferred") {
4023
4028
  const discoveryRes = await fetchPublicAgentsForDiscovery({
@@ -4026,7 +4031,7 @@ async function listAgentsFunc(args, thunkApi) {
4026
4031
  limit: upstreamFetchLimit
4027
4032
  });
4028
4033
  publicRecords = discoveryRes.agents;
4029
- upstreamTruncated = discoveryRes.truncated;
4034
+ upstreamTruncated = upstreamTruncated || discoveryRes.truncated;
4030
4035
  upstreamTotal = discoveryRes.total;
4031
4036
  }
4032
4037
  const recordsMap = /* @__PURE__ */ new Map();
@@ -4100,6 +4105,12 @@ async function listAgentsFunc(args, thunkApi) {
4100
4105
  });
4101
4106
  const discovery = buildAgentDiscoveryResult({
4102
4107
  agents,
4108
+ poolRestricted: Boolean(args?.space),
4109
+ caller: {
4110
+ agentKey: context2?.agentKey,
4111
+ effectiveModel: context2?.effectiveModel,
4112
+ runKind: context2?.runKind ?? (context2?.origin === "agent" ? "subtask" : "interactive")
4113
+ },
4103
4114
  scope: args?.scope,
4104
4115
  query: args?.query,
4105
4116
  publicOnly: args?.publicOnly,
@@ -4116,6 +4127,7 @@ async function listAgentsFunc(args, thunkApi) {
4116
4127
  return {
4117
4128
  rawData: {
4118
4129
  success: true,
4130
+ planningRecommendation: discovery.planningRecommendation,
4119
4131
  total: discovery.total,
4120
4132
  ...typeof discovery.offset === "number" ? { offset: discovery.offset } : {},
4121
4133
  ...typeof discovery.limit === "number" ? { limit: discovery.limit } : {},
@@ -4297,7 +4309,7 @@ var readSkillDocFunctionSchema = {
4297
4309
  }
4298
4310
  };
4299
4311
  async function readSkillDocFunc(args, thunkApi) {
4300
- const { buildReadDocResult } = await import("./readDocTool-Z5OQ6422.js");
4312
+ const { buildReadDocResult } = await import("./readDocTool-AMAZAPAW.js");
4301
4313
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4302
4314
  if (typeof id !== "string" || !id.trim()) {
4303
4315
  throw new Error("readSkillDoc requires id or doc.");
@@ -5148,7 +5160,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5148
5160
  const spaceKey = createSpaceKey.space(spaceId);
5149
5161
  const readSpace = async (dbKey) => {
5150
5162
  try {
5151
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-ZJPDIFER.js");
5163
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-X4Z4E4QU.js");
5152
5164
  const readPromise = fresh ? dispatch(readAndWait2(dbKey)).unwrap() : dispatch(read2({ dbKey })).unwrap();
5153
5165
  return await withTimeout(readPromise);
5154
5166
  } catch {
@@ -11796,7 +11808,7 @@ var selectUserIdFromState = (state2) => {
11796
11808
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11797
11809
  async function addImageContentToSpace(input) {
11798
11810
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11799
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-EQXMFNPR.js")).addContentAction;
11811
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-CARFID6E.js")).addContentAction;
11800
11812
  await addContentAction2(
11801
11813
  {
11802
11814
  spaceId: input.spaceId,
@@ -18934,7 +18946,7 @@ async function updateDocFunc(args, thunkApi) {
18934
18946
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18935
18947
  };
18936
18948
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18937
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-BZ2O7WLF.js");
18949
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-TVS2FNER.js");
18938
18950
  if (getDocState().pageKey === id) {
18939
18951
  applyExternalDocUpdate({
18940
18952
  slateData: finalSlateData,
@@ -18959,7 +18971,7 @@ async function updateDocFunc(args, thunkApi) {
18959
18971
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18960
18972
  async function dispatchSetSettings(thunkApi, changes) {
18961
18973
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18962
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-AXTBX3Q5.js")).setSettings;
18974
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-E6N7RSSS.js")).setSettings;
18963
18975
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18964
18976
  }
18965
18977
  var updateUserPreferenceProfileFunctionSchema = {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  resolveLocalUserId
3
- } from "./chunk-KZU52OJ5.js";
3
+ } from "./chunk-T5N6NHAT.js";
4
4
  import {
5
5
  resolveNoloHome
6
6
  } from "./chunk-GLKOYSRU.js";
7
+ import {
8
+ toErrorMessage
9
+ } from "./chunk-HNMXYYJR.js";
7
10
  import {
8
11
  isSupportedDialogId,
9
12
  splitDialogKeyIdentity
10
13
  } from "./chunk-YZMNK53S.js";
11
- import {
12
- toErrorMessage
13
- } from "./chunk-HNMXYYJR.js";
14
14
 
15
15
  // packages/cli/dialogNotifyCommand.ts
16
16
  import { lstatSync as lstatSync2, readFileSync as readFileSync2 } from "node:fs";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-AVHRSJUH.js";
10
+ } from "./chunk-SFTTXGPM.js";
11
11
  import {
12
12
  __toESM
13
13
  } from "./chunk-U67V476Y.js";
@@ -3,7 +3,7 @@ import {
3
3
  parseFlagWithOptionalValue,
4
4
  runCloudflareOAuthLogin,
5
5
  upsertEnvVariable
6
- } from "./chunk-ZH6MUQEO.js";
6
+ } from "./chunk-RU6DULV4.js";
7
7
  import {
8
8
  ANTHROPIC_OAUTH_AUTHORIZE_URL,
9
9
  ANTHROPIC_OAUTH_CALLBACK_PORT,
@@ -47,10 +47,10 @@ import {
47
47
  startCallbackServer,
48
48
  validateXAIEndpoint,
49
49
  xaiOAuthDiscovery
50
- } from "./chunk-UKS7D2NL.js";
50
+ } from "./chunk-HYKGIXNO.js";
51
51
  import {
52
52
  defaultOpenBrowser
53
- } from "./chunk-TXGQ4O5S.js";
53
+ } from "./chunk-T43K75CK.js";
54
54
  import {
55
55
  extractGoogleValidationLink
56
56
  } from "./chunk-BMQ2MJUK.js";
@@ -60,7 +60,16 @@ import {
60
60
  detectLocalDevinCredentials,
61
61
  extractDevinToken,
62
62
  fetchAntigravityCloudCodeCompletion
63
- } from "./chunk-VFBVA3U2.js";
63
+ } from "./chunk-YPPKC6FL.js";
64
+ import {
65
+ toErrorMessage
66
+ } from "./chunk-HNMXYYJR.js";
67
+ import {
68
+ isRecord
69
+ } from "./chunk-KUG52IAP.js";
70
+ import {
71
+ parseUserIdFromAuthToken
72
+ } from "./chunk-WACI5I6V.js";
64
73
  import {
65
74
  getProfileOAuthSync,
66
75
  saveProfileOAuthSync
@@ -69,24 +78,15 @@ import {
69
78
  t
70
79
  } from "./chunk-OB6DVWPF.js";
71
80
  import {
72
- toErrorMessage
73
- } from "./chunk-HNMXYYJR.js";
81
+ createOAuthTokenStore,
82
+ resolveFreshAccessToken
83
+ } from "./chunk-G7Y4GXTY.js";
74
84
  import {
75
85
  asTrimmedString
76
86
  } from "./chunk-3EUW3WEO.js";
77
- import {
78
- isRecord
79
- } from "./chunk-KUG52IAP.js";
80
87
  import {
81
88
  asOptionalFiniteNumber
82
89
  } from "./chunk-WWC7I6TA.js";
83
- import {
84
- parseUserIdFromAuthToken
85
- } from "./chunk-2THCNKE4.js";
86
- import {
87
- createOAuthTokenStore,
88
- resolveFreshAccessToken
89
- } from "./chunk-G7Y4GXTY.js";
90
90
 
91
91
  // packages/cli/oauth/flows/xai.ts
92
92
  function buildXAIAuthorizeUrl(opts) {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-UAD2WT54.js";
7
7
  import {
8
8
  toTimestampMs
9
- } from "./chunk-AVHRSJUH.js";
9
+ } from "./chunk-SFTTXGPM.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-U67V476Y.js";
@@ -11658,7 +11658,7 @@ async function runUsageCommand(args, deps) {
11658
11658
  const output = deps.output ?? process.stdout;
11659
11659
  const errorOutput = deps.errorOutput ?? process.stderr;
11660
11660
  if (args[0] === "rebuild") {
11661
- const { runUsageRebuildCommand } = await import("./usageRebuildCommand-FERQO74C.js");
11661
+ const { runUsageRebuildCommand } = await import("./usageRebuildCommand-HHFSNK46.js");
11662
11662
  return runUsageRebuildCommand(args.slice(1), deps);
11663
11663
  }
11664
11664
  if (hasFlag(args, "-h") || hasFlag(args, "--help")) {
@@ -11729,7 +11729,7 @@ async function runUsageCommand(args, deps) {
11729
11729
  return 0;
11730
11730
  }
11731
11731
  async function resolveUsageUserId(env) {
11732
- const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-KICKKNYQ.js");
11732
+ const { resolveLocalUserId } = await import("./cliAgentConfigHelpers-QVSQYTKC.js");
11733
11733
  return resolveLocalUserId(env);
11734
11734
  }
11735
11735
  function isLocalDbMissingError(error) {
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-2VA6TU4I.js";
5
+ } from "./chunk-5LQDHFBN.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-GBWGPTA7.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRuntimeServerContext,
3
3
  scheduleDeleteReplication
4
- } from "./chunk-2VUZSVAS.js";
4
+ } from "./chunk-CSW7IPVD.js";
5
5
  import {
6
6
  fetchFromClientDb
7
7
  } from "./chunk-AGP3YSEC.js";