nolo-cli 0.251.0-alpha.1 → 0.252.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/{_executeModel-55PHWQWB.js → _executeModel-RXHY2BDR.js} +47 -47
  2. package/{action-WZTKEF5H.js → action-4MADDU52.js} +5 -5
  3. package/{addContentAction-LBVAQUF7.js → addContentAction-F4XO3VRF.js} +8 -8
  4. package/{addDialogAgentAction-6WAUSUSZ.js → addDialogAgentAction-NSCVHTZJ.js} +7 -7
  5. package/{agentDeleteCommand-KEO3KDK3.js → agentDeleteCommand-EJAI2VTH.js} +69 -68
  6. package/{agentEmailCommands-RWJQQRNT.js → agentEmailCommands-YBKHZMMZ.js} +69 -68
  7. package/{agentListCommands-L3TLPLNH.js → agentListCommands-M2KYLAOB.js} +226 -39
  8. package/{agentMachineCommands-EZWWXWDH.js → agentMachineCommands-GLY6NJWZ.js} +31 -29
  9. package/{agentProviderCommands-C5T7C5KZ.js → agentProviderCommands-QLTABYR7.js} +2 -2
  10. package/{agentRecordCommands-7W2CGHJJ.js → agentRecordCommands-JANPX6XI.js} +68 -67
  11. package/{agentRunCommand-POL6B6BO.js → agentRunCommand-TNLAXLUU.js} +68 -67
  12. package/{agentRunControl-FKSXBUAF.js → agentRunControl-KNNDEEDI.js} +8 -6
  13. package/{agentRuntimeLocal-WSHWNIMF.js → agentRuntimeLocal-EOW6FFXL.js} +26 -25
  14. package/{agentSlice-3G2YLTA4.js → agentSlice-PVFGBJXB.js} +8 -8
  15. package/{appDeleteCommands-DZZQCVYH.js → appDeleteCommands-3VCRRWUX.js} +33 -31
  16. package/{appDeployCommands-NJJBVNH5.js → appDeployCommands-XN6IEMYK.js} +33 -31
  17. package/{appDeployStatusCommands-GBOAFEYG.js → appDeployStatusCommands-ZSJJXMVR.js} +33 -31
  18. package/{appGetCommands-GOOKYMKO.js → appGetCommands-DJ7YQCEE.js} +33 -31
  19. package/{appListCommands-OBCGUG3S.js → appListCommands-4KU5CV5H.js} +33 -31
  20. package/{authCommand-77CRN332.js → authCommand-5DC3ES4Q.js} +12 -12
  21. package/{builtinSkillRegistry-PFTTFPWW.js → builtinSkillRegistry-PQWEXSFW.js} +1 -1
  22. package/{chromeOpsCommands-6RLEBBJJ.js → chromeOpsCommands-AA555ANS.js} +1 -1
  23. package/{chunk-LOXR4TQN.js → chunk-25GCVHBZ.js} +2 -2
  24. package/{chunk-A55E2OCP.js → chunk-26KL6533.js} +639 -125
  25. package/{chunk-MAA42MMV.js → chunk-2FZVXOFX.js} +4 -4
  26. package/{chunk-CUYFRVJF.js → chunk-2HF6DINU.js} +6 -6
  27. package/{chunk-ESN4WNWU.js → chunk-2JHGUL5K.js} +2 -2
  28. package/{chunk-GMWZRXRM.js → chunk-3272HU62.js} +1 -1
  29. package/{chunk-43VT5PLM.js → chunk-3LL5HRIJ.js} +1 -1
  30. package/{chunk-ZQ6K57FJ.js → chunk-4YPH5KRA.js} +1 -1
  31. package/{chunk-T4V6C3J3.js → chunk-52M4RYVP.js} +1 -1
  32. package/{chunk-OQCAHPDQ.js → chunk-5QEOTC35.js} +4 -4
  33. package/{chunk-R7D5SRAZ.js → chunk-5UYDG6HP.js} +17 -0
  34. package/{chunk-Z7A2ZQ5X.js → chunk-64ACTEAE.js} +1 -1
  35. package/{chunk-CTWCZKNS.js → chunk-6SOWMEAY.js} +4 -4
  36. package/{chunk-UCMUXZJV.js → chunk-7XO73H5X.js} +111 -1
  37. package/{chunk-222CJNC2.js → chunk-BLBGVSLB.js} +3 -3
  38. package/{chunk-ZM5AZTQG.js → chunk-BTQU2PRC.js} +19 -7
  39. package/{chunk-QJ5YDTEF.js → chunk-BVCCRSGK.js} +42 -24
  40. package/{chunk-SX6AWTNK.js → chunk-BZLGPM5B.js} +3 -3
  41. package/chunk-CGSIW2KI.js +594 -0
  42. package/{chunk-LTVEOOZL.js → chunk-CIAV4WK2.js} +14 -1
  43. package/{chunk-Q5KZ6F55.js → chunk-CSTCYYCR.js} +19 -17
  44. package/{chunk-D3E5MYXO.js → chunk-CYGFNMCH.js} +1 -1
  45. package/{chunk-MZVCFV3T.js → chunk-D3WOFN6N.js} +3 -3
  46. package/{chunk-VUHKG4KS.js → chunk-DNNPARJK.js} +9 -5
  47. package/{chunk-MTS5DCL2.js → chunk-EG3JTV7H.js} +2 -2
  48. package/{chunk-6ASGEP5D.js → chunk-EJQE5HB7.js} +1 -1
  49. package/{chunk-D35TOEMM.js → chunk-EPBEZKYK.js} +137 -53
  50. package/{chunk-KJDN2YRH.js → chunk-EQJK6LSN.js} +4 -4
  51. package/{chunk-N3SEV3CG.js → chunk-F6GZFIGR.js} +79 -30
  52. package/{chunk-6UNJ6JGR.js → chunk-FJPVVLP3.js} +4 -4
  53. package/{chunk-L5HV76QT.js → chunk-FRC2DNTN.js} +1 -1
  54. package/{chunk-W3HSD32M.js → chunk-FXEPZKNJ.js} +2 -2
  55. package/{chunk-WWTSEBDF.js → chunk-GIXWVN2W.js} +1 -1
  56. package/{chunk-IFJ6OTI6.js → chunk-GJ4UTSAW.js} +33 -11
  57. package/{chunk-ZKKJZBNO.js → chunk-GUFTHWDO.js} +10 -10
  58. package/{chunk-KHVTT4WW.js → chunk-HF4C5WIU.js} +81 -542
  59. package/{chunk-W2N4OAKM.js → chunk-IQXMWBI6.js} +3 -3
  60. package/chunk-IVK2KT3H.js +209 -0
  61. package/{chunk-PLS2MJVW.js → chunk-J4KLOLYP.js} +4 -4
  62. package/{chunk-PQ63BDV3.js → chunk-JPXACKSW.js} +9 -1
  63. package/{chunk-CDIRKCPD.js → chunk-JX2IG37T.js} +153 -153
  64. package/{chunk-TGKAUEV3.js → chunk-K7RWY7JH.js} +14 -11
  65. package/{chunk-5IKKSJYX.js → chunk-KHYSFS3W.js} +76 -2
  66. package/{chunk-K5CIMK3R.js → chunk-KO6JNZCF.js} +115 -57
  67. package/{chunk-XJSEST7D.js → chunk-KQBGXCKM.js} +3 -3
  68. package/{chunk-HS7MLR74.js → chunk-KZ4A7EIV.js} +3 -5
  69. package/{chunk-QJTZ76CP.js → chunk-LS5KAVFQ.js} +1 -0
  70. package/{chunk-K26XPZRB.js → chunk-LVZVSLKO.js} +29 -9
  71. package/{chunk-HD5EKSLF.js → chunk-MDWHMQON.js} +3 -3
  72. package/{chunk-X337N4D6.js → chunk-MOAVLCCM.js} +4 -4
  73. package/{chunk-OARYOLF3.js → chunk-N2MDL5AZ.js} +12 -12
  74. package/{chunk-ZSRR6HCH.js → chunk-N2ZAY2DK.js} +1 -1
  75. package/{chunk-X3OZ655T.js → chunk-N7UXTVAR.js} +2 -2
  76. package/{chunk-KGOBJAWC.js → chunk-NJDOID7N.js} +207 -94
  77. package/{chunk-NTNX77FI.js → chunk-NRWZHHOB.js} +6 -6
  78. package/{chunk-3ZWJVKFB.js → chunk-NWZRCUHM.js} +84 -40
  79. package/{chunk-HQLCYPL4.js → chunk-OB4FBZXJ.js} +4 -4
  80. package/{chunk-CD2DK5JA.js → chunk-OKH74FML.js} +2 -1
  81. package/{chunk-IZWGO2ZS.js → chunk-OMIXG25B.js} +1 -1
  82. package/{chunk-CJ2BP6V7.js → chunk-OOV5JN25.js} +2 -2
  83. package/{chunk-3KWJPTVP.js → chunk-OQOXDQLB.js} +4 -4
  84. package/{chunk-LXKK7QFI.js → chunk-OTNPEE4G.js} +54 -24
  85. package/{chunk-LMMRWGGJ.js → chunk-OTOPQXP5.js} +2 -2
  86. package/{chunk-AS6L5KSD.js → chunk-P4R5KXU7.js} +2 -2
  87. package/{chunk-VTHWBTRE.js → chunk-PENRYZ4D.js} +1 -1
  88. package/{chunk-WZPG63Q4.js → chunk-PIVTQRX6.js} +43 -13
  89. package/{chunk-SLUZ6FBJ.js → chunk-Q5M27DUE.js} +1 -1
  90. package/{chunk-XC5RPSXK.js → chunk-QV32GSVO.js} +2 -2
  91. package/{chunk-WQDTSK5U.js → chunk-REINTCQF.js} +8 -2
  92. package/{chunk-IXAGRTAR.js → chunk-SBBSUBY3.js} +1 -1
  93. package/{chunk-MTM4LRVG.js → chunk-SCY2O7CU.js} +2 -2
  94. package/{chunk-FAFDIQJG.js → chunk-U3ZK2MXG.js} +3 -3
  95. package/{chunk-PKMDYRAM.js → chunk-UDQZ5JT7.js} +175 -241
  96. package/{chunk-UR4ZMRV3.js → chunk-UGHNYYOE.js} +2 -2
  97. package/{chunk-KZVRPCOR.js → chunk-UTFTXJU3.js} +4 -4
  98. package/{chunk-GX6DITLQ.js → chunk-UUCYUN6Y.js} +1 -1
  99. package/{chunk-U2OWDHDE.js → chunk-VH7AQEEF.js} +2 -2
  100. package/{chunk-QLGL43SI.js → chunk-VZWYP7LD.js} +2 -2
  101. package/{chunk-6XVPMGXK.js → chunk-W4S5FQWQ.js} +10 -4
  102. package/{chunk-KRAPKTAS.js → chunk-WJOC3AEM.js} +2 -2
  103. package/{chunk-2FK2KZSL.js → chunk-WLHUANWZ.js} +1 -1
  104. package/{chunk-JUYI2D7J.js → chunk-WNIBQBOR.js} +1 -1
  105. package/{chunk-BQ4CZEVZ.js → chunk-YWLMUFZ5.js} +1 -1
  106. package/{chunk-CD64YXRB.js → chunk-Z47UZT27.js} +1 -1
  107. package/{chunk-75TXQ4GY.js → chunk-ZMWDHPNG.js} +15 -29
  108. package/{chunk-CFDOIIOZ.js → chunk-ZMXO5G3E.js} +29 -23
  109. package/{cliAgentConfigHelpers-N6LTB7UY.js → cliAgentConfigHelpers-FKBPFPKR.js} +6 -6
  110. package/{cliLocalAgentRecordReader-NFNGYOOW.js → cliLocalAgentRecordReader-OHAC4JTY.js} +30 -29
  111. package/{commandRegistry-OM5DU4DS.js → commandRegistry-YQMAXCLP.js} +81 -81
  112. package/{contentThunks-7URM43ET.js → contentThunks-GSMUNWBA.js} +20 -20
  113. package/{cooldownCommands-JEEV75B7.js → cooldownCommands-PT5L4LNB.js} +3 -3
  114. package/{createAgentAutomationAction-GGEXIKMC.js → createAgentAutomationAction-RMADR4LG.js} +20 -20
  115. package/{createDialogAction-IXXEMFRQ.js → createDialogAction-CM5CBQVH.js} +21 -21
  116. package/{createPageAction-IXIVLIOO.js → createPageAction-JMGVMCTH.js} +21 -21
  117. package/{db-J5KE7XRI.js → db-VR74ADGC.js} +5 -1
  118. package/{dbSlice-IE4ADINL.js → dbSlice-Q637QR4L.js} +7 -7
  119. package/{deleteFile-ZCQESEEQ.js → deleteFile-TP6MKFUX.js} +10 -5
  120. package/{dialogCommands-RPBHOZB6.js → dialogCommands-ULWP5ASX.js} +35 -33
  121. package/{dialogNotifyCommand-ECKI5MMA.js → dialogNotifyCommand-JKYVSR6K.js} +7 -7
  122. package/{dialogSlice-5FQB2TNN.js → dialogSlice-ARQKXXTD.js} +18 -18
  123. package/{docCreateCommands-XJ2X57DW.js → docCreateCommands-ZJFHCZV4.js} +32 -30
  124. package/{docDeleteCommands-45WGFFEB.js → docDeleteCommands-LY5MF2BI.js} +33 -31
  125. package/{docReadCommands-LRRVDS46.js → docReadCommands-4X2DHCNZ.js} +32 -30
  126. package/{docStore-SUAVM24F.js → docStore-QWRVKIRI.js} +8 -8
  127. package/{docUpdateCommands-QUYX6BVR.js → docUpdateCommands-5TIT7DAJ.js} +32 -30
  128. package/{getPricing-FCHYVRJU.js → getPricing-5BLZRPTM.js} +3 -3
  129. package/{handleSendMessageAction-FDIWBQUB.js → handleSendMessageAction-TVR55KVT.js} +36 -36
  130. package/{hostCredentialCreate-CEXQHYT4.js → hostCredentialCreate-SIRXPUFR.js} +68 -67
  131. package/index.js +8 -8
  132. package/{localDialogRead-USDZXKIL.js → localDialogRead-BJJT3TF5.js} +1 -1
  133. package/{localRuntimeAdapter-O3JBRK6S.js → localRuntimeAdapter-VRB5EDDZ.js} +67 -66
  134. package/{machineCommands-I3YA7TNC.js → machineCommands-MG3BB6XM.js} +68 -67
  135. package/{machineWsRunDispatch-E5CIE2OJ.js → machineWsRunDispatch-3TOO3NCU.js} +68 -67
  136. package/{mcpLocalAuthorizeCommand-K5J2VMG6.js → mcpLocalAuthorizeCommand-LO7E4VQ5.js} +6 -6
  137. package/{memberThunks-T7EAZE6A.js → memberThunks-IGYRMEQC.js} +9 -9
  138. package/{models-EP7VG6N2.js → models-ZX2BYIMB.js} +2 -2
  139. package/package.json +1 -1
  140. package/{projectArchive-A7E65AZO.js → projectArchive-Q46BYZQ6.js} +21 -21
  141. package/{providerPresetApply-4H7YP5D7.js → providerPresetApply-NTJUINI6.js} +35 -16
  142. package/{providerRegistry-F3UPOTIY.js → providerRegistry-W45SLUV6.js} +5 -5
  143. package/{read-BRZHXUJ6.js → read-MPPXZHAO.js} +10 -5
  144. package/{readDocTool-N7RVFQEE.js → readDocTool-PKZ35PCR.js} +1 -1
  145. package/{readlineWorkspace-2O65NBFG.js → readlineWorkspace-RBH6PSE7.js} +613 -209
  146. package/{removeDialogAgentAction-GRT72HLK.js → removeDialogAgentAction-H6S7VLNA.js} +9 -9
  147. package/{runAgentClientLoop-NWCZIXCG.js → runAgentClientLoop-WZJ4HXOH.js} +44 -44
  148. package/{runtimeDoctorCommands-26HYHFTK.js → runtimeDoctorCommands-QGZSKNSE.js} +5 -5
  149. package/{secretCommands-XR72SHLK.js → secretCommands-BXAQEOES.js} +2 -2
  150. package/{setDialogExtraReferencesAction-CBG3X46B.js → setDialogExtraReferencesAction-CARUTAWS.js} +8 -8
  151. package/{setPrimaryDialogAgentAction-EWTDZOAX.js → setPrimaryDialogAgentAction-VRV56MLG.js} +9 -9
  152. package/{settingThunks-X4PT66J2.js → settingThunks-4FC4HXGN.js} +7 -7
  153. package/{spaceCommands-EVSNTGRS.js → spaceCommands-27Z5JAU3.js} +31 -29
  154. package/{streamAgentChatTurn-SYP3OEM5.js → streamAgentChatTurn-JKMBFM2O.js} +57 -53
  155. package/{switchDialogAgentAction-YHPZ7K6E.js → switchDialogAgentAction-O236K6HB.js} +7 -7
  156. package/{tableCommands-44GC4N6J.js → tableCommands-C3P2HHKK.js} +2 -2
  157. package/{tools-2AO2SK4L.js → tools-4RFLNHUW.js} +37 -37
  158. package/{tuiRestart-HBQDF4AE.js → tuiRestart-GF4DGAAN.js} +7 -7
  159. package/{tuiSummaryLlmCaller-Q2PNR63K.js → tuiSummaryLlmCaller-HROLGN4F.js} +12 -12
  160. package/{updateCommands-6SI7NWVC.js → updateCommands-BZ4YDHNM.js} +3 -3
  161. package/{updateDialogTitleAction-MWVMBIPZ.js → updateDialogTitleAction-F3ONQM3N.js} +20 -20
  162. package/{usageCommand-D44AOTMH.js → usageCommand-XVJ7ZUTM.js} +1 -1
  163. package/{usageRebuildCommand-IRIMKDI5.js → usageRebuildCommand-NK6S3D4J.js} +2 -2
  164. package/{windowsSelfUpdate-BJIJKKIS.js → windowsSelfUpdate-4BAXX7C3.js} +2 -2
  165. package/{workloadLifecycle-ZCSQCHG3.js → workloadLifecycle-DYX5ZMAT.js} +2 -2
  166. package/chunk-FGHEF6WI.js +0 -34
  167. package/{chunk-ANUP75N2.js → chunk-2E4BYAUE.js} +0 -0
  168. package/{chunk-YHNUDTU4.js → chunk-VYRTLHIT.js} +3 -3
  169. package/{dialogUsageCommand-TBIA2QAF.js → dialogUsageCommand-IHAXS7DW.js} +3 -3
