nolo-cli 0.97.4 → 0.97.6

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 (140) hide show
  1. package/{_executeModel-GWED52PB.js → _executeModel-E64QIKWF.js} +69 -67
  2. package/action-PNPQLJHG.js +20 -0
  3. package/{addContentAction-B2DRF7P6.js → addContentAction-DX6T34JR.js} +13 -12
  4. package/{addDialogAgentAction-T3I7IXPK.js → addDialogAgentAction-6SGG37BF.js} +17 -16
  5. package/{agentDeleteCommand-FH462XO5.js → agentDeleteCommand-76VXVM3N.js} +40 -39
  6. package/{agentEmailCommands-6UNG6QKI.js → agentEmailCommands-URGNKPPJ.js} +79 -77
  7. package/{agentListCommands-7QQZXKMN.js → agentListCommands-62NGDFOS.js} +50 -49
  8. package/{agentMachineCommands-DCBE3CPT.js → agentMachineCommands-SDIABR4D.js} +38 -37
  9. package/{agentProviderCommands-EMZCM6VA.js → agentProviderCommands-SG535ZMY.js} +1 -1
  10. package/{agentPullCommand-HF4A42D4.js → agentPullCommand-5DOL6RGF.js} +1 -1
  11. package/{agentRecordCommands-TNOVFCQ3.js → agentRecordCommands-ZICUGEEH.js} +73 -71
  12. package/{agentRunCommand-PAUTLE6D.js → agentRunCommand-66NCRPQ7.js} +76 -74
  13. package/{agentRunControl-2TTTUTSW.js → agentRunControl-3HWA2LLQ.js} +2 -2
  14. package/{agentRuntimeLocal-AY6YNUAL.js → agentRuntimeLocal-EZPUCRMS.js} +35 -34
  15. package/{agentSlice-FRLSN5HD.js → agentSlice-V2EDVUXC.js} +15 -14
  16. package/{appDeleteCommands-DFA4W66A.js → appDeleteCommands-7WLUFWPE.js} +35 -34
  17. package/{appDeployCommands-RDTG2IGP.js → appDeployCommands-NK22AMAW.js} +35 -34
  18. package/{appDeployStatusCommands-43XL5KEM.js → appDeployStatusCommands-PIWSMQET.js} +35 -34
  19. package/{appGetCommands-AKEAHGIG.js → appGetCommands-J3H6IHUT.js} +35 -34
  20. package/{appListCommands-F2H37K7K.js → appListCommands-CF4NYHRY.js} +35 -34
  21. package/{authCommand-2YPMMIJN.js → authCommand-T6UO5KPG.js} +20 -20
  22. package/{authCommands-FFDS4FVX.js → authCommands-KTIUCVVG.js} +4 -4
  23. package/{builtinSkillRegistry-CALVIJTX.js → builtinSkillRegistry-MAR5LPAC.js} +7 -6
  24. package/{chunk-4J3Q2KJL.js → chunk-2LM7XUCX.js} +10 -8
  25. package/{chunk-EKS2APRJ.js → chunk-2TYM4V33.js} +2 -2
  26. package/{chunk-O26PCYLS.js → chunk-2WJ57RJA.js} +6 -6
  27. package/{chunk-XVLDUNF7.js → chunk-3PELUSVV.js} +4 -4
  28. package/{chunk-C53ZG23R.js → chunk-4XYBLM4D.js} +4 -4
  29. package/{chunk-ZOVKKMF6.js → chunk-74D5HEDI.js} +1 -1
  30. package/{chunk-UQNS32WZ.js → chunk-7MTCBOOS.js} +1 -1
  31. package/chunk-A4SQRTZ6.js +15 -0
  32. package/chunk-AGIM7IMJ.js +147 -0
  33. package/{chunk-7WCQEMPB.js → chunk-ANRWQGOV.js} +27 -27
  34. package/{chunk-5UTFL4QJ.js → chunk-AOTBKDRK.js} +7 -0
  35. package/{chunk-4HXY5QQG.js → chunk-APVTZ66V.js} +1 -1
  36. package/{chunk-OTEMQQZI.js → chunk-BFWQ65IZ.js} +1 -1
  37. package/{chunk-QMX4FNL4.js → chunk-BS7YHAQP.js} +84 -84
  38. package/{chunk-6D2JFXLY.js → chunk-BZ7NPA6G.js} +0 -2
  39. package/{chunk-34TW5T2M.js → chunk-CERE5KFG.js} +1 -1
  40. package/{chunk-TU5NE4U3.js → chunk-CV366NXM.js} +7 -7
  41. package/{chunk-KLMW4NNN.js → chunk-DBOMSOYX.js} +1 -1
  42. package/{chunk-AWF3WO5R.js → chunk-DHA6B3LS.js} +7 -7
  43. package/chunk-DZ7R5V3Y.js +164 -0
  44. package/{chunk-I3QNET24.js → chunk-E3YWHWCR.js} +20 -1
  45. package/{chunk-Z4CSIXYP.js → chunk-ELIMCKNX.js} +5 -5
  46. package/{chunk-CTUQJVQM.js → chunk-EMQZSES6.js} +1 -1
  47. package/{chunk-RSEEDUMS.js → chunk-EPCAQM3U.js} +2 -2
  48. package/{chunk-QOKAKDPE.js → chunk-HIM3FCLF.js} +0 -1
  49. package/{chunk-DCLMZ5TX.js → chunk-HP57OUJO.js} +5 -5
  50. package/{chunk-WILHZY7K.js → chunk-JNXHAQPJ.js} +4 -4
  51. package/{chunk-AZRHIN5B.js → chunk-K6U4NKFJ.js} +1 -1
  52. package/{chunk-3R7EAVTC.js → chunk-KFJ7ZWBF.js} +38 -38
  53. package/{chunk-PQ3B6KI6.js → chunk-LYKHXIQC.js} +92 -92
  54. package/{chunk-HYZIYH2H.js → chunk-NVRC52JS.js} +22 -20
  55. package/chunk-NWENLDMM.js +42 -0
  56. package/{chunk-YXXI6MJ2.js → chunk-OCZQEXMX.js} +56 -60
  57. package/{chunk-P6GMCCAT.js → chunk-OW4APERY.js} +1 -1
  58. package/{chunk-RJK4MLDC.js → chunk-OXEHLZNH.js} +18 -20
  59. package/{chunk-DSSTTEKI.js → chunk-PQ6BKMXB.js} +2 -2
  60. package/{chunk-VN45QM57.js → chunk-QNTL2KFU.js} +76 -76
  61. package/{chunk-QJC7X767.js → chunk-RJYTVNWD.js} +1 -1
  62. package/{chunk-CPUFH46E.js → chunk-ROFPWC4X.js} +12 -12
  63. package/{chunk-IAESIMK7.js → chunk-RX4HD4H7.js} +8 -8
  64. package/{chunk-7AEF6ZXP.js → chunk-SBFHKTI7.js} +7 -7
  65. package/{chunk-VVXRRZXE.js → chunk-SESH42J6.js} +3 -3
  66. package/{chunk-DDBBIUXZ.js → chunk-SH7KLR4U.js} +20 -20
  67. package/{chunk-DAWDCRIG.js → chunk-TAWF7YAW.js} +1 -1
  68. package/{chunk-ZYWQNCBN.js → chunk-TVCAR26G.js} +1 -1
  69. package/{chunk-APMUYAPK.js → chunk-U3C3IA32.js} +1 -1
  70. package/chunk-UJXNKP5V.js +760 -0
  71. package/{chunk-O2OWEFII.js → chunk-VCAQFMVN.js} +1 -1
  72. package/{chunk-KCDUTE5V.js → chunk-VEYL5MO5.js} +4 -4
  73. package/{chunk-WIWM4FE3.js → chunk-VY6VFGKR.js} +7 -746
  74. package/{chunk-XAYSAKSS.js → chunk-VZZUQTBR.js} +2 -2
  75. package/{chunk-CU3QB4HW.js → chunk-W72ISAKC.js} +3 -3
  76. package/{chunk-QKUMVP3O.js → chunk-WCGC6S77.js} +4 -4
  77. package/{chunk-SEZZCP3H.js → chunk-WGPKQLZO.js} +27 -27
  78. package/{chunk-QDSINZM3.js → chunk-WJ3B6FX6.js} +1 -14
  79. package/{chunk-6ZWMH6TJ.js → chunk-WS2VEVHS.js} +4 -5
  80. package/{chunk-7CHC4W22.js → chunk-XBIYSBSG.js} +5 -5
  81. package/{chunk-NR4IWY23.js → chunk-YWLAWZYQ.js} +40 -260
  82. package/{chunk-R5VLGKMK.js → chunk-Z7A2EDGT.js} +15 -15
  83. package/{chunk-VFWN2MLE.js → chunk-ZGNDLCYH.js} +170 -153
  84. package/{commandRegistry-PUSRUY6V.js → commandRegistry-N47CRDOH.js} +70 -70
  85. package/{contentThunks-JFPH7ZGN.js → contentThunks-RRD2XMWB.js} +32 -32
  86. package/{createAgentAutomationAction-AYUD3TVG.js → createAgentAutomationAction-OW4WEVHP.js} +35 -35
  87. package/{createDialogAction-5EJGAQL5.js → createDialogAction-L3WMTD5Z.js} +36 -35
  88. package/{createPageAction-OJVJJSAD.js → createPageAction-PWG3K3K7.js} +43 -42
  89. package/{dbSlice-DQ32LYTJ.js → dbSlice-BUB77DHH.js} +12 -11
  90. package/{deleteFile-NX6QHCWZ.js → deleteFile-HG4BF3CS.js} +8 -7
  91. package/{dialogCommands-TQ2EYOO3.js → dialogCommands-CNXJGME5.js} +38 -38
  92. package/{dialogSlice-L5SA2HCW.js → dialogSlice-M7ZWTW5D.js} +31 -31
  93. package/{docCreateCommands-YGTVED6F.js → docCreateCommands-U2TEDZHS.js} +34 -33
  94. package/{docDeleteCommands-Y2K6UBU5.js → docDeleteCommands-K4ME6F6S.js} +35 -34
  95. package/{docReadCommands-JSJTTCVY.js → docReadCommands-ZUAVR3HH.js} +34 -33
  96. package/{docStore-DAAP4WFC.js → docStore-IX7ASJUP.js} +13 -12
  97. package/{docUpdateCommands-X2ZC37D3.js → docUpdateCommands-UKEOVRTF.js} +34 -33
  98. package/{fetchMessages-67MEFPZR.js → fetchMessages-N2BW2L62.js} +4 -4
  99. package/getPricing-NMMFT3YI.js +1 -1
  100. package/{handleSendMessageAction-NCZABULQ.js → handleSendMessageAction-KMPC6UD4.js} +36 -36
  101. package/index.js +3 -3
  102. package/{localDialogRead-EBRS242U.js → localDialogRead-3FHUPYAR.js} +1 -1
  103. package/{localRuntimeDb-3LRMNLCM.js → localRuntimeDb-AXJREE2T.js} +1 -1
  104. package/{machineCommands-GRIO3LQG.js → machineCommands-U4RRZGU6.js} +79 -77
  105. package/{machineWsRunDispatch-65IU4CLA.js → machineWsRunDispatch-V3IOP2P2.js} +71 -69
  106. package/{memberThunks-5ZXPR63F.js → memberThunks-LEUNURN2.js} +21 -19
  107. package/package.json +1 -1
  108. package/{providerPresetApply-76AVU3HD.js → providerPresetApply-76AHT34P.js} +4 -4
  109. package/{providerRegistry-Z62NC45X.js → providerRegistry-6HAQAQXB.js} +4 -4
  110. package/{read-EPTJRAEF.js → read-TBK4DFHP.js} +8 -7
  111. package/{readDocTool-W4NDXNEX.js → readDocTool-TJFCZ3ND.js} +1 -1
  112. package/{readlineWorkspace-6F27WVAV.js → readlineWorkspace-QTCU2BC4.js} +327 -110
  113. package/{removeDialogAgentAction-BVAWQKXE.js → removeDialogAgentAction-CT5HGRZH.js} +20 -22
  114. package/{runAgentClientLoop-CKC7RYAK.js → runAgentClientLoop-4VOARXQF.js} +65 -63
  115. package/{runtimeDoctorCommands-3USD722U.js → runtimeDoctorCommands-EQJA4MGD.js} +2 -2
  116. package/{setDialogExtraReferencesAction-LYY45IAD.js → setDialogExtraReferencesAction-JOENKFTX.js} +14 -13
  117. package/{setPrimaryDialogAgentAction-73IL7DLU.js → setPrimaryDialogAgentAction-MHWOGXP3.js} +20 -22
  118. package/{chunk-SONWNI3L.js → settingThunks-KLPZNA6L.js} +104 -921
  119. package/{slateUtils-RIZES3PV.js → slateUtils-NGV2NMKM.js} +1 -1
  120. package/{spaceCommands-JZO2QK77.js → spaceCommands-ZESRWSTC.js} +36 -35
  121. package/{streamAgentChatTurn-4PBF5RK5.js → streamAgentChatTurn-VDAVK7N3.js} +110 -108
  122. package/{switchDialogAgentAction-UUXDSQ6X.js → switchDialogAgentAction-JHA4JEYA.js} +14 -13
  123. package/{tableCommands-G7RV3RU3.js → tableCommands-6U4BMLRR.js} +7 -7
  124. package/{toolApiClient-INIQCPGY.js → toolApiClient-EJT6TMFG.js} +4 -4
  125. package/{tools-BQ375D2L.js → tools-VJ3L5V6D.js} +53 -51
  126. package/{tuiSummaryLlmCaller-74NRRLVW.js → tuiSummaryLlmCaller-QUCBFGZK.js} +18 -17
  127. package/{updateDialogTitleAction-DTREH6RR.js → updateDialogTitleAction-GBUSLAQR.js} +39 -39
  128. package/action-GI44T4DR.js +0 -31
  129. package/browser-image-compression-MFDTD7K6.js +0 -1763
  130. package/chatQueueReduxAdapter-B3PSJ3GC.js +0 -187
  131. package/chunk-MEYIRKDN.js +0 -8967
  132. package/chunk-Y5GCAMGP.js +0 -9
  133. package/chunk-YPREESF4.js +0 -225
  134. package/settingSlice-Q6EKL7EQ.js +0 -204
  135. package/syncMapping-N6RGXGBW.js +0 -437
  136. package/{chunk-6PHKBY2Q.js → chunk-4YSOUKUR.js} +8 -8
  137. package/{chunk-S5XGT6GB.js → chunk-UA324D4O.js} +3 -3
  138. package/{chunk-MX574M24.js → chunk-V4UYSDTH.js} +3 -3
  139. package/{chunk-ESRMFY7G.js → chunk-XFUBXRVI.js} +5 -5
  140. package/{localRuntimeAuthority-5W6IJRAD.js → localRuntimeAuthority-AENMRPGX.js} +5 -5
