nolo-cli 0.66.0-alpha.3 → 0.66.0-alpha.4
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-TBSKCSBE.js → _executeModel-UYF2UEIG.js} +25 -25
- package/{action-76JX3JX3.js → action-AOORTHTU.js} +6 -6
- package/{addContentAction-V3NAZRTJ.js → addContentAction-E3S6F3IS.js} +5 -5
- package/{addDialogAgentAction-RZOAF46K.js → addDialogAgentAction-EUBNJ5SS.js} +4 -4
- package/{agentDeleteCommand-22K5XPEC.js → agentDeleteCommand-7SWSSU4X.js} +10 -10
- package/{agentEmailCommands-U56B5FHS.js → agentEmailCommands-UAF3YDG6.js} +27 -27
- package/{agentListCommands-D6JN4CL4.js → agentListCommands-473D3OB3.js} +12 -12
- package/{agentMachineCommands-KTW5UF5B.js → agentMachineCommands-NWHVKMP7.js} +11 -11
- package/{agentRecordCommands-TVNB6F7R.js → agentRecordCommands-G5ZQQNEC.js} +27 -27
- package/{agentRunCommand-ORQVEPWY.js → agentRunCommand-ZTRT252J.js} +27 -27
- package/{agentRuntimeLocal-5ENMNOG5.js → agentRuntimeLocal-3JLUMWN7.js} +10 -10
- package/{agentSlice-FYVXEVSO.js → agentSlice-RPMDYBLC.js} +5 -5
- package/{appDeleteCommands-TCJYBQHN.js → appDeleteCommands-SCJZAMUA.js} +10 -10
- package/{appDeployCommands-2O4Y7BB3.js → appDeployCommands-RVBQZJUT.js} +10 -10
- package/{appDeployStatusCommands-M6U7ZLJ7.js → appDeployStatusCommands-BUPLMNTO.js} +10 -10
- package/{appGetCommands-H2JW2R4K.js → appGetCommands-NQ34IZRG.js} +10 -10
- package/{appListCommands-MWFD4SXY.js → appListCommands-KZHI5DQM.js} +10 -10
- package/{chatQueueReduxAdapter-ZFRURUPP.js → chatQueueReduxAdapter-2Z6DYXAG.js} +11 -11
- package/{chunk-KWSQR2KK.js → chunk-3RAG2NAD.js} +5 -1
- package/{chunk-DNNSCSA2.js → chunk-4K6DB3GJ.js} +5 -5
- package/{chunk-L7B47JXR.js → chunk-4MKPBCTN.js} +1 -1
- package/{chunk-NPZQNQFD.js → chunk-4SCMOQRM.js} +3 -3
- package/{chunk-WVP4TZ4A.js → chunk-5P6YOSF3.js} +3 -3
- package/{chunk-2PGGC63K.js → chunk-5TJQUZQ7.js} +1 -1
- package/{chunk-JMVS6OB2.js → chunk-6AAQCFLQ.js} +21 -21
- package/{chunk-2NVUXKVF.js → chunk-6B2AUXKR.js} +9 -9
- package/{chunk-N2COMZCD.js → chunk-6X5B2VF5.js} +4 -4
- package/{chunk-4NJEIGBQ.js → chunk-76JAMDUT.js} +2 -2
- package/{chunk-AM3KKSJJ.js → chunk-76JYRUX4.js} +1 -1
- package/{chunk-CP7VIDZ7.js → chunk-7JS3F5ZR.js} +1 -1
- package/{chunk-2WB3CWWX.js → chunk-BWHZ4H2Q.js} +9 -9
- package/{chunk-ROXJVF7X.js → chunk-G2MPS44L.js} +1 -1
- package/{chunk-5RHCYQBK.js → chunk-GVYMHBG3.js} +1 -1
- package/{chunk-Q6FPSY5O.js → chunk-HQ3ZLBSI.js} +1 -1
- package/{chunk-EIBTZ5WF.js → chunk-HUZUAHZ6.js} +1 -1
- package/{chunk-RVWRKFUB.js → chunk-IM5EETJX.js} +2 -2
- package/{chunk-WF4MZQFZ.js → chunk-J2WQUFGG.js} +24 -24
- package/{chunk-MBOEV4L2.js → chunk-K647EQV3.js} +1 -1
- package/{chunk-PGX53HOY.js → chunk-M3HN7RBV.js} +1 -1
- package/{chunk-VMWYBIXG.js → chunk-OPNHMILE.js} +3 -3
- package/{chunk-LAFC3B2I.js → chunk-RJ5HQDHL.js} +1 -1
- package/{chunk-KFE6BJJS.js → chunk-RNYLWVME.js} +1 -1
- package/{chunk-AQPKZXCQ.js → chunk-RRY4U37C.js} +9 -9
- package/{chunk-SOJM57FX.js → chunk-SREASRV5.js} +1 -1
- package/{chunk-Z4QSJILV.js → chunk-TDTSQVDX.js} +3 -3
- package/{chunk-LNFMVJK5.js → chunk-UMIARYFE.js} +5 -5
- package/{chunk-JX5PJCWS.js → chunk-WMRPXIZY.js} +2 -2
- package/{chunk-YEI76VEX.js → chunk-XCNSZUQA.js} +3 -3
- package/{chunk-ZZXMGOIJ.js → chunk-XOPPOOTE.js} +7 -7
- package/{chunk-PAETKIBR.js → chunk-YDNDUOB5.js} +7 -7
- package/{chunk-4TNFXQTF.js → chunk-ZSR7L46Q.js} +4 -4
- package/{contentThunks-NUN6NRHW.js → contentThunks-GMRDVLFD.js} +12 -12
- package/{createAgentAutomationAction-3MOAQ3JB.js → createAgentAutomationAction-CH6Q7JMD.js} +12 -12
- package/{createDialogAction-AYGXU34I.js → createDialogAction-ARYHXJ2V.js} +13 -13
- package/{createPageAction-Y77VWMIU.js → createPageAction-RAPK4J4H.js} +12 -12
- package/{dbSlice-IBVOBVMS.js → dbSlice-WL5T2LVF.js} +4 -4
- package/{deleteFile-FWP2PSBG.js → deleteFile-LWSR674W.js} +2 -2
- package/{dialogCommands-23KV3AP6.js → dialogCommands-JAAYSIOE.js} +10 -10
- package/{dialogSlice-FEJXMIMV.js → dialogSlice-CJNADK2R.js} +11 -11
- package/{docCreateCommands-7H24OAVG.js → docCreateCommands-U5OCW42O.js} +10 -10
- package/{docDeleteCommands-FUAMVMAV.js → docDeleteCommands-6RAGSIKC.js} +10 -10
- package/{docReadCommands-ZOSN3RRZ.js → docReadCommands-ID6VUNQD.js} +10 -10
- package/{docStore-5LRRKLQA.js → docStore-6ZFYOHQT.js} +5 -5
- package/{docUpdateCommands-Q3FFXNVX.js → docUpdateCommands-UIC4LWFG.js} +10 -10
- package/{handleSendMessageAction-YMQD6VXX.js → handleSendMessageAction-36NZDUHT.js} +11 -11
- package/index.js +41 -41
- package/{machineCommands-O2SEOXVE.js → machineCommands-25QIEYZQ.js} +27 -27
- package/{machineWsRunDispatch-SZ2M5MMG.js → machineWsRunDispatch-HWYVWOIE.js} +27 -27
- package/{memberThunks-VZI6G7YZ.js → memberThunks-OBDDU3NR.js} +5 -5
- package/package.json +1 -1
- package/{read-2BYWW7AA.js → read-OOTHDABU.js} +2 -2
- package/{readDocTool-LC3A7QTB.js → readDocTool-OU4QXJT6.js} +1 -1
- package/{readlineWorkspace-EZ2IKTXS.js → readlineWorkspace-22XWLYEH.js} +28 -28
- package/{removeDialogAgentAction-SFYZXHNK.js → removeDialogAgentAction-BVU6E27N.js} +6 -6
- package/{runAgentClientLoop-FJFKDMVZ.js → runAgentClientLoop-NYNYXB5C.js} +23 -23
- package/{setDialogExtraReferencesAction-Q32RGFTA.js → setDialogExtraReferencesAction-AUKADSTQ.js} +5 -5
- package/{setPrimaryDialogAgentAction-BFYJHUJS.js → setPrimaryDialogAgentAction-HMHZWURC.js} +6 -6
- package/{settingSlice-IRUU4VFB.js → settingSlice-HIQRILF5.js} +5 -5
- package/{spaceCommands-7XAOMP6I.js → spaceCommands-VWJ2BUYK.js} +10 -10
- package/{streamAgentChatTurn-4O2VTVPB.js → streamAgentChatTurn-EK4UVC2Y.js} +25 -25
- package/{switchDialogAgentAction-L2KOKCGG.js → switchDialogAgentAction-Y66ZTIGP.js} +4 -4
- package/{tools-CHXW6V2S.js → tools-U4GOB2KS.js} +20 -20
- package/{tuiSummaryLlmCaller-D7CCLLS7.js → tuiSummaryLlmCaller-VL5RDGLT.js} +7 -7
- package/{updateDialogTitleAction-Y4UFJSEB.js → updateDialogTitleAction-EXREKMC5.js} +12 -12
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UMIARYFE.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-76JAMDUT.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveDialogAgentId,
|
|
22
22
|
getDialogAgentIds,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
readCacheCreationInputTokens,
|
|
56
56
|
readCacheReadInputTokens,
|
|
57
57
|
resolveAutoExecutionProfile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-HQ3ZLBSI.js";
|
|
59
59
|
import {
|
|
60
60
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
61
61
|
buildCompactionMetricsFromPlan,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
normalizeTimingMs,
|
|
68
68
|
planCompression,
|
|
69
69
|
serializeMessageContent
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-TDTSQVDX.js";
|
|
71
71
|
import {
|
|
72
72
|
estimateTokenCount
|
|
73
73
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-5YIL5WDC.js";
|
|
95
95
|
import {
|
|
96
96
|
nolotusId
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-OPNHMILE.js";
|
|
98
98
|
import {
|
|
99
99
|
asRecordOrEmpty
|
|
100
100
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
remove,
|
|
105
105
|
selectById,
|
|
106
106
|
write
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
108
108
|
import {
|
|
109
109
|
buildDialogAgentListIndexDeleteOps,
|
|
110
110
|
createDialogMessageKeyAndId,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
builtinAgentCatalogEntryById,
|
|
130
130
|
builtinRuntimeFallbackEntries,
|
|
131
131
|
isBuiltinPlatformAgentKey
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-4MKPBCTN.js";
|
|
133
133
|
import {
|
|
134
134
|
extractCustomId,
|
|
135
135
|
extractUserId,
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
getRuntimeServerContext,
|
|
146
146
|
parseOwnerUserIdFromDbKey,
|
|
147
147
|
scheduleDeleteReplication
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-3RAG2NAD.js";
|
|
149
149
|
import {
|
|
150
150
|
createClientLogger,
|
|
151
151
|
isAbortError
|
|
@@ -2887,7 +2887,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
2887
2887
|
runtimeOptions: args.runtimeOptions
|
|
2888
2888
|
});
|
|
2889
2889
|
if (agentKeyToUse) {
|
|
2890
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
2890
|
+
const { streamAgentChatTurn } = await import("./agentSlice-RPMDYBLC.js");
|
|
2891
2891
|
await dispatch(
|
|
2892
2892
|
streamAgentChatTurn({
|
|
2893
2893
|
agentKey: agentKeyToUse,
|
|
@@ -4130,7 +4130,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
4130
4130
|
metadataReadFailures
|
|
4131
4131
|
});
|
|
4132
4132
|
if (!plan.deleteCandidates.length) return plan;
|
|
4133
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
4133
|
+
const { deleteFileAction } = await import("./deleteFile-LWSR674W.js");
|
|
4134
4134
|
for (const candidate of plan.deleteCandidates) {
|
|
4135
4135
|
if (candidate.fileDbKey) {
|
|
4136
4136
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -4192,7 +4192,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4192
4192
|
}
|
|
4193
4193
|
if (isCurrentDialog) {
|
|
4194
4194
|
await thunkApi.dispatch(resetMsgs());
|
|
4195
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
4195
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-CJNADK2R.js");
|
|
4196
4196
|
dispatch(clearPendingAttachments2());
|
|
4197
4197
|
}
|
|
4198
4198
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -4200,39 +4200,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4200
4200
|
|
|
4201
4201
|
// packages/chat/dialog/dialogSlice.ts
|
|
4202
4202
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
4203
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
4203
|
+
const { createDialogAction } = await import("./createDialogAction-ARYHXJ2V.js");
|
|
4204
4204
|
return createDialogAction(args, thunkApi);
|
|
4205
4205
|
};
|
|
4206
4206
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
4207
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
4207
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-CH6Q7JMD.js");
|
|
4208
4208
|
return createAgentAutomationAction(args, thunkApi);
|
|
4209
4209
|
};
|
|
4210
4210
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
4211
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
4211
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-EXREKMC5.js");
|
|
4212
4212
|
return updateDialogTitleAction(args, thunkApi);
|
|
4213
4213
|
};
|
|
4214
4214
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
4215
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
4215
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-EUBNJ5SS.js");
|
|
4216
4216
|
return addDialogAgentAction(args, thunkApi);
|
|
4217
4217
|
};
|
|
4218
4218
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
4219
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
4219
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-BVU6E27N.js");
|
|
4220
4220
|
return removeDialogAgentAction(args, thunkApi);
|
|
4221
4221
|
};
|
|
4222
4222
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
4223
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
4223
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-HMHZWURC.js");
|
|
4224
4224
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
4225
4225
|
};
|
|
4226
4226
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
4227
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
4227
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-Y66ZTIGP.js");
|
|
4228
4228
|
return switchDialogAgentAction(args, thunkApi);
|
|
4229
4229
|
};
|
|
4230
4230
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
4231
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
4231
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-AUKADSTQ.js");
|
|
4232
4232
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
4233
4233
|
};
|
|
4234
4234
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
4235
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
4235
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-36NZDUHT.js");
|
|
4236
4236
|
return handleSendMessageAction(args, thunkApi);
|
|
4237
4237
|
};
|
|
4238
4238
|
function clearDialogState() {
|
|
@@ -4245,7 +4245,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
4245
4245
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
4246
4246
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
4247
4247
|
try {
|
|
4248
|
-
const { createDocState } = await import("./docStore-
|
|
4248
|
+
const { createDocState } = await import("./docStore-6ZFYOHQT.js");
|
|
4249
4249
|
const pageKey = await createDocState(
|
|
4250
4250
|
{ slateData, title },
|
|
4251
4251
|
{ dispatch, getState }
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GVYMHBG3.js";
|
|
9
9
|
import {
|
|
10
10
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
11
11
|
buildInvalidToolCallSelfHealResult,
|
|
12
12
|
parseToolCallArguments,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundMessages
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XOPPOOTE.js";
|
|
16
16
|
import {
|
|
17
17
|
createSSEParser,
|
|
18
18
|
createToolRunId,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolRunSetPending,
|
|
24
24
|
toolRunStarted,
|
|
25
25
|
toolRunSucceeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J2WQUFGG.js";
|
|
27
27
|
import {
|
|
28
28
|
getPublicImageAgentMode
|
|
29
29
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
messageStreamEnd,
|
|
36
36
|
messageStreaming,
|
|
37
37
|
updateToolMessage
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6AAQCFLQ.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-UMIARYFE.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
EMPTY_ASSISTANT_REPAIR_PROMPT,
|
|
58
58
|
getModelInfo
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-HQ3ZLBSI.js";
|
|
60
60
|
import {
|
|
61
61
|
getApiEndpoint
|
|
62
62
|
} from "./chunk-TQC77XVE.js";
|
|
@@ -65,10 +65,10 @@ import {
|
|
|
65
65
|
} from "./chunk-HNMXYYJR.js";
|
|
66
66
|
import {
|
|
67
67
|
selectCurrentServer
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-OPNHMILE.js";
|
|
69
69
|
import {
|
|
70
70
|
write
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
72
72
|
import {
|
|
73
73
|
createDialogMessageKeyAndId,
|
|
74
74
|
dialogMessageKey,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-BJIRLHJR.js";
|
|
80
80
|
import {
|
|
81
81
|
createAsyncThunk
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-3RAG2NAD.js";
|
|
83
83
|
import {
|
|
84
84
|
isAbortError
|
|
85
85
|
} from "./chunk-QOKAKDPE.js";
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
ownedAgentKey,
|
|
13
13
|
publicAgentKey
|
|
14
14
|
} from "./chunk-BJIRLHJR.js";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
import {
|
|
16
|
+
fnv1a32Hex
|
|
17
|
+
} from "./chunk-3RAG2NAD.js";
|
|
18
18
|
|
|
19
19
|
// packages/ai/agent/agentBilling.ts
|
|
20
20
|
function resolveBillingSource(candidate) {
|
|
@@ -207,7 +207,7 @@ function deriveCredentialGroup(ref) {
|
|
|
207
207
|
credentialKind: "oauth"
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
const hash =
|
|
210
|
+
const hash = fnv1a32Hex(trimmed);
|
|
211
211
|
return {
|
|
212
212
|
credentialGroup: `cred-${hash}`,
|
|
213
213
|
credentialKind: "api-key"
|
|
@@ -48,14 +48,14 @@ import {
|
|
|
48
48
|
} from "./chunk-MP64VFGD.js";
|
|
49
49
|
import {
|
|
50
50
|
inferCaptureIntent
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-RJ5HQDHL.js";
|
|
52
52
|
import {
|
|
53
53
|
buildCliPrompt
|
|
54
54
|
} from "./chunk-ATNTHIZI.js";
|
|
55
55
|
import {
|
|
56
56
|
inlineImageUrlsForCustomProvider,
|
|
57
57
|
prepareTools
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-GVYMHBG3.js";
|
|
59
59
|
import {
|
|
60
60
|
getServerProviderSecret
|
|
61
61
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
rememberMemoryFunctionSchema,
|
|
73
73
|
resolveAgentRequiredPackIds,
|
|
74
74
|
setTodoListFunc
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-J2WQUFGG.js";
|
|
76
76
|
import {
|
|
77
77
|
fetchWithTransientRetry,
|
|
78
78
|
isTransientFetchError
|
|
@@ -96,13 +96,13 @@ import {
|
|
|
96
96
|
prepareTokenUsageData,
|
|
97
97
|
resolveBuiltinPlatformAgentConfig,
|
|
98
98
|
runKeyed
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-6AAQCFLQ.js";
|
|
100
100
|
import {
|
|
101
101
|
BUILTIN_TITLE_LLM_CONFIG
|
|
102
102
|
} from "./chunk-EVBFYPDC.js";
|
|
103
103
|
import {
|
|
104
104
|
fetchServerSyncedCredential
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-UMIARYFE.js";
|
|
106
106
|
import {
|
|
107
107
|
require_date_fns
|
|
108
108
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolveOpenAiCompatibleProviderConfig,
|
|
155
155
|
shouldUseGeminiNativeToolRoute,
|
|
156
156
|
summarizeToolArguments
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-ZSR7L46Q.js";
|
|
158
158
|
import {
|
|
159
159
|
PlatformStreamInterruptedError,
|
|
160
160
|
buildPlatformChatCompletionRequest,
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
readSseDataValues,
|
|
167
167
|
resolvePlatformChatProviderConfig,
|
|
168
168
|
shouldUsePlatformChatProvider
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-M3HN7RBV.js";
|
|
170
170
|
import {
|
|
171
171
|
resolveAgentRuntimeConfigFromRecord,
|
|
172
172
|
resolveHistoricalToolContentCap
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
finalizeProviderCallTiming,
|
|
204
204
|
observeMeaningfulProviderResponseAt,
|
|
205
205
|
withProviderCallTimingFields
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-TDTSQVDX.js";
|
|
207
207
|
import {
|
|
208
208
|
estimateTokenCount
|
|
209
209
|
} from "./chunk-PSCNXBYA.js";
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
} from "./chunk-QSJ3HFEF.js";
|
|
250
250
|
import {
|
|
251
251
|
isSystemBuiltinTrustedAgentKey
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-4MKPBCTN.js";
|
|
253
253
|
import {
|
|
254
254
|
asTrimmedString
|
|
255
255
|
} from "./chunk-3EUW3WEO.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
patch,
|
|
6
6
|
read
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
8
8
|
import {
|
|
9
9
|
DEVICE_LOCAL_OWNER_ID,
|
|
10
10
|
isDeviceLocalSpaceBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3RAG2NAD.js";
|
|
12
12
|
import {
|
|
13
13
|
selectIdentityUserId
|
|
14
14
|
} from "./chunk-SEJ5OS6F.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
toCompactAgentSummary,
|
|
30
30
|
toSafeAgentSummary,
|
|
31
31
|
toUnavailableAgentSummary
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6X5B2VF5.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-5TJQUZQ7.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-K647EQV3.js";
|
|
56
56
|
import {
|
|
57
57
|
ToolApiError,
|
|
58
58
|
buildToolRequestHeaders,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-OZX2IPKM.js";
|
|
64
64
|
import {
|
|
65
65
|
setDialogExtraReferencesAction
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-7JS3F5ZR.js";
|
|
67
67
|
import {
|
|
68
68
|
waitForAbortableDelay
|
|
69
69
|
} from "./chunk-N4G4PKQ6.js";
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-XCNSZUQA.js";
|
|
85
85
|
import {
|
|
86
86
|
BUILTIN_OBJECT_SKILL_IDS,
|
|
87
87
|
buildBuiltinObjectSkillConfig,
|
|
88
88
|
buildBuiltinObjectSkillDbKey,
|
|
89
89
|
buildBuiltinObjectSkillPageContent,
|
|
90
90
|
createDialogAction
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-4SCMOQRM.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
94
94
|
addContentToSpace,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
updateContentCategory,
|
|
110
110
|
updateContentTitle,
|
|
111
111
|
writeStoredCollapsedCategories
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-YDNDUOB5.js";
|
|
113
113
|
import {
|
|
114
114
|
getCurrentSpaceId,
|
|
115
115
|
getCurrentSpaceIdRaw,
|
|
@@ -130,14 +130,14 @@ import {
|
|
|
130
130
|
selectMsgById,
|
|
131
131
|
uiAskChoiceFunc,
|
|
132
132
|
uiAskChoiceFunctionSchema
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-6AAQCFLQ.js";
|
|
134
134
|
import {
|
|
135
135
|
createAgent,
|
|
136
136
|
deleteServerSyncedCredential,
|
|
137
137
|
runLlm,
|
|
138
138
|
streamAgentChatTurn,
|
|
139
139
|
updateAgent
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-UMIARYFE.js";
|
|
141
141
|
import {
|
|
142
142
|
getActiveDialogKey,
|
|
143
143
|
selectCurrentDialogKey,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
} from "./chunk-CJCJF5XB.js";
|
|
185
185
|
import {
|
|
186
186
|
buildDatabaseFileContentUrl
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-TDTSQVDX.js";
|
|
188
188
|
import {
|
|
189
189
|
DEFAULT_MODEL
|
|
190
190
|
} from "./chunk-TQC77XVE.js";
|
|
@@ -203,7 +203,7 @@ import {
|
|
|
203
203
|
} from "./chunk-O6OSWFZQ.js";
|
|
204
204
|
import {
|
|
205
205
|
shareResourceAction
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-WMRPXIZY.js";
|
|
207
207
|
import {
|
|
208
208
|
AGENT_UPDATE_FIELD_NAMES,
|
|
209
209
|
nolotusId,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
selectAutoApproveSelfUpdateFields,
|
|
212
212
|
selectCurrentServer,
|
|
213
213
|
selectSyncServers
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-OPNHMILE.js";
|
|
215
215
|
import {
|
|
216
216
|
asRecordOrEmpty
|
|
217
217
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -219,7 +219,7 @@ import {
|
|
|
219
219
|
UNCATEGORIZED_ID,
|
|
220
220
|
addContentAction,
|
|
221
221
|
checkSpaceMembership
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-IM5EETJX.js";
|
|
223
223
|
import {
|
|
224
224
|
createSpaceKey,
|
|
225
225
|
normalizeSpaceId
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
selectEntities,
|
|
235
235
|
toTimestampMs,
|
|
236
236
|
write
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
238
238
|
import {
|
|
239
239
|
SEPARATOR,
|
|
240
240
|
TYPE_STORAGE_PREFIXES,
|
|
@@ -266,7 +266,7 @@ import {
|
|
|
266
266
|
} from "./chunk-QSJ3HFEF.js";
|
|
267
267
|
import {
|
|
268
268
|
readAction
|
|
269
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-4MKPBCTN.js";
|
|
270
270
|
import {
|
|
271
271
|
extractCustomId
|
|
272
272
|
} from "./chunk-BJIRLHJR.js";
|
|
@@ -281,7 +281,7 @@ import {
|
|
|
281
281
|
resolveEffectiveSpaceActorId,
|
|
282
282
|
resolveRecordOwnerUserId,
|
|
283
283
|
selectRuntimeSnapshot
|
|
284
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-3RAG2NAD.js";
|
|
285
285
|
import {
|
|
286
286
|
isAbortError
|
|
287
287
|
} from "./chunk-QOKAKDPE.js";
|
|
@@ -16181,7 +16181,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
16181
16181
|
const deletedDialogIds = [];
|
|
16182
16182
|
const deletedDialogKeys = [];
|
|
16183
16183
|
const failures = [];
|
|
16184
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
16184
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-CJNADK2R.js");
|
|
16185
16185
|
for (const target of targets) {
|
|
16186
16186
|
try {
|
|
16187
16187
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -16488,7 +16488,7 @@ var readSkillDocFunctionSchema = {
|
|
|
16488
16488
|
}
|
|
16489
16489
|
};
|
|
16490
16490
|
async function readSkillDocFunc(args, thunkApi) {
|
|
16491
|
-
const { buildReadDocResult } = await import("./readDocTool-
|
|
16491
|
+
const { buildReadDocResult } = await import("./readDocTool-OU4QXJT6.js");
|
|
16492
16492
|
const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
|
|
16493
16493
|
if (typeof id !== "string" || !id.trim()) {
|
|
16494
16494
|
throw new Error("readSkillDoc requires id or doc.");
|
|
@@ -17291,7 +17291,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
17291
17291
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
17292
17292
|
const readSpace = async (dbKey) => {
|
|
17293
17293
|
try {
|
|
17294
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
17294
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-WL5T2LVF.js");
|
|
17295
17295
|
if (fresh) {
|
|
17296
17296
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
17297
17297
|
}
|
|
@@ -23017,7 +23017,7 @@ var selectUserIdFromState = (state2) => {
|
|
|
23017
23017
|
var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
|
|
23018
23018
|
async function addImageContentToSpace(input) {
|
|
23019
23019
|
const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
|
|
23020
|
-
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-
|
|
23020
|
+
const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-E3S6F3IS.js")).addContentAction;
|
|
23021
23021
|
await addContentAction2(
|
|
23022
23022
|
{
|
|
23023
23023
|
spaceId: input.spaceId,
|
|
@@ -26938,7 +26938,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
26938
26938
|
if (!executionInput) {
|
|
26939
26939
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
26940
26940
|
}
|
|
26941
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
26941
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-U4GOB2KS.js");
|
|
26942
26942
|
const { executor } = findToolExecutor2(run.toolName);
|
|
26943
26943
|
toolRunStarted({
|
|
26944
26944
|
id: run.id,
|
|
@@ -26962,7 +26962,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
26962
26962
|
const latestState = thunkApi.getState();
|
|
26963
26963
|
const userId = selectIdentityUserId(latestState);
|
|
26964
26964
|
if (userId) {
|
|
26965
|
-
const { fetchUserSpaceMemberships } = await import("./memberThunks-
|
|
26965
|
+
const { fetchUserSpaceMemberships } = await import("./memberThunks-OBDDU3NR.js");
|
|
26966
26966
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
26967
26967
|
}
|
|
26968
26968
|
}
|
|
@@ -29445,7 +29445,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
29445
29445
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
29446
29446
|
};
|
|
29447
29447
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
29448
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
29448
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-6ZFYOHQT.js");
|
|
29449
29449
|
if (getDocState().pageKey === id) {
|
|
29450
29450
|
applyExternalDocUpdate({
|
|
29451
29451
|
slateData: finalSlateData,
|
|
@@ -29470,7 +29470,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
29470
29470
|
// packages/ai/tools/updateUserPreferenceProfileTool.ts
|
|
29471
29471
|
async function dispatchSetSettings(thunkApi, changes) {
|
|
29472
29472
|
const injectedSetSettings = thunkApi?.extra?.setSettings;
|
|
29473
|
-
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-
|
|
29473
|
+
const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-HIQRILF5.js")).setSettings;
|
|
29474
29474
|
await thunkApi.dispatch(setSettings(changes)).unwrap();
|
|
29475
29475
|
}
|
|
29476
29476
|
var updateUserPreferenceProfileFunctionSchema = {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
toTimestampMs,
|
|
14
14
|
upsert,
|
|
15
15
|
write
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4K6DB3GJ.js";
|
|
17
17
|
import {
|
|
18
18
|
createUserKey,
|
|
19
19
|
createUserPreferenceKey,
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
} from "./chunk-QSJ3HFEF.js";
|
|
25
25
|
import {
|
|
26
26
|
BUILTIN_NOLO_AGENT_KEY
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4MKPBCTN.js";
|
|
28
28
|
import {
|
|
29
29
|
asyncThunkCreator,
|
|
30
30
|
buildCreateSlice,
|
|
31
31
|
createAction,
|
|
32
32
|
createAsyncThunk,
|
|
33
33
|
createSelector
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3RAG2NAD.js";
|
|
35
35
|
import {
|
|
36
36
|
getAllServers,
|
|
37
37
|
getIsDesktopApp,
|