@@ -33,7 +33,7 @@ import {
33
33
  resolveServerUrl,
34
34
  validateInstaboxWorkspaceSelection,
35
35
  writeUsage
36
- } from "./chunk-KGOBJAWC.js";
36
+ } from "./chunk-NJDOID7N.js";
37
37
  import {
38
38
  boxGlyphs,
39
39
  displayWidth,
@@ -43,11 +43,11 @@ import {
43
43
  stripAnsi,
44
44
  tokenizeAnsiLine,
45
45
  visibleWidth
46
- } from "./chunk-XC5RPSXK.js";
46
+ } from "./chunk-QV32GSVO.js";
47
47
  import {
48
48
  clearCredentialAvailability,
49
49
  readEffectiveCredentialEntry
50
- } from "./chunk-WWTSEBDF.js";
50
+ } from "./chunk-GIXWVN2W.js";
51
51
  import {
52
52
  rankMemoryCandidates,
53
53
  recallMemoryVNextLocal
@@ -89,11 +89,11 @@ import {
89
89
  } from "./chunk-BMQ2MJUK.js";
90
90
  import {
91
91
  resolveCliLocalRuntimeKeyCapability
92
- } from "./chunk-3ZWJVKFB.js";
92
+ } from "./chunk-NWZRCUHM.js";
93
93
  import {
94
94
  parseUiCard,
95
95
  uiCardFallback
96
- } from "./chunk-ZKKJZBNO.js";
96
+ } from "./chunk-GUFTHWDO.js";
97
97
  import {
98
98
  isGatewayHttpStatus
99
99
  } from "./chunk-NF64D32W.js";
