nolo-cli 0.30.0-alpha.2 → 0.30.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-VBHHG7LT.js → _executeModel-7KWY4TOT.js} +27 -27
- package/{action-FENWPT3C.js → action-PABHQA2V.js} +6 -6
- package/{addContentAction-Z5S5ZQ7I.js → addContentAction-QOCQY2OK.js} +5 -5
- package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-HQKBYZZM.js} +4 -4
- package/{agentDeleteCommand-LLGZXUYJ.js → agentDeleteCommand-K56FLXHX.js} +21 -21
- package/{agentEmailCommands-LC2FPN6G.js → agentEmailCommands-4HTNF3NM.js} +32 -32
- package/{agentListCommands-A6OBQ3QX.js → agentListCommands-2AJIJEK3.js} +23 -23
- package/{agentMachineCommands-4O4Q5B5X.js → agentMachineCommands-CTO3ICU7.js} +21 -21
- package/{agentRecordCommands-W22RIQRV.js → agentRecordCommands-QMD3GDVM.js} +31 -31
- package/{agentRunCommand-V4OBU4FB.js → agentRunCommand-VW7DXSDX.js} +31 -31
- package/{agentRuntimeLocal-I57YSGH4.js → agentRuntimeLocal-7P7RPLWZ.js} +18 -18
- package/{agentSlice-3ZHY7RAO.js → agentSlice-4ZVASIFY.js} +5 -5
- package/{appDeleteCommands-DJJF466K.js → appDeleteCommands-3V5H4PZP.js} +22 -22
- package/{appDeployCommands-WJZGIOEZ.js → appDeployCommands-CP2FN4XQ.js} +22 -22
- package/{appDeployStatusCommands-ICYXUJNO.js → appDeployStatusCommands-4BJ2IMW3.js} +22 -22
- package/{appGetCommands-UOCWYJPV.js → appGetCommands-T6YXMZKL.js} +22 -22
- package/{appListCommands-EOKWTXPW.js → appListCommands-TRN2EUCV.js} +22 -22
- package/{authCommand-H5KE7K7K.js → authCommand-RR5LAYSW.js} +5 -5
- package/{chunk-Q24P6TUS.js → chunk-2FNQS3NE.js} +1 -1
- package/{chunk-KW47OSRJ.js → chunk-2NKRHXDO.js} +45 -67
- package/{chunk-TJYWZ3LO.js → chunk-2NYIVLAY.js} +1 -1
- package/{chunk-2XM5KUNE.js → chunk-3MUUQJXW.js} +2 -2
- package/{chunk-MMCVBEAD.js → chunk-3NHLRJTZ.js} +25 -23
- package/{chunk-3RIWR23B.js → chunk-4VJZODXQ.js} +1 -1
- package/{chunk-GVKTKT3O.js → chunk-5GDLMDLY.js} +3 -3
- package/{chunk-DKRT67FG.js → chunk-7NE6SSNO.js} +2 -2
- package/{chunk-A4JDTA5T.js → chunk-AKF3R6YT.js} +5 -5
- package/{chunk-446VANPP.js → chunk-B2F42PFJ.js} +3 -3
- package/{chunk-HI7QZNWX.js → chunk-BGY4FZB4.js} +4 -4
- package/{chunk-OYK7PA5U.js → chunk-BNM4PN7V.js} +6 -6
- package/{chunk-IZ3CBMD5.js → chunk-BPB4MFE5.js} +3 -3
- package/{chunk-56IUA7RU.js → chunk-CYSB5B6O.js} +1 -1
- package/{chunk-VSTUQGLT.js → chunk-EIQDGAAE.js} +147 -1
- package/{chunk-W2YKDXT7.js → chunk-FVKMFU3A.js} +1 -1
- package/{chunk-HLG6GAUD.js → chunk-FXCLTQEO.js} +1 -1
- package/{chunk-UKC5HU2C.js → chunk-GR4ULAGB.js} +5 -5
- package/{chunk-BOL2D2JW.js → chunk-H42QD4SH.js} +1 -1
- package/{chunk-FS5TTXPS.js → chunk-H5UXA6OF.js} +3 -3
- package/{chunk-SWOTB2TX.js → chunk-INRBVD6S.js} +24 -24
- package/{chunk-CV6I4HBA.js → chunk-LWP3HB56.js} +1 -1
- package/{chunk-YLADSPDU.js → chunk-LZSOKNT7.js} +2 -2
- package/{chunk-DWQNDGO7.js → chunk-MBZE75JH.js} +1 -1
- package/{chunk-GAGUBI42.js → chunk-N3F3I7CF.js} +5 -5
- package/{chunk-THTAR67C.js → chunk-NCPP67IY.js} +25 -27
- package/{chunk-7CD24PU4.js → chunk-OWO7RJJP.js} +5 -5
- package/{chunk-YWGSCF37.js → chunk-PACNSC37.js} +1 -1
- package/{chunk-66O5MZYH.js → chunk-QMGLMEEF.js} +1 -1
- package/{chunk-ZFTCLBEX.js → chunk-REBLMWZW.js} +2 -0
- package/{chunk-G5JHHUAK.js → chunk-S45OJAFJ.js} +1 -1
- package/{chunk-DI6MXJK5.js → chunk-TNAX4WSO.js} +12 -12
- package/{chunk-UTQZ73QQ.js → chunk-VNQ4HVEE.js} +1 -1
- package/{chunk-G6VITLCZ.js → chunk-VQRRTI4N.js} +2 -2
- package/{chunk-KWKD3BCC.js → chunk-VTADMA7F.js} +11 -11
- package/{chunk-DCWBP2O7.js → chunk-W53SDRNA.js} +9 -9
- package/{chunk-T3Y5EMJS.js → chunk-WJD5RNVB.js} +1 -1
- package/{chunk-XD5NQEOH.js → chunk-WTPC3XD4.js} +1 -1
- package/{chunk-QLV2GKU5.js → chunk-WZ7E2MTX.js} +3 -3
- package/{chunk-MEUZFIAJ.js → chunk-XORE26Z4.js} +1 -1
- package/{chunk-SZ5CBYMZ.js → chunk-Y4C6CIWP.js} +2 -2
- package/{chunk-L3VQOVKK.js → chunk-ZSMZGOZ2.js} +3 -3
- package/{createAgentAutomationAction-3GMH6ORX.js → createAgentAutomationAction-3CG7CZF2.js} +10 -10
- package/{createDialogAction-R5MCL4RE.js → createDialogAction-OPFOUFO7.js} +11 -11
- package/{createPageAction-QYTG656R.js → createPageAction-Y54TU4LK.js} +10 -10
- package/{dbSlice-OBV7VFCF.js → dbSlice-YGWTAMGP.js} +4 -4
- package/{deleteFile-AC45HYSM.js → deleteFile-6BPXHM5G.js} +2 -2
- package/{dialogCommands-NUQGIXVZ.js → dialogCommands-KUOPTTW7.js} +22 -22
- package/{dialogSlice-CFDECXEU.js → dialogSlice-ZWPGG6CW.js} +10 -10
- package/{docCreateCommands-UNFCXB5N.js → docCreateCommands-NWT3CF6Z.js} +21 -21
- package/{docDeleteCommands-NG5IVKE5.js → docDeleteCommands-N6Y2GBXZ.js} +22 -22
- package/{docReadCommands-6J7MUUX6.js → docReadCommands-WMUAO7NP.js} +21 -21
- package/{docStore-MZZWJM4F.js → docStore-MMY7W6LI.js} +11 -11
- package/{docUpdateCommands-6AW3VZOX.js → docUpdateCommands-BJ6RXO6N.js} +21 -21
- package/{getPricing-XQYSSVV6.js → getPricing-67TQVKFV.js} +2 -2
- package/{handleSendMessageAction-IU2QNTLM.js → handleSendMessageAction-4E2363XK.js} +10 -10
- package/index.js +47 -47
- package/{machineCommands-Z2QEWTHZ.js → machineCommands-G3XNZ4K7.js} +30 -30
- package/{machineWsRunDispatch-SJTYHZHN.js → machineWsRunDispatch-TDXCER6V.js} +30 -30
- package/package.json +1 -1
- package/{read-QK7ZRX6G.js → read-QUUPWYTV.js} +2 -2
- package/{readDocTool-EYDMVRBL.js → readDocTool-J6U623EK.js} +1 -1
- package/{readlineWorkspace-BGKPABK4.js → readlineWorkspace-XX2N2R76.js} +34 -34
- package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-UMXNPWYC.js} +6 -6
- package/{runAgentClientLoop-N3YDLTMS.js → runAgentClientLoop-TJLJMHWD.js} +23 -23
- package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-A3MC5BRN.js} +5 -5
- package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-43JNNAH4.js} +6 -6
- package/{settingSlice-JKKV2T7O.js → settingSlice-XIATPDJH.js} +5 -5
- package/{spaceCommands-R6AEQNLG.js → spaceCommands-DFLZCOPH.js} +21 -21
- package/{spaceSlice-MCH7RLLP.js → spaceSlice-UL7KEYOZ.js} +10 -10
- package/{streamAgentChatTurn-Q4U2CVMI.js → streamAgentChatTurn-MOIP2RPM.js} +26 -26
- package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-K42FPQXR.js} +4 -4
- package/{tools-Y3UBLLYW.js → tools-NTOMB4LH.js} +18 -18
- package/{tuiSummaryLlmCaller-4474IBTI.js → tuiSummaryLlmCaller-YQBN5IMG.js} +3 -3
- package/{updateDialogTitleAction-3J7GH67I.js → updateDialogTitleAction-IHHHSMZW.js} +10 -10
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
patch,
|
|
9
9
|
remove,
|
|
10
10
|
write
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AKF3R6YT.js";
|
|
12
12
|
import {
|
|
13
13
|
asyncThunkCreator,
|
|
14
14
|
buildCreateSlice,
|
|
15
15
|
getRuntimeServerContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-REBLMWZW.js";
|
|
17
17
|
import {
|
|
18
18
|
createAgentKey,
|
|
19
19
|
toTrimmedString
|
|
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
|
|
|
583
583
|
const overrides = {};
|
|
584
584
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
585
585
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
586
|
-
const { _executeModel } = await import("./_executeModel-
|
|
586
|
+
const { _executeModel } = await import("./_executeModel-7KWY4TOT.js");
|
|
587
587
|
return _executeModel(
|
|
588
588
|
{
|
|
589
589
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
|
|
|
604
604
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
605
605
|
*/
|
|
606
606
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
607
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
607
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-TJLJMHWD.js");
|
|
608
608
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
609
609
|
{
|
|
610
610
|
agentKey: args.agentKey,
|
|
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
|
|
|
620
620
|
* 聊天轮次流式 Agent 调用
|
|
621
621
|
*/
|
|
622
622
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
623
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
623
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-MOIP2RPM.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-OB6FBSH3.js";
|
|
5
5
|
import {
|
|
6
6
|
cleanupCliSessionForDialog
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BPB4MFE5.js";
|
|
8
8
|
import {
|
|
9
9
|
createFileCredentialBroker,
|
|
10
10
|
deleteServerSyncedCredential,
|
|
11
11
|
runLlm
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N3F3I7CF.js";
|
|
13
13
|
import {
|
|
14
14
|
getActiveDialogAgentId,
|
|
15
15
|
getDialogAgentIds,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
createSpaceKey,
|
|
46
46
|
localSpaceAuthorityPatchStamp,
|
|
47
47
|
normalizeSpaceId
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-LZSOKNT7.js";
|
|
49
49
|
import {
|
|
50
50
|
ALL_MODELS
|
|
51
51
|
} from "./chunk-WTGCTVJG.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
MODEL_LOOKUP_MAP,
|
|
57
57
|
findModelConfig,
|
|
58
58
|
getModelConfig
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-EIQDGAAE.js";
|
|
60
60
|
import {
|
|
61
61
|
getPlatformHostedDeepSeekV4Price,
|
|
62
62
|
isPlatformHostedDeepSeekV4Model
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
selectRemoteServer,
|
|
68
68
|
selectRemoteServers,
|
|
69
69
|
selectRemoteSyncServers
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-B2F42PFJ.js";
|
|
71
71
|
import {
|
|
72
72
|
asRecordOrEmpty
|
|
73
73
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
uploadFileAction,
|
|
85
85
|
upsertSSREntity,
|
|
86
86
|
write
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AKF3R6YT.js";
|
|
88
88
|
import {
|
|
89
89
|
asTrimmedLowercaseString
|
|
90
90
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
|
|
93
93
|
builtinRuntimeFallbackEntries,
|
|
94
94
|
readAction
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-MBZE75JH.js";
|
|
96
96
|
import {
|
|
97
97
|
extractCustomId,
|
|
98
98
|
extractUserId,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
selectIdentityToken,
|
|
119
119
|
selectIdentityUserId,
|
|
120
120
|
selectRuntimeSnapshot
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-REBLMWZW.js";
|
|
122
122
|
import {
|
|
123
123
|
createClientLogger,
|
|
124
124
|
fetchFromServer,
|
|
@@ -6173,7 +6173,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
6173
6173
|
runtimeOptions: args.runtimeOptions
|
|
6174
6174
|
});
|
|
6175
6175
|
if (agentKeyToUse) {
|
|
6176
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
6176
|
+
const { streamAgentChatTurn } = await import("./agentSlice-4ZVASIFY.js");
|
|
6177
6177
|
await dispatch(
|
|
6178
6178
|
streamAgentChatTurn({
|
|
6179
6179
|
agentKey: agentKeyToUse,
|
|
@@ -8181,7 +8181,6 @@ var {
|
|
|
8181
8181
|
var authSlice_default = authSlice.reducer;
|
|
8182
8182
|
var selectCurrentUser = (state3) => state3.auth.currentUser;
|
|
8183
8183
|
var selectCurrentToken = (state3) => state3.auth.currentToken;
|
|
8184
|
-
var selectCurrentUserBalance = (state3) => state3.auth.currentUser?.balance;
|
|
8185
8184
|
|
|
8186
8185
|
// packages/ai/token/calculatePrice.ts
|
|
8187
8186
|
var sanitizeCost = (raw) => {
|
|
@@ -9148,7 +9147,7 @@ var deleteOwnedDialogAttachments = async (args) => {
|
|
|
9148
9147
|
metadataReadFailures
|
|
9149
9148
|
});
|
|
9150
9149
|
if (!plan.deleteCandidates.length) return plan;
|
|
9151
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
9150
|
+
const { deleteFileAction } = await import("./deleteFile-6BPXHM5G.js");
|
|
9152
9151
|
for (const candidate of plan.deleteCandidates) {
|
|
9153
9152
|
if (candidate.fileDbKey) {
|
|
9154
9153
|
await deleteFileAction(candidate.fileDbKey, args.thunkApi);
|
|
@@ -9210,7 +9209,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
9210
9209
|
}
|
|
9211
9210
|
if (isCurrentDialog) {
|
|
9212
9211
|
await thunkApi.dispatch(resetMsgs());
|
|
9213
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
9212
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-ZWPGG6CW.js");
|
|
9214
9213
|
dispatch(clearPendingAttachments2());
|
|
9215
9214
|
clearWorkflow();
|
|
9216
9215
|
}
|
|
@@ -9219,39 +9218,39 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
9219
9218
|
|
|
9220
9219
|
// packages/chat/dialog/dialogSlice.ts
|
|
9221
9220
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
9222
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
9221
|
+
const { createDialogAction } = await import("./createDialogAction-OPFOUFO7.js");
|
|
9223
9222
|
return createDialogAction(args, thunkApi);
|
|
9224
9223
|
};
|
|
9225
9224
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
9226
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
9225
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-3CG7CZF2.js");
|
|
9227
9226
|
return createAgentAutomationAction(args, thunkApi);
|
|
9228
9227
|
};
|
|
9229
9228
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
9230
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
9229
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-IHHHSMZW.js");
|
|
9231
9230
|
return updateDialogTitleAction(args, thunkApi);
|
|
9232
9231
|
};
|
|
9233
9232
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
9234
|
-
const { addDialogAgentAction } = await import("./addDialogAgentAction-
|
|
9233
|
+
const { addDialogAgentAction } = await import("./addDialogAgentAction-HQKBYZZM.js");
|
|
9235
9234
|
return addDialogAgentAction(args, thunkApi);
|
|
9236
9235
|
};
|
|
9237
9236
|
var runRemoveDialogAgentAction = async (args, thunkApi) => {
|
|
9238
|
-
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-
|
|
9237
|
+
const { removeDialogAgentAction } = await import("./removeDialogAgentAction-UMXNPWYC.js");
|
|
9239
9238
|
return removeDialogAgentAction(args, thunkApi);
|
|
9240
9239
|
};
|
|
9241
9240
|
var runSetPrimaryDialogAgentAction = async (args, thunkApi) => {
|
|
9242
|
-
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-
|
|
9241
|
+
const { setPrimaryDialogAgentAction } = await import("./setPrimaryDialogAgentAction-43JNNAH4.js");
|
|
9243
9242
|
return setPrimaryDialogAgentAction(args, thunkApi);
|
|
9244
9243
|
};
|
|
9245
9244
|
var runSwitchDialogAgentAction = async (args, thunkApi) => {
|
|
9246
|
-
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-
|
|
9245
|
+
const { switchDialogAgentAction } = await import("./switchDialogAgentAction-K42FPQXR.js");
|
|
9247
9246
|
return switchDialogAgentAction(args, thunkApi);
|
|
9248
9247
|
};
|
|
9249
9248
|
var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
9250
|
-
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-
|
|
9249
|
+
const { setDialogExtraReferencesAction } = await import("./setDialogExtraReferencesAction-A3MC5BRN.js");
|
|
9251
9250
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
9252
9251
|
};
|
|
9253
9252
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
9254
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
9253
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-4E2363XK.js");
|
|
9255
9254
|
return handleSendMessageAction(args, thunkApi);
|
|
9256
9255
|
};
|
|
9257
9256
|
function clearDialogState() {
|
|
@@ -9264,7 +9263,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
9264
9263
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
9265
9264
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
9266
9265
|
try {
|
|
9267
|
-
const { createDocState } = await import("./docStore-
|
|
9266
|
+
const { createDocState } = await import("./docStore-MMY7W6LI.js");
|
|
9268
9267
|
const pageKey = await createDocState(
|
|
9269
9268
|
{ slateData, title },
|
|
9270
9269
|
{ dispatch, getState }
|
|
@@ -13298,11 +13297,11 @@ var ENTITY_DELETE_STRATEGIES = {
|
|
|
13298
13297
|
await dispatch(deleteTable({ dbKey: key })).unwrap();
|
|
13299
13298
|
},
|
|
13300
13299
|
file: async (key, { thunkAPI }) => {
|
|
13301
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
13300
|
+
const { deleteFileAction } = await import("./deleteFile-6BPXHM5G.js");
|
|
13302
13301
|
await deleteFileAction(key, thunkAPI);
|
|
13303
13302
|
},
|
|
13304
13303
|
image: async (key, { thunkAPI }) => {
|
|
13305
|
-
const { deleteFileAction } = await import("./deleteFile-
|
|
13304
|
+
const { deleteFileAction } = await import("./deleteFile-6BPXHM5G.js");
|
|
13306
13305
|
await deleteFileAction(key, thunkAPI);
|
|
13307
13306
|
},
|
|
13308
13307
|
agent: async (key, { dispatch, userId, sourceServerOrigin }) => {
|
|
@@ -15515,7 +15514,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
|
|
|
15515
15514
|
const spaceKey = createSpaceKey.space(spaceId);
|
|
15516
15515
|
const readSpace = async (dbKey) => {
|
|
15517
15516
|
try {
|
|
15518
|
-
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-
|
|
15517
|
+
const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-YGWTAMGP.js");
|
|
15519
15518
|
if (fresh) {
|
|
15520
15519
|
return await dispatch(readAndWait2(dbKey)).unwrap();
|
|
15521
15520
|
}
|
|
@@ -16275,8 +16274,6 @@ export {
|
|
|
16275
16274
|
selectIsDialogUnreadFromEntity,
|
|
16276
16275
|
selectViewMode,
|
|
16277
16276
|
spaceSlice_default,
|
|
16278
|
-
authRoutes,
|
|
16279
|
-
selectCurrentUserBalance,
|
|
16280
16277
|
buildDatabaseFileContentUrl,
|
|
16281
16278
|
uiAskChoiceFunctionSchema,
|
|
16282
16279
|
uiAskChoiceFunc,
|
|
@@ -16286,6 +16283,7 @@ export {
|
|
|
16286
16283
|
DEFAULT_CONTEXT_WINDOW,
|
|
16287
16284
|
getModelContextWindow,
|
|
16288
16285
|
getModelInfo,
|
|
16286
|
+
authRoutes,
|
|
16289
16287
|
API_REPORTED_COST_MULTIPLIER,
|
|
16290
16288
|
normalizeUsage,
|
|
16291
16289
|
prepareTokenUsageData,
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BNM4PN7V.js";
|
|
11
11
|
import {
|
|
12
12
|
slateToSimplifiedMarkdown
|
|
13
13
|
} from "./chunk-SWYMCHM7.js";
|
|
14
14
|
import {
|
|
15
15
|
estimateTokenCount,
|
|
16
16
|
fetchAndCacheMessages
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-NCPP67IY.js";
|
|
18
18
|
import {
|
|
19
19
|
createSpaceKey
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LZSOKNT7.js";
|
|
21
21
|
import {
|
|
22
22
|
read
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AKF3R6YT.js";
|
|
24
24
|
import {
|
|
25
25
|
asTrimmedLowercaseString
|
|
26
26
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-TOW4E763.js";
|
|
30
30
|
import {
|
|
31
31
|
getRuntimeServerContext
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-REBLMWZW.js";
|
|
33
33
|
import {
|
|
34
34
|
extractCategorizedMentions
|
|
35
35
|
} from "./chunk-VP4WJWKW.js";
|
|
@@ -2128,6 +2128,7 @@ var selectIdentityToken = (state) => {
|
|
|
2128
2128
|
return void 0;
|
|
2129
2129
|
};
|
|
2130
2130
|
var selectIdentityUser = (state) => LOCAL_USER;
|
|
2131
|
+
var selectIdentityUserBalance = (state) => void 0;
|
|
2131
2132
|
|
|
2132
2133
|
// packages/app/stateViews/runtime.ts
|
|
2133
2134
|
var selectCurrentToken = (state) => {
|
|
@@ -3035,6 +3036,7 @@ export {
|
|
|
3035
3036
|
selectIdentityUserId,
|
|
3036
3037
|
selectIdentityToken,
|
|
3037
3038
|
selectIdentityUser,
|
|
3039
|
+
selectIdentityUserBalance,
|
|
3038
3040
|
selectRuntimeSnapshot,
|
|
3039
3041
|
selectRuntimeCurrentServer,
|
|
3040
3042
|
getRuntimeServerContext,
|
|
@@ -52,7 +52,7 @@ async function readDocFunc(args, thunkApi) {
|
|
|
52
52
|
throw new Error(`\u65E0\u6548\u7684\u9875\u9762 ID: ${id}\u3002\u9875\u9762 ID \u901A\u5E38\u4EE5 "page-" \u5F00\u5934\u3002`);
|
|
53
53
|
}
|
|
54
54
|
try {
|
|
55
|
-
const { readAction } = await import("./read-
|
|
55
|
+
const { readAction } = await import("./read-QUUPWYTV.js");
|
|
56
56
|
const pageData = await readAction({ dbKey: id }, thunkApi);
|
|
57
57
|
if (!pageData) {
|
|
58
58
|
throw new Error(`\u672A\u627E\u5230 ID \u4E3A ${id} \u7684\u9875\u9762\u3002`);
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FVKMFU3A.js";
|
|
9
9
|
import {
|
|
10
10
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2NKRHXDO.js";
|
|
12
12
|
import {
|
|
13
13
|
accumulateToolCallDelta,
|
|
14
14
|
createThinkParserState,
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
} from "./chunk-N7J63Q6C.js";
|
|
21
21
|
import {
|
|
22
22
|
performFetchRequest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-W53SDRNA.js";
|
|
24
24
|
import {
|
|
25
25
|
createSSEParser,
|
|
26
26
|
findToolExecutor,
|
|
27
27
|
toolDefinitionsByName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-INRBVD6S.js";
|
|
29
29
|
import {
|
|
30
30
|
createToolRunId,
|
|
31
31
|
getToolResultErrorData,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
toolRunSetPending,
|
|
34
34
|
toolRunStarted,
|
|
35
35
|
toolRunSucceeded
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BNM4PN7V.js";
|
|
37
37
|
import {
|
|
38
38
|
getPublicImageAgentMode
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PACNSC37.js";
|
|
40
40
|
import {
|
|
41
41
|
addToolMessage,
|
|
42
42
|
getModelInfo,
|
|
@@ -44,10 +44,10 @@ import {
|
|
|
44
44
|
messageStreaming,
|
|
45
45
|
selectCurrentSpaceId,
|
|
46
46
|
updateToolMessage
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-NCPP67IY.js";
|
|
48
48
|
import {
|
|
49
49
|
streamAgentChatTurn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-N3F3I7CF.js";
|
|
51
51
|
import {
|
|
52
52
|
toErrorMessage
|
|
53
53
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -58,20 +58,20 @@ import {
|
|
|
58
58
|
} from "./chunk-3ASDTTEI.js";
|
|
59
59
|
import {
|
|
60
60
|
getApiEndpoint
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-EIQDGAAE.js";
|
|
62
62
|
import {
|
|
63
63
|
selectCurrentServer
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-B2F42PFJ.js";
|
|
65
65
|
import {
|
|
66
66
|
write
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-AKF3R6YT.js";
|
|
68
68
|
import {
|
|
69
69
|
extractCustomId
|
|
70
70
|
} from "./chunk-TOW4E763.js";
|
|
71
71
|
import {
|
|
72
72
|
createAsyncThunk,
|
|
73
73
|
selectIdentityToken
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-REBLMWZW.js";
|
|
75
75
|
import {
|
|
76
76
|
isAbortError
|
|
77
77
|
} from "./chunk-R5V5G73M.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3NHLRJTZ.js";
|
|
4
4
|
import {
|
|
5
5
|
getReadableCliDb
|
|
6
6
|
} from "./chunk-WFHXMLHZ.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentRecordFromHybridStore,
|
|
13
13
|
sanitizeAgentRecordForCliOutput,
|
|
14
14
|
writeAgentRecord
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CYSB5B6O.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-K6QEHQZ3.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
parseAgentRunEvent,
|
|
20
20
|
t,
|
|
21
21
|
toolLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3NHLRJTZ.js";
|
|
23
23
|
import {
|
|
24
24
|
createRunActivityTracker,
|
|
25
25
|
finalizeRunRecord,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
normalizeAgentHandle,
|
|
39
39
|
readDbRecord,
|
|
40
40
|
resolveAgentRecordFromHybridStore
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CYSB5B6O.js";
|
|
42
42
|
import {
|
|
43
43
|
NOLO_PROJECT_MANAGER_AGENT_KEY,
|
|
44
44
|
isLocalCliAgentKey
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
LOCAL_TURN_ABORTED_CODE,
|
|
59
59
|
readActionGate,
|
|
60
60
|
readCommandActionGatePayload
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-2NKRHXDO.js";
|
|
62
62
|
import {
|
|
63
63
|
createThinkParserState,
|
|
64
64
|
flushThinkParser,
|
|
@@ -73,10 +73,10 @@ import {
|
|
|
73
73
|
} from "./chunk-PJY5AH5A.js";
|
|
74
74
|
import {
|
|
75
75
|
resolvePlatformAuthToken
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-WTPC3XD4.js";
|
|
77
77
|
import {
|
|
78
78
|
formatAgentListCard
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-INRBVD6S.js";
|
|
80
80
|
import {
|
|
81
81
|
isGatewayHttpStatus
|
|
82
82
|
} from "./chunk-Z5MXSEOJ.js";
|
|
@@ -95,14 +95,14 @@ import {
|
|
|
95
95
|
chooseMemoryOwners,
|
|
96
96
|
loadMemoryCandidatesFromDb,
|
|
97
97
|
resolveAgentMemoryPolicy
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-WZ7E2MTX.js";
|
|
99
99
|
import {
|
|
100
100
|
API_REPORTED_COST_MULTIPLIER,
|
|
101
101
|
DEFAULT_CONTEXT_WINDOW,
|
|
102
102
|
getModelContextWindow,
|
|
103
103
|
normalizeUsage,
|
|
104
104
|
parseUiAskChoiceContent
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-NCPP67IY.js";
|
|
106
106
|
import {
|
|
107
107
|
clipCompactText
|
|
108
108
|
} from "./chunk-OB6FBSH3.js";
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
} from "./chunk-DWLEOOGR.js";
|
|
115
115
|
import {
|
|
116
116
|
findModelConfig
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-EIQDGAAE.js";
|
|
118
118
|
import {
|
|
119
119
|
readPipeText,
|
|
120
120
|
spawnProcess
|
|
@@ -124,14 +124,14 @@ import {
|
|
|
124
124
|
} from "./chunk-A7GB5UGH.js";
|
|
125
125
|
import {
|
|
126
126
|
parsePositiveFiniteNumberOrFallback
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-B2F42PFJ.js";
|
|
128
128
|
import {
|
|
129
129
|
asTrimmedLowercaseString
|
|
130
130
|
} from "./chunk-QSJ3HFEF.js";
|
|
131
131
|
import {
|
|
132
132
|
BUILTIN_NOLO_AGENT_KEY,
|
|
133
133
|
PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-MBZE75JH.js";
|
|
135
135
|
import {
|
|
136
136
|
isLoopbackUrl
|
|
137
137
|
} from "./chunk-4SN6J65J.js";
|
|
@@ -3538,7 +3538,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
3538
3538
|
// packages/cli/client/agentRun.ts
|
|
3539
3539
|
import { ulid } from "ulid";
|
|
3540
3540
|
async function loadRunLocalAgentTurn() {
|
|
3541
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
3541
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-7P7RPLWZ.js");
|
|
3542
3542
|
return runLocalAgentTurn;
|
|
3543
3543
|
}
|
|
3544
3544
|
async function resolveCurrentMachineId(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ANTIGRAVITY_CLOUD_CODE_BASE_URL,
|
|
3
3
|
isAntigravityOAuthAgent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2NYIVLAY.js";
|
|
5
5
|
import {
|
|
6
6
|
buildCurrentTimeBlock,
|
|
7
7
|
buildIdentityBlock,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
requiresBareImageUrl,
|
|
10
10
|
resolveToolGuidedSections,
|
|
11
11
|
toBareImageUrlMessages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OWO7RJJP.js";
|
|
13
13
|
import {
|
|
14
14
|
convertMessagesToResponsesInput,
|
|
15
15
|
preserveAgentStateFields
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
isOpenAiResponsesModel,
|
|
20
20
|
resolvePlatformChatCompletionsEndpoint,
|
|
21
21
|
resolvePlatformResponsesEndpoint
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WTPC3XD4.js";
|
|
23
23
|
import {
|
|
24
24
|
MEMORY_USE_GUIDANCE,
|
|
25
25
|
wrapHistoricalSummaryWithReplayGuard
|
|
26
26
|
} from "./chunk-4PWB7JRR.js";
|
|
27
27
|
import {
|
|
28
28
|
waitForAbortableDelay
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-INRBVD6S.js";
|
|
30
30
|
import {
|
|
31
31
|
createDrainExhaustedResponse,
|
|
32
32
|
isCoreDrainingBody,
|
|
@@ -36,15 +36,15 @@ import {
|
|
|
36
36
|
} from "./chunk-Z5MXSEOJ.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveBuiltinSkillPage
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BNM4PN7V.js";
|
|
40
40
|
import {
|
|
41
41
|
estimateTokenCount,
|
|
42
42
|
shouldUseServerProxy
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NCPP67IY.js";
|
|
44
44
|
import {
|
|
45
45
|
createFileCredentialBroker,
|
|
46
46
|
fetchServerSyncedCredential
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-N3F3I7CF.js";
|
|
48
48
|
import {
|
|
49
49
|
toErrorMessage
|
|
50
50
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
clampReasoningEffort,
|
|
53
53
|
getModelConfig,
|
|
54
54
|
isModelSupportReasoningEffort
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-EIQDGAAE.js";
|
|
56
56
|
import {
|
|
57
57
|
isDeepInfraKimiModel,
|
|
58
58
|
isFireworksKimiModel,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
} from "./chunk-CAENRKNJ.js";
|
|
61
61
|
import {
|
|
62
62
|
read
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-AKF3R6YT.js";
|
|
64
64
|
import {
|
|
65
65
|
asTrimmedLowercaseString
|
|
66
66
|
} from "./chunk-QSJ3HFEF.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NCPP67IY.js";
|
|
10
10
|
import {
|
|
11
11
|
require_date_fns
|
|
12
12
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
removeCachedEntity,
|
|
22
22
|
upsertSSREntity,
|
|
23
23
|
write
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AKF3R6YT.js";
|
|
25
25
|
import {
|
|
26
26
|
extractCustomId
|
|
27
27
|
} from "./chunk-TOW4E763.js";
|
|
28
28
|
import {
|
|
29
29
|
selectIdentityUserId
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-REBLMWZW.js";
|
|
31
31
|
import {
|
|
32
32
|
isDevelopment
|
|
33
33
|
} from "./chunk-R5V5G73M.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDbRecord,
|
|
3
3
|
writeAgentRecord
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CYSB5B6O.js";
|
|
5
5
|
import {
|
|
6
6
|
createSpaceKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LZSOKNT7.js";
|
|
8
8
|
import {
|
|
9
9
|
buildSkillSummaryMarker
|
|
10
10
|
} from "./chunk-VF4K2QE6.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FXCLTQEO.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NCPP67IY.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-A7GB5UGH.js";
|
|
26
26
|
import {
|
|
27
27
|
parsePositiveFiniteNumberOrFallback
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-B2F42PFJ.js";
|
|
29
29
|
import {
|
|
30
30
|
asRecordOrEmpty
|
|
31
31
|
} from "./chunk-KX6YBIHG.js";
|