nolo-cli 0.88.0-alpha.2 → 0.90.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/{_executeModel-S7KQX4XS.js → _executeModel-W26HVI75.js} +38 -38
- package/{action-JZ62BXLX.js → action-6DXQGJMX.js} +7 -7
- package/{addContentAction-2ETXWERA.js → addContentAction-I7VX5SAC.js} +5 -5
- package/{addDialogAgentAction-COSPGJ4K.js → addDialogAgentAction-OJSFV7DZ.js} +4 -4
- package/{agentDeleteCommand-J6Y2C5X2.js → agentDeleteCommand-XNFWCKBH.js} +25 -24
- package/{agentEmailCommands-TGZ5DJAB.js → agentEmailCommands-W3X3EJ3V.js} +53 -52
- package/{agentGrantCommands-R3VQEZJR.js → agentGrantCommands-YW6PQAQ2.js} +2 -2
- package/{agentListCommands-UIDWO3EG.js → agentListCommands-DFWFU6XO.js} +33 -26
- package/{agentMachineCommands-FPSZ6FJ4.js → agentMachineCommands-LMFOAEL4.js} +25 -24
- package/{agentProviderCommands-65ZC2WB4.js → agentProviderCommands-ZBYHGTGY.js} +87 -0
- package/{agentPullCommand-N7L2CT7L.js → agentPullCommand-GLOOXJ2E.js} +3 -3
- package/{agentRecordCommands-6SCONH5I.js → agentRecordCommands-FVVVCQFM.js} +51 -50
- package/{agentRunCommand-2IXI6Z2U.js → agentRunCommand-HTBVIBGV.js} +52 -51
- package/{agentRunControl-T44MESII.js → agentRunControl-XLGD3UZ5.js} +1 -1
- package/{agentRuntimeLocal-UYU2POZ7.js → agentRuntimeLocal-2JFG4HDU.js} +21 -20
- package/{agentSlice-J5XXG3H7.js → agentSlice-ZNLGFUB5.js} +5 -5
- package/{appDeleteCommands-BVSKDJNM.js → appDeleteCommands-2UN4N2NR.js} +25 -24
- package/{appDeployCommands-UTPULKP3.js → appDeployCommands-37D74KRR.js} +25 -24
- package/{appDeployStatusCommands-DKDE2ECO.js → appDeployStatusCommands-QBLWL2IA.js} +25 -24
- package/{appGetCommands-KT7A7JJQ.js → appGetCommands-6KXIDF2T.js} +25 -24
- package/{appListCommands-MTHRLBXS.js → appListCommands-G2WFGEWQ.js} +25 -24
- package/{authCommand-NNFLRLGJ.js → authCommand-V2DJ7DB7.js} +85 -19
- package/{authCommands-364ESL7K.js → authCommands-RGOGCPP6.js} +3 -3
- package/{builtinSkillRegistry-VXSNE7LM.js → builtinSkillRegistry-WBGYKIAZ.js} +5 -5
- package/{chatQueueReduxAdapter-6I4F5TQW.js → chatQueueReduxAdapter-XCJHIY3R.js} +17 -17
- package/{chunk-BXLB7DXE.js → chunk-2ADBVBEM.js} +98 -2
- package/{chunk-WKJC6UOK.js → chunk-2AYMFHUG.js} +4 -4
- package/{chunk-CADAR6QU.js → chunk-2F4VYGFW.js} +2 -2
- package/{chunk-C3FZR5EC.js → chunk-2F7RJC6L.js} +1 -1
- package/{chunk-IBT5GKZM.js → chunk-3CMTBX3X.js} +6 -6
- package/{chunk-T2EUOLNJ.js → chunk-3CR2LC6X.js} +1 -1
- package/{chunk-UMYXJWI3.js → chunk-3R5PH4IP.js} +1 -1
- package/{chunk-EVCXTAOR.js → chunk-4BYPU626.js} +294 -203
- package/{chunk-M67M3AK5.js → chunk-4DRWWIOL.js} +1 -1
- package/{chunk-KR3MGGC7.js → chunk-576IMUGH.js} +1 -1
- package/{chunk-MGRRXGZD.js → chunk-5DFFKASO.js} +3 -3
- package/{chunk-SENTM5XJ.js → chunk-5NMZNPTN.js} +5 -5
- package/{chunk-5XTOKQLW.js → chunk-5UTFL4QJ.js} +6 -2
- package/{chunk-5CEIOSBX.js → chunk-5V4NJHRM.js} +6 -6
- package/chunk-5ZUL4CUO.js +10 -0
- package/{chunk-XPMTSMUR.js → chunk-6BEA566T.js} +2 -2
- package/{chunk-KIAHQ37Z.js → chunk-6D6VBVEW.js} +2 -2
- package/{chunk-PP3LAL6G.js → chunk-7MYYE7WX.js} +23 -19
- package/{chunk-BQKN5ZHZ.js → chunk-A2C4AKKM.js} +1 -1
- package/{chunk-PBMUDRON.js → chunk-AQZRTHDZ.js} +1192 -44
- package/{chunk-AJHEFRGJ.js → chunk-ASGDO77C.js} +122 -1
- package/{chunk-2KDR4CWE.js → chunk-BYMV6QZG.js} +24 -1
- package/{chunk-WVXCW7DR.js → chunk-CLI4LFSM.js} +9 -4
- package/{chunk-HH65VA5U.js → chunk-CPH3W5A7.js} +15 -3
- package/{chunk-A3GDWRW6.js → chunk-DNQPPRHY.js} +1 -1
- package/{chunk-SR2I44ML.js → chunk-DPQ2WVBY.js} +1 -1
- package/{chunk-IZWQKAGJ.js → chunk-F2CGG72C.js} +40 -40
- package/{chunk-QDOYVIIL.js → chunk-FQYMLZ6C.js} +5 -5
- package/{chunk-BJIRLHJR.js → chunk-GII32WZW.js} +1 -0
- package/{chunk-TR54UTFI.js → chunk-GRYGRGPS.js} +4 -4
- package/{chunk-QIU65GHY.js → chunk-HMEMJ7GH.js} +364 -24
- package/{chunk-OZX2IPKM.js → chunk-HQCSU3DI.js} +1 -1
- package/{chunk-KMIMGCZT.js → chunk-HYZHJ5GW.js} +3 -3
- package/{chunk-OAJRZ35U.js → chunk-IIKPWSPX.js} +1 -1
- package/{chunk-EFWQMKEG.js → chunk-JBBZ5KUM.js} +10 -10
- package/{chunk-KC5FAHVS.js → chunk-JEDZAO7L.js} +1 -1
- package/{chunk-4YIWJYIX.js → chunk-JTK3TJYV.js} +1 -1
- package/{chunk-TMPLPCVX.js → chunk-K7M3MWCE.js} +2 -2
- package/{chunk-OHUU52T3.js → chunk-L2ICPOAL.js} +1 -1
- package/{chunk-RXX4GDIH.js → chunk-LS2ZANRJ.js} +1 -1
- package/{chunk-EVBFYPDC.js → chunk-MC4XLIJ7.js} +6 -2
- package/{chunk-LHDV2QUI.js → chunk-MJHQ3NRV.js} +1 -1
- package/{chunk-WHYTL6XG.js → chunk-N3OAPEZE.js} +28 -9
- package/{chunk-PZCTYKGU.js → chunk-ND2J3NRB.js} +2 -2
- package/{chunk-M2ZBPSGH.js → chunk-NFMHIUY3.js} +65 -50
- package/{chunk-S6FCVZ4I.js → chunk-PH5J5VUY.js} +2 -2
- package/{chunk-FMODTASJ.js → chunk-Q5FJJ6XI.js} +1 -7
- package/{chunk-JYYZCK2Z.js → chunk-QFMFJZLO.js} +1 -1
- package/{chunk-5XV64MAU.js → chunk-QHETQ3KI.js} +35 -1
- package/{chunk-BEQGQMYW.js → chunk-RZANZZL2.js} +2 -2
- package/{chunk-SPAQ4PVV.js → chunk-SAFZABH7.js} +1 -1
- package/{chunk-6LUUGZTS.js → chunk-SMZSWB44.js} +10 -5
- package/{chunk-HJKGQPYF.js → chunk-TL6L5XUT.js} +1 -1
- package/{chunk-M5K26BH3.js → chunk-TVNI5FLG.js} +4 -4
- package/{chunk-X7WAX4JU.js → chunk-UA5S3LQQ.js} +3 -3
- package/{chunk-2LX7X7HX.js → chunk-UTCCPWB2.js} +31 -3
- package/{chunk-DJM4BCSB.js → chunk-VHJLQHPQ.js} +2 -2
- package/{chunk-MXUSPS2N.js → chunk-VRLI2WNW.js} +1563 -1529
- package/{chunk-NG4UT4K4.js → chunk-WS22FPWT.js} +1 -1
- package/{chunk-NJBLAV2R.js → chunk-WXPVOQD7.js} +35 -33
- package/{chunk-5HKWE6OQ.js → chunk-XKQJJK4F.js} +1 -1
- package/{chunk-N4X2KIYL.js → chunk-XMGHGEN6.js} +1 -1
- package/{chunk-6IHWRTUK.js → chunk-XTUY5EL4.js} +16 -12
- package/{chunk-OKCTLCKS.js → chunk-YOXYA2GU.js} +1 -1
- package/{chunk-EDZAJS6E.js → chunk-Z33ARZCP.js} +1 -1
- package/chunk-ZAB3A45K.js +677 -0
- package/{chunk-YZHP76TR.js → chunk-ZBT3WNBK.js} +1 -1
- package/{contentThunks-2N2J3EGF.js → contentThunks-VURN3DFW.js} +18 -18
- package/{createAgentAutomationAction-7QO4ZVVP.js → createAgentAutomationAction-QZAAY77R.js} +18 -18
- package/{createDialogAction-PC2IQ4T7.js → createDialogAction-CHGXVTAC.js} +20 -20
- package/{createPageAction-EFL5EC22.js → createPageAction-IOGAFIN7.js} +18 -18
- package/{dbSlice-JNK4XZ27.js → dbSlice-YXQ6RYIH.js} +4 -4
- package/{dialogCommands-BSOWO6CA.js → dialogCommands-XREAP6WQ.js} +26 -25
- package/{dialogSlice-W6X5G2KS.js → dialogSlice-DOPGWGS4.js} +17 -17
- package/{docCreateCommands-LWZU23FP.js → docCreateCommands-3PYZGSCL.js} +24 -23
- package/{docDeleteCommands-RR6GKDDF.js → docDeleteCommands-3Y6MU44Q.js} +25 -24
- package/{docReadCommands-JP77ZTCY.js → docReadCommands-UBANMAFR.js} +24 -23
- package/{docStore-DMNGPTL4.js → docStore-SYYFBENY.js} +5 -5
- package/{docUpdateCommands-T4OACV4V.js → docUpdateCommands-4GK2X6BN.js} +24 -23
- package/{getPricing-QVTUQQTM.js → getPricing-F2C65RIX.js} +3 -3
- package/{handleSendMessageAction-RJEXW5VS.js → handleSendMessageAction-NPVTY2GE.js} +17 -17
- package/index.js +85 -81
- package/{localDialogRead-GKTRZFAP.js → localDialogRead-BTFJ4V2I.js} +1 -1
- package/{localRuntimeDb-P37ZTX55.js → localRuntimeDb-SYQGUF4U.js} +1 -1
- package/{machineCommands-K3VQUSAX.js → machineCommands-I66X2XB7.js} +49 -48
- package/{machineWsRunDispatch-P7RNOLMU.js → machineWsRunDispatch-W4FVBOUM.js} +49 -48
- package/{memberThunks-A6OAY77F.js → memberThunks-5T4J6KXQ.js} +5 -5
- package/{models-GS72DVJS.js → models-WW7VFNXB.js} +2 -2
- package/{offlineMarxistsAgentCommand-GEH6SNNA.js → offlineMarxistsAgentCommand-JEWCIAWM.js} +1 -1
- package/package.json +1 -1
- package/providerPresetApply-OCWWKBSD.js +214 -0
- package/providerRegistry-ZJQU7AJ7.js +31 -0
- package/{read-2PV4PN2E.js → read-M2Q6WEKB.js} +3 -3
- package/{readDocTool-FGK5XGAW.js → readDocTool-T37P3YPB.js} +1 -1
- package/{readlineWorkspace-FGQLVWLE.js → readlineWorkspace-VY5AMOGR.js} +127 -95
- package/{removeDialogAgentAction-6SGBZWSW.js → removeDialogAgentAction-HB3JBVAI.js} +7 -7
- package/{runAgentClientLoop-75TQMT2H.js → runAgentClientLoop-3NDADLVE.js} +36 -36
- package/{runtimeDoctorCommands-CROTMULY.js → runtimeDoctorCommands-X6WDBEQX.js} +2 -2
- package/{setDialogExtraReferencesAction-LC3SOVJO.js → setDialogExtraReferencesAction-4XLHRV37.js} +5 -5
- package/{setPrimaryDialogAgentAction-XE2HIEVY.js → setPrimaryDialogAgentAction-C3JOFC4W.js} +7 -7
- package/{settingSlice-GJYAXZZ6.js → settingSlice-CZRURSTH.js} +6 -6
- package/{spaceCommands-7GMVZQYI.js → spaceCommands-ENYCUUZH.js} +24 -23
- package/{streamAgentChatTurn-JYKKAOEU.js → streamAgentChatTurn-634OFUSR.js} +46 -44
- package/{switchDialogAgentAction-EDYI5RLR.js → switchDialogAgentAction-C6KVUKJP.js} +4 -4
- package/{tableCommands-SUNTHAYX.js → tableCommands-O6NWHFKV.js} +1 -1
- package/{toolApiClient-VGYUB4P5.js → toolApiClient-7PSIFQPJ.js} +2 -2
- package/{tools-PCY3TDNR.js → tools-ILBLCF7D.js} +33 -33
- package/tuiSummaryLlmCaller-LFUBZKXK.js +127 -0
- package/{updateCommands-Y363MC3L.js → updateCommands-2M74UL7P.js} +2 -2
- package/{updateDialogTitleAction-36NOSXEX.js → updateDialogTitleAction-RKFET73N.js} +38 -21
- package/tuiSummaryLlmCaller-CCYGQDGB.js +0 -116
- package/{db-VQSAOWAO.js → db-WK5MDZVN.js} +1 -1
- package/{localRuntimeAuthority-R5UBODT3.js → localRuntimeAuthority-6IR6BBXE.js} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWithTransientRetry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5UTFL4QJ.js";
|
|
4
4
|
import {
|
|
5
5
|
isGatewayHttpStatus
|
|
6
6
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-2AYMFHUG.js";
|
|
33
33
|
import {
|
|
34
34
|
getUserDataItemTimestamp,
|
|
35
35
|
mergeAndDedupUserData
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
readPageFunc,
|
|
41
41
|
readPageFunctionSchema,
|
|
42
42
|
slateToSimplifiedMarkdown
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-ZBT3WNBK.js";
|
|
44
44
|
import {
|
|
45
45
|
addMemberSpace,
|
|
46
46
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
setMembershipRejected,
|
|
53
53
|
setSpaceInitialized,
|
|
54
54
|
updateMemberSpaceName
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-3CR2LC6X.js";
|
|
56
56
|
import {
|
|
57
57
|
ToolApiError,
|
|
58
58
|
buildToolRequestHeaders,
|
|
@@ -60,10 +60,10 @@ import {
|
|
|
60
60
|
getRequestConfig,
|
|
61
61
|
getToolBaseUrl,
|
|
62
62
|
getToolRequestContext
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HQCSU3DI.js";
|
|
64
64
|
import {
|
|
65
65
|
setDialogExtraReferencesAction
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JTK3TJYV.js";
|
|
67
67
|
import {
|
|
68
68
|
waitForAbortableDelay
|
|
69
69
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-5DFFKASO.js";
|
|
85
85
|
import {
|
|
86
86
|
createDialogAction
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5V4NJHRM.js";
|
|
88
88
|
import {
|
|
89
89
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
90
90
|
addContentToSpace,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FQYMLZ6C.js";
|
|
106
106
|
import {
|
|
107
107
|
getCurrentSpaceId,
|
|
108
108
|
getCurrentSpaceIdRaw,
|
|
@@ -124,14 +124,14 @@ import {
|
|
|
124
124
|
selectMsgById,
|
|
125
125
|
uiAskChoiceFunc,
|
|
126
126
|
uiAskChoiceFunctionSchema
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-HMEMJ7GH.js";
|
|
128
128
|
import {
|
|
129
129
|
createAgent,
|
|
130
130
|
deleteServerSyncedCredential,
|
|
131
131
|
runLlm,
|
|
132
132
|
streamAgentChatTurn,
|
|
133
133
|
updateAgent
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-TVNI5FLG.js";
|
|
135
135
|
import {
|
|
136
136
|
getActiveDialogKey,
|
|
137
137
|
selectCurrentDialogKey,
|
|
@@ -145,10 +145,10 @@ import {
|
|
|
145
145
|
resolveBuiltinCapability,
|
|
146
146
|
resolveBuiltinSkillByName,
|
|
147
147
|
resolveBuiltinSkillEntry
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-2ADBVBEM.js";
|
|
149
149
|
import {
|
|
150
150
|
CAPABILITY_PACKS
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-CLI4LFSM.js";
|
|
152
152
|
import {
|
|
153
153
|
buildSkillDocMarkdown,
|
|
154
154
|
normalizeSkillModalities,
|
|
@@ -173,16 +173,16 @@ import {
|
|
|
173
173
|
redactAgentRecordForWorkspaceTool,
|
|
174
174
|
resolveNoloDialogInput,
|
|
175
175
|
verifyNoloDialogSubjectRefQuery
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-YOXYA2GU.js";
|
|
177
177
|
import {
|
|
178
178
|
isAgentUnavailableNow
|
|
179
179
|
} from "./chunk-CJCJF5XB.js";
|
|
180
180
|
import {
|
|
181
181
|
buildDatabaseFileContentUrl
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-VHJLQHPQ.js";
|
|
183
183
|
import {
|
|
184
184
|
DEFAULT_MODEL
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-VRLI2WNW.js";
|
|
186
186
|
import {
|
|
187
187
|
compactWhitespace
|
|
188
188
|
} from "./chunk-DWLEOOGR.js";
|
|
@@ -198,14 +198,14 @@ import {
|
|
|
198
198
|
} from "./chunk-O6OSWFZQ.js";
|
|
199
199
|
import {
|
|
200
200
|
shareResourceAction
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-XMGHGEN6.js";
|
|
202
202
|
import {
|
|
203
203
|
AGENT_UPDATE_FIELD_NAMES,
|
|
204
204
|
normalizeAgentUpdateFieldList,
|
|
205
205
|
selectAutoApproveSelfUpdateFields,
|
|
206
206
|
selectCurrentServer,
|
|
207
207
|
selectSyncServers
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-PH5J5VUY.js";
|
|
209
209
|
import {
|
|
210
210
|
asRecordOrEmpty
|
|
211
211
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
UNCATEGORIZED_ID,
|
|
214
214
|
addContentAction,
|
|
215
215
|
checkSpaceMembership
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-4DRWWIOL.js";
|
|
217
217
|
import {
|
|
218
218
|
createSpaceKey,
|
|
219
219
|
normalizeSpaceId
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
selectEntities,
|
|
229
229
|
toTimestampMs,
|
|
230
230
|
write
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-UA5S3LQQ.js";
|
|
232
232
|
import {
|
|
233
233
|
SEPARATOR,
|
|
234
234
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -258,10 +258,10 @@ import {
|
|
|
258
258
|
} from "./chunk-QSJ3HFEF.js";
|
|
259
259
|
import {
|
|
260
260
|
readAction
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-L2ICPOAL.js";
|
|
262
262
|
import {
|
|
263
263
|
extractCustomId
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-GII32WZW.js";
|
|
265
265
|
import {
|
|
266
266
|
DEVICE_LOCAL_OWNER_ID,
|
|
267
267
|
createAsyncThunk,
|
|
@@ -911,7 +911,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
|
|
|
911
911
|
workspace: { mode: "lease" }
|
|
912
912
|
};
|
|
913
913
|
var findModelConfig = async (modelName, provider) => {
|
|
914
|
-
const { ALL_MODELS } = await import("./models-
|
|
914
|
+
const { ALL_MODELS } = await import("./models-WW7VFNXB.js");
|
|
915
915
|
const name = toTrimmedString(modelName);
|
|
916
916
|
const prov = toTrimmedString(provider ?? "");
|
|
917
917
|
if (!name) return null;
|
|
@@ -1156,7 +1156,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
|
|
|
1156
1156
|
const trimmedModel = toTrimmedString(model);
|
|
1157
1157
|
const trimmedProvider = toTrimmedString(provider);
|
|
1158
1158
|
const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
|
|
1159
|
-
const { getModelPricing } = await import("./getPricing-
|
|
1159
|
+
const { getModelPricing } = await import("./getPricing-F2C65RIX.js");
|
|
1160
1160
|
const normalizedTools = tools ?? [];
|
|
1161
1161
|
const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
|
|
1162
1162
|
const formData = {
|
|
@@ -3945,7 +3945,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3945
3945
|
const deletedDialogIds = [];
|
|
3946
3946
|
const deletedDialogKeys = [];
|
|
3947
3947
|
const failures = [];
|
|
3948
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3948
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-DOPGWGS4.js");
|
|
3949
3949
|
for (const target of targets) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -4074,6 +4074,8 @@ async function listAgentsFunc(args, thunkApi) {
|
|
|
4074
4074
|
if (favKey.startsWith("agent-pub-")) {
|
|
4075
4075
|
favRecord.publicRecordExists = true;
|
|
4076
4076
|
favRecord.publicKey = favKey;
|
|
4077
|
+
} else {
|
|
4078
|
+
favRecord.verifiedAgentKey = favKey;
|
|
4077
4079
|
}
|
|
4078
4080
|
const key = favRecord?.dbKey || favRecord?.id || favKey;
|
|
4079
4081
|
recordsMap.set(key, favRecord);
|
|
@@ -4252,7 +4254,7 @@ var readSkillDocFunctionSchema = {
|
|
|
4252
4254
|
}
|
|
4253
4255
|
};
|
|
4254
4256
|
async function readSkillDocFunc(args, thunkApi) {
|
|
4255
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
4257
|
+
const { buildReadDocResult } = await import("./readDocTool-T37P3YPB.js");
|
|
4256
4258
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
4257
4259
|
if (typeof id !== "string" || !id.trim()) {
|
|
4258
4260
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -5055,7 +5057,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
5055
5057
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
5056
5058
|
const readSpace = async (dbKey) => {
|
|
5057
5059
|
try {
|
|
5058
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
5060
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-YXQ6RYIH.js");
|
|
5059
5061
|
if (fresh) {
|
|
5060
5062
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
5061
5063
|
}
|
|
@@ -10120,7 +10122,7 @@ var cloudflareCrawlStatusFunctionSchema = {
|
|
|
10120
10122
|
async function cloudflareCrawlStatusFunc(args, thunkApi) {
|
|
10121
10123
|
const { jobId, limit, status, cursor } = args;
|
|
10122
10124
|
if (!jobId) throw new Error("\u5FC5\u987B\u63D0\u4F9B jobId");
|
|
10123
|
-
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-
|
|
10125
|
+
const { getToolRequestContext: getToolRequestContext2 } = await import("./toolApiClient-7PSIFQPJ.js");
|
|
10124
10126
|
const { baseUrl, token } = getToolRequestContext2(thunkApi);
|
|
10125
10127
|
const params = new URLSearchParams();
|
|
10126
10128
|
if (limit !== void 0) params.set("limit", String(limit));
|
|
@@ -10898,7 +10900,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
10898
10900
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
10899
10901
|
async function addImageContentToSpace(input) {
|
|
10900
10902
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
10901
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
10903
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-I7VX5SAC.js")).addContentAction;
|
|
10902
10904
|
await addContentAction2(
|
|
10903
10905
|
{
|
|
10904
10906
|
spaceId: input.spaceId,
|
|
@@ -14819,7 +14821,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14819
14821
|
if (!executionInput) {
|
|
14820
14822
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14821
14823
|
}
|
|
14822
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14824
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-ILBLCF7D.js");
|
|
14823
14825
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14824
14826
|
toolRunStarted({
|
|
14825
14827
|
id: run.id,
|
|
@@ -14843,7 +14845,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14843
14845
|
const latestState = thunkApi.getState();
|
|
14844
14846
|
const userId = selectIdentityUserId(latestState);
|
|
14845
14847
|
if (userId) {
|
|
14846
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
14848
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-5T4J6KXQ.js");
|
|
14847
14849
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
14848
14850
|
}
|
|
14849
14851
|
}
|
|
@@ -17326,7 +17328,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17326
17328
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17327
17329
|
};
|
|
17328
17330
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17329
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17331
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-SYYFBENY.js");
|
|
17330
17332
|
if (getDocState().pageKey === id) {
|
|
17331
17333
|
applyExternalDocUpdate({
|
|
17332
17334
|
slateData: finalSlateData,
|
|
@@ -17351,7 +17353,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17351
17353
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
17352
17354
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
17353
17355
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
17354
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
17356
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-CZRURSTH.js")).setSettings;
|
|
17355
17357
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
17356
17358
|
}
|
|
17357
17359
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A2C4AKKM.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UTCCPWB2.js";
|
|
8
8
|
import {
|
|
9
9
|
deriveCredentialGroup,
|
|
10
10
|
toSafeAgentSummary
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2AYMFHUG.js";
|
|
12
12
|
import {
|
|
13
13
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
14
14
|
isOwnedAgentKey,
|
|
15
15
|
ownedAgentKey,
|
|
16
|
+
ownedAgentKeyPrefix,
|
|
16
17
|
parseOwnedAgentId,
|
|
17
18
|
publicAgentKey
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GII32WZW.js";
|
|
19
20
|
|
|
20
21
|
// packages/cli/agentListHelpers.ts
|
|
21
22
|
function parseAgentRecordId(privateKey, explicitId) {
|
|
@@ -105,14 +106,17 @@ function parseAgentListArgs(args) {
|
|
|
105
106
|
async function listLocalCachedAgents(args) {
|
|
106
107
|
const privateRecords = /* @__PURE__ */ new Map();
|
|
107
108
|
const publicKeys = /* @__PURE__ */ new Set();
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
109
|
+
const ownedPrefix = ownedAgentKeyPrefix(args.userId);
|
|
110
|
+
for (const prefix of [ownedPrefix, PUBLIC_AGENT_KEY_PREFIX]) {
|
|
111
|
+
for await (const [key, value] of args.db.iterator({ gte: prefix, lte: `${prefix}\uFFFF` })) {
|
|
112
|
+
if (typeof key !== "string" || !value || typeof value !== "object") continue;
|
|
113
|
+
if (isOwnedAgentKey(key, args.userId)) {
|
|
114
|
+
privateRecords.set(key, { ...value, dbKey: key });
|
|
115
|
+
continue;
|
|
116
|
+
}
|
|
117
|
+
if (key.startsWith(PUBLIC_AGENT_KEY_PREFIX)) {
|
|
118
|
+
publicKeys.add(key);
|
|
119
|
+
}
|
|
116
120
|
}
|
|
117
121
|
}
|
|
118
122
|
const agents = sortListedAgents(
|