@@ -104,7 +104,7 @@ import {
104
104
  loadOwnerItemsFromDb,
105
105
  parseUiAskChoiceContent,
106
106
  resolveAgentMemoryPolicy
107
- } from "./chunk-X337N4D6.js";
107
+ } from "./chunk-MOAVLCCM.js";
108
108
  import {
109
109
  API_REPORTED_COST_MULTIPLIER,
110
110
  estimateMessagesTokens,
@@ -113,7 +113,7 @@ import {
113
113
  resolveAgentContextWindow,
114
114
  resolveOccupancy,
115
115
  resolveOccupancyWindow
116
- } from "./chunk-A55E2OCP.js";
116
+ } from "./chunk-26KL6533.js";
117
117
  import {
118
118
  getDefaultCliLocalRuntimeDb
119
119
  } from "./chunk-7RYODZDD.js";
@@ -123,7 +123,11 @@ import {
123
123
  import {
124
124
  readDbRecord,
125
125
  resolveAgentRecordFromHybridStore
126
- } from "./chunk-KJDN2YRH.js";
126
+ } from "./chunk-EQJK6LSN.js";
127
+ import {
128
+ resolveEffectiveReasoningEffortOverride,
129
+ withReasoningEffortOverride
130
+ } from "./chunk-CGSIW2KI.js";
127
131
  import {
128
132
  isTransientFetchError
129
133
  } from "./chunk-DXWGFL2Z.js";
