nolo-cli 0.75.0-alpha.1 → 0.75.0-alpha.2
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-CNEEELFV.js → _executeModel-WEZ3PEQX.js} +10 -10
- package/{agentEmailCommands-VX5OYTHG.js → agentEmailCommands-63LDSFLY.js} +9 -9
- package/{agentMachineCommands-IG6KJFNN.js → agentMachineCommands-NZ7GGXDI.js} +1 -1
- package/{agentRecordCommands-V5LRQDDX.js → agentRecordCommands-CVYIAAA7.js} +9 -9
- package/{agentRunCommand-RUUOF2DY.js → agentRunCommand-DTSXYOFC.js} +9 -9
- package/{agentSlice-S3JFDTH4.js → agentSlice-J6B5FD5T.js} +1 -1
- package/{chatQueueReduxAdapter-CHJZ2O2P.js → chatQueueReduxAdapter-7HTXKEAI.js} +2 -2
- package/{chunk-6RUYWJXO.js → chunk-2BA5B35E.js} +3 -3
- package/{chunk-KG7ANYLN.js → chunk-3WR7AKML.js} +2 -2
- package/{chunk-5WUTIRKL.js → chunk-6ULAXDTC.js} +4 -4
- package/{chunk-PEBKIEA5.js → chunk-6VHEHZ3O.js} +8 -8
- package/{chunk-NU6FRRNU.js → chunk-73Z4HXBB.js} +4 -4
- package/{chunk-ZNZCVXRV.js → chunk-7SM7OIAA.js} +3 -3
- package/{chunk-MWV66JTV.js → chunk-CB4TPLND.js} +1 -1
- package/{chunk-ZHIOJU46.js → chunk-DORA6JDU.js} +5 -5
- package/{chunk-WD4SMAPR.js → chunk-ESNV5ZH6.js} +2 -2
- package/{chunk-ITFKTCHH.js → chunk-GKCVKZMJ.js} +2 -2
- package/{chunk-RUX46F4O.js → chunk-IHHZ5QIT.js} +2 -2
- package/{chunk-D42DMWKD.js → chunk-KTCEAOB7.js} +8 -8
- package/{chunk-BNLAGFPO.js → chunk-OCIRWOJN.js} +1 -1
- package/{chunk-DDWYTB5N.js → chunk-X4J6SLM7.js} +59 -119
- package/{contentThunks-P73Q4WUM.js → contentThunks-YTGI4QHN.js} +3 -3
- package/{createAgentAutomationAction-JLHVMB4X.js → createAgentAutomationAction-NKJB4ZUJ.js} +3 -3
- package/{createDialogAction-6ZKSFM5O.js → createDialogAction-46TNX2KI.js} +4 -4
- package/{createPageAction-MN4VOJYH.js → createPageAction-XKCTX2L5.js} +3 -3
- package/{dialogSlice-P2G3GRRG.js → dialogSlice-IA4AYIZT.js} +2 -2
- package/{docStore-GUHCPV37.js → docStore-BTPXEBOF.js} +1 -1
- package/{handleSendMessageAction-NLDMT3LZ.js → handleSendMessageAction-EVLVKKX5.js} +2 -2
- package/index.js +15 -15
- package/{machineCommands-BCCBSQQR.js → machineCommands-6IEXOQSE.js} +9 -9
- package/{machineWsRunDispatch-7FMVGMI6.js → machineWsRunDispatch-Y6X7MZZT.js} +9 -9
- package/package.json +1 -1
- package/{readlineWorkspace-S5ZQIVWS.js → readlineWorkspace-XKMEZZ5A.js} +9 -9
- package/{runAgentClientLoop-UANNODBO.js → runAgentClientLoop-3XIXREHM.js} +8 -8
- package/{streamAgentChatTurn-76WFI2YK.js → streamAgentChatTurn-J27A54UC.js} +9 -9
- package/{tools-XJGU2HAF.js → tools-CZTAI4BF.js} +6 -6
- package/{updateDialogTitleAction-5BHRK2XV.js → updateDialogTitleAction-QUU6G7SD.js} +3 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OCIRWOJN.js";
|
|
4
4
|
import {
|
|
5
5
|
filterAndCleanMessages,
|
|
6
6
|
sendOpenAICompletionsRequest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DORA6JDU.js";
|
|
8
8
|
import "./chunk-JEXVIMYZ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-3WR7AKML.js";
|
|
10
10
|
import {
|
|
11
11
|
generateRequestBody,
|
|
12
12
|
mergeReferences,
|
|
13
13
|
performFetchRequest,
|
|
14
14
|
sanitizeOutboundBody
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7SM7OIAA.js";
|
|
16
16
|
import "./chunk-EOARMOVD.js";
|
|
17
17
|
import "./chunk-HS7MLR74.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KTCEAOB7.js";
|
|
19
19
|
import "./chunk-5XTOKQLW.js";
|
|
20
20
|
import "./chunk-NF64D32W.js";
|
|
21
21
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -32,20 +32,20 @@ import "./chunk-FZGV4FGK.js";
|
|
|
32
32
|
import "./chunk-MEYIRKDN.js";
|
|
33
33
|
import "./chunk-63W5N6P3.js";
|
|
34
34
|
import "./chunk-VF4K2QE6.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-GKCVKZMJ.js";
|
|
36
|
+
import "./chunk-ESNV5ZH6.js";
|
|
37
|
+
import "./chunk-X4J6SLM7.js";
|
|
38
38
|
import "./chunk-ZJ7UHBJS.js";
|
|
39
39
|
import {
|
|
40
40
|
selectAllMsgs,
|
|
41
41
|
selectCurrentDialogConfig,
|
|
42
42
|
updateTokensAction
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
44
44
|
import "./chunk-EVBFYPDC.js";
|
|
45
45
|
import "./chunk-HQUORJTM.js";
|
|
46
46
|
import "./chunk-YYLHWIW6.js";
|
|
47
47
|
import "./chunk-AGGIDPCZ.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-2BA5B35E.js";
|
|
49
49
|
import "./chunk-BJCWNHVU.js";
|
|
50
50
|
import "./chunk-5RGU3J7P.js";
|
|
51
51
|
import "./chunk-6YTOJY35.js";
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunk-JYYZCK2Z.js";
|
|
9
9
|
import {
|
|
10
10
|
runAgentCreateCommand
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-CB4TPLND.js";
|
|
12
|
+
import "./chunk-73Z4HXBB.js";
|
|
13
13
|
import "./chunk-GBPZKFYK.js";
|
|
14
14
|
import "./chunk-QCZX4FTW.js";
|
|
15
15
|
import "./chunk-EADNWBAZ.js";
|
|
@@ -30,9 +30,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
30
30
|
import "./chunk-JBTJAPUF.js";
|
|
31
31
|
import "./chunk-3QPYFHAH.js";
|
|
32
32
|
import "./chunk-ATNTHIZI.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-3WR7AKML.js";
|
|
34
34
|
import "./chunk-HS7MLR74.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-KTCEAOB7.js";
|
|
36
36
|
import "./chunk-5XTOKQLW.js";
|
|
37
37
|
import "./chunk-NF64D32W.js";
|
|
38
38
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -48,16 +48,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
48
48
|
import "./chunk-MEYIRKDN.js";
|
|
49
49
|
import "./chunk-63W5N6P3.js";
|
|
50
50
|
import "./chunk-VF4K2QE6.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-GKCVKZMJ.js";
|
|
52
|
+
import "./chunk-ESNV5ZH6.js";
|
|
53
|
+
import "./chunk-X4J6SLM7.js";
|
|
54
54
|
import "./chunk-ZJ7UHBJS.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-6VHEHZ3O.js";
|
|
56
56
|
import "./chunk-EVBFYPDC.js";
|
|
57
57
|
import "./chunk-HQUORJTM.js";
|
|
58
58
|
import "./chunk-YYLHWIW6.js";
|
|
59
59
|
import "./chunk-AGGIDPCZ.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-2BA5B35E.js";
|
|
61
61
|
import "./chunk-BJCWNHVU.js";
|
|
62
62
|
import "./chunk-5RGU3J7P.js";
|
|
63
63
|
import "./chunk-6YTOJY35.js";
|
|
@@ -89,7 +89,7 @@ async function defaultExecuteCli(provider, prompt, options) {
|
|
|
89
89
|
return executeCli(provider, prompt, options);
|
|
90
90
|
}
|
|
91
91
|
async function forwardConnectorRunMessage(machine, message, pushMessage, executeCli, env, fetchImpl) {
|
|
92
|
-
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-
|
|
92
|
+
const { handleConnectorRunMessage } = await import("./machineWsRunDispatch-Y6X7MZZT.js");
|
|
93
93
|
return handleConnectorRunMessage(message, pushMessage, executeCli, env, fetchImpl);
|
|
94
94
|
}
|
|
95
95
|
async function detectLaunchableMachineInfo() {
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
runAgentCreateCommand,
|
|
3
3
|
runAgentReadCommand,
|
|
4
4
|
runAgentUpdateCommand
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-CB4TPLND.js";
|
|
6
|
+
import "./chunk-73Z4HXBB.js";
|
|
7
7
|
import "./chunk-GBPZKFYK.js";
|
|
8
8
|
import "./chunk-QCZX4FTW.js";
|
|
9
9
|
import "./chunk-EADNWBAZ.js";
|
|
@@ -17,9 +17,9 @@ import "./chunk-MP64VFGD.js";
|
|
|
17
17
|
import "./chunk-JBTJAPUF.js";
|
|
18
18
|
import "./chunk-3QPYFHAH.js";
|
|
19
19
|
import "./chunk-ATNTHIZI.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-3WR7AKML.js";
|
|
21
21
|
import "./chunk-HS7MLR74.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-KTCEAOB7.js";
|
|
23
23
|
import "./chunk-5XTOKQLW.js";
|
|
24
24
|
import "./chunk-NF64D32W.js";
|
|
25
25
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -35,16 +35,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
35
35
|
import "./chunk-MEYIRKDN.js";
|
|
36
36
|
import "./chunk-63W5N6P3.js";
|
|
37
37
|
import "./chunk-VF4K2QE6.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-GKCVKZMJ.js";
|
|
39
|
+
import "./chunk-ESNV5ZH6.js";
|
|
40
|
+
import "./chunk-X4J6SLM7.js";
|
|
41
41
|
import "./chunk-ZJ7UHBJS.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-6VHEHZ3O.js";
|
|
43
43
|
import "./chunk-EVBFYPDC.js";
|
|
44
44
|
import "./chunk-HQUORJTM.js";
|
|
45
45
|
import "./chunk-YYLHWIW6.js";
|
|
46
46
|
import "./chunk-AGGIDPCZ.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-2BA5B35E.js";
|
|
48
48
|
import "./chunk-BJCWNHVU.js";
|
|
49
49
|
import "./chunk-5RGU3J7P.js";
|
|
50
50
|
import "./chunk-6YTOJY35.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
resolveRunSettlementNote,
|
|
9
9
|
resolveWorkflowReference,
|
|
10
10
|
runAgentRunCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6ULAXDTC.js";
|
|
12
12
|
import "./chunk-S7Z2HMCN.js";
|
|
13
13
|
import {
|
|
14
14
|
parseAgentRunArgs
|
|
15
15
|
} from "./chunk-JYYZCK2Z.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-73Z4HXBB.js";
|
|
17
17
|
import "./chunk-GBPZKFYK.js";
|
|
18
18
|
import "./chunk-QCZX4FTW.js";
|
|
19
19
|
import "./chunk-EADNWBAZ.js";
|
|
@@ -30,9 +30,9 @@ import "./chunk-LTRXGFMS.js";
|
|
|
30
30
|
import "./chunk-3QPYFHAH.js";
|
|
31
31
|
import "./chunk-ATNTHIZI.js";
|
|
32
32
|
import "./chunk-JEXVIMYZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-3WR7AKML.js";
|
|
34
34
|
import "./chunk-HS7MLR74.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-KTCEAOB7.js";
|
|
36
36
|
import "./chunk-5XTOKQLW.js";
|
|
37
37
|
import "./chunk-NF64D32W.js";
|
|
38
38
|
import "./chunk-3L2WKC3W.js";
|
|
@@ -48,16 +48,16 @@ import "./chunk-FZGV4FGK.js";
|
|
|
48
48
|
import "./chunk-MEYIRKDN.js";
|
|
49
49
|
import "./chunk-63W5N6P3.js";
|
|
50
50
|
import "./chunk-VF4K2QE6.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-GKCVKZMJ.js";
|
|
52
|
+
import "./chunk-ESNV5ZH6.js";
|
|
53
|
+
import "./chunk-X4J6SLM7.js";
|
|
54
54
|
import "./chunk-ZJ7UHBJS.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-6VHEHZ3O.js";
|
|
56
56
|
import "./chunk-EVBFYPDC.js";
|
|
57
57
|
import "./chunk-HQUORJTM.js";
|
|
58
58
|
import "./chunk-YYLHWIW6.js";
|
|
59
59
|
import "./chunk-AGGIDPCZ.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-2BA5B35E.js";
|
|
61
61
|
import "./chunk-BJCWNHVU.js";
|
|
62
62
|
import "./chunk-5RGU3J7P.js";
|
|
63
63
|
import "./chunk-6YTOJY35.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
} from "./chunk-YPREESF4.js";
|
|
5
5
|
import {
|
|
6
6
|
handleSendMessage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
8
8
|
import "./chunk-EVBFYPDC.js";
|
|
9
9
|
import "./chunk-HQUORJTM.js";
|
|
10
10
|
import "./chunk-YYLHWIW6.js";
|
|
11
11
|
import "./chunk-AGGIDPCZ.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2BA5B35E.js";
|
|
13
13
|
import "./chunk-BJCWNHVU.js";
|
|
14
14
|
import "./chunk-5RGU3J7P.js";
|
|
15
15
|
import {
|
|
@@ -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-WEZ3PEQX.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-3XIXREHM.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-J27A54UC.js");
|
|
345
345
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
346
346
|
}),
|
|
347
347
|
/**
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
resolveLocalUserId,
|
|
28
28
|
t,
|
|
29
29
|
toolLabel
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-73Z4HXBB.js";
|
|
31
31
|
import {
|
|
32
32
|
createRunActivityTracker,
|
|
33
33
|
popSingleQueueMessage,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-LTRXGFMS.js";
|
|
64
64
|
import {
|
|
65
65
|
formatAgentListCard
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-KTCEAOB7.js";
|
|
67
67
|
import {
|
|
68
68
|
isTransientFetchError
|
|
69
69
|
} from "./chunk-5XTOKQLW.js";
|
|
@@ -84,11 +84,11 @@ import {
|
|
|
84
84
|
chooseMemoryOwners,
|
|
85
85
|
loadMemoryCandidatesFromDb,
|
|
86
86
|
resolveAgentMemoryPolicy
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-ESNV5ZH6.js";
|
|
88
88
|
import {
|
|
89
89
|
API_REPORTED_COST_MULTIPLIER,
|
|
90
90
|
parseUiAskChoiceContent
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
92
92
|
import {
|
|
93
93
|
isOAuthApiKeyRef
|
|
94
94
|
} from "./chunk-YYLHWIW6.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-AGGIDPCZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runLlm
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2BA5B35E.js";
|
|
17
17
|
import {
|
|
18
18
|
cleanupCliSessionForDialog
|
|
19
19
|
} from "./chunk-BJCWNHVU.js";
|
|
@@ -17122,7 +17122,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
17122
17122
|
runtimeOptions: args.runtimeOptions
|
|
17123
17123
|
});
|
|
17124
17124
|
if (agentKeyToUse) {
|
|
17125
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
17125
|
+
const { streamAgentChatTurn } = await import("./agentSlice-J6B5FD5T.js");
|
|
17126
17126
|
await dispatch(
|
|
17127
17127
|
streamAgentChatTurn({
|
|
17128
17128
|
agentKey: agentKeyToUse,
|
|
@@ -18255,7 +18255,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18255
18255
|
}
|
|
18256
18256
|
if (isCurrentDialog) {
|
|
18257
18257
|
await thunkApi.dispatch(resetMsgs());
|
|
18258
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
18258
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-IA4AYIZT.js");
|
|
18259
18259
|
dispatch(clearPendingAttachments2());
|
|
18260
18260
|
}
|
|
18261
18261
|
return { dialogKey, isCurrentDialog, attachmentPlan };
|
|
@@ -18263,15 +18263,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
18263
18263
|
|
|
18264
18264
|
// packages/chat/dialog/dialogSlice.ts
|
|
18265
18265
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
18266
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
18266
|
+
const { createDialogAction } = await import("./createDialogAction-46TNX2KI.js");
|
|
18267
18267
|
return createDialogAction(args, thunkApi);
|
|
18268
18268
|
};
|
|
18269
18269
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
18270
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
18270
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-NKJB4ZUJ.js");
|
|
18271
18271
|
return createAgentAutomationAction(args, thunkApi);
|
|
18272
18272
|
};
|
|
18273
18273
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
18274
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
18274
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-QUU6G7SD.js");
|
|
18275
18275
|
return updateDialogTitleAction(args, thunkApi);
|
|
18276
18276
|
};
|
|
18277
18277
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -18295,7 +18295,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
18295
18295
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
18296
18296
|
};
|
|
18297
18297
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
18298
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
18298
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-EVLVKKX5.js");
|
|
18299
18299
|
return handleSendMessageAction(args, thunkApi);
|
|
18300
18300
|
};
|
|
18301
18301
|
function clearDialogState() {
|
|
@@ -18308,7 +18308,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
18308
18308
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
18309
18309
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
18310
18310
|
try {
|
|
18311
|
-
const { createDocState } = await import("./docStore-
|
|
18311
|
+
const { createDocState } = await import("./docStore-BTPXEBOF.js");
|
|
18312
18312
|
const pageKey = await createDocState(
|
|
18313
18313
|
{ slateData, title },
|
|
18314
18314
|
{ dispatch, getState }
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
inlineImageUrlsForCustomProvider,
|
|
62
62
|
prepareTools
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-3WR7AKML.js";
|
|
64
64
|
import {
|
|
65
65
|
getServerProviderSecret
|
|
66
66
|
} from "./chunk-HS7MLR74.js";
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
rememberMemoryFunctionSchema,
|
|
79
79
|
resolveAgentRequiredPackIds,
|
|
80
80
|
setTodoListFunc
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-KTCEAOB7.js";
|
|
82
82
|
import {
|
|
83
83
|
fetchWithTransientRetry,
|
|
84
84
|
isTransientFetchError
|
|
@@ -101,13 +101,13 @@ import {
|
|
|
101
101
|
prepareTokenUsageData,
|
|
102
102
|
resolveBuiltinPlatformAgentConfig,
|
|
103
103
|
runKeyed
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
105
105
|
import {
|
|
106
106
|
BUILTIN_TITLE_LLM_CONFIG
|
|
107
107
|
} from "./chunk-EVBFYPDC.js";
|
|
108
108
|
import {
|
|
109
109
|
fetchServerSyncedCredential
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-2BA5B35E.js";
|
|
111
111
|
import {
|
|
112
112
|
require_date_fns
|
|
113
113
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable,
|
|
10
10
|
resolveBuiltinSkillPage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KTCEAOB7.js";
|
|
12
12
|
import {
|
|
13
13
|
isGatewayHttpStatus
|
|
14
14
|
} from "./chunk-NF64D32W.js";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-MEYIRKDN.js";
|
|
30
30
|
import {
|
|
31
31
|
fetchAndCacheMessages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldUseServerProxy
|
|
35
35
|
} from "./chunk-YYLHWIW6.js";
|
|
36
36
|
import {
|
|
37
37
|
fetchServerSyncedCredential
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2BA5B35E.js";
|
|
39
39
|
import {
|
|
40
40
|
buildSkillGuidancePromptBlock,
|
|
41
41
|
extractRuntimePageCapabilities,
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3WR7AKML.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-7SM7OIAA.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-KTCEAOB7.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-6VHEHZ3O.js";
|
|
39
39
|
import {
|
|
40
40
|
streamAgentChatTurn
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2BA5B35E.js";
|
|
42
42
|
import {
|
|
43
43
|
addActiveController,
|
|
44
44
|
removeActiveController,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addContentToSpace
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X4J6SLM7.js";
|
|
4
4
|
import {
|
|
5
5
|
prepareAndPersistMessage,
|
|
6
6
|
uiAskChoiceFunc,
|
|
7
7
|
uiAskChoiceFunctionSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -326,7 +326,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
326
326
|
).unwrap();
|
|
327
327
|
if (dbSpaceId) {
|
|
328
328
|
try {
|
|
329
|
-
const { updateContentTitle } = await import("./contentThunks-
|
|
329
|
+
const { updateContentTitle } = await import("./contentThunks-YTGI4QHN.js");
|
|
330
330
|
await dispatch(
|
|
331
331
|
updateContentTitle({
|
|
332
332
|
spaceId: dbSpaceId,
|
|
@@ -365,7 +365,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
async function createDocState(args, thunkApi) {
|
|
368
|
-
const { createPageAction } = await import("./createPageAction-
|
|
368
|
+
const { createPageAction } = await import("./createPageAction-XKCTX2L5.js");
|
|
369
369
|
return createPageAction(args, thunkApi);
|
|
370
370
|
}
|
|
371
371
|
function subscribe(listener) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-73Z4HXBB.js";
|
|
5
5
|
import {
|
|
6
6
|
clipMultilineText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KTCEAOB7.js";
|
|
8
8
|
import {
|
|
9
9
|
runLocalAgentTurn
|
|
10
10
|
} from "./chunk-CJ23A7U4.js";
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
} from "./chunk-VF4K2QE6.js";
|
|
82
82
|
import {
|
|
83
83
|
createDocState
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-GKCVKZMJ.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-ESNV5ZH6.js";
|
|
92
92
|
import {
|
|
93
93
|
DEFAULT_COLLAPSED_CATEGORIES,
|
|
94
94
|
addContentToSpace,
|
|
@@ -106,7 +106,7 @@ import {
|
|
|
106
106
|
updateContentCategory,
|
|
107
107
|
updateContentTitle,
|
|
108
108
|
writeStoredCollapsedCategories
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-X4J6SLM7.js";
|
|
110
110
|
import {
|
|
111
111
|
getCurrentSpaceId,
|
|
112
112
|
getCurrentSpaceIdRaw,
|
|
@@ -128,14 +128,14 @@ import {
|
|
|
128
128
|
selectMsgById,
|
|
129
129
|
uiAskChoiceFunc,
|
|
130
130
|
uiAskChoiceFunctionSchema
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-6VHEHZ3O.js";
|
|
132
132
|
import {
|
|
133
133
|
createAgent,
|
|
134
134
|
deleteServerSyncedCredential,
|
|
135
135
|
runLlm,
|
|
136
136
|
streamAgentChatTurn,
|
|
137
137
|
updateAgent
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-2BA5B35E.js";
|
|
139
139
|
import {
|
|
140
140
|
getActiveDialogKey,
|
|
141
141
|
selectCurrentDialogKey,
|
|
@@ -4672,7 +4672,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
4672
4672
|
const deletedDialogIds = [];
|
|
4673
4673
|
const deletedDialogKeys = [];
|
|
4674
4674
|
const failures = [];
|
|
4675
|
-
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-
|
|
4675
|
+
const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-IA4AYIZT.js");
|
|
4676
4676
|
for (const target of targets) {
|
|
4677
4677
|
try {
|
|
4678
4678
|
await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
|
|
@@ -15546,7 +15546,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
15546
15546
|
if (!executionInput) {
|
|
15547
15547
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
15548
15548
|
}
|
|
15549
|
-
const { findToolExecutor: findToolExecutor2 } = await import("./tools-
|
|
15549
|
+
const { findToolExecutor: findToolExecutor2 } = await import("./tools-CZTAI4BF.js");
|
|
15550
15550
|
const { executor } = findToolExecutor2(run.toolName);
|
|
15551
15551
|
toolRunStarted({
|
|
15552
15552
|
id: run.id,
|
|
@@ -18053,7 +18053,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
18053
18053
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
18054
18054
|
};
|
|
18055
18055
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
18056
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
18056
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-BTPXEBOF.js");
|
|
18057
18057
|
if (getDocState().pageKey === id) {
|
|
18058
18058
|
applyExternalDocUpdate({
|
|
18059
18059
|
slateData: finalSlateData,
|