@@ -1,19 +1,22 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-VN45QM57.js";
4
+ } from "./chunk-QNTL2KFU.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-VFWN2MLE.js";
7
+ } from "./chunk-ZGNDLCYH.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-7WCQEMPB.js";
10
+ } from "./chunk-ANRWQGOV.js";
11
11
  import {
12
12
  applyToolSurfaceConstraints
13
- } from "./chunk-6PHKBY2Q.js";
13
+ } from "./chunk-4YSOUKUR.js";
14
14
  import {
15
15
  resolveLocalRuntimeEnvFromPolicy
16
- } from "./chunk-ESRMFY7G.js";
16
+ } from "./chunk-XFUBXRVI.js";
17
+ import {
18
+ asRecordOrEmpty
19
+ } from "./chunk-KX6YBIHG.js";
17
20
  import {
18
21
  toErrorMessage
19
22
  } from "./chunk-HNMXYYJR.js";
@@ -28,23 +31,20 @@ import {
28
31
  spawnProcess
29
32
  } from "./chunk-Y6ROFCZO.js";
30
33
  import {
31
- asRecordOrEmpty
32
- } from "./chunk-KX6YBIHG.js";
33
- import {
34
- asTrimmedNonEmptyStringArray
35
- } from "./chunk-3AH7LNUB.js";
34
+ ownedAgentKey
35
+ } from "./chunk-M2EJHDJP.js";
36
36
  import {
37
37
  isRecord
38
38
  } from "./chunk-KUG52IAP.js";