@@ -147,7 +151,7 @@ import {
147
151
  settleRunTerminalAuthoritatively,
148
152
  spawnLocalBackgroundRun,
149
153
  transitionRunToTerminal
150
- } from "./chunk-UCMUXZJV.js";
154
+ } from "./chunk-7XO73H5X.js";
151
155
  import {
152
156
  formatAgentListCard,
153
157
  formatFinishedRunCard,
@@ -178,13 +182,13 @@ import {
178
182
  readActionGate,
179
183
  readAgentsMdLayerFromDisk,
180
184
  registerDialogOwner
181
- } from "./chunk-PKMDYRAM.js";
185
+ } from "./chunk-UDQZ5JT7.js";
182
186
  import {
183
187
  resolveAgentRuntimeConfigFromRecord
184
- } from "./chunk-LMMRWGGJ.js";
188
+ } from "./chunk-OTOPQXP5.js";
185
189
  import {
186
190
  resolveAgentImageInputSupport
187
- } from "./chunk-SX6AWTNK.js";
191
+ } from "./chunk-BZLGPM5B.js";
188
192
  import {
189
193
  createThinkParserState,
190
194
  flushThinkParser,
@@ -196,7 +200,7 @@ import {
196
200
  isQuotaExhaustedText,
197
201
  resolveAvailabilityAction,
198
202
  resolveCredentialKeyWithFallback
199
- } from "./chunk-QJTZ76CP.js";
203
+ } from "./chunk-LS5KAVFQ.js";
200
204
  import {
201
205
  isContextOverflowText
202
206
  } from "./chunk-TLE77UJ5.js";
@@ -205,12 +209,12 @@ import {
205
209
  ATTACHMENT_PART_VERSION,
206
210
  describeAttachmentForModel,
207
211
  normalizeAttachmentPart
208
- } from "./chunk-LTVEOOZL.js";
212
+ } from "./chunk-CIAV4WK2.js";
209
213
  import {
210
214
  findCodexOAuthPinnedContextWindow,
211
215
  normalizeUsage,
212
216
  readCacheReadInputTokensOrNull
213
- } from "./chunk-MAA42MMV.js";
217
+ } from "./chunk-2FZVXOFX.js";
214
218
  import {
215
219
  isOAuthApiKeyRef
216
220
  } from "./chunk-UKZX3NHN.js";
@@ -255,7 +259,7 @@ import {
255
259
  import {
256
260
  isBuiltinNoloAgentRef,
257
261
  resolveLocalUserId
258
- } from "./chunk-IZWGO2ZS.js";
262
+ } from "./chunk-OMIXG25B.js";
259
263
  import {
260
264
  isLocalCliAgentKey
261
265
  } from "./chunk-BR3GT6MR.js";
