nolo-cli 0.159.0-alpha.2 → 0.159.0-alpha.3
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-VGY53B7B.js → _executeModel-SHA5BWRT.js} +15 -15
- package/{agentDeleteCommand-N7LJGVHB.js → agentDeleteCommand-VU3BA264.js} +14 -14
- package/{agentEmailCommands-2K3P3XDT.js → agentEmailCommands-WUANEGTM.js} +16 -16
- package/{agentListCommands-3CJ4GF6C.js → agentListCommands-3YNO6UP4.js} +5 -5
- package/{agentMachineCommands-4QQV7GGA.js → agentMachineCommands-ONGZXXQW.js} +6 -6
- package/{agentRecordCommands-U7OAV5ZX.js → agentRecordCommands-DXXA2RET.js} +15 -15
- package/{agentRunCommand-55RMQNVI.js → agentRunCommand-WY77TJ72.js} +16 -16
- package/{agentRuntimeLocal-7JDS3OAL.js → agentRuntimeLocal-NHC5DQPJ.js} +5 -5
- package/{agentSlice-OXGFFQ6L.js → agentSlice-MIOEV36T.js} +1 -1
- package/{appDeleteCommands-UVWHW4TJ.js → appDeleteCommands-VQYCXZRF.js} +5 -5
- package/{appDeployCommands-67JPR4JU.js → appDeployCommands-OKSJDVEY.js} +5 -5
- package/{appDeployStatusCommands-UTC6IR5V.js → appDeployStatusCommands-UFGNZS6G.js} +5 -5
- package/{appGetCommands-KLLIGWNC.js → appGetCommands-3HNO5WLF.js} +5 -5
- package/{appListCommands-AZKNWJUR.js → appListCommands-H33BIZHJ.js} +5 -5
- package/{chunk-AAZ4QBFU.js → chunk-2NROMJBM.js} +1 -1
- package/{chunk-TQA3UACU.js → chunk-6MH6PWVJ.js} +1 -1
- package/{chunk-RX2CAWIB.js → chunk-BFI6JGF6.js} +10 -10
- package/{chunk-CTDOZWQX.js → chunk-C47WM5SD.js} +1 -1
- package/{chunk-MLGFCRL2.js → chunk-CSCSMGQI.js} +3 -3
- package/{chunk-4JOZECCA.js → chunk-CVSKYIXX.js} +2 -2
- package/{chunk-HNMY5XY6.js → chunk-DWBY333O.js} +3 -3
- package/{chunk-XMHE5P5T.js → chunk-E46SJRWA.js} +3 -3
- package/{chunk-4UCLMT27.js → chunk-FBSDWUOJ.js} +2 -2
- package/{chunk-VKU6G2TC.js → chunk-FZYTJOAQ.js} +10 -10
- package/{chunk-2QCLJA24.js → chunk-GCLZBOB6.js} +8 -8
- package/{chunk-UKD7M7MB.js → chunk-GSKVOMBU.js} +2 -2
- package/{chunk-EJQBSOQQ.js → chunk-NNE5NIW2.js} +2 -2
- package/{chunk-IULXURBL.js → chunk-NT3LMOSE.js} +4 -4
- package/{chunk-HSTLMIPE.js → chunk-QO436IJ5.js} +2 -2
- package/{chunk-U6TTTB6V.js → chunk-QYAYO5JA.js} +1 -1
- package/{chunk-WI47DIF3.js → chunk-RJBHRIEL.js} +9 -9
- package/{chunk-MGSNS22D.js → chunk-TCQPBZUL.js} +2 -736
- package/{chunk-CT5G7V46.js → chunk-TMYAT2MD.js} +3 -3
- package/{chunk-WQ2FSETX.js → chunk-V4AK4IVZ.js} +2 -2
- package/{chunk-KLOUPPO6.js → chunk-XBLZ5IFE.js} +7 -7
- package/{chunk-AVB7CTVJ.js → chunk-ZAB4R7LU.js} +10 -10
- package/{chunk-GB552UJS.js → chunk-ZJG7YU3I.js} +1 -1
- package/{commandRegistry-J3BFLLBY.js → commandRegistry-DAM7RV6E.js} +40 -40
- package/{contentThunks-ZDSBE7NG.js → contentThunks-WLKR5KQ6.js} +5 -5
- package/{createAgentAutomationAction-TRWBF5DQ.js → createAgentAutomationAction-AI2HZHLE.js} +5 -5
- package/{createDialogAction-AMYWLRO4.js → createDialogAction-AU4IWDR3.js} +6 -6
- package/{createPageAction-KHKRLVQO.js → createPageAction-CAXS6ZUJ.js} +5 -5
- package/{dialogCommands-K4OVKDYD.js → dialogCommands-2QMR63AY.js} +5 -5
- package/{dialogSlice-WNLY25YV.js → dialogSlice-QEP5EUON.js} +4 -4
- package/{dist-NJC2W7I4.js → dist-Q2JSMAKA.js} +7 -361
- package/{docCreateCommands-GI377ZFI.js → docCreateCommands-EG3KFJGO.js} +5 -5
- package/{docDeleteCommands-NBQNTVHB.js → docDeleteCommands-MAM2BLCP.js} +5 -5
- package/{docReadCommands-6SKEW6AO.js → docReadCommands-XVX2VLVM.js} +5 -5
- package/{docStore-UEYBUHOJ.js → docStore-WTXUKAQB.js} +1 -1
- package/{docUpdateCommands-NJ7JD6VA.js → docUpdateCommands-JURMHPS5.js} +5 -5
- package/{handleSendMessageAction-FKTNID5I.js → handleSendMessageAction-7MAFLFOD.js} +9 -9
- package/index.js +4 -4
- package/{localRuntimeAdapter-ZT3P7NFH.js → localRuntimeAdapter-DSO3Y5ZS.js} +14 -14
- package/{machineCommands-4I3POIF2.js → machineCommands-DWILXGTZ.js} +15 -15
- package/{machineWsRunDispatch-EBTOI2EU.js → machineWsRunDispatch-NJJZ34JJ.js} +15 -15
- package/package.json +4 -2
- package/{readlineWorkspace-7DXZALKF.js → readlineWorkspace-STK57SSQ.js} +17 -17
- package/{runAgentClientLoop-MITBRXTT.js → runAgentClientLoop-6OD2CTYG.js} +13 -13
- package/{spaceCommands-UM3ZQKJU.js → spaceCommands-WPCHZKEY.js} +5 -5
- package/{streamAgentChatTurn-7ZIKATEO.js → streamAgentChatTurn-BOATI5H3.js} +15 -15
- package/{tools-TSKAUQYD.js → tools-FPKQX2J6.js} +9 -9
- package/{tuiSummaryLlmCaller-VSNIIH63.js → tuiSummaryLlmCaller-PEYFTAVL.js} +3 -3
- package/{updateDialogTitleAction-73QX44WS.js → updateDialogTitleAction-WAH5KADA.js} +5 -5
|
@@ -18,10 +18,10 @@ import "./chunk-7RF4O6AT.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NT3LMOSE.js";
|
|
22
22
|
import "./chunk-KMDDG73K.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CVSKYIXX.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
@@ -31,13 +31,13 @@ import "./chunk-G6OOUQWJ.js";
|
|
|
31
31
|
import "./chunk-56GBUMO5.js";
|
|
32
32
|
import "./chunk-WJZOQR2J.js";
|
|
33
33
|
import "./chunk-QI2WVWXV.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-QYAYO5JA.js";
|
|
35
35
|
import "./chunk-QLQ573SU.js";
|
|
36
36
|
import "./chunk-3MZAGMYY.js";
|
|
37
37
|
import "./chunk-2MBTWINN.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-ZJG7YU3I.js";
|
|
39
39
|
import "./chunk-5ZUL4CUO.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-TCQPBZUL.js";
|
|
41
41
|
import "./chunk-5MMAK75Q.js";
|
|
42
42
|
import "./chunk-DWLEOOGR.js";
|
|
43
43
|
import "./chunk-LIQJTQRN.js";
|
|
@@ -18,10 +18,10 @@ import "./chunk-7RF4O6AT.js";
|
|
|
18
18
|
import "./chunk-NBTY7YJF.js";
|
|
19
19
|
import "./chunk-VF4K2QE6.js";
|
|
20
20
|
import "./chunk-UAD2WT54.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NT3LMOSE.js";
|
|
22
22
|
import "./chunk-KMDDG73K.js";
|
|
23
23
|
import "./chunk-ZNFJWEN4.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CVSKYIXX.js";
|
|
25
25
|
import "./chunk-HNUWUO75.js";
|
|
26
26
|
import "./chunk-CHOZJMJS.js";
|
|
27
27
|
import "./chunk-PWTNI4N7.js";
|
|
@@ -31,13 +31,13 @@ import "./chunk-G6OOUQWJ.js";
|
|
|
31
31
|
import "./chunk-56GBUMO5.js";
|
|
32
32
|
import "./chunk-WJZOQR2J.js";
|
|
33
33
|
import "./chunk-QI2WVWXV.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-QYAYO5JA.js";
|
|
35
35
|
import "./chunk-QLQ573SU.js";
|
|
36
36
|
import "./chunk-3MZAGMYY.js";
|
|
37
37
|
import "./chunk-2MBTWINN.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-ZJG7YU3I.js";
|
|
39
39
|
import "./chunk-5ZUL4CUO.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-TCQPBZUL.js";
|
|
41
41
|
import "./chunk-5MMAK75Q.js";
|
|
42
42
|
import "./chunk-DWLEOOGR.js";
|
|
43
43
|
import "./chunk-LIQJTQRN.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NNE5NIW2.js";
|
|
9
9
|
import {
|
|
10
10
|
CONFIRMATION_INPUT_KEYS,
|
|
11
11
|
INVALID_TOOL_ARGS_REPLACEMENT,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
performFetchRequest,
|
|
15
15
|
sanitizeOutboundMessages,
|
|
16
16
|
stripModelToolArgs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CSCSMGQI.js";
|
|
18
18
|
import {
|
|
19
19
|
findToolExecutor,
|
|
20
20
|
toolDefinitionsByName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GCLZBOB6.js";
|
|
22
22
|
import {
|
|
23
23
|
classifyApiError,
|
|
24
24
|
classifyGenerationError,
|
|
25
25
|
extractErrorDiagnostics
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QO436IJ5.js";
|
|
27
27
|
import {
|
|
28
28
|
createSSEParser,
|
|
29
29
|
createToolRunId,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
toolRunSetPending,
|
|
33
33
|
toolRunStarted,
|
|
34
34
|
toolRunSucceeded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FBSDWUOJ.js";
|
|
36
36
|
import {
|
|
37
37
|
getPublicImageAgentMode
|
|
38
38
|
} from "./chunk-VIDPVFP3.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
messageStreaming,
|
|
43
43
|
toolResultNeedsUserConfirmation,
|
|
44
44
|
updateToolMessage
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FZYTJOAQ.js";
|
|
46
46
|
import {
|
|
47
47
|
streamAgentChatTurn
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DWBY333O.js";
|
|
49
49
|
import {
|
|
50
50
|
getCurrentSpaceId
|
|
51
51
|
} from "./chunk-ZJ7UHBJS.js";
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
} from "./chunk-56GBUMO5.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeChatCompletionsBodyForProvider
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-QYAYO5JA.js";
|
|
89
89
|
import {
|
|
90
90
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-ZJG7YU3I.js";
|
|
92
92
|
import {
|
|
93
93
|
getModelInfo
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-TCQPBZUL.js";
|
|
95
95
|
import {
|
|
96
96
|
isAbortError
|
|
97
97
|
} from "./chunk-7DPNBQSV.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-HS7MLR74.js";
|
|
4
4
|
import {
|
|
5
5
|
performServerProxyFetchWithRetry
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QO436IJ5.js";
|
|
7
7
|
import {
|
|
8
8
|
shouldUseServerProxy
|
|
9
9
|
} from "./chunk-UKZX3NHN.js";
|
|
10
10
|
import {
|
|
11
11
|
fetchServerSyncedCredential
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DWBY333O.js";
|
|
13
13
|
import {
|
|
14
14
|
buildSkillGuidancePromptBlock
|
|
15
15
|
} from "./chunk-DC3SZCRR.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
resolveReasoningReplayOptions,
|
|
36
36
|
shouldStripReasoningContentForOutbound,
|
|
37
37
|
stablePromptCacheKey
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QYAYO5JA.js";
|
|
39
39
|
import {
|
|
40
40
|
createFileCredentialBroker
|
|
41
41
|
} from "./chunk-UHTDNB5Y.js";
|
|
@@ -27,11 +27,11 @@ import {
|
|
|
27
27
|
stablePromptCacheKey,
|
|
28
28
|
toOpenAiCompatibleMessages,
|
|
29
29
|
toResponsesTools
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QYAYO5JA.js";
|
|
31
31
|
import {
|
|
32
32
|
isMeaningfulChatCompletionOutput,
|
|
33
33
|
isMeaningfulResponsesOutput
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TCQPBZUL.js";
|
|
35
35
|
import {
|
|
36
36
|
clipCompactText
|
|
37
37
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -308,7 +308,7 @@ var slice = createSliceWithThunks({
|
|
|
308
308
|
const overrides = {};
|
|
309
309
|
if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
|
|
310
310
|
if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
|
|
311
|
-
const { _executeModel } = await import("./_executeModel-
|
|
311
|
+
const { _executeModel } = await import("./_executeModel-SHA5BWRT.js");
|
|
312
312
|
return _executeModel(
|
|
313
313
|
{
|
|
314
314
|
isStreaming: args.isStreaming ?? false,
|
|
@@ -329,7 +329,7 @@ var slice = createSliceWithThunks({
|
|
|
329
329
|
* - 循环直到无工具调用或触发其他运行时停止条件
|
|
330
330
|
*/
|
|
331
331
|
runAgent: create.asyncThunk(async (args, thunkApi) => {
|
|
332
|
-
const { runAgentClientLoop } = await import("./runAgentClientLoop-
|
|
332
|
+
const { runAgentClientLoop } = await import("./runAgentClientLoop-6OD2CTYG.js");
|
|
333
333
|
const { content: loopContent, toolCallCount } = await runAgentClientLoop(
|
|
334
334
|
{
|
|
335
335
|
agentKey: args.agentKey,
|
|
@@ -345,7 +345,7 @@ var slice = createSliceWithThunks({
|
|
|
345
345
|
* 聊天轮次流式 Agent 调用
|
|
346
346
|
*/
|
|
347
347
|
streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
|
|
348
|
-
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-
|
|
348
|
+
const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-BOATI5H3.js");
|
|
349
349
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
350
350
|
}),
|
|
351
351
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZAB4R7LU.js";
|
|
5
5
|
import {
|
|
6
6
|
t
|
|
7
7
|
} from "./chunk-2AB2HA4M.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FBSDWUOJ.js";
|
|
11
11
|
import {
|
|
12
12
|
runLocalAgentTurn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NT3LMOSE.js";
|
|
14
14
|
import {
|
|
15
15
|
applyToolSurfaceConstraints
|
|
16
16
|
} from "./chunk-QLQ573SU.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-VYNMQ6HW.js";
|
|
9
9
|
import {
|
|
10
10
|
fetchAndCacheTableRows
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6MH6PWVJ.js";
|
|
12
12
|
import {
|
|
13
13
|
require_react
|
|
14
14
|
} from "./chunk-YDH3FDFQ.js";
|
|
@@ -521,7 +521,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
521
521
|
if (!executionInput) {
|
|
522
522
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
523
523
|
}
|
|
524
|
-
const { findToolExecutor } = await import("./tools-
|
|
524
|
+
const { findToolExecutor } = await import("./tools-FPKQX2J6.js");
|
|
525
525
|
const { executor } = findToolExecutor(run.toolName);
|
|
526
526
|
toolRunStarted({
|
|
527
527
|
id: run.id,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-QYPE3TS3.js";
|
|
15
15
|
import {
|
|
16
16
|
runLlm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DWBY333O.js";
|
|
18
18
|
import {
|
|
19
19
|
getApproxPricePerImage
|
|
20
20
|
} from "./chunk-4JH2UMJR.js";
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
extractReferenceKeysFromMessage,
|
|
107
107
|
normalizeUsage,
|
|
108
108
|
resolveAutoExecutionProfile
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-ZJG7YU3I.js";
|
|
110
110
|
import {
|
|
111
111
|
isDevinOAuthAgent
|
|
112
112
|
} from "./chunk-5ZUL4CUO.js";
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
getModelInfo,
|
|
124
124
|
planCompression,
|
|
125
125
|
serializeMessageContent
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-TCQPBZUL.js";
|
|
127
127
|
import {
|
|
128
128
|
asRecordOrEmpty
|
|
129
129
|
} from "./chunk-KX6YBIHG.js";
|
|
@@ -11064,7 +11064,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
11064
11064
|
runtimeOptions: args.runtimeOptions
|
|
11065
11065
|
});
|
|
11066
11066
|
if (agentKeyToUse) {
|
|
11067
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
11067
|
+
const { streamAgentChatTurn } = await import("./agentSlice-MIOEV36T.js");
|
|
11068
11068
|
await dispatch(
|
|
11069
11069
|
streamAgentChatTurn({
|
|
11070
11070
|
agentKey: agentKeyToUse,
|
|
@@ -13881,7 +13881,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13881
13881
|
}
|
|
13882
13882
|
if (isCurrentDialog) {
|
|
13883
13883
|
await thunkApi.dispatch(resetMsgs());
|
|
13884
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
13884
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-QEP5EUON.js");
|
|
13885
13885
|
dispatch(clearPendingAttachments2());
|
|
13886
13886
|
}
|
|
13887
13887
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -13889,15 +13889,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
13889
13889
|
|
|
13890
13890
|
// packages/chat/dialog/dialogSlice.ts
|
|
13891
13891
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
13892
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
13892
|
+
const { createDialogAction } = await import("./createDialogAction-AU4IWDR3.js");
|
|
13893
13893
|
return createDialogAction(args, thunkApi);
|
|
13894
13894
|
};
|
|
13895
13895
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
13896
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
13896
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-AI2HZHLE.js");
|
|
13897
13897
|
return createAgentAutomationAction(args, thunkApi);
|
|
13898
13898
|
};
|
|
13899
13899
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
13900
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
13900
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-WAH5KADA.js");
|
|
13901
13901
|
return updateDialogTitleAction(args, thunkApi);
|
|
13902
13902
|
};
|
|
13903
13903
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -13921,7 +13921,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
13921
13921
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
13922
13922
|
};
|
|
13923
13923
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
13924
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
13924
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-7MAFLFOD.js");
|
|
13925
13925
|
return handleSendMessageAction(args, thunkApi);
|
|
13926
13926
|
};
|
|
13927
13927
|
function clearDialogState() {
|
|
@@ -13934,7 +13934,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
13934
13934
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
13935
13935
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
13936
13936
|
try {
|
|
13937
|
-
const { createDocState } = await import("./docStore-
|
|
13937
|
+
const { createDocState } = await import("./docStore-WTXUKAQB.js");
|
|
13938
13938
|
const pageKey = await createDocState(
|
|
13939
13939
|
{ slateData, title },
|
|
13940
13940
|
{ dispatch, getState }
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
toolRunUpdated,
|
|
21
21
|
uiCardFallback,
|
|
22
22
|
waitForAbortableDelay
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FBSDWUOJ.js";
|
|
24
24
|
import {
|
|
25
25
|
isGatewayHttpStatus
|
|
26
26
|
} from "./chunk-NF64D32W.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-VF4K2QE6.js";
|
|
65
65
|
import {
|
|
66
66
|
createDocState
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-V4AK4IVZ.js";
|
|
68
68
|
import {
|
|
69
69
|
addMemberSpace,
|
|
70
70
|
fetchAuthoritativeRemoteSpace,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-J2ATF74A.js";
|
|
80
80
|
import {
|
|
81
81
|
createDialogAction
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GSKVOMBU.js";
|
|
83
83
|
import {
|
|
84
84
|
setDialogExtraReferencesAction
|
|
85
85
|
} from "./chunk-CON6SI7N.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
updateContentCategory,
|
|
103
103
|
updateContentTitle,
|
|
104
104
|
writeStoredCollapsedCategories
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-6MH6PWVJ.js";
|
|
106
106
|
import {
|
|
107
107
|
buildDatabaseFileContentUrl,
|
|
108
108
|
deleteDialog,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
selectMsgById,
|
|
116
116
|
uiAskChoiceFunc,
|
|
117
117
|
uiAskChoiceFunctionSchema
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-FZYTJOAQ.js";
|
|
119
119
|
import {
|
|
120
120
|
buildMediaToolConfirmation,
|
|
121
121
|
normalizeMediaConfirmExecutionRevision
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
runLlm,
|
|
127
127
|
streamAgentChatTurn,
|
|
128
128
|
updateAgent
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-DWBY333O.js";
|
|
130
130
|
import {
|
|
131
131
|
getCurrentSpaceId,
|
|
132
132
|
getCurrentSpaceIdRaw,
|
|
@@ -3881,7 +3881,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
3881
3881
|
const deletedDialogIds = [];
|
|
3882
3882
|
const deletedDialogKeys = [];
|
|
3883
3883
|
const failures = [];
|
|
3884
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
3884
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-QEP5EUON.js");
|
|
3885
3885
|
for (const target of targets) {
|
|
3886
3886
|
try {
|
|
3887
3887
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -18463,7 +18463,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18463
18463
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18464
18464
|
};
|
|
18465
18465
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18466
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18466
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-WTXUKAQB.js");
|
|
18467
18467
|
if (getDocState().pageKey === id) {
|
|
18468
18468
|
applyExternalDocUpdate({
|
|
18469
18469
|
slateData: finalSlateData,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6MH6PWVJ.js";
|
|
4
4
|
import {
|
|
5
5
|
format,
|
|
6
6
|
prepareAndPersistMessage,
|
|
7
7
|
uiAskChoiceFunc,
|
|
8
8
|
uiAskChoiceFunctionSchema
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FZYTJOAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
formatISO
|
|
12
12
|
} from "./chunk-ZRAU6T47.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
flushChatCompletionStream,
|
|
12
12
|
providerHttpFailure,
|
|
13
13
|
throwIfChatCompletionStreamFailed
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CVSKYIXX.js";
|
|
15
15
|
import {
|
|
16
16
|
readSseFrames
|
|
17
17
|
} from "./chunk-HNUWUO75.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
toOpenAiCompatibleMessages,
|
|
91
91
|
toResponsesTools,
|
|
92
92
|
transferDowngradedToolTurnOrigin
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-QYAYO5JA.js";
|
|
94
94
|
import {
|
|
95
95
|
BRIDGE_STREAM_MAX_CHARS,
|
|
96
96
|
DEFAULT_READ_DIALOG_MAX_RESPONSE_CHARS,
|
|
@@ -120,7 +120,7 @@ import {
|
|
|
120
120
|
resolveEmptyAssistantFallbackMessage,
|
|
121
121
|
resolveEmptyAssistantOutcome,
|
|
122
122
|
resolveTruncatedReasoningTailLog
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-ZJG7YU3I.js";
|
|
124
124
|
import {
|
|
125
125
|
COMPACTION_SUMMARY_SCHEMA_VERSION,
|
|
126
126
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
sha256Hex,
|
|
144
144
|
truncateToolOutputForContext,
|
|
145
145
|
withProviderCallTimingFields
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-TCQPBZUL.js";
|
|
147
147
|
import {
|
|
148
148
|
clipCompactText
|
|
149
149
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
clipMultilineText,
|
|
3
3
|
fetchAndSerializeTable,
|
|
4
4
|
waitForAbortableDelay
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FBSDWUOJ.js";
|
|
6
6
|
import {
|
|
7
7
|
isGatewayHttpStatus
|
|
8
8
|
} from "./chunk-NF64D32W.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-AGIM7IMJ.js";
|
|
22
22
|
import {
|
|
23
23
|
fetchAndCacheMessages
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FZYTJOAQ.js";
|
|
25
25
|
import {
|
|
26
26
|
createSpaceKey
|
|
27
27
|
} from "./chunk-UAD2WT54.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveRawAgentInput,
|
|
10
10
|
resolveServerUrl,
|
|
11
11
|
writeUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C47WM5SD.js";
|
|
13
13
|
import {
|
|
14
14
|
getReadableCliDb
|
|
15
15
|
} from "./chunk-P5QACQDK.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveBoundMachineId,
|
|
28
28
|
resolveFileWriteGateEnabled,
|
|
29
29
|
resolveLocalUserId
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZAB4R7LU.js";
|
|
31
31
|
import {
|
|
32
32
|
clearCredentialAvailability,
|
|
33
33
|
readCredentialEntry,
|
|
@@ -75,14 +75,14 @@ import {
|
|
|
75
75
|
} from "./chunk-BMQ2MJUK.js";
|
|
76
76
|
import {
|
|
77
77
|
resolveCliLocalRuntimeKeyCapability
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-GCLZBOB6.js";
|
|
79
79
|
import {
|
|
80
80
|
isTransientFetchError
|
|
81
81
|
} from "./chunk-KFHREHUQ.js";
|
|
82
82
|
import {
|
|
83
83
|
parseUiCard,
|
|
84
84
|
uiCardFallback
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-FBSDWUOJ.js";
|
|
86
86
|
import {
|
|
87
87
|
isGatewayHttpStatus
|
|
88
88
|
} from "./chunk-NF64D32W.js";
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
chooseMemoryOwners,
|
|
92
92
|
loadMemoryCandidatesFromDb,
|
|
93
93
|
resolveAgentMemoryPolicy
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-GSKVOMBU.js";
|
|
95
95
|
import {
|
|
96
96
|
API_REPORTED_COST_MULTIPLIER,
|
|
97
97
|
estimateMessagesTokens,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
resolveAgentContextWindow,
|
|
100
100
|
resolveOccupancy,
|
|
101
101
|
resolveOccupancyWindow
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-FZYTJOAQ.js";
|
|
103
103
|
import {
|
|
104
104
|
isOAuthApiKeyRef
|
|
105
105
|
} from "./chunk-UKZX3NHN.js";
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
LOCAL_AGENT_CONFIG_MISSING_CODE,
|
|
112
112
|
LOCAL_TURN_ABORTED_CODE,
|
|
113
113
|
readActionGate
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-NT3LMOSE.js";
|
|
115
115
|
import {
|
|
116
116
|
resolveAgentRuntimeConfigFromRecord
|
|
117
117
|
} from "./chunk-DFWLD7WU.js";
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
} from "./chunk-3MZAGMYY.js";
|
|
138
138
|
import {
|
|
139
139
|
normalizeUsage
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-ZJG7YU3I.js";
|
|
141
141
|
import {
|
|
142
142
|
clipCompactText
|
|
143
143
|
} from "./chunk-5MMAK75Q.js";
|
|
@@ -11181,7 +11181,7 @@ function isBalanceExhaustedError(error) {
|
|
|
11181
11181
|
|
|
11182
11182
|
// packages/cli/client/agentRun.ts
|
|
11183
11183
|
async function loadRunLocalAgentTurn() {
|
|
11184
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
11184
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-NHC5DQPJ.js");
|
|
11185
11185
|
return runLocalAgentTurn;
|
|
11186
11186
|
}
|
|
11187
11187
|
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();
|