39
39
  import {
40
- ownedAgentKey
41
- } from "./chunk-M2EJHDJP.js";
42
- import {
43
- asTrimmedString
44
- } from "./chunk-3EUW3WEO.js";
40
+ asTrimmedNonEmptyStringArray
41
+ } from "./chunk-3AH7LNUB.js";
45
42
  import {
46
43
  asOptionalPositiveFiniteNumber
47
44
  } from "./chunk-U6VC4MU4.js";
45
+ import {
46
+ asTrimmedString
47
+ } from "./chunk-3EUW3WEO.js";
48
48
  import {
49
49
  asOptionalTrimmedString
50
50
  } from "./chunk-G3SUCT4W.js";
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  assembleAgentDiscoveryResult,
6
6
  resolveDiscoveryScope
7
- } from "./chunk-AWF3WO5R.js";
7
+ } from "./chunk-DHA6B3LS.js";
8
8
  import {
9
9
  fetchWithTransientRetry
10
- } from "./chunk-5UTFL4QJ.js";
10
+ } from "./chunk-AOTBKDRK.js";
11
11
  import {
12
12
  CORE_DRAIN_REASON,
13
13
  DRAIN_EXHAUSTED_USER_MESSAGE,
@@ -20,22 +20,21 @@ import {
20
20
  mergeAndDedupUserData
21
21
  } from "./chunk-KQHGZWSV.js";
22
22
  import {
23
- waitForAbortableDelay
24
- } from "./chunk-N4G4PKQ6.js";
25
- import {
26
- TASK_PREVIEW_MAX,
27
- buildDelegatedTaskContent,
28
- calculateDelegatedPayloadMetrics,
29
- formatListRunsCard,
30
- formatNotFoundRunCard,
31
- formatStartRunCard,
32
- formatStatusRunCard,
33
- formatStopRunCard,
34
- resolveRunLabel
35
- } from "./chunk-I3QNET24.js";
23
+ AGENT_UPDATE_FIELD_NAMES,
24
+ DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS,
25
+ DEFAULT_USER_PREFERENCE_PROFILE,
26
+ normalizeAgentUpdateFieldList,
27
+ normalizePolicyLevelSetting,
28
+ normalizeSystemBuiltinSkills,
29
+ normalizeTonePresetSetting
30
+ } from "./chunk-DZ7R5V3Y.js";
36
31
  import {
37
- createDialogAction
38
- } from "./chunk-DDBBIUXZ.js";
32
+ readDocFunc,
33
+ readDocFunctionSchema,
34
+ readPageFunc,
35
+ readPageFunctionSchema,
36
+ resolvePageReadMarkdown
37
+ } from "./chunk-7MTCBOOS.js";
39
38
  import {
40
39
  addMemberSpace,
41
40
  fetchAuthoritativeRemoteSpace,
@@ -47,10 +46,27 @@ import {
47
46
  setMembershipRejected,
48
47
  setSpaceInitialized,
49
48
  updateMemberSpaceName
50
- } from "./chunk-CPUFH46E.js";
49
+ } from "./chunk-ROFPWC4X.js";
50
+ import {
51
+ ToolApiError,
52
+ buildToolRequestHeaders,
53
+ callToolApi,
54
+ getRequestConfig,
55
+ getToolBaseUrl,
56
+ getToolRequestContext
57
+ } from "./chunk-HP57OUJO.js";
58
+ import {
59
+ setDialogExtraReferencesAction
60
+ } from "./chunk-PQ6BKMXB.js";
61
+ import {
62
+ waitForAbortableDelay
63
+ } from "./chunk-N4G4PKQ6.js";
51
64
  import {
52
65
  markdownToSlate
53
66
  } from "./chunk-NUHHBEJC.js";