@@ -295,22 +299,22 @@ import {
295
299
  toolIcon,
296
300
  toolLabel,
297
301
  toolLabelVariants
298
- } from "./chunk-R7D5SRAZ.js";
302
+ } from "./chunk-5UYDG6HP.js";
299
303
  import {
300
304
  isAntigravityOAuthAgent
301
- } from "./chunk-CTWCZKNS.js";
305
+ } from "./chunk-6SOWMEAY.js";
302
306
  import {
303
307
  toErrorMessage
304
308
  } from "./chunk-HNMXYYJR.js";
305
309
  import {
306
310
  resolveClientVersion
307
- } from "./chunk-K26XPZRB.js";
311
+ } from "./chunk-LVZVSLKO.js";
308
312
  import {
309
313
  asTrimmedString
310
314
  } from "./chunk-3EUW3WEO.js";
311
315
  import {
312
316
  findModelConfig
313
- } from "./chunk-CD2DK5JA.js";
317
+ } from "./chunk-OKH74FML.js";
314
318
  import {
315
319
  asOptionalTrimmedString
316
320
  } from "./chunk-G3SUCT4W.js";
@@ -318,7 +322,7 @@ import {
318
322
  CLIENT_VERSION_TOO_OLD_CODE,
319
323
  NOLO_CLIENT_VERSION_HEADER,
320
324
  buildClientVersionUpgradeMessage
321
- } from "./chunk-PQ63BDV3.js";
325
+ } from "./chunk-JPXACKSW.js";
322
326
  import {
323
327
  asTrimmedLowercaseString
324
328
  } from "./chunk-QSJ3HFEF.js";
