nolo-cli 0.158.0-alpha.1 → 0.158.0
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.
- package/{_executeModel-6BMU3URY.js → _executeModel-AGVQAILR.js} +47 -47
- package/accountResolver-55EDKEIK.js +1 -1
- package/action-GPPJC5TI.js +1 -1
- package/{addContentAction-BI6RDRTQ.js → addContentAction-XJQEJ4XW.js} +6 -6
- package/{addDialogAgentAction-4RJYUSIK.js → addDialogAgentAction-5WZX5CAY.js} +5 -5
- package/{agentDeleteCommand-Q2XWGBC2.js → agentDeleteCommand-56DO7V2R.js} +66 -67
- package/{agentEmailCommands-XFBE2A3F.js → agentEmailCommands-BPUATKQ6.js} +69 -70
- package/{agentListCommands-OROMT4P3.js → agentListCommands-KS5VUGOW.js} +63 -40
- package/{agentMachineCommands-ULK5YKKJ.js → agentMachineCommands-HSJS7IQK.js} +32 -30
- package/{agentProviderCommands-MKG2OOEY.js → agentProviderCommands-CXBHNONN.js} +5 -5
- package/{agentPullCommand-FA43RBRU.js → agentPullCommand-GXXEDOSA.js} +4 -4
- package/{agentRecordCommands-3VHBLS6P.js → agentRecordCommands-IDGVLDMB.js} +63 -64
- package/{agentRunCommand-LCIMEAQY.js → agentRunCommand-LGMDPPPA.js} +65 -66
- package/{agentRunControl-2C5GM3BW.js → agentRunControl-QWFFIAQY.js} +9 -7
- package/{agentRuntimeLocal-NPJS2QDP.js → agentRuntimeLocal-QL4SHNJJ.js} +21 -19
- package/{agentSlice-VRAPG6CH.js → agentSlice-WPXWY6BV.js} +6 -6
- package/{appDeleteCommands-AZ3KS4HK.js → appDeleteCommands-FLCTFYZB.js} +31 -29
- package/{appDeployCommands-BTV22ICJ.js → appDeployCommands-UU4Z7DT3.js} +31 -29
- package/{appDeployStatusCommands-JSW3HPIW.js → appDeployStatusCommands-GKLZTHTX.js} +31 -29
- package/{appGetCommands-5KTTFIMV.js → appGetCommands-DPQ2MVJC.js} +31 -29
- package/{appListCommands-3BJPAE2U.js → appListCommands-J6QMEBNL.js} +31 -29
- package/{authCommand-NIV3DKPF.js → authCommand-OVBMDPIF.js} +20 -20
- package/{authCommands-AMNIAKEG.js → authCommands-QOCKVPX3.js} +5 -5
- package/{builtinSkillRegistry-H3AY27TR.js → builtinSkillRegistry-LJV7FHNI.js} +4 -4
- package/{chunk-O4ZERG3M.js → chunk-2HG7O7QF.js} +8 -8
- package/{chunk-EQGFFDNA.js → chunk-323QA7RW.js} +3 -3
- package/{chunk-2SOS7OSQ.js → chunk-3GCLICFW.js} +37 -4
- package/{chunk-US6MKPE7.js → chunk-3L5MSPWX.js} +1 -1
- package/{chunk-QLQ573SU.js → chunk-3M52COK5.js} +120 -0
- package/{chunk-2BKUVRC5.js → chunk-4VDSF5NQ.js} +9 -9
- package/{chunk-NKPAHRMA.js → chunk-4XHZ4QXL.js} +15 -15
- package/{chunk-ZEY4NJRE.js → chunk-5IKRTRRR.js} +5 -5
- package/{chunk-P5QACQDK.js → chunk-62TBKWTV.js} +1 -1
- package/{chunk-IYBIRCQV.js → chunk-6BNW7WC4.js} +29 -11
- package/{chunk-TRW43TSC.js → chunk-6EQD4AQL.js} +41 -1
- package/{chunk-YLMMECCH.js → chunk-6XIE5ZGI.js} +1 -1
- package/{chunk-JPJGMOIM.js → chunk-7JO3ZACS.js} +2 -2
- package/{chunk-L6EQV5OC.js → chunk-7NKZA46B.js} +3 -3
- package/{chunk-WXFZ4P6O.js → chunk-AO2T6MWY.js} +12 -12
- package/{chunk-2MTE2PEH.js → chunk-ASSNAASW.js} +5 -739
- package/{chunk-J2ATF74A.js → chunk-BAWAKW7X.js} +1 -1
- package/{chunk-7RF4O6AT.js → chunk-BL4HFN6L.js} +1 -1
- package/{chunk-ICRRXBRN.js → chunk-BWIR5QBI.js} +6 -3
- package/{chunk-ZVQHBIWV.js → chunk-CDLP56BS.js} +7 -7
- package/{chunk-6TF64IF2.js → chunk-DI7ZFGDQ.js} +16 -2
- package/{chunk-C3OK72G3.js → chunk-DJ2BOPJY.js} +1 -1
- package/{chunk-OON4OBWI.js → chunk-DLV3H464.js} +7 -7
- package/{chunk-LV4LV2B4.js → chunk-DOBOKBKS.js} +7 -5
- package/{chunk-IRTOYSA2.js → chunk-ESMZW5PE.js} +1 -1
- package/{chunk-HB4XPBC7.js → chunk-EWO77ZGF.js} +9 -11
- package/{chunk-FY4SDK2E.js → chunk-FDLDMJTM.js} +1 -1
- package/{chunk-IE5PXKVU.js → chunk-G3VYRPTV.js} +5 -5
- package/{chunk-AJ4V34SG.js → chunk-HCZOSYTL.js} +19 -19
- package/{chunk-C6FY7HWI.js → chunk-HEC32F3G.js} +46 -1
- package/{chunk-WTFRBJT5.js → chunk-HSY7F4PP.js} +32 -34
- package/{chunk-UFYBYB26.js → chunk-I7S63QUU.js} +1 -1
- package/{chunk-CON6SI7N.js → chunk-IF7V3CBU.js} +1 -1
- package/{chunk-4RJJDA57.js → chunk-IW64YHXL.js} +154 -30
- package/chunk-JLR5NWP2.js +548 -0
- package/{chunk-K43ZF2C3.js → chunk-JPPQ3GUO.js} +1 -1
- package/{chunk-M2P3OGXZ.js → chunk-JWEXJ573.js} +2 -2
- package/{chunk-3C2QLERX.js → chunk-KMDDG73K.js} +1 -1
- package/{chunk-KKKHAF3P.js → chunk-KMKVQNFH.js} +3 -3
- package/{chunk-ZBXIKCZ4.js → chunk-KQT46A27.js} +368 -91
- package/{chunk-5MM7NNO6.js → chunk-KSTEXKL6.js} +78 -39
- package/{chunk-MM3662RS.js → chunk-LPO6AMQU.js} +780 -64
- package/{chunk-YTXQ2U2X.js → chunk-M3IBEHBT.js} +144 -44
- package/{chunk-SPKLALBU.js → chunk-MAYW6V3E.js} +1 -1
- package/{chunk-IPAW7XLD.js → chunk-MFVOJ6KF.js} +2 -2
- package/{chunk-UCLSOLX4.js → chunk-MLEANT7D.js} +13 -13
- package/{chunk-NDZOXXIM.js → chunk-NHEWV5FD.js} +1 -1
- package/{chunk-4UOEOHY3.js → chunk-OE4FM66I.js} +5 -5
- package/chunk-OHRQXEON.js +2685 -0
- package/{chunk-SUKSWFLP.js → chunk-PIG2IUVZ.js} +1 -1
- package/{chunk-6MXDOUMH.js → chunk-R4BMKAR5.js} +70 -8
- package/{chunk-S72LMV7T.js → chunk-RCZMREV2.js} +4793 -3390
- package/chunk-SAZSXMTR.js +188 -0
- package/{chunk-DC3SZCRR.js → chunk-SH3XD4E2.js} +2 -2
- package/{chunk-JGRPBIZZ.js → chunk-SQX235S2.js} +1 -1
- package/{chunk-2AB2HA4M.js → chunk-TDX2L4W2.js} +8 -2
- package/{chunk-G476FQ7Q.js → chunk-TSTLLGAC.js} +4 -4
- package/{chunk-3TBHZPNG.js → chunk-TTVMMYVH.js} +295 -55
- package/{chunk-I2RMFLLH.js → chunk-V7PCFWX3.js} +1 -1
- package/{chunk-QPY264HO.js → chunk-W7FGZRLK.js} +1 -1
- package/{chunk-BYQOCH75.js → chunk-XYW6JSRD.js} +2 -2
- package/{chunk-KLA62VVE.js → chunk-Y45LLH6C.js} +42 -11
- package/{chunk-CDWHHLK5.js → chunk-Y7F4Q7YP.js} +4 -4
- package/{chunk-JZX2XLKC.js → chunk-YCRROBDY.js} +1 -1
- package/{chunk-GAVUTXM5.js → chunk-YFEVODB4.js} +18 -194
- package/{chunk-G2WP7VPD.js → chunk-YKTAUOS7.js} +18 -6
- package/{chunk-YANF2RR4.js → chunk-ZPKUJROL.js} +1 -1
- package/{commandRegistry-D6JTVYKG.js → commandRegistry-HHTMBO55.js} +85 -85
- package/{contentThunks-DYQO4CTI.js → contentThunks-ZSKJTGS7.js} +17 -18
- package/{cooldownCommands-JFKTYS2D.js → cooldownCommands-NS63RGBO.js} +2 -2
- package/{createAgentAutomationAction-LW26KIBP.js → createAgentAutomationAction-KYHXEVZF.js} +17 -18
- package/{createDialogAction-VLLBRD52.js → createDialogAction-JKB3V4YP.js} +21 -22
- package/{createPageAction-PDACOLI6.js → createPageAction-CRVW6Z65.js} +20 -22
- package/{dbSlice-DC2J53RC.js → dbSlice-6PVPY44C.js} +5 -5
- package/{deleteFile-KYWEMNFX.js → deleteFile-YM6NDPAR.js} +3 -3
- package/{dialogCommands-F3Y4KCPZ.js → dialogCommands-2NVLHDZP.js} +32 -30
- package/{dialogSlice-ERMZYMS6.js → dialogSlice-SOEMTPH4.js} +16 -17
- package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
- package/{docCreateCommands-YMWZLW64.js → docCreateCommands-BL4YBQOD.js} +32 -30
- package/{docDeleteCommands-6KJ3ESK4.js → docDeleteCommands-NTRYV5OH.js} +33 -31
- package/{docReadCommands-YQGFVLWI.js → docReadCommands-MJGISD7D.js} +32 -30
- package/{docStore-HXKI6W5D.js → docStore-YXIN3UVQ.js} +6 -6
- package/{docUpdateCommands-QLSGXUEX.js → docUpdateCommands-C2AIMWBR.js} +32 -30
- package/{getPricing-TX35D7PI.js → getPricing-XQ3N3RBP.js} +2 -2
- package/{handleSendMessageAction-2XCOZPXY.js → handleSendMessageAction-JXA7PBY2.js} +35 -32
- package/index.js +7 -7
- package/{localRuntimeAdapter-VOFUPXNF.js → localRuntimeAdapter-QAXXJCDM.js} +61 -60
- package/{localRuntimeAuthority-JDAD7CB6.js → localRuntimeAuthority-BPN5OAQG.js} +2 -2
- package/{localRuntimeDb-CVC62PM5.js → localRuntimeDb-QIVAXMUL.js} +1 -1
- package/{machineCommands-IN5O7CIO.js → machineCommands-TKOOPU7X.js} +66 -67
- package/{machineWsRunDispatch-TH3GMSR3.js → machineWsRunDispatch-AQ3KTB7U.js} +61 -62
- package/{memberThunks-2DWKLE6W.js → memberThunks-AZINUM4S.js} +8 -8
- package/package.json +6 -2
- package/{providerPresetApply-GSJI4JBJ.js → providerPresetApply-PKUOHQJT.js} +5 -5
- package/{providerRegistry-TSSTPGWF.js → providerRegistry-HNQLIFN2.js} +5 -5
- package/{read-L7QEJETH.js → read-7JPIWRBQ.js} +3 -3
- package/{readDocTool-QELXV2GW.js → readDocTool-AAQTB2Y3.js} +1 -1
- package/{readlineWorkspace-EIEQUTEZ.js → readlineWorkspace-7G2FBC53.js} +96 -134
- package/{removeDialogAgentAction-376XSUP2.js → removeDialogAgentAction-RMVRILLK.js} +6 -6
- package/{runAgentClientLoop-3KHKKBZI.js → runAgentClientLoop-NKCVEOOU.js} +45 -45
- package/{runtimeDoctorCommands-56NWKNON.js → runtimeDoctorCommands-MMCP4B4U.js} +12 -12
- package/{setDialogExtraReferencesAction-QBDSH63D.js → setDialogExtraReferencesAction-L3V7JTMG.js} +6 -6
- package/{setPrimaryDialogAgentAction-537QFGW3.js → setPrimaryDialogAgentAction-X52JQGTJ.js} +6 -6
- package/{settingThunks-4Z43ZSAT.js → settingThunks-N6XFWPOU.js} +5 -5
- package/{spaceCommands-T5Z4U7HP.js → spaceCommands-44R7DU34.js} +29 -27
- package/{streamAgentChatTurn-DMXXSEVX.js → streamAgentChatTurn-V7GZPMO4.js} +143 -84
- package/{switchDialogAgentAction-CSO6AKRL.js → switchDialogAgentAction-ZJ5CGU7J.js} +5 -5
- package/{tools-RMT7NAMC.js → tools-SNXGTJMT.js} +35 -37
- package/{tuiSummaryLlmCaller-KLK6K3Q3.js → tuiSummaryLlmCaller-FQOEF4IE.js} +7 -7
- package/{updateCommands-LXZLG44Y.js → updateCommands-FJHGWD3Q.js} +5 -3
- package/{updateDialogTitleAction-Z4WNUH6Y.js → updateDialogTitleAction-QKWRDIK3.js} +17 -18
- package/chunk-3MZAGMYY.js +0 -239
- package/chunk-IA7TRNNR.js +0 -11
- package/chunk-UKZX3NHN.js +0 -48
- package/chunk-VDEVDGEM.js +0 -7018
- package/clipboardy-GCO3GT3I.js +0 -11793
- package/{agentGrantCommands-HOJ3JBBQ.js → agentGrantCommands-5DPHYEKP.js} +3 -3
- package/{chromeOpsCommands-3Z34RKSE.js → chromeOpsCommands-GZVVK7HU.js} +4 -4
- package/{chunk-2SGAI64X.js → chunk-43OFVLWJ.js} +4 -4
- package/{chunk-XETG4RIX.js → chunk-AETZ7AD6.js} +4 -4
- package/{chunk-2IXDJNZI.js → chunk-GAGGEA7D.js} +3 -3
- package/{memoryCommands-CUNBFRVS.js → memoryCommands-ZS3VQJAL.js} +3 -3
- package/{offlineMarxistsAgentCommand-2QTHJCHV.js → offlineMarxistsAgentCommand-3GLX4QQY.js} +3 -3
- package/{tableCommands-LBH3QPPO.js → tableCommands-IVC5S7Y3.js} +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assembleAgentDiscoveryResult,
|
|
3
3
|
resolveDiscoveryScope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y45LLH6C.js";
|
|
5
5
|
import {
|
|
6
6
|
fetchWithTransientRetry
|
|
7
7
|
} from "./chunk-KFHREHUQ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Y7F4Q7YP.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -49,10 +49,10 @@ import {
|
|
|
49
49
|
readPageFunc,
|
|
50
50
|
readPageFunctionSchema,
|
|
51
51
|
resolvePageReadMarkdown
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-3L5MSPWX.js";
|
|
53
53
|
import {
|
|
54
54
|
markdownToSlate
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-KSTEXKL6.js";
|
|
56
56
|
import {
|
|
57
57
|
extractMentionsFromSlate
|
|
58
58
|
} from "./chunk-AGIM7IMJ.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-323QA7RW.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -76,13 +76,13 @@ import {
|
|
|
76
76
|
setMembershipRejected,
|
|
77
77
|
setSpaceInitialized,
|
|
78
78
|
updateMemberSpaceName
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-BAWAKW7X.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-TSTLLGAC.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-IF7V3CBU.js";
|
|
86
86
|
import {
|
|
87
87
|
shareResourceAction
|
|
88
88
|
} from "./chunk-YPG7TUQD.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-OHRQXEON.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-HSY7F4PP.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-OE4FM66I.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
UNCATEGORIZED_ID,
|
|
154
154
|
addContentAction,
|
|
155
155
|
checkSpaceMembership
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-JWEXJ573.js";
|
|
157
157
|
import {
|
|
158
158
|
createSpaceKey,
|
|
159
159
|
normalizeSpaceId
|
|
@@ -169,10 +169,10 @@ import {
|
|
|
169
169
|
selectEntities,
|
|
170
170
|
toTimestampMs,
|
|
171
171
|
write
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-CDLP56BS.js";
|
|
173
173
|
import {
|
|
174
174
|
readAction
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-NHEWV5FD.js";
|
|
176
176
|
import {
|
|
177
177
|
DEVICE_LOCAL_OWNER_ID,
|
|
178
178
|
getRuntimeServerContext,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
resolveEffectiveSpaceActorId,
|
|
183
183
|
resolveRecordOwnerUserId,
|
|
184
184
|
selectRuntimeSnapshot
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-43OFVLWJ.js";
|
|
186
186
|
import {
|
|
187
187
|
createAsyncThunk,
|
|
188
188
|
noloWriteRequest
|
|
@@ -199,10 +199,10 @@ import {
|
|
|
199
199
|
import {
|
|
200
200
|
listBuiltinSkills,
|
|
201
201
|
resolveBuiltinSkillByName
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-SH3XD4E2.js";
|
|
203
203
|
import {
|
|
204
204
|
CAPABILITY_PACKS
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-YCRROBDY.js";
|
|
206
206
|
import {
|
|
207
207
|
buildSkillDocMarkdown,
|
|
208
208
|
normalizeSkillModalities,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
parseExternalSkillMarkdown,
|
|
211
211
|
parseSkillDocProtocol,
|
|
212
212
|
resolvePageSkillMetadata
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-AETZ7AD6.js";
|
|
214
214
|
import {
|
|
215
215
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
216
216
|
NOLO_WORKSPACE_TOOL_NAMES,
|
|
@@ -225,10 +225,11 @@ import {
|
|
|
225
225
|
normalizeNoloExcludeDialogIds,
|
|
226
226
|
normalizeNoloSpaceInput,
|
|
227
227
|
redactAgentRecordForWorkspaceTool,
|
|
228
|
+
resolveDispatchedSubtaskBudget,
|
|
228
229
|
resolveNoloDialogInput,
|
|
229
230
|
resolveReadOnlyToolConstraints,
|
|
230
231
|
verifyNoloDialogSubjectRefQuery
|
|
231
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-3M52COK5.js";
|
|
232
233
|
import {
|
|
233
234
|
clipCompactText
|
|
234
235
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -281,9 +282,6 @@ import {
|
|
|
281
282
|
asNonEmptyStringArray,
|
|
282
283
|
asTrimmedNonEmptyStringArray
|
|
283
284
|
} from "./chunk-I42VC5KR.js";
|
|
284
|
-
import {
|
|
285
|
-
asOptionalFiniteNumber
|
|
286
|
-
} from "./chunk-WWC7I6TA.js";
|
|
287
285
|
import {
|
|
288
286
|
RUN_TITLE_MAX,
|
|
289
287
|
TASK_PREVIEW_MAX,
|
|
@@ -298,11 +296,17 @@ import {
|
|
|
298
296
|
normalizeRunTitle,
|
|
299
297
|
resolveRunLabel
|
|
300
298
|
} from "./chunk-PJNFNEJE.js";
|
|
299
|
+
import {
|
|
300
|
+
API_ENDPOINTS
|
|
301
|
+
} from "./chunk-LCBAMY2M.js";
|
|
302
|
+
import {
|
|
303
|
+
asOptionalFiniteNumber
|
|
304
|
+
} from "./chunk-WWC7I6TA.js";
|
|
301
305
|
import {
|
|
302
306
|
DEFAULT_MODEL,
|
|
303
307
|
clampReasoningEffort,
|
|
304
308
|
resolveModelReasoningCapabilityWithCache
|
|
305
|
-
} from "./chunk-
|
|
309
|
+
} from "./chunk-6EQD4AQL.js";
|
|
306
310
|
import {
|
|
307
311
|
isRecord
|
|
308
312
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -312,9 +316,6 @@ import {
|
|
|
312
316
|
import {
|
|
313
317
|
toErrorMessage
|
|
314
318
|
} from "./chunk-HNMXYYJR.js";
|
|
315
|
-
import {
|
|
316
|
-
API_ENDPOINTS
|
|
317
|
-
} from "./chunk-LCBAMY2M.js";
|
|
318
319
|
import {
|
|
319
320
|
DEFAULT_LOCAL_API_ORIGIN
|
|
320
321
|
} from "./chunk-4SN6J65J.js";
|
|
@@ -1264,7 +1265,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1264
1265
|
const trimmedModel = toTrimmedString(model);
|
|
1265
1266
|
const trimmedProvider = toTrimmedString(provider);
|
|
1266
1267
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1267
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1268
|
+
const { getModelPricing } = await import("./getPricing-XQ3N3RBP.js");
|
|
1268
1269
|
const normalizedTools = tools ?? [];
|
|
1269
1270
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1270
1271
|
const formData = {
|
|
@@ -3881,7 +3882,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3881
3882
|
const deletedDialogIds = [];
|
|
3882
3883
|
const deletedDialogKeys = [];
|
|
3883
3884
|
const failures = [];
|
|
3884
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3885
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-SOEMTPH4.js");
|
|
3885
3886
|
for (const target of targets) {
|
|
3886
3887
|
try {
|
|
3887
3888
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4197,7 +4198,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4197
4198
|
}
|
|
4198
4199
|
};
|
|
4199
4200
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4200
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4201
|
+
const { buildReadDocResult } = await import("./readDocTool-AAQTB2Y3.js");
|
|
4201
4202
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4202
4203
|
if (typeof id !== "string" || !id.trim()) {
|
|
4203
4204
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -4987,7 +4988,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
4987
4988
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
4988
4989
|
const readSpace = async (dbKey) => {
|
|
4989
4990
|
try {
|
|
4990
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
4991
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-6PVPY44C.js");
|
|
4991
4992
|
if (fresh) {
|
|
4992
4993
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
4993
4994
|
}
|
|
@@ -11634,7 +11635,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
11634
11635
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
11635
11636
|
async function addImageContentToSpace(input) {
|
|
11636
11637
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
11637
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
11638
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-XJQEJ4XW.js")).addContentAction;
|
|
11638
11639
|
await addContentAction2(
|
|
11639
11640
|
{
|
|
11640
11641
|
spaceId: input.spaceId,
|
|
@@ -13572,6 +13573,7 @@ var runAgentBackground = createAsyncThunk("agent/runBackground", async (args, {
|
|
|
13572
13573
|
idempotencyKey,
|
|
13573
13574
|
...parentDialogId ? { parentDialogId } : {},
|
|
13574
13575
|
...runtimeKey ? { runtimeKey } : {},
|
|
13576
|
+
...args.subtaskBudgetLimits ? { subtaskBudgetLimits: args.subtaskBudgetLimits } : {},
|
|
13575
13577
|
...ephemeral ? { ephemeral: true } : {},
|
|
13576
13578
|
...runKind ? { runKind } : {},
|
|
13577
13579
|
runtimeContext: {
|
|
@@ -14117,6 +14119,14 @@ function buildStartAgentRunFunctionSchema(opts) {
|
|
|
14117
14119
|
type: "boolean",
|
|
14118
14120
|
description: '\u53EF\u9009\u3002\u4E3A true \u65F6\u672C\u6B21 run \u4F1A\u88AB\u8BB0\u5F55\u8FDB runtime todo\uFF08~/.nolo/todos.json\uFF09\u3002\u4F20\u4E86 batchId \u65F6\u9ED8\u8BA4\u5373\u8BB0\u5F55\uFF08\u6BCF\u6279\u5BF9\u5E94\u4E00\u9879 todo\uFF09\u3002todo \u72B6\u6001\u7531\u5173\u8054 run \u72B6\u6001 + review \u7ED3\u8BBA\u63A8\u5BFC\uFF0C\u7528 controlAgentRun(action:"todo") \u67E5\u8BE2\u3002'
|
|
14119
14121
|
},
|
|
14122
|
+
maxToolCalls: {
|
|
14123
|
+
type: "number",
|
|
14124
|
+
description: "\u53EF\u9009\u3002\u8FD9\u6B21\u5B50\u4EFB\u52A1\u7684\u5DE5\u5177\u8C03\u7528\u6388\u6743\u989D\u5EA6\uFF08\u786C\u4E0A\u9650\uFF09\u3002\u4E0D\u4F20\u5219\u7528 runtime \u9ED8\u8BA4 200\u3002\u5230\u9650\u5373\u505C\u6B62\u542F\u52A8\u65B0\u7684\u5DE5\u5177\u4E0E\u6A21\u578B\u8C03\u7528\u3001\u6709\u754C\u6536\u5C3E\uFF0C\u8FD4\u56DE\u4E2D\u95F4\u7ED3\u8BBA\u5E76\u6807\u8BB0 budget-exhausted\uFF08\u4E0D\u7B97 provider \u9519\u8BEF\uFF09\u3002\u5E94\u6309\u4EFB\u52A1\u610F\u56FE\u6536\u7D27\uFF1A\u6539\u4E00\u4E2A\u5E38\u91CF\u7ED9 10~20\uFF0C\u5355\u6587\u4EF6\u4FEE\u590D\u7ED9 40\uFF0C\u5BA1\u67E5\u7ED9 60\u3002\u6CE8\u610F\u9ED8\u8BA4 200 \u53EA\u7528\u6765\u515C\u65E0\u754C\u635F\u5931\uFF0C\u4E0D\u662F\u5931\u63A7\u8BC6\u522B\u2014\u2014\u8DD1\u5230\u4E0A\u9650\u4E0D\u4EE3\u8868\u4EFB\u52A1\u6B63\u5E38\u3002"
|
|
14125
|
+
},
|
|
14126
|
+
maxWallClockMs: {
|
|
14127
|
+
type: "number",
|
|
14128
|
+
description: "\u53EF\u9009\u3002\u8FD9\u6B21\u5B50\u4EFB\u52A1\u7684\u5899\u949F\u786C\u4E0A\u9650\uFF08\u6BEB\u79D2\uFF09\u3002\u4E0D\u4F20\u5219\u7528 runtime \u9ED8\u8BA4 3600000\uFF0860 \u5206\u949F\uFF09\u3002\u4E0E maxToolCalls \u4EFB\u4E00\u5148\u5230\u5373\u7EC8\u6B62\u3002\u4F5C\u7528\u662F\u515C\u4F4F\u300C\u5355\u6B21\u8C03\u7528\u91CC\u5957\u5FAA\u73AF\u300D\u8FD9\u7C7B\u5DE5\u5177\u8BA1\u6570\u6D4B\u4E0D\u51FA\u8017\u65F6\u7684\u573A\u666F\uFF0C\u4F8B\u5982\u4E00\u6761 shell \u91CC `for i in 1 2 3` \u53CD\u590D\u8DD1\u540C\u4E00\u5957\u6D4B\u8BD5\uFF0C\u8C03\u7528\u6570\u53EA\u6709 1 \u4F46\u8017\u65F6\u5F88\u957F\u3002"
|
|
14129
|
+
},
|
|
14120
14130
|
...supportsWait ? {
|
|
14121
14131
|
wait: {
|
|
14122
14132
|
type: "boolean",
|
|
@@ -14205,6 +14215,10 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14205
14215
|
if (!verdict.allowed) throw new Error(verdict.message);
|
|
14206
14216
|
}
|
|
14207
14217
|
const content = buildDelegatedTaskContent(task, input);
|
|
14218
|
+
const dispatchedSubtaskBudget = resolveDispatchedSubtaskBudget({
|
|
14219
|
+
...typeof args.maxToolCalls === "number" ? { maxToolCalls: args.maxToolCalls } : {},
|
|
14220
|
+
...typeof args.maxWallClockMs === "number" ? { maxWallClockMs: args.maxWallClockMs } : {}
|
|
14221
|
+
});
|
|
14208
14222
|
const payloadMetrics = calculateDelegatedPayloadMetrics(task, input, content);
|
|
14209
14223
|
const activeDialogKey = getActiveDialogKey();
|
|
14210
14224
|
const explicitParentDialogId = typeof args.parentDialogId === "string" && args.parentDialogId.trim() ? args.parentDialogId.includes("-") ? extractCustomId(args.parentDialogId) : args.parentDialogId.trim() : void 0;
|
|
@@ -14227,6 +14241,8 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14227
14241
|
runKind: "subtask",
|
|
14228
14242
|
runTitle: title,
|
|
14229
14243
|
runtimeKey: "local",
|
|
14244
|
+
// 已解析的硬预算(子 run 只消费,不再自行读 env)。
|
|
14245
|
+
subtaskBudgetLimits: dispatchedSubtaskBudget.limits,
|
|
14230
14246
|
allowHostWrites: true,
|
|
14231
14247
|
...args.readOnly === true ? { readOnly: true } : {},
|
|
14232
14248
|
...parentDialogId ? { parentDialogId } : {}
|
|
@@ -14241,6 +14257,8 @@ async function startAgentRunFunc(args, thunkApi, _context) {
|
|
|
14241
14257
|
waitForCompletion: wait === true,
|
|
14242
14258
|
runKind: "subtask",
|
|
14243
14259
|
runTitle: title,
|
|
14260
|
+
// 已解析的硬预算(子 run 只消费,不再自行读 env)。
|
|
14261
|
+
subtaskBudgetLimits: dispatchedSubtaskBudget.limits,
|
|
14244
14262
|
...args.readOnly === true ? { readOnly: true } : {},
|
|
14245
14263
|
...parentDialogId ? { parentDialogId } : {},
|
|
14246
14264
|
...runtimeKey ? { runtimeKey } : {}
|
|
@@ -14800,9 +14818,29 @@ function buildRuntimeCatalog(deps) {
|
|
|
14800
14818
|
reason: dockerReadiness.reason ?? "not-configured",
|
|
14801
14819
|
...dockerReadiness.details ? { details: dockerReadiness.details } : {}
|
|
14802
14820
|
};
|
|
14821
|
+
const isInstaboxBound = deps.isInstaboxBound ? Boolean(deps.isInstaboxBound(ctx.owner)) : false;
|
|
14822
|
+
const instaboxReady = Boolean(isInstaboxBound && deps.instaboxReadiness?.ready === true);
|
|
14823
|
+
const instaboxKey = key(ctx.scope, ctx.owner, "instabox");
|
|
14824
|
+
const instaboxSummary = instaboxReady ? {
|
|
14825
|
+
runtimeKey: instaboxKey,
|
|
14826
|
+
kind: "instabox",
|
|
14827
|
+
name: "Instabox",
|
|
14828
|
+
status: "ready",
|
|
14829
|
+
selectable: true,
|
|
14830
|
+
...deps.instaboxReadiness?.quotaSnapshot ? { quotaSnapshot: deps.instaboxReadiness.quotaSnapshot } : {}
|
|
14831
|
+
} : {
|
|
14832
|
+
runtimeKey: instaboxKey,
|
|
14833
|
+
kind: "instabox",
|
|
14834
|
+
name: "Instabox",
|
|
14835
|
+
status: "unavailable",
|
|
14836
|
+
selectable: false,
|
|
14837
|
+
reason: isInstaboxBound ? deps.instaboxReadiness?.reason ?? "quota-unverifiable" : "not-configured",
|
|
14838
|
+
...isInstaboxBound && !deps.instaboxReadiness ? { details: "Instabox credentials configured but readiness not probed" } : deps.instaboxReadiness?.details ? { details: deps.instaboxReadiness.details } : {}
|
|
14839
|
+
};
|
|
14803
14840
|
runtimes.push(
|
|
14804
14841
|
summary("local", "Local (client only)", false, "unsupported-local"),
|
|
14805
14842
|
dockerSummary,
|
|
14843
|
+
instaboxSummary,
|
|
14806
14844
|
summary("cloudflare", "Cloudflare", false, "not-configured")
|
|
14807
14845
|
);
|
|
14808
14846
|
return { runtimes, selectableCount: runtimes.filter((runtime) => runtime.selectable).length };
|
|
@@ -14829,6 +14867,7 @@ function formatRuntimeSummaryCard(runtimes) {
|
|
|
14829
14867
|
return `Available Runtimes:
|
|
14830
14868
|
${lines.join("\n")}`;
|
|
14831
14869
|
}
|
|
14870
|
+
var serverHooks;
|
|
14832
14871
|
async function resolveTrustedDockerReadiness(thunkApi, trustedContext) {
|
|
14833
14872
|
const source = trustedContext?.dockerReadinessSource ?? thunkApi?.extra?.dockerReadinessSource;
|
|
14834
14873
|
if (source && typeof source.get === "function") {
|
|
@@ -14849,19 +14888,66 @@ async function resolveTrustedDockerReadiness(thunkApi, trustedContext) {
|
|
|
14849
14888
|
dockerQuotaSnapshot: trustedContext?.dockerQuotaSnapshot ?? thunkApi?.extra?.dockerQuotaSnapshot
|
|
14850
14889
|
});
|
|
14851
14890
|
}
|
|
14852
|
-
|
|
14853
|
-
|
|
14854
|
-
|
|
14855
|
-
|
|
14856
|
-
|
|
14857
|
-
|
|
14891
|
+
function loadDockerBindingIsBoundFallback() {
|
|
14892
|
+
if (serverHooks?.getDockerBindingAuthorizer) {
|
|
14893
|
+
try {
|
|
14894
|
+
const authorizer = serverHooks.getDockerBindingAuthorizer();
|
|
14895
|
+
return (caller) => Boolean(authorizer?.isBound?.(caller));
|
|
14896
|
+
} catch {
|
|
14897
|
+
return void 0;
|
|
14898
|
+
}
|
|
14858
14899
|
}
|
|
14900
|
+
return void 0;
|
|
14901
|
+
}
|
|
14902
|
+
async function loadInstaboxBoundFallback(callerUserId) {
|
|
14903
|
+
if (!callerUserId) return false;
|
|
14904
|
+
if (serverHooks?.isInstaboxBound) {
|
|
14905
|
+
try {
|
|
14906
|
+
return await serverHooks.isInstaboxBound(callerUserId);
|
|
14907
|
+
} catch {
|
|
14908
|
+
return false;
|
|
14909
|
+
}
|
|
14910
|
+
}
|
|
14911
|
+
return false;
|
|
14912
|
+
}
|
|
14913
|
+
async function resolveTrustedInstaboxReadiness(callerUserId, thunkApi, trustedContext, isInstaboxBound) {
|
|
14914
|
+
const source = trustedContext?.instaboxReadinessSource ?? thunkApi?.extra?.instaboxReadinessSource;
|
|
14915
|
+
if (source && typeof source.get === "function" && callerUserId) {
|
|
14916
|
+
try {
|
|
14917
|
+
return await source.get(callerUserId);
|
|
14918
|
+
} catch {
|
|
14919
|
+
return {
|
|
14920
|
+
ready: false,
|
|
14921
|
+
reason: "quota-unverifiable",
|
|
14922
|
+
details: "Instabox readiness source probe failed"
|
|
14923
|
+
};
|
|
14924
|
+
}
|
|
14925
|
+
}
|
|
14926
|
+
const injected = trustedContext?.instaboxReadiness ?? thunkApi?.extra?.instaboxReadiness;
|
|
14927
|
+
if (injected) return injected;
|
|
14928
|
+
if (callerUserId && isInstaboxBound?.(callerUserId)) {
|
|
14929
|
+
if (serverHooks?.getInstaboxReadiness) {
|
|
14930
|
+
try {
|
|
14931
|
+
return await serverHooks.getInstaboxReadiness(callerUserId);
|
|
14932
|
+
} catch {
|
|
14933
|
+
return void 0;
|
|
14934
|
+
}
|
|
14935
|
+
}
|
|
14936
|
+
}
|
|
14937
|
+
return void 0;
|
|
14859
14938
|
}
|
|
14860
14939
|
function resolveTrustedCallerUserId(thunkApi, trustedContext) {
|
|
14861
|
-
|
|
14862
|
-
|
|
14863
|
-
|
|
14864
|
-
|
|
14940
|
+
if (trustedContext && "callerUserId" in trustedContext) {
|
|
14941
|
+
const bound = trustedContext.callerUserId;
|
|
14942
|
+
return typeof bound === "string" ? bound : "";
|
|
14943
|
+
}
|
|
14944
|
+
if (typeof thunkApi?.getState === "function") {
|
|
14945
|
+
const state2 = thunkApi.getState();
|
|
14946
|
+
if (state2 != null) {
|
|
14947
|
+
const fromStore = selectIdentityUserId(state2);
|
|
14948
|
+
if (fromStore) return fromStore;
|
|
14949
|
+
}
|
|
14950
|
+
}
|
|
14865
14951
|
const fromExtra = thunkApi?.extra?.userId;
|
|
14866
14952
|
return typeof fromExtra === "string" ? fromExtra : void 0;
|
|
14867
14953
|
}
|
|
@@ -14878,6 +14964,18 @@ async function listRuntimesToolFunc(_args, thunkApi, trustedContext) {
|
|
|
14878
14964
|
const connectorSurface = trustedContext?.connectorSurface ?? "cli";
|
|
14879
14965
|
const dockerReadiness = await resolveTrustedDockerReadiness(thunkApi, trustedContext);
|
|
14880
14966
|
const isDockerBound = trustedContext?.isDockerBound ?? thunkApi?.extra?.isDockerBound ?? (trustedContext?.dockerSelectable === true ? () => true : void 0) ?? (trustedContext?.dockerReadinessSource ? () => true : void 0) ?? await loadDockerBindingIsBoundFallback();
|
|
14967
|
+
const explicitInstaboxBound = trustedContext?.isInstaboxBound ?? thunkApi?.extra?.isInstaboxBound;
|
|
14968
|
+
let isInstaboxBound = explicitInstaboxBound;
|
|
14969
|
+
if (!isInstaboxBound && callerUserId) {
|
|
14970
|
+
const bound = await loadInstaboxBoundFallback(callerUserId);
|
|
14971
|
+
isInstaboxBound = (caller) => caller === callerUserId ? bound : false;
|
|
14972
|
+
}
|
|
14973
|
+
const instaboxReadiness = await resolveTrustedInstaboxReadiness(
|
|
14974
|
+
callerUserId,
|
|
14975
|
+
thunkApi,
|
|
14976
|
+
trustedContext,
|
|
14977
|
+
isInstaboxBound
|
|
14978
|
+
);
|
|
14881
14979
|
if (!callerUserId || !callerUserId.trim()) {
|
|
14882
14980
|
return {
|
|
14883
14981
|
rawData: {
|
|
@@ -14897,7 +14995,9 @@ async function listRuntimesToolFunc(_args, thunkApi, trustedContext) {
|
|
|
14897
14995
|
machineRegistry,
|
|
14898
14996
|
connectorConnections,
|
|
14899
14997
|
dockerReadiness,
|
|
14900
|
-
isDockerBound
|
|
14998
|
+
isDockerBound,
|
|
14999
|
+
isInstaboxBound,
|
|
15000
|
+
instaboxReadiness
|
|
14901
15001
|
});
|
|
14902
15002
|
return {
|
|
14903
15003
|
rawData: {
|
|
@@ -18463,7 +18563,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18463
18563
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18464
18564
|
};
|
|
18465
18565
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18466
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18566
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-YXIN3UVQ.js");
|
|
18467
18567
|
if (getDocState().pageKey === id) {
|
|
18468
18568
|
applyExternalDocUpdate({
|
|
18469
18569
|
slateData: finalSlateData,
|
|
@@ -18488,7 +18588,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18488
18588
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
18489
18589
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
18490
18590
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
18491
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-
|
|
18591
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-N6XFWPOU.js")).setSettings;
|
|
18492
18592
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
18493
18593
|
}
|
|
18494
18594
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getModelPricing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZPKUJROL.js";
|
|
4
4
|
import {
|
|
5
5
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_ID,
|
|
6
6
|
PUBLIC_DEEPSEEK_V4_PRO_AGENT_ID,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-M2EJHDJP.js";
|
|
24
24
|
import {
|
|
25
25
|
getModelConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-6EQD4AQL.js";
|
|
27
27
|
import {
|
|
28
28
|
isRecord
|
|
29
29
|
} from "./chunk-KUG52IAP.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W7FGZRLK.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePositiveFiniteNumberOrFallback
|
|
13
13
|
} from "./chunk-Y5GCAMGP.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
boundSummaryText,
|
|
33
33
|
buildDialogReadEnvelope,
|
|
34
34
|
projectDialogReadForAgent
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3M52COK5.js";
|
|
36
36
|
import {
|
|
37
37
|
asRecordOrEmpty
|
|
38
38
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -42,22 +42,13 @@ import {
|
|
|
42
42
|
} from "./chunk-I42VC5KR.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveRunsDir
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import {
|
|
47
|
-
isRecord
|
|
48
|
-
} from "./chunk-KUG52IAP.js";
|
|
49
|
-
import {
|
|
50
|
-
asTrimmedString
|
|
51
|
-
} from "./chunk-3EUW3WEO.js";
|
|
45
|
+
} from "./chunk-LPO6AMQU.js";
|
|
52
46
|
import {
|
|
53
47
|
getDefaultCliLocalRuntimeDb
|
|
54
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GAGGEA7D.js";
|
|
55
49
|
import {
|
|
56
50
|
isLevelLockError
|
|
57
51
|
} from "./chunk-AWVFQMOV.js";
|
|
58
|
-
import {
|
|
59
|
-
toErrorMessage
|
|
60
|
-
} from "./chunk-HNMXYYJR.js";
|
|
61
52
|
import {
|
|
62
53
|
resolveLocalDialogDbCandidates,
|
|
63
54
|
resolveNoloHome,
|
|
@@ -71,6 +62,15 @@ import {
|
|
|
71
62
|
resolveServerCandidates,
|
|
72
63
|
resolveServerUrl
|
|
73
64
|
} from "./chunk-A7GB5UGH.js";
|
|
65
|
+
import {
|
|
66
|
+
isRecord
|
|
67
|
+
} from "./chunk-KUG52IAP.js";
|
|
68
|
+
import {
|
|
69
|
+
asTrimmedString
|
|
70
|
+
} from "./chunk-3EUW3WEO.js";
|
|
71
|
+
import {
|
|
72
|
+
toErrorMessage
|
|
73
|
+
} from "./chunk-HNMXYYJR.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULT_LOCAL_API_ORIGIN
|
|
76
76
|
} from "./chunk-4SN6J65J.js";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
patch,
|
|
3
3
|
remove,
|
|
4
4
|
write
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CDLP56BS.js";
|
|
6
6
|
import {
|
|
7
7
|
getRuntimeServerContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-43OFVLWJ.js";
|
|
9
9
|
import {
|
|
10
10
|
asyncThunkCreator,
|
|
11
11
|
buildCreateSlice
|
|
@@ -308,7 +308,7 @@ var slice = createSliceWithThunks({
|
|
|
308
308
|
const overrides = {};
|
|
309
309
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
310
310
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
311
|
-
const { _executeModel } = await import("./_executeModel-
|
|
311
|
+
const { _executeModel } = await import("./_executeModel-AGVQAILR.js");
|
|
312
312
|
return _executeModel(
|
|
313
313
|
{
|
|
314
314
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -329,7 +329,7 @@ var slice = createSliceWithThunks({
|
|
|
329
329
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
330
330
|
*/
|
|
331
331
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
332
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
332
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-NKCVEOOU.js");
|
|
333
333
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
334
334
|
{
|
|
335
335
|
agentKey: args.agentKey,
|
|
@@ -345,7 +345,7 @@ var slice = createSliceWithThunks({
|
|
|
345
345
|
* 聊天轮次流式 Agent 调用
|
|
346
346
|
*/
|
|
347
347
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
348
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
348
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-V7GZPMO4.js");
|
|
349
349
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
350
350
|
}),
|
|
351
351
|
/**
|