nolo-cli 0.95.0-alpha.4 → 0.95.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-UXVEB3GO.js → _executeModel-AUQRMRWL.js} +11 -11
- package/{agentDeleteCommand-QT7KPGJC.js → agentDeleteCommand-4BAHJRU3.js} +1 -1
- package/{agentEmailCommands-X5GP2RNR.js → agentEmailCommands-QISOY7Y6.js} +11 -11
- package/{agentListCommands-PBY5LTDT.js → agentListCommands-U46ODMQU.js} +2 -2
- package/{agentMachineCommands-HGCZYIWR.js → agentMachineCommands-EHV2KM2C.js} +2 -2
- package/{agentRecordCommands-AM4YSO32.js → agentRecordCommands-SIPURU2S.js} +11 -11
- package/{agentRunCommand-SVOSMV2Q.js → agentRunCommand-K4CLMA6B.js} +11 -11
- package/{agentRuntimeLocal-TT57XSVO.js → agentRuntimeLocal-O4HPUJA4.js} +1 -1
- package/{agentSlice-KTVOEUDX.js → agentSlice-ZYT2OUR3.js} +1 -1
- package/{appDeleteCommands-XMJJB6UT.js → appDeleteCommands-R5BBTKQK.js} +1 -1
- package/{appDeployCommands-DORRXKWU.js → appDeployCommands-ZJIXOJWD.js} +1 -1
- package/{appDeployStatusCommands-BWEE72UH.js → appDeployStatusCommands-B3R2ZTBF.js} +1 -1
- package/{appGetCommands-WN6KKQHQ.js → appGetCommands-2AQSOV2A.js} +1 -1
- package/{appListCommands-W2WE5TD5.js → appListCommands-HCIJGZFY.js} +1 -1
- package/{chatQueueReduxAdapter-4YQF4NHY.js → chatQueueReduxAdapter-Q5V4YJVI.js} +2 -2
- package/{chunk-A3JG6ALR.js → chunk-3SJQXXGY.js} +62 -25
- package/{chunk-DWUCB2A3.js → chunk-42V6BK2E.js} +1 -1
- package/{chunk-3M5X4UJR.js → chunk-A6G32FNX.js} +2 -2
- package/{chunk-EFVDQUCT.js → chunk-AFDS2CVM.js} +2 -2
- package/{chunk-NKRYKK7T.js → chunk-BGSLKVCP.js} +2 -2
- package/{chunk-D2P6UDPQ.js → chunk-BZWBEHGD.js} +3 -3
- package/{chunk-GFD4ALW3.js → chunk-EGSKXKR5.js} +1 -1
- package/{chunk-CJCJF5XB.js → chunk-FDTR4QJ6.js} +4 -2
- package/{chunk-LBEDNSMY.js → chunk-FOWEGIMF.js} +8 -8
- package/{chunk-YLALY5NG.js → chunk-JOHSKZQX.js} +8 -8
- package/{chunk-KHKIMXS5.js → chunk-LLT642J4.js} +1 -1
- package/{chunk-4OZYL5FG.js → chunk-MMPXJXHT.js} +9 -9
- package/{chunk-HMPEO3ZE.js → chunk-XOVEWFLK.js} +2 -2
- package/{chunk-LIIKM7DD.js → chunk-XRWZB6CF.js} +5 -5
- package/{chunk-H3PIH2EO.js → chunk-ZLR5JN3E.js} +3 -3
- package/{chunk-SQZDZXP5.js → chunk-ZXKVPF4K.js} +1 -1
- package/{contentThunks-2USKJBI4.js → contentThunks-PT23JWJX.js} +3 -3
- package/{cooldownCommands-BSCH2W7P.js → cooldownCommands-REAWYVTY.js} +2 -2
- package/{createAgentAutomationAction-NTLU42X2.js → createAgentAutomationAction-N27SYTLU.js} +3 -3
- package/{createDialogAction-UCYF4BUN.js → createDialogAction-XZPLHD5G.js} +4 -4
- package/{createPageAction-QFGUGZ5M.js → createPageAction-KHVJQ3CS.js} +3 -3
- package/{dialogCommands-IIBAS4I2.js → dialogCommands-ZUWW5UT6.js} +1 -1
- package/{dialogSlice-HQFQIQDZ.js → dialogSlice-3YH242HS.js} +2 -2
- package/{docCreateCommands-RJBSWEY4.js → docCreateCommands-Q6FADDSJ.js} +1 -1
- package/{docDeleteCommands-QSDETKEQ.js → docDeleteCommands-ZKIH54PZ.js} +1 -1
- package/{docReadCommands-AJG2EFHB.js → docReadCommands-7BZT2QTW.js} +1 -1
- package/{docStore-GVWEDN5E.js → docStore-YSZRNUUD.js} +1 -1
- package/{docUpdateCommands-KWG533GS.js → docUpdateCommands-WJXWTRL7.js} +1 -1
- package/{handleSendMessageAction-TLB2SAU4.js → handleSendMessageAction-KJO2QDBM.js} +2 -2
- package/index.js +42 -42
- package/{machineCommands-TIOYSD74.js → machineCommands-QC4TD7GJ.js} +11 -11
- package/{machineWsRunDispatch-I5P3FBX6.js → machineWsRunDispatch-XUOIAXO7.js} +11 -11
- package/package.json +1 -1
- package/{readlineWorkspace-HGWW2JCK.js → readlineWorkspace-74TXXSLO.js} +11 -11
- package/{runAgentClientLoop-26DG6ZEY.js → runAgentClientLoop-37BXJD62.js} +9 -9
- package/{spaceCommands-WIJTLELT.js → spaceCommands-P3ONT6LL.js} +1 -1
- package/{streamAgentChatTurn-BY7IPY5C.js → streamAgentChatTurn-FGXQXALU.js} +10 -10
- package/{tools-4Y2EYH5D.js → tools-R5UF2KZO.js} +7 -7
- package/{updateDialogTitleAction-2S4DCP35.js → updateDialogTitleAction-RTADGV7A.js} +3 -3
|
@@ -46,6 +46,7 @@ function extractMessage(error) {
|
|
|
46
46
|
}
|
|
47
47
|
function parseResetsInMs(text) {
|
|
48
48
|
if (!text) return void 0;
|
|
49
|
+
const sanitized = text.replace(/\btrace[\s_-]?id\b[^)\n]*/gi, " ").replace(/\b[0-9a-f]{16,}\b/gi, " ");
|
|
49
50
|
const unitMs = (n, unit) => {
|
|
50
51
|
if (/^d/.test(unit)) return n * 24 * 3600 * 1e3;
|
|
51
52
|
if (/^h/.test(unit)) return n * 3600 * 1e3;
|
|
@@ -54,12 +55,13 @@ function parseResetsInMs(text) {
|
|
|
54
55
|
return NaN;
|
|
55
56
|
};
|
|
56
57
|
const re = /(\d+)\s*(d(?:ay|ays)?|h(?:r|rs|our|ours)?|m(?:in|ins|inute|inutes)?|s(?:ec|ecs|econd|econds)?)/gi;
|
|
58
|
+
const MAX_SINGLE_MATCH_MS = 7 * 24 * 3600 * 1e3;
|
|
57
59
|
let totalMs = 0;
|
|
58
60
|
let matched = false;
|
|
59
61
|
let m;
|
|
60
|
-
while ((m = re.exec(
|
|
62
|
+
while ((m = re.exec(sanitized)) !== null) {
|
|
61
63
|
const ms = unitMs(Number(m[1]), m[2]);
|
|
62
|
-
if (!Number.isFinite(ms)) continue;
|
|
64
|
+
if (!Number.isFinite(ms) || ms > MAX_SINGLE_MATCH_MS) continue;
|
|
63
65
|
totalMs += ms;
|
|
64
66
|
matched = true;
|
|
65
67
|
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-AGGIDPCZ.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZLR5JN3E.js";
|
|
18
18
|
import {
|
|
19
19
|
cleanupCliSessionForDialog
|
|
20
20
|
} from "./chunk-TOP2VXOR.js";
|
|
@@ -17470,7 +17470,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17470
17470
|
runtimeOptions: args.runtimeOptions
|
|
17471
17471
|
});
|
|
17472
17472
|
if (agentKeyToUse) {
|
|
17473
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17473
|
+
const { streamAgentChatTurn } = await import("./agentSlice-ZYT2OUR3.js");
|
|
17474
17474
|
await dispatch(
|
|
17475
17475
|
streamAgentChatTurn({
|
|
17476
17476
|
agentKey: agentKeyToUse,
|
|
@@ -18606,7 +18606,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18606
18606
|
}
|
|
18607
18607
|
if (isCurrentDialog) {
|
|
18608
18608
|
await thunkApi.dispatch(resetMsgs());
|
|
18609
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18609
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-3YH242HS.js");
|
|
18610
18610
|
dispatch(clearPendingAttachments2());
|
|
18611
18611
|
}
|
|
18612
18612
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18614,15 +18614,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18614
18614
|
|
|
18615
18615
|
// packages/chat/dialog/dialogSlice.ts
|
|
18616
18616
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18617
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18617
|
+
const { createDialogAction } = await import("./createDialogAction-XZPLHD5G.js");
|
|
18618
18618
|
return createDialogAction(args, thunkApi);
|
|
18619
18619
|
};
|
|
18620
18620
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18621
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18621
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-N27SYTLU.js");
|
|
18622
18622
|
return createAgentAutomationAction(args, thunkApi);
|
|
18623
18623
|
};
|
|
18624
18624
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18625
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18625
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-RTADGV7A.js");
|
|
18626
18626
|
return updateDialogTitleAction(args, thunkApi);
|
|
18627
18627
|
};
|
|
18628
18628
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -18646,7 +18646,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
18646
18646
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18647
18647
|
};
|
|
18648
18648
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18649
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18649
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-KJO2QDBM.js");
|
|
18650
18650
|
return handleSendMessageAction(args, thunkApi);
|
|
18651
18651
|
};
|
|
18652
18652
|
function clearDialogState() {
|
|
@@ -18659,7 +18659,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18659
18659
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18660
18660
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18661
18661
|
try {
|
|
18662
|
-
const { createDocState } = await import("./docStore-
|
|
18662
|
+
const { createDocState } = await import("./docStore-YSZRNUUD.js");
|
|
18663
18663
|
const pageKey = await createDocState(
|
|
18664
18664
|
{ slateData, title },
|
|
18665
18665
|
{ dispatch, getState }
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3SJQXXGY.js";
|
|
31
31
|
import {
|
|
32
32
|
createRunActivityTracker,
|
|
33
33
|
popSingleQueueMessage,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
readCredentialEntry,
|
|
42
42
|
recordCredentialProbe,
|
|
43
43
|
resolveCredentialKeyWithFallback
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-42V6BK2E.js";
|
|
45
45
|
import {
|
|
46
46
|
getReadableCliDb
|
|
47
47
|
} from "./chunk-LS2ZANRJ.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-LTRXGFMS.js";
|
|
65
65
|
import {
|
|
66
66
|
formatAgentListCard
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-MMPXJXHT.js";
|
|
68
68
|
import {
|
|
69
69
|
isTransientFetchError
|
|
70
70
|
} from "./chunk-5UTFL4QJ.js";
|
|
@@ -85,11 +85,11 @@ import {
|
|
|
85
85
|
chooseMemoryOwners,
|
|
86
86
|
loadMemoryCandidatesFromDb,
|
|
87
87
|
resolveAgentMemoryPolicy
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AFDS2CVM.js";
|
|
89
89
|
import {
|
|
90
90
|
API_REPORTED_COST_MULTIPLIER,
|
|
91
91
|
parseUiAskChoiceContent
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-FOWEGIMF.js";
|
|
93
93
|
import {
|
|
94
94
|
isOAuthApiKeyRef
|
|
95
95
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
isQuotaLimited403Body,
|
|
128
128
|
mergeAvailabilityDeadline,
|
|
129
129
|
resolveCooldownGate
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-FDTR4QJ6.js";
|
|
131
131
|
import {
|
|
132
132
|
isAntigravityOAuthAgent
|
|
133
133
|
} from "./chunk-UZGQNTVW.js";
|
|
@@ -10419,7 +10419,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
10419
10419
|
// packages/cli/client/agentRun.ts
|
|
10420
10420
|
import { ulid as ulid2 } from "ulid";
|
|
10421
10421
|
async function loadRunLocalAgentTurn() {
|
|
10422
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
10422
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-O4HPUJA4.js");
|
|
10423
10423
|
return runLocalAgentTurn;
|
|
10424
10424
|
}
|
|
10425
10425
|
var stripDebugNoise = (s) => s.replace(/\s*raw="[\s\S]*"/g, "").replace(/\s*raw=\S+/g, "").replace(/\s*headers=\[[^\]]*\]/g, "").replace(/\s*headers=\S+/g, "").trim();
|
|
@@ -11396,7 +11396,7 @@ async function runAgentTurn(options) {
|
|
|
11396
11396
|
return { exitCode: localAvailability.exitCode };
|
|
11397
11397
|
}
|
|
11398
11398
|
const httpResult = await runHttpAgentTurn(options, authToken);
|
|
11399
|
-
if (httpResult.exitCode === 0 && localAvailability?.credentialKey) {
|
|
11399
|
+
if (httpResult.exitCode === 0 && !httpResult.streamInterrupted && localAvailability?.credentialKey) {
|
|
11400
11400
|
await clearCredentialAvailability(
|
|
11401
11401
|
localAvailability.credentialKey,
|
|
11402
11402
|
options.env
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-BGSLKVCP.js";
|
|
85
85
|
import {
|
|
86
86
|
createDialogAction
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AFDS2CVM.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-ZXKVPF4K.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-FOWEGIMF.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-ZLR5JN3E.js";
|
|
135
135
|
import {
|
|
136
136
|
getActiveDialogKey,
|
|
137
137
|
selectCurrentDialogKey,
|
|
@@ -176,7 +176,7 @@ import {
|
|
|
176
176
|
} from "./chunk-IIVGDG4I.js";
|
|
177
177
|
import {
|
|
178
178
|
isAgentUnavailableNow
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-FDTR4QJ6.js";
|
|
180
180
|
import {
|
|
181
181
|
buildDatabaseFileContentUrl
|
|
182
182
|
} from "./chunk-WADCY6G6.js";
|
|
@@ -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-3YH242HS.js");
|
|
3949
3949
|
for (const target of targets) {
|
|
3950
3950
|
try {
|
|
3951
3951
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -14821,7 +14821,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
14821
14821
|
if (!executionInput) {
|
|
14822
14822
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
14823
14823
|
}
|
|
14824
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
14824
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-R5UF2KZO.js");
|
|
14825
14825
|
const { executor } = findToolExecutor2(run.toolName);
|
|
14826
14826
|
toolRunStarted({
|
|
14827
14827
|
id: run.id,
|
|
@@ -17328,7 +17328,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
17328
17328
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
17329
17329
|
};
|
|
17330
17330
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
17331
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
17331
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-YSZRNUUD.js");
|
|
17332
17332
|
if (getDocState().pageKey === id) {
|
|
17333
17333
|
applyExternalDocUpdate({
|
|
17334
17334
|
slateData: finalSlateData,
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XOVEWFLK.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-BZWBEHGD.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-MMPXJXHT.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-FOWEGIMF.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZLR5JN3E.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -304,7 +304,7 @@ var slice = createSliceWithThunks({
|
|
|
304
304
|
const overrides = {};
|
|
305
305
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
306
306
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
307
|
-
const { _executeModel } = await import("./_executeModel-
|
|
307
|
+
const { _executeModel } = await import("./_executeModel-AUQRMRWL.js");
|
|
308
308
|
return _executeModel(
|
|
309
309
|
{
|
|
310
310
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -325,7 +325,7 @@ var slice = createSliceWithThunks({
|
|
|
325
325
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
326
326
|
*/
|
|
327
327
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
328
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
328
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-37BXJD62.js");
|
|
329
329
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
330
330
|
{
|
|
331
331
|
agentKey: args.agentKey,
|
|
@@ -341,7 +341,7 @@ var slice = createSliceWithThunks({
|
|
|
341
341
|
* 聊天轮次流式 Agent 调用
|
|
342
342
|
*/
|
|
343
343
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
344
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
344
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-FGXQXALU.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
updateContentPinned,
|
|
8
8
|
updateContentTitle,
|
|
9
9
|
uploadAndAddFileToSpace
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZXKVPF4K.js";
|
|
11
11
|
import "./chunk-ZJ7UHBJS.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FOWEGIMF.js";
|
|
13
13
|
import "./chunk-MC4XLIJ7.js";
|
|
14
14
|
import "./chunk-3BMYXEUW.js";
|
|
15
15
|
import "./chunk-YYLHWIW6.js";
|
|
16
16
|
import "./chunk-AGGIDPCZ.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZLR5JN3E.js";
|
|
18
18
|
import "./chunk-TOP2VXOR.js";
|
|
19
19
|
import "./chunk-5RGU3J7P.js";
|
|
20
20
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCredentialAvailability,
|
|
3
3
|
readCredentialAvailability
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-42V6BK2E.js";
|
|
5
|
+
import "./chunk-FDTR4QJ6.js";
|
|
6
6
|
import "./chunk-4VNS5WPM.js";
|
|
7
7
|
|
|
8
8
|
// packages/cli/cooldownCommands.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZXKVPF4K.js";
|
|
4
4
|
import "./chunk-ZJ7UHBJS.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-FOWEGIMF.js";
|
|
6
6
|
import "./chunk-MC4XLIJ7.js";
|
|
7
7
|
import "./chunk-3BMYXEUW.js";
|
|
8
8
|
import "./chunk-YYLHWIW6.js";
|
|
9
9
|
import "./chunk-AGGIDPCZ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ZLR5JN3E.js";
|
|
11
11
|
import "./chunk-TOP2VXOR.js";
|
|
12
12
|
import "./chunk-5RGU3J7P.js";
|
|
13
13
|
import "./chunk-6YTOJY35.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createDialogAction,
|
|
3
3
|
isLocalOwnerDialogAgents
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-AFDS2CVM.js";
|
|
5
|
+
import "./chunk-ZXKVPF4K.js";
|
|
6
6
|
import "./chunk-ZJ7UHBJS.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-FOWEGIMF.js";
|
|
8
8
|
import "./chunk-MC4XLIJ7.js";
|
|
9
9
|
import "./chunk-3BMYXEUW.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZLR5JN3E.js";
|
|
13
13
|
import "./chunk-TOP2VXOR.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import "./chunk-6YTOJY35.js";
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
addContentToSpace,
|
|
16
16
|
client_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZXKVPF4K.js";
|
|
18
18
|
import {
|
|
19
19
|
getCurrentSpaceId
|
|
20
20
|
} from "./chunk-ZJ7UHBJS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FOWEGIMF.js";
|
|
22
22
|
import "./chunk-MC4XLIJ7.js";
|
|
23
23
|
import "./chunk-3BMYXEUW.js";
|
|
24
24
|
import "./chunk-YYLHWIW6.js";
|
|
25
25
|
import "./chunk-AGGIDPCZ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-ZLR5JN3E.js";
|
|
27
27
|
import "./chunk-TOP2VXOR.js";
|
|
28
28
|
import "./chunk-5RGU3J7P.js";
|
|
29
29
|
import "./chunk-6YTOJY35.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-N7J63Q6C.js";
|
|
|
35
35
|
import "./chunk-OA6Q2A4I.js";
|
|
36
36
|
import "./chunk-PUOC4YRO.js";
|
|
37
37
|
import "./chunk-IIVGDG4I.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-FDTR4QJ6.js";
|
|
39
39
|
import "./chunk-UZGQNTVW.js";
|
|
40
40
|
import "./chunk-6OZ36FXI.js";
|
|
41
41
|
import "./chunk-2MBTWINN.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
switchDialogAgent,
|
|
21
21
|
updateDialogTitle,
|
|
22
22
|
updateTokens
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FOWEGIMF.js";
|
|
24
24
|
import "./chunk-MC4XLIJ7.js";
|
|
25
25
|
import "./chunk-3BMYXEUW.js";
|
|
26
26
|
import "./chunk-YYLHWIW6.js";
|
|
27
27
|
import "./chunk-AGGIDPCZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-ZLR5JN3E.js";
|
|
29
29
|
import "./chunk-TOP2VXOR.js";
|
|
30
30
|
import {
|
|
31
31
|
getActiveDialogAgentId
|
|
@@ -39,7 +39,7 @@ import "./chunk-N7J63Q6C.js";
|
|
|
39
39
|
import "./chunk-OA6Q2A4I.js";
|
|
40
40
|
import "./chunk-PUOC4YRO.js";
|
|
41
41
|
import "./chunk-IIVGDG4I.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-FDTR4QJ6.js";
|
|
43
43
|
import "./chunk-UZGQNTVW.js";
|
|
44
44
|
import "./chunk-6OZ36FXI.js";
|
|
45
45
|
import "./chunk-2MBTWINN.js";
|
|
@@ -32,7 +32,7 @@ import "./chunk-N7J63Q6C.js";
|
|
|
32
32
|
import "./chunk-OA6Q2A4I.js";
|
|
33
33
|
import "./chunk-PUOC4YRO.js";
|
|
34
34
|
import "./chunk-IIVGDG4I.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-FDTR4QJ6.js";
|
|
36
36
|
import "./chunk-UZGQNTVW.js";
|
|
37
37
|
import "./chunk-6OZ36FXI.js";
|
|
38
38
|
import "./chunk-2MBTWINN.js";
|
|
@@ -27,7 +27,7 @@ import "./chunk-N7J63Q6C.js";
|
|
|
27
27
|
import "./chunk-OA6Q2A4I.js";
|
|
28
28
|
import "./chunk-PUOC4YRO.js";
|
|
29
29
|
import "./chunk-IIVGDG4I.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-FDTR4QJ6.js";
|
|
31
31
|
import "./chunk-UZGQNTVW.js";
|
|
32
32
|
import "./chunk-6OZ36FXI.js";
|
|
33
33
|
import "./chunk-2MBTWINN.js";
|
|
@@ -41,7 +41,7 @@ import "./chunk-N7J63Q6C.js";
|
|
|
41
41
|
import "./chunk-OA6Q2A4I.js";
|
|
42
42
|
import "./chunk-PUOC4YRO.js";
|
|
43
43
|
import "./chunk-IIVGDG4I.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-FDTR4QJ6.js";
|
|
45
45
|
import "./chunk-UZGQNTVW.js";
|
|
46
46
|
import "./chunk-6OZ36FXI.js";
|
|
47
47
|
import "./chunk-2MBTWINN.js";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
prepareAndPersistUserMessage,
|
|
7
7
|
resolveHandleSendMessageContext,
|
|
8
8
|
selectAllMsgs
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FOWEGIMF.js";
|
|
10
10
|
import "./chunk-MC4XLIJ7.js";
|
|
11
11
|
import "./chunk-3BMYXEUW.js";
|
|
12
12
|
import "./chunk-YYLHWIW6.js";
|
|
13
13
|
import "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
streamAgentChatTurn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZLR5JN3E.js";
|
|
17
17
|
import "./chunk-TOP2VXOR.js";
|
|
18
18
|
import "./chunk-5RGU3J7P.js";
|
|
19
19
|
import {
|