67
+ import {
68
+ extractMentionsFromSlate
69
+ } from "./chunk-AGIM7IMJ.js";
54
70
  import {
55
71
  slateToRenderMarkdown
56
72
  } from "./chunk-63W5N6P3.js";
@@ -59,28 +75,22 @@ import {
59
75
  } from "./chunk-VF4K2QE6.js";
60
76
  import {
61
77
  createDocState
62
- } from "./chunk-7AEF6ZXP.js";
63
- import {
64
- setDialogExtraReferencesAction
65
- } from "./chunk-DSSTTEKI.js";
78
+ } from "./chunk-SBFHKTI7.js";
66
79
  import {
67
- ToolApiError,
68
- buildToolRequestHeaders,
69
- callToolApi,
70
- getRequestConfig,
71
- getToolBaseUrl,
72
- getToolRequestContext
73
- } from "./chunk-DCLMZ5TX.js";
74
- import {
75
- readDocFunc,
76
- readDocFunctionSchema,
77
- readPageFunc,
78
- readPageFunctionSchema,
79
- resolvePageReadMarkdown
80
- } from "./chunk-UQNS32WZ.js";
80
+ createDialogAction
81
+ } from "./chunk-SH7KLR4U.js";
81
82
  import {
82
- extractMentionsFromSlate
83
- } from "./chunk-MEYIRKDN.js";
83
+ TASK_PREVIEW_MAX,
84
+ buildDelegatedTaskContent,
85
+ calculateDelegatedPayloadMetrics,
86
+ formatAgentListCard,
87
+ formatListRunsCard,
88
+ formatNotFoundRunCard,
89
+ formatStartRunCard,
90
+ formatStatusRunCard,
91
+ formatStopRunCard,
92
+ resolveRunLabel
93
+ } from "./chunk-E3YWHWCR.js";
84
94
  import {
85
95
  DEFAULT_COLLAPSED_CATEGORIES,
86
96
  addContentToSpace,
@@ -98,7 +108,7 @@ import {
98
108
  updateContentCategory,
99
109
  updateContentTitle,
100
110
  writeStoredCollapsedCategories
101
- } from "./chunk-NR4IWY23.js";
111
+ } from "./chunk-YWLAWZYQ.js";
102
112
  import {
103
113
  getCurrentSpaceId,
104
114
  getCurrentSpaceIdRaw,
@@ -120,34 +130,34 @@ import {
120
130
  selectMsgById,
121
131
  uiAskChoiceFunc,
122
132
  uiAskChoiceFunctionSchema
123
- } from "./chunk-QMX4FNL4.js";
133
+ } from "./chunk-BS7YHAQP.js";
124
134
  import {
125
135
  createAgent,
126
136
  deleteServerSyncedCredential,
127
137
  runLlm,
128
138
  streamAgentChatTurn,
129
139
  updateAgent
130
- } from "./chunk-4J3Q2KJL.js";
140
+ } from "./chunk-2LM7XUCX.js";
131
141
  import {
132
142
  getActiveDialogKey,
133
143
  selectCurrentDialogKey,
134
144
  selectPendingRawDataByPageKey
135
- } from "./chunk-6D2JFXLY.js";
145
+ } from "./chunk-BZ7NPA6G.js";
136
146
  import {
137
147
  require_react
138
148
  } from "./chunk-YDH3FDFQ.js";