@@ -1623,6 +1627,7 @@ function setActiveThemeMode(mode, options) {
1623
1627
  activeThemeMode = mode;
1624
1628
  if (mode === "terminal") {
1625
1629
  resolvedBrightness = null;
1630
+ trustedCanvasBrightness = null;
1626
1631
  terminalModeExplicit = options?.explicit === true;
1627
1632
  } else {
1628
1633
  terminalModeExplicit = false;
@@ -1792,13 +1797,16 @@ function pushToContrast(rawHex, canvasHex, target, floor) {
1792
1797
  }
1793
1798
  return best;
1794
1799
  }
1800
+ function hasTrustedCanvasEvidence(env) {
1801
+ return activeTerminalBaseHex !== null || trustedCanvasBrightness !== null || detectColorFgBgBrightness(env) !== null;
1802
+ }
1795
1803
  function shouldUseTruecolorTokens(env) {
1796
1804
  if (!supportsTruecolor(env)) return false;
1797
1805
  const explicit = (env.NOLO_TUI_THEME ?? "").trim().toLowerCase();
1798
1806
  if (explicit === "terminal" || explicit === "ansi") return false;
1799
1807
  if (resolveTuiThemeMode(env) !== "terminal") return true;
1800
1808
  if (terminalModeExplicit) return false;
1801
- return activeTerminalBaseHex !== null || detectColorFgBgBrightness(env) !== null;
1809
+ return hasTrustedCanvasEvidence(env);
1802
1810
  }
1803
1811
  function themeSgrParams(token, env = process.env, brightness = resolveTuiBrightness(env)) {
1804
1812
  const palette = THEME_PALETTES[activeThemeName] ?? THEME_PALETTES.nature;
@@ -1826,7 +1834,9 @@ var TERMINAL_BASE = {
1826
1834
  light: "FFFFFF"
1827
1835
  };
1828
1836
  var activeTerminalBaseHex = null;
1837
+ var trustedCanvasBrightness = null;
1829
1838
  function setActiveTerminalBaseHex(hex) {
1839
+ trustedCanvasBrightness = null;
1830
1840
  if (hex === null) {
1831
1841
  activeTerminalBaseHex = null;
1832
1842
  return;
@@ -1840,10 +1850,14 @@ function resetWorkspaceThemeState() {
1840
1850
  }
1841
1851
  function applyDetectedBackground(detected) {
1842
1852
  const normalizedHex = detected.hex.replace(/^#/, "").toUpperCase();
1853
+ const validHex = Boolean(readHexChannels(normalizedHex));
1854
+ const nextTrustedCanvas = !validHex && detected.trustedCanvas === true ? detected.brightness : null;
1843
1855
  const hexChanged = normalizedHex !== "" && normalizedHex !== activeTerminalBaseHex;
1844
- const changed = detected.brightness !== resolvedBrightness || hexChanged;
1856
+ const trustedChanged = nextTrustedCanvas !== trustedCanvasBrightness;
1857
+ const changed = detected.brightness !== resolvedBrightness || hexChanged || trustedChanged;
1845
1858
  resolvedBrightness = detected.brightness;
1846
1859
  setActiveTerminalBaseHex(detected.hex);
1860
+ trustedCanvasBrightness = nextTrustedCanvas;
1847
1861
  return changed;
1848
1862
  }
1849
1863
  function resolveTerminalBaseHex(brightness) {
@@ -1963,12 +1977,12 @@ function surfaceBackgroundSequence(env = process.env, brightness = resolveTuiBri
1963
1977
  return hexToBgSgr((SURFACE_HEX[activeThemeName] ?? SURFACE_HEX.trail)[brightness]);
1964
1978
  }
1965
1979
  function resolveSurfaceWashFallback(env) {
1966
- if (!supportsTruecolor(env) || activeTerminalBaseHex === null && detectColorFgBgBrightness(env) === null && resolveTuiThemeMode(env) === "terminal") {
1980
+ if (!supportsTruecolor(env) || !hasTrustedCanvasEvidence(env) && resolveTuiThemeMode(env) === "terminal") {
1967
1981
  return "\x1B[100m";
1968
1982
  }
1969
1983
  return null;
1970
1984
  }
1971
- function composerSurfaceBackgroundSequence(env = process.env, brightness = resolveTuiBrightness(env)) {
1985
+ function neutralSurfaceBackgroundSequence(env, brightness, darkWeight, lightWeight) {
1972
1986
  const fallback = resolveSurfaceWashFallback(env);
1973
1987
  if (fallback !== null) return fallback;
1974
1988
  const base = resolveTerminalBaseHex(brightness);
@@ -1976,9 +1990,15 @@ function composerSurfaceBackgroundSequence(env = process.env, brightness = resol
1976
1990
  const baseLuma = channels ? (0.299 * channels[0] + 0.587 * channels[1] + 0.114 * channels[2]) / 255 : null;
1977
1991
  const darkCanvas = baseLuma === null ? brightness === "dark" : baseLuma < 0.5;
1978
1992
  const tint = darkCanvas ? "FFFFFF" : "000000";
1979
- const weight = darkCanvas ? 0.1 : 0.07;
1993
+ const weight = darkCanvas ? darkWeight : lightWeight;
1980
1994
  return hexToBgSgr(blendHex(tint, base, weight));
1981
1995
  }
1996
+ function composerSurfaceBackgroundSequence(env = process.env, brightness = resolveTuiBrightness(env)) {
1997
+ return neutralSurfaceBackgroundSequence(env, brightness, 0.1, 0.07);
1998
+ }
1999
+ function userBubbleSurfaceBackgroundSequence(env = process.env, brightness = resolveTuiBrightness(env)) {
2000
+ return neutralSurfaceBackgroundSequence(env, brightness, 0.13, 0.08);
2001
+ }
1982
2002
  function userSurfaceBackgroundSequence(env = process.env, brightness = resolveTuiBrightness(env)) {
1983
2003
  const fallback = resolveSurfaceWashFallback(env);
1984
2004
  if (fallback !== null) return fallback;
@@ -1995,7 +2015,8 @@ function tuiRenderThemeFingerprint(colorEnabled, env = process.env) {
1995
2015
  const mode = resolveTuiThemeMode(env);
1996
2016
  const colorKind = !colorEnabled ? "plain" : shouldUseTruecolorTokens(env) ? "truecolor" : "ansi";
1997
2017
  const surface = colorEnabled ? userSurfaceBackgroundSequence(env) : "";
1998
- return `${activeThemeName}|${mode}|${colorKind}|${resolveTuiBrightness(env)}|${activeTerminalBaseHex ?? ""}|${env.COLORFGBG ?? ""}|${surface}`;
2018
+ const bubbleSurface = colorEnabled ? userBubbleSurfaceBackgroundSequence(env) : "";
2019
+ return `${activeThemeName}|${mode}|${colorKind}|${resolveTuiBrightness(env)}|${activeTerminalBaseHex ?? ""}|${env.COLORFGBG ?? ""}|${surface}|${bubbleSurface}`;
1999
2020
  }
2000
2021
  function classifyDiffLine(line) {
2001
2022
  if (line.startsWith("@@")) return "hunk";
@@ -13066,7 +13087,7 @@ function isBalanceExhaustedError(error) {
13066
13087
 
13067
13088
  // packages/cli/client/agentRun.ts
13068
13089
  async function loadRunLocalAgentTurn() {
13069
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WSHWNIMF.js");
13090
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-EOW6FFXL.js");
13070
13091
  return runLocalAgentTurn;
13071
13092
  }
13072
13093
  var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
@@ -13205,6 +13226,22 @@ function wrapLoadAgentConfigWithModelOverride(adapter, targetAgentKey, override)
13205
13226
  }
13206
13227
  };
13207
13228
  }
13229
+ function wrapLoadAgentConfigWithReasoningEffortOverride(adapter, targetAgentKey, override) {
13230
+ return {
13231
+ ...adapter,
13232
+ loadAgentConfig: async (agentRef) => {
13233
+ const config = await adapter.loadAgentConfig(agentRef);
13234
+ if (!config || agentRef !== targetAgentKey) return config;
13235
+ const effective = resolveEffectiveReasoningEffortOverride({
13236
+ override,
13237
+ provider: config.provider,
13238
+ model: config.model,
13239
+ recordReasoningEffort: config.reasoning_effort
13240
+ });
13241
+ return withReasoningEffortOverride(config, effective);
13242
+ }
13243
+ };
13244
+ }
13208
13245
  var oauthChannelSkipReportedAgentKeys = /* @__PURE__ */ new Set();
13209
13246
  function resolveOAuthChannelOwnerSkip(agentConfig, options) {
13210
13247
  if (!agentConfig) return null;
@@ -14232,6 +14269,13 @@ async function executeLocalAgentTurnForCliWithAdapter(options, settings, resolve
14232
14269
  options.agentKey,
14233
14270
  options.modelOverride
14234
14271
  ) : resolvedBaseAdapter;
14272
+ if (adapter2 && options.reasoningEffortOverride) {
14273
+ adapter2 = wrapLoadAgentConfigWithReasoningEffortOverride(
14274
+ adapter2,
14275
+ options.agentKey,
14276
+ options.reasoningEffortOverride
14277
+ );
14278
+ }
14235
14279
  if (adapter2) adapter2 = applyEphemeralIfRequested(options, adapter2);
14236
14280
  if (adapter2 && options.imageUrls?.length) {
14237
14281
  const imageAdapter = adapter2;
@@ -17903,7 +17947,9 @@ async function runAgentRunCommandImpl(args, deps) {
17903
17947
  runner({
17904
17948
  ...buildRunOptions(effectiveAgentKey),
17905
17949
  ...parsed.freshDialog ? { freshDialog: true } : {},
17906
- ...modelOverride ? { modelOverride } : {}
17950
+ ...modelOverride ? { modelOverride } : {},
17951
+ // `--reasoning-effort`:本次 run 的有效推理档覆盖(内存生效,不写回记录)。
17952
+ ...parsed.reasoningEffort ? { reasoningEffortOverride: parsed.reasoningEffort } : {}
17907
17953
  })
17908
17954
  );
17909
17955
  clearWatchdogs();
@@ -17972,7 +18018,9 @@ async function runAgentRunCommandImpl(args, deps) {
17972
18018
  runner({
17973
18019
  ...buildRunOptions(effectiveAgentKey, nextEntry.text),
17974
18020
  continueDialogId: result.dialogId,
17975
- ...modelOverride ? { modelOverride } : {}
18021
+ ...modelOverride ? { modelOverride } : {},
18022
+ // `--reasoning-effort`:本次 run 的有效推理档覆盖(内存生效,不写回记录)。
18023
+ ...parsed.reasoningEffort ? { reasoningEffortOverride: parsed.reasoningEffort } : {}
17976
18024
  })
17977
18025
  );
17978
18026
  clearWatchdogs();
@@ -18192,6 +18240,7 @@ export {
18192
18240
  applyDetectedBackground,
18193
18241
  renderSurfaceLine,
18194
18242
  surfaceBackgroundSequence,
18243
+ userBubbleSurfaceBackgroundSequence,
18195
18244
  themeText,
18196
18245
  tuiRenderThemeFingerprint,
18197
18246
  MAX_URL_LENGTH,
@@ -14,16 +14,16 @@ import {
14
14
  import {
15
15
  addContentToSpace,
16
16
  resolveCreationSpaceId
17
- } from "./chunk-TGKAUEV3.js";
17
+ } from "./chunk-K7RWY7JH.js";
18
18
  import {
19
19
  runtime_default
20
- } from "./chunk-A55E2OCP.js";
20
+ } from "./chunk-26KL6533.js";
21
21
  import {
22
22
  getCurrentSpaceId
23
- } from "./chunk-IXAGRTAR.js";
23
+ } from "./chunk-SBBSUBY3.js";
24
24
  import {
25
25
  write
26
- } from "./chunk-IFJ6OTI6.js";
26
+ } from "./chunk-GJ4UTSAW.js";
27
27
  import {
28
28
  selectIdentityUserId
29
29
  } from "./chunk-PXYBUFDB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  t
3
- } from "./chunk-R7D5SRAZ.js";
3
+ } from "./chunk-5UYDG6HP.js";
4
4
 
5
5
  // packages/cli/windowsSelfUpdate.ts
6
6
  import { spawn } from "node:child_process";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-X4O7FJF5.js";
11
11
  import {
12
12
  getModelContextWindow
13
- } from "./chunk-MAA42MMV.js";
13
+ } from "./chunk-2FZVXOFX.js";
14
14
  import {
15
15
  isRecord
16
16
  } from "./chunk-KUG52IAP.js";
@@ -21,7 +21,7 @@ import {
21
21
  isFireworksKimiModel,
22
22
  isNoloHostedProvider,
23
23
  resolvePlatformEffectiveModel
24
- } from "./chunk-PQ63BDV3.js";
24
+ } from "./chunk-JPXACKSW.js";
25
25
  import {
26
26
  asTrimmedLowercaseString
27
27
  } from "./chunk-QSJ3HFEF.js";
@@ -2,7 +2,7 @@ import {
2
2
  mergeAvailabilityDeadline,
3
3
  resolveCredentialCandidateKeys,
4
4
  resolveCredentialKeyWithFallback
5
- } from "./chunk-QJTZ76CP.js";
5
+ } from "./chunk-LS5KAVFQ.js";
6
6
 
7
7
  // packages/agent-runtime/credentialAvailability.ts
8
8
  import { homedir } from "node:os";
@@ -6,12 +6,12 @@ import {
6
6
  loadFileFromIndexedDb,
7
7
  removeAction,
8
8
  saveFileToIndexedDb
9
- } from "./chunk-X3OZ655T.js";
9
+ } from "./chunk-N7UXTVAR.js";
10
10
  import {
11
11
  readAction,
12
12
  readRequestManager,
13
13
  resolveAgentReadServers
14
- } from "./chunk-ZM5AZTQG.js";
14
+ } from "./chunk-BTQU2PRC.js";
15
15
  import {
16
16
  beginWriteAck,
17
17
  compareRemoteRecordsByComparableTime,
@@ -29,13 +29,13 @@ import {
29
29
  shouldReplaceLocalWithRemoteRecord,
30
30
  shouldReplicateLocalRecord,
31
31
  uploadToCurrentServer
32
- } from "./chunk-WQDTSK5U.js";
32
+ } from "./chunk-REINTCQF.js";
33
33
  import {
34
34
  asyncThunkCreator,
35
35
  buildCreateSlice,
36
36
  createEntityAdapter,
37
37
  noloDeleteRequest
38
- } from "./chunk-6XVPMGXK.js";
38
+ } from "./chunk-W4S5FQWQ.js";
39
39
  import {
40
40
  fetchFromClientDb,
41
41
  fetchFromServer,
@@ -44,7 +44,7 @@ import {
44
44
  logger,
45
45
  normalizeTimeFields,
46
46
  scopeGoogleSessionServers
47
- } from "./chunk-YHNUDTU4.js";
47
+ } from "./chunk-VYRTLHIT.js";
48
48
  import {
49
49
  isTombstoneRecord
50
50
  } from "./chunk-BV3FLP2L.js";
@@ -1265,6 +1265,15 @@ var upsertAction = async (upsertConfig, thunkApi) => {
1265
1265
  }
1266
1266
  };
1267
1267
 
1268
+ // packages/database/spaceUploadFileMapping.ts
1269
+ function mappings(db) {
1270
+ return db?.sublevel?.("web-space-upload-file-ids", { valueEncoding: "utf8" });
1271
+ }
1272
+ var mappingKey = (userId, pageKey) => JSON.stringify([userId, pageKey]);
1273
+ async function recordWebSpaceUploadFileId(db, userId, pageKey, fileId) {
1274
+ await mappings(db)?.put(mappingKey(userId, pageKey), fileId);
1275
+ }
1276
+
1268
1277
  // packages/database/actions/upload.ts
1269
1278
  var saveToClientDb2 = async (clientDb, dbKey, metadata) => {
1270
1279
  if (!clientDb) {
@@ -1289,7 +1298,7 @@ var uploadFileAction = async (uploadConfig, thunkApi) => {
1289
1298
  const { db: clientDb } = thunkApi.extra;
1290
1299
  const state = thunkApi.getState();
1291
1300
  const { currentServer, syncServers, currentUserId } = getRuntimeServerContext(state);
1292
- const { file, customKey, onProgress, signal } = uploadConfig;
1301
+ const { file, customKey, onProgress, signal, ownerType, spaceId } = uploadConfig;
1293
1302
  const userId = uploadConfig.userId || currentUserId;
1294
1303
  if (!file) {
1295
1304
  const errorMsg = "Invalid arguments for uploadFileAction: file is required.";
@@ -1344,7 +1353,11 @@ var uploadFileAction = async (uploadConfig, thunkApi) => {
1344
1353
  file,
1345
1354
  metadata: fileMetadata,
1346
1355
  customKey: finalDbKey,
1347
- userId
1356
+ userId,
1357
+ // 归属声明一律由调用方显式给出(例如 Space 上传传 ownerType:"space");
1358
+ // 服务端 uploadOwnership.ts 会重新校验,声明本身不构成授权。
1359
+ ...ownerType ? { ownerType } : {},
1360
+ ...spaceId ? { spaceId } : {}
1348
1361
  };
1349
1362
  const uploadServers = resolveUploadReplicationServers({
1350
1363
  currentServer,
@@ -1365,8 +1378,16 @@ var uploadFileAction = async (uploadConfig, thunkApi) => {
1365
1378
  await localCachePromise;
1366
1379
  }
1367
1380
  if (primaryUploadServer && !primaryUploadSucceeded) {
1381
+ if (ownerType === "space") {
1382
+ throw new Error(
1383
+ `Upload into Space "${spaceId}" failed on ${primaryUploadServer}: the Space may not be synced to that server, or you are not allowed to upload into it there. Sync the Space to ${primaryUploadServer} (or use another upload server) and retry. Ownership is server-decided and is never downgraded to a personal file.`
1384
+ );
1385
+ }
1368
1386
  throw new Error(`Primary upload failed on authority server ${primaryUploadServer}`);
1369
1387
  }
1388
+ if (ownerType === "space" && userId && finalDbKey === customKey) {
1389
+ await recordWebSpaceUploadFileId(clientDb, userId, finalDbKey, fileId);
1390
+ }
1370
1391
  const serversToUse = scheduleUploadReplication({
1371
1392
  currentServer,
1372
1393
  syncServers,
@@ -1403,12 +1424,13 @@ var resolveLocalFileId = (fileId) => {
1403
1424
  };
1404
1425
  var readFileContentAction = async ({
1405
1426
  fileId,
1406
- useServerFallback = true
1427
+ useServerFallback = true,
1428
+ localFileId
1407
1429
  }, thunkApi) => {
1408
1430
  if (!fileId || typeof fileId !== "string") {
1409
1431
  throw new Error("readFileContentAction requires a valid fileId string.");
1410
1432
  }
1411
- const localId = resolveLocalFileId(fileId);
1433
+ const localId = localFileId || resolveLocalFileId(fileId);
1412
1434
  const localRecord = await loadFileFromIndexedDb(localId);
1413
1435
  if (localRecord) {
1414
1436
  return {
@@ -1494,7 +1516,7 @@ var dbSlice = createSliceWithThunks({
1494
1516
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
1495
1517
  read: create.asyncThunk(
1496
1518
  async (payload, thunkApi) => {
1497
- const { readAction: readAction2 } = await import("./read-BRZHXUJ6.js");
1519
+ const { readAction: readAction2 } = await import("./read-MPPXZHAO.js");
1498
1520
  return readAction2(payload, thunkApi);
1499
1521
  },
1500
1522
  {
@@ -1568,7 +1590,7 @@ var dbSlice = createSliceWithThunks({
1568
1590
  // 这里改成动态 import,运行期才解析,彻底断开这条边。
1569
1591
  share: create.asyncThunk(
1570
1592
  async (config, thunkApi) => {
1571
- const { shareResourceAction } = await import("./action-WZTKEF5H.js");
1593
+ const { shareResourceAction } = await import("./action-4MADDU52.js");
1572
1594
  return shareResourceAction(config, thunkApi);
1573
1595
  }
1574
1596
  ),
@@ -3,38 +3,38 @@ import {
3
3
  } from "./chunk-VF4K2QE6.js";
4
4
  import {
5
5
  setDialogExtraReferencesAction
6
- } from "./chunk-43VT5PLM.js";
6
+ } from "./chunk-3LL5HRIJ.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-TGKAUEV3.js";
9
+ } from "./chunk-K7RWY7JH.js";
10
10
  import {
11
11
  resolveDialogRuntimeAgentKey
12
- } from "./chunk-A55E2OCP.js";
12
+ } from "./chunk-26KL6533.js";
13
13
  import {
14
14
  createSpaceKey
15
15
  } from "./chunk-UAD2WT54.js";
16
16
  import {
17
17
  selectById
18
- } from "./chunk-IFJ6OTI6.js";
18
+ } from "./chunk-GJ4UTSAW.js";
19
19
  import {
20
20
  require_react
21
21
  } from "./chunk-RD3QLZQV.js";
22
22
  import {
23
23
  selectRuntimeSnapshot
24
- } from "./chunk-WQDTSK5U.js";
24
+ } from "./chunk-REINTCQF.js";
25
25
  import {
26
26
  createAsyncThunk
27
- } from "./chunk-6XVPMGXK.js";
27
+ } from "./chunk-W4S5FQWQ.js";
28
28
  import {
29
29
  selectIdentityUserId
30
30
  } from "./chunk-PXYBUFDB.js";
31
31
  import {
32
32
  isAgentSkillDisabled
33
- } from "./chunk-CDIRKCPD.js";
33
+ } from "./chunk-JX2IG37T.js";
34
34
  import {
35
35
  listBuiltinSkills,
36
36
  resolveBuiltinSkillByName
37
- } from "./chunk-75TXQ4GY.js";
37
+ } from "./chunk-ZMWDHPNG.js";
38
38
  import {
39
39
  parseSkillDocProtocol
40
40
  } from "./chunk-AETZ7AD6.js";
@@ -791,7 +791,7 @@ var executeToolRun = createAsyncThunk(
791
791
  if (!executionInput) {
792
792
  throw new Error(`ToolRun ${id} has no input to execute with.`);
793
793
  }
794
- const { findToolExecutor } = await import("./tools-2AO2SK4L.js");
794
+ const { findToolExecutor } = await import("./tools-4RFLNHUW.js");
795
795
  const { executor } = findToolExecutor(run.toolName);
796
796
  toolRunStarted({
797
797
  id: run.id,
@@ -815,7 +815,7 @@ var executeToolRun = createAsyncThunk(
815
815
  const latestState = thunkApi.getState();
816
816
  const userId = selectIdentityUserId(latestState);
817
817
  if (userId) {
818
- const { fetchUserSpaceMemberships } = await import("./memberThunks-T7EAZE6A.js");
818
+ const { fetchUserSpaceMemberships } = await import("./memberThunks-IGYRMEQC.js");
819
819
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
820
820
  }
821
821
  }