139
- import {
140
- shareResourceAction
141
- } from "./chunk-CU3QB4HW.js";
142
149
  import {
143
150
  listBuiltinSkills,
144
151
  resolveBuiltinCapability,
145
152
  resolveBuiltinSkillByName,
146
153
  resolveBuiltinSkillEntry
147
- } from "./chunk-KCDUTE5V.js";
154
+ } from "./chunk-VEYL5MO5.js";
148
155
  import {
149
156
  CAPABILITY_PACKS
150
- } from "./chunk-QKUMVP3O.js";
157
+ } from "./chunk-WCGC6S77.js";
158
+ import {
159
+ DEFAULT_SYSTEM_AGENT_CAPABILITIES
160
+ } from "./chunk-WJ3B6FX6.js";
151
161
  import {
152
162
  buildSkillDocMarkdown,
153
163
  normalizeSkillModalities,
@@ -172,36 +182,43 @@ import {
172
182
  redactAgentRecordForWorkspaceTool,
173
183
  resolveNoloDialogInput,
174
184
  verifyNoloDialogSubjectRefQuery
175
- } from "./chunk-6PHKBY2Q.js";
185
+ } from "./chunk-4YSOUKUR.js";
176
186
  import {
177
187
  buildDatabaseFileContentUrl
178
- } from "./chunk-6ZWMH6TJ.js";
188
+ } from "./chunk-WS2VEVHS.js";
179
189
  import {
180
190
  clipCompactText
181
191
  } from "./chunk-5MMAK75Q.js";
182
- import {
183
- createFileCredentialBroker
184
- } from "./chunk-ESRMFY7G.js";
185
192
  import {
186
193
  compactWhitespace
187
194
  } from "./chunk-DWLEOOGR.js";
188
195
  import {
189
- toErrorMessage
190
- } from "./chunk-HNMXYYJR.js";
196
+ createFileCredentialBroker
197
+ } from "./chunk-XFUBXRVI.js";
191
198
  import {
192
- DEFAULT_MODEL,
193
- clampReasoningEffort,
194
- resolveModelReasoningCapabilityWithCache
195
- } from "./chunk-3BXNTXYI.js";
199
+ asRecordOrEmpty
200
+ } from "./chunk-KX6YBIHG.js";
196
201
  import {
197
202
  UNCATEGORIZED_ID,
198
203
  addContentAction,
199
204
  checkSpaceMembership
200
- } from "./chunk-RSEEDUMS.js";
205
+ } from "./chunk-EPCAQM3U.js";
201
206
  import {
202
207
  createSpaceKey,
203
208
  normalizeSpaceId
204
209
  } from "./chunk-UAD2WT54.js";
210
+ import {
211
+ patch,
212
+ read,
213
+ readAndWait,
214
+ readAndWaitAction,
215
+ readFileContentAction,
216
+ remove,
217
+ selectById,
218
+ selectEntities,
219
+ toTimestampMs,
220
+ write
221
+ } from "./chunk-NVRC52JS.js";
205
222
  import {
206
223
  canonicalizeToolName,
207
224
  canonicalizeToolNames
@@ -214,27 +231,46 @@ import {
214
231
  getChromeConnectorToolDefaultConsent
215
232
  } from "./chunk-5J3PYNUP.js";
216
233
  import {
217
- AGENT_UPDATE_FIELD_NAMES,
218
- normalizeAgentUpdateFieldList,
219
- selectAutoApproveSelfUpdateFields,
220
- selectCurrentServer,
221
- selectSyncServers
222
- } from "./chunk-SONWNI3L.js";
234
+ DEFAULT_MODEL,
235
+ clampReasoningEffort,
236
+ resolveModelReasoningCapabilityWithCache
237
+ } from "./chunk-3BXNTXYI.js";
223
238
  import {
224
- asRecordOrEmpty
225
- } from "./chunk-KX6YBIHG.js";
239
+ toErrorMessage
240
+ } from "./chunk-HNMXYYJR.js";
226
241
  import {
227
- patch,
228
- read,
229
- readAndWait,
230
- readAndWaitAction,
231
- readFileContentAction,
232
- remove,
233
- selectById,
234
- selectEntities,
235
- toTimestampMs,
236
- write
237
- } from "./chunk-HYZIYH2H.js";
242
+ asTrimmedLowercaseString
243
+ } from "./chunk-QSJ3HFEF.js";
244
+ import {
245
+ readAction
246
+ } from "./chunk-RX4HD4H7.js";
247
+ import {
248
+ DEVICE_LOCAL_OWNER_ID,
249
+ getRuntimeServerContext,
250
+ isDeviceLocalOwnerId,
251
+ isDeviceLocalSpaceBody,
252
+ isDeviceLocalSpaceMembership,
253
+ resolveEffectiveSpaceActorId,
254
+ resolveRecordOwnerUserId,
255
+ selectRuntimeSnapshot
256
+ } from "./chunk-UJXNKP5V.js";
257
+ import {
258
+ buildTombstoneRecord,
259
+ isTombstoneRecord
260
+ } from "./chunk-GBRG75BQ.js";
261
+ import {
262
+ extractCustomId
263
+ } from "./chunk-M2EJHDJP.js";
264
+ import {
265
+ isRecord
266
+ } from "./chunk-KUG52IAP.js";
267
+ import {
268
+ shareResourceAction
269
+ } from "./chunk-W72ISAKC.js";
270
+ import {
271
+ selectCurrentServer,
272
+ selectSyncServers
273
+ } from "./chunk-NWENLDMM.js";
238
274
  import {
239
275
  SEPARATOR,
240
276
  TYPE_STORAGE_PREFIXES,
@@ -260,41 +296,18 @@ import {
260
296
  asOptionalFiniteNumber
261
297
  } from "./chunk-WWC7I6TA.js";
262
298
  import {
263
- asTrimmedLowercaseString
264
- } from "./chunk-QSJ3HFEF.js";
265
- import {
266
- readAction
267
- } from "./chunk-IAESIMK7.js";
268
- import {
269
- DEVICE_LOCAL_OWNER_ID,
270
299
  createAsyncThunk,
271
- getRuntimeServerContext,
272
- isDeviceLocalOwnerId,
273
- isDeviceLocalSpaceBody,
274
- isDeviceLocalSpaceMembership,
275
- noloWriteRequest,
276
- resolveEffectiveSpaceActorId,
277
- resolveRecordOwnerUserId,
278
- selectRuntimeSnapshot
279
- } from "./chunk-WIWM4FE3.js";
300
+ createSelector,
301
+ noloWriteRequest
302
+ } from "./chunk-VY6VFGKR.js";
280
303
  import {
281
304
  isAbortError
282
- } from "./chunk-QOKAKDPE.js";
305
+ } from "./chunk-HIM3FCLF.js";
283
306
  import {
284
307
  selectIdentityToken,
285
308
  selectIdentityUserBalance,
286
309
  selectIdentityUserId
287
310
  } from "./chunk-SEJ5OS6F.js";
288
- import {
289
- buildTombstoneRecord,
290
- isTombstoneRecord
291
- } from "./chunk-GBRG75BQ.js";
292
- import {
293
- isRecord
294
- } from "./chunk-KUG52IAP.js";
295
- import {
296
- extractCustomId
297
- } from "./chunk-M2EJHDJP.js";
298
311
  import {
299
312
  asTrimmedString
300
313
  } from "./chunk-3EUW3WEO.js";
@@ -3983,7 +3996,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3983
3996
  const deletedDialogIds = [];
3984
3997
  const deletedDialogKeys = [];
3985
3998
  const failures = [];
3986
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-L5SA2HCW.js");
3999
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-M7ZWTW5D.js");
3987
4000
  for (const target of targets) {
3988
4001
  try {
3989
4002
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4047,24 +4060,6 @@ async function fetchUserFavoriteAgentMap(thunkApi) {
4047
4060
  return {};
4048
4061
  }
4049
4062
  }
4050
- function formatAgentListCard(agents, maxDisplay = 8) {
4051
- const total = agents.length;
4052
- const lines = [`Agents (${total})`];
4053
- const visible = agents.slice(0, maxDisplay);
4054
- for (const agent of visible) {
4055
- const star = agent.isFavorite ? "\u2605" : " ";
4056
- const own = agent.isOwned ? "\u25CE" : " ";
4057
- const name = agent.name || "(unnamed)";
4058
- const model = agent.model || "\u2014";
4059
- const source = agent.apiSource || agent.provider || agent.cliProvider || "\u2014";
4060
- const key = agent.agentKey || "(agentKey unavailable)";
4061
- lines.push(`${star}${own} ${name} ${model} ${source} ${key}`);
4062
- }
4063
- if (total > maxDisplay) {
4064
- lines.push(`\u2026 +${total - maxDisplay} more`);
4065
- }
4066
- return lines.join("\n");
4067
- }
4068
4063
  var listAgentsFunctionSchema = {
4069
4064
  name: "listAgents",
4070
4065
  description: "List Nolo agents available for delegation as safe summaries. By default (scope='preferred'), returns the user's preferred agents (favorites, self-owned, OAuth subscriptions, custom API, and local agents). Note: favorited public agents stay in preferred and may still consume platform credits - check each agent's billingSource before dispatching. If no suitable preferred candidate is found or the user explicitly asks to explore public/shared agents, call with scope='public' (public agents may consume platform credits). scope='all' returns the deduplicated union for troubleshooting/management. listAgents does not automatically fallback to public agents. 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. Rate-limited agents (429, nextAvailableAt in the future) are hidden by default; unavailableCount and unavailableAgents carry their nextAvailableAt recovery timestamps; pass `showUnavailable: true` to include them. Set `verbose: true` for full safe summary details.",
@@ -4317,7 +4312,7 @@ var readSkillDocFunctionSchema = {
4317
4312
  }
4318
4313
  };
4319
4314
  async function readSkillDocFunc(args, thunkApi) {
4320
- const { buildReadDocResult } = await import("./readDocTool-W4NDXNEX.js");
4315
+ const { buildReadDocResult } = await import("./readDocTool-TJFCZ3ND.js");
4321
4316
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4322
4317
  if (typeof id !== "string" || !id.trim()) {
4323
4318
  throw new Error("readSkillDoc requires id or doc.");
@@ -4583,18 +4578,7 @@ var addSpaceAction = async (input, thunkAPI) => {
4583
4578
  };
4584
4579
 
4585
4580
  // packages/app/favorite/favoriteStore.ts
4586
- var import_react3 = __toESM(require_react());
4587
-
4588
- // packages/app/store.ts
4589
- var import_react2 = __toESM(require_react());
4590
-
4591
- // packages/app/sessionSnapshot.ts
4592
4581
  var import_react = __toESM(require_react());
4593
-
4594
- // packages/identity/useIdentity.local.ts
4595
- var LOCAL_USER_ID = (typeof process !== "undefined" ? process.env?.NOLO_LOCAL_USER_ID : void 0) || (typeof process !== "undefined" ? process.env?.NOLO_USER_ID : void 0) || "local";
4596
-
4597
- // packages/app/favorite/favoriteStore.ts
4598
4582
  var createInitialState = () => ({
4599
4583
  agentIds: [],
4600
4584
  contentIds: [],
@@ -5120,7 +5104,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
5120
5104
  const spaceKey = createSpaceKey.space(spaceId);
5121
5105
  const readSpace = async (dbKey) => {
5122
5106
  try {
5123
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-DQ32LYTJ.js");
5107
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-BUB77DHH.js");
5124
5108
  if (fresh) {
5125
5109
  return await dispatch(readAndWait2(dbKey)).unwrap();
5126
5110
  }
@@ -10090,7 +10074,7 @@ var cloudflareCrawlStatusFunctionSchema = {
10090
10074
  async function cloudflareCrawlStatusFunc(args, thunkApi) {
10091
10075
  const { jobId, limit, status, cursor } = args;
10092
10076
  if (!jobId) throw new Error("\u5FC5\u987B\u63D0\u4F9B jobId");
10093
- const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-INIQCPGY.js");
10077
+ const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-EJT6TMFG.js");
10094
10078
  const { baseUrl, token } = getToolRequestContext2(thunkApi);
10095
10079
  const params = new URLSearchParams();
10096
10080
  if (limit !== void 0) params.set("limit", String(limit));
@@ -10868,7 +10852,7 @@ var selectUserIdFromState = (state2) => {
10868
10852
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
10869
10853
  async function addImageContentToSpace(input) {
10870
10854
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
10871
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-B2DRF7P6.js")).addContentAction;
10855
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-DX6T34JR.js")).addContentAction;
10872
10856
  await addContentAction2(
10873
10857
  {
10874
10858
  spaceId: input.spaceId,
@@ -12483,6 +12467,34 @@ async function createSkillAgentToolFunc(args, thunkApi) {
12483
12467
  return createAgentToolFunc(buildCreateSkillAgentArgs(args), thunkApi);
12484
12468
  }
12485
12469
 
12470
+ // packages/app/settings/fieldSelectors.ts
12471
+ var selectMaxExecutionTime = (state2) => state2.settings.maxExecutionTime;
12472
+ var selectGlobalPrompt = (state2) => state2.settings.globalPrompt;
12473
+ var selectUserTonePreset = (state2) => normalizeTonePresetSetting(state2.settings.userTonePreset);
12474
+ var selectKnowledgeCaptureLevel = (state2) => normalizePolicyLevelSetting(
12475
+ state2.settings.knowledgeCaptureLevel,
12476
+ DEFAULT_USER_PREFERENCE_PROFILE.knowledgeCaptureLevel
12477
+ );
12478
+ var selectSpaceContextLevel = (state2) => state2.settings.enableReadCurrentSpace === false ? 1 : normalizePolicyLevelSetting(
12479
+ state2.settings.spaceContextLevel,
12480
+ DEFAULT_USER_PREFERENCE_PROFILE.spaceContextLevel
12481
+ );
12482
+ var selectAutoApproveSelfUpdateFields = createSelector(
12483
+ [(state2) => state2.settings.autoApproveSelfUpdateFields],
12484
+ (fields) => normalizeAgentUpdateFieldList(
12485
+ fields,
12486
+ DEFAULT_AUTO_APPROVED_SELF_UPDATE_FIELDS
12487
+ )
12488
+ );
12489
+ var selectAiRecentContentLimit = (state2) => state2.settings.aiRecentContentLimit ?? 50;
12490
+ var selectSystemBuiltinSkills = createSelector(
12491
+ [(state2) => state2.settings.systemBuiltinSkills],
12492
+ (systemBuiltinSkills) => normalizeSystemBuiltinSkills(
12493
+ systemBuiltinSkills,
12494
+ DEFAULT_SYSTEM_AGENT_CAPABILITIES
12495
+ )
12496
+ );
12497
+
12486
12498
  // packages/chat/messages/messageAgent.ts
12487
12499
  function resolveMessageAgentKey(message) {
12488
12500
  if (!message) return void 0;
@@ -14784,7 +14796,7 @@ ${resultStr}
14784
14796
  }
14785
14797
 
14786
14798
  // packages/ai/tools/toolRunStore.ts
14787
- var import_react4 = __toESM(require_react());
14799
+ var import_react2 = __toESM(require_react());
14788
14800
  var createToolRunId = () => `toolrun_${Date.now().toString(36)}_${Math.random().toString(36).slice(2, 8)}`;
14789
14801
  var runsById = /* @__PURE__ */ new Map();
14790
14802
  var listeners2 = /* @__PURE__ */ new Set();
@@ -14893,7 +14905,7 @@ var executeToolRun = createAsyncThunk(
14893
14905
  if (!executionInput) {
14894
14906
  throw new Error(`ToolRun ${id} has no input to execute with.`);
14895
14907
  }
14896
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-BQ375D2L.js");
14908
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-VJ3L5V6D.js");
14897
14909
  const { executor } = findToolExecutor2(run.toolName);
14898
14910
  toolRunStarted({
14899
14911
  id: run.id,
@@ -14917,7 +14929,7 @@ var executeToolRun = createAsyncThunk(
14917
14929
  const latestState = thunkApi.getState();
14918
14930
  const userId = selectIdentityUserId(latestState);
14919
14931
  if (userId) {
14920
- const { fetchUserSpaceMemberships } = await import("./memberThunks-5ZXPR63F.js");
14932
+ const { fetchUserSpaceMemberships } = await import("./memberThunks-LEUNURN2.js");
14921
14933
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
14922
14934
  }
14923
14935
  }
@@ -17400,7 +17412,7 @@ async function updateDocFunc(args, thunkApi) {
17400
17412
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
17401
17413
  };
17402
17414
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
17403
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-DAAP4WFC.js");
17415
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-IX7ASJUP.js");
17404
17416
  if (getDocState().pageKey === id) {
17405
17417
  applyExternalDocUpdate({
17406
17418
  slateData: finalSlateData,
@@ -17425,7 +17437,7 @@ async function updateDocFunc(args, thunkApi) {
17425
17437
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
17426
17438
  async function dispatchSetSettings(thunkApi, changes) {
17427
17439
  const injectedSetSettings = thunkApi?.extra?.setSettings;
17428
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-Q6EKL7EQ.js")).setSettings;
17440
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-KLPZNA6L.js")).setSettings;
17429
17441
  await thunkApi.dispatch(setSettings(changes)).unwrap();
17430
17442
  }
17431
17443
  var updateUserPreferenceProfileFunctionSchema = {
@@ -19720,6 +19732,19 @@ export {
19720
19732
  clipMultilineText,
19721
19733
  fetchAndSerializeTable,
19722
19734
  getToolResultErrorData,
19735
+ createToolRunId,
19736
+ toolRunStarted,
19737
+ toolRunSetPending,
19738
+ toolRunSucceeded,
19739
+ toolRunFailed,
19740
+ getAllToolRuns,
19741
+ createSSEParser,
19742
+ selectMaxExecutionTime,
19743
+ selectGlobalPrompt,
19744
+ selectUserTonePreset,
19745
+ selectKnowledgeCaptureLevel,
19746
+ selectSpaceContextLevel,
19747
+ selectAiRecentContentLimit,
19723
19748
  resolveAgentRequiredPackIds,
19724
19749
  resolveAgentRecommendedSkillNames,
19725
19750
  readXPostFunctionSchema,
@@ -19729,18 +19754,11 @@ export {
19729
19754
  rememberMemoryFunctionSchema,
19730
19755
  deleteMemoryFunctionSchema,
19731
19756
  queryMemoryFunctionSchema,
19732
- createSSEParser,
19733
19757
  checkCredentialFanout,
19734
19758
  buildStartAgentRunFunctionSchema,
19735
19759
  CONTROL_AGENT_RUN_ACTIONS,
19736
19760
  buildControlAgentRunFunctionSchema,
19737
19761
  setTodoListFunc,
19738
- createToolRunId,
19739
- toolRunStarted,
19740
- toolRunSetPending,
19741
- toolRunSucceeded,
19742
- toolRunFailed,
19743
- getAllToolRuns,
19744
19762
  TOOL_GROUP_META,
19745
19763
  toolQueryFunctionSchema,
19746
19764
  toolQueryFunc,
@@ -19749,6 +19767,5 @@ export {
19749
19767
  toolExecutors,
19750
19768
  toolDescriptions,
19751
19769
  toolDefinitionsByName,
19752
- findToolExecutor,
19753
- formatAgentListCard
19770
+ findToolExecutor
19754
19771
  };