nolo-cli 0.30.0-alpha.7 → 0.30.0-alpha.9
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-AK4UPHLB.js → _executeModel-5ARVVUIK.js} +15 -15
- package/{agentDeleteCommand-422JHLPC.js → agentDeleteCommand-5Q6TDCJU.js} +11 -11
- package/{agentEmailCommands-X36WY27J.js → agentEmailCommands-DSX4BJ2I.js} +19 -19
- package/{agentListCommands-3KRN5CFO.js → agentListCommands-S66HL5RO.js} +13 -13
- package/{agentMachineCommands-IA3XFDBE.js → agentMachineCommands-ULCQ5ZNN.js} +11 -11
- package/{agentRecordCommands-VGLQK7BK.js → agentRecordCommands-2AA3GEGO.js} +18 -18
- package/{agentRunCommand-DN5H75WZ.js → agentRunCommand-3KOT77XY.js} +18 -18
- package/{agentRuntimeLocal-QRKUT2T5.js → agentRuntimeLocal-7TMDJD4S.js} +8 -8
- package/{agentSlice-J3WB5SE6.js → agentSlice-6IQRQZX3.js} +1 -1
- package/{appDeleteCommands-7YKU6G5R.js → appDeleteCommands-UUDIWLNE.js} +12 -12
- package/{appDeployCommands-WPZ7XW5F.js → appDeployCommands-CO6SZ7YP.js} +12 -12
- package/{appDeployStatusCommands-5V7TVMS2.js → appDeployStatusCommands-QEVKVECJ.js} +12 -12
- package/{appGetCommands-OOPVNQXC.js → appGetCommands-3YSCCLK4.js} +12 -12
- package/{appListCommands-NZ6VVKWX.js → appListCommands-FBJAFZKK.js} +12 -12
- package/{authCommand-VDE3SHYW.js → authCommand-3ADNCFKD.js} +3 -3
- package/{chunk-KOOS6HGM.js → chunk-2CYGIPJH.js} +2 -2
- package/{chunk-FA6T24AM.js → chunk-2HQ4OG6N.js} +1 -1
- package/{chunk-KAETOFVF.js → chunk-2SOQY5L6.js} +8 -8
- package/{chunk-YJPLQHWD.js → chunk-4F77PJBR.js} +3 -3
- package/{chunk-VL3ZUOLH.js → chunk-6JH2DF7J.js} +2 -2
- package/{chunk-KDUE6FOY.js → chunk-ARPAHODF.js} +4 -4
- package/{chunk-PY4JEQIC.js → chunk-BIPRFBC2.js} +2 -2
- package/{chunk-J76EHIP2.js → chunk-CYRMUTGB.js} +3 -3
- package/{chunk-PLRRIMK3.js → chunk-EBNSAABL.js} +1 -1
- package/{chunk-VLCMNXQ5.js → chunk-EDWM6D6L.js} +1 -1
- package/{chunk-GLUSDXXE.js → chunk-GKXS4F2I.js} +3 -3
- package/{chunk-WF5GLD5I.js → chunk-GVPMJPCT.js} +1 -1
- package/{chunk-X4JSIOE7.js → chunk-IPSPETAL.js} +9 -9
- package/{chunk-RXZ7QRGT.js → chunk-J3LHGBNO.js} +1 -5
- package/{chunk-WCMJQ5AP.js → chunk-LEVCXTDN.js} +8 -8
- package/{chunk-JKDRUHB2.js → chunk-N2IX3ZYK.js} +1 -1
- package/{chunk-MFVEYYY4.js → chunk-NZBH7FTB.js} +1 -1
- package/{chunk-GLB4UGDW.js → chunk-OIW2RJ74.js} +2 -2
- package/{chunk-65BO74IX.js → chunk-PIC6Z7VI.js} +1 -1
- package/{chunk-47HNM2NT.js → chunk-Q243PXRU.js} +10 -10
- package/{chunk-GHAQNRCK.js → chunk-QBOW6RZN.js} +1 -1
- package/{chunk-YD3CWOOC.js → chunk-R5Y4XELF.js} +6 -6
- package/{chunk-RNFFSBPE.js → chunk-RWJPDKPB.js} +1 -1
- package/{chunk-D2ELXAZV.js → chunk-S2BMRBR2.js} +3 -3
- package/{chunk-43NHOBJK.js → chunk-T4X4GCYT.js} +2 -2
- package/{chunk-AKUEIOPG.js → chunk-TXVSNFHC.js} +2 -2
- package/{chunk-O2WODZU3.js → chunk-VQ4QPCKE.js} +5 -5
- package/{chunk-GTU24U5Q.js → chunk-W3UDJJMA.js} +7 -7
- package/{chunk-F2YQDCZN.js → chunk-YLC42PIE.js} +2 -2
- package/{createAgentAutomationAction-BUDXFVTT.js → createAgentAutomationAction-EYNYY2LB.js} +3 -3
- package/{createDialogAction-PW2AUVPW.js → createDialogAction-OUIRWYZP.js} +4 -4
- package/{createPageAction-NXX24JMY.js → createPageAction-2I5PHJFF.js} +3 -3
- package/{dialogCommands-REU5CJ7F.js → dialogCommands-5CL4QYQ7.js} +12 -12
- package/{dialogSlice-DFSW7JLE.js → dialogSlice-EKKVFKBJ.js} +2 -2
- package/{docCreateCommands-UZIL34CF.js → docCreateCommands-QHCLYGNW.js} +11 -11
- package/{docDeleteCommands-7ZWPSHNY.js → docDeleteCommands-DS6KOU6N.js} +12 -12
- package/{docReadCommands-AKPNRBRT.js → docReadCommands-FRI5DAKH.js} +11 -11
- package/{docStore-UNYUNPPH.js → docStore-V7EJS4PX.js} +4 -4
- package/{docUpdateCommands-3RAQ7BRP.js → docUpdateCommands-RQO5ZTXT.js} +11 -11
- package/{handleSendMessageAction-JCERIKIA.js → handleSendMessageAction-KCF7KII4.js} +2 -2
- package/index.js +46 -46
- package/{machineCommands-LAI3SVUI.js → machineCommands-IAGAKTHV.js} +17 -17
- package/{machineWsRunDispatch-Q3PG7S3Z.js → machineWsRunDispatch-JGKC2HEK.js} +17 -17
- package/package.json +1 -1
- package/{readlineWorkspace-AXWZKAQQ.js → readlineWorkspace-5AQHHIBK.js} +21 -21
- package/{runAgentClientLoop-T2252VRJ.js → runAgentClientLoop-6OGPS6SI.js} +12 -12
- package/{spaceCommands-J2LUYE5K.js → spaceCommands-VTDNKTSF.js} +11 -11
- package/{spaceSlice-6G3QO5SN.js → spaceSlice-LGUZMB7Y.js} +3 -3
- package/{streamAgentChatTurn-R4F5ZKGK.js → streamAgentChatTurn-TIGCZUNZ.js} +14 -14
- package/{tools-CHD5DL2T.js → tools-BQAOPYMR.js} +8 -8
- package/{updateDialogTitleAction-5OC7BQOV.js → updateDialogTitleAction-E6HMEDPH.js} +3 -3
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N2IX3ZYK.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-QBOW6RZN.js";
|
|
12
|
+
import "./chunk-PIC6Z7VI.js";
|
|
13
|
+
import "./chunk-GVPMJPCT.js";
|
|
14
14
|
import "./chunk-K6QEHQZ3.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GKXS4F2I.js";
|
|
16
16
|
import "./chunk-ZNFJWEN4.js";
|
|
17
17
|
import "./chunk-XORE26Z4.js";
|
|
18
18
|
import "./chunk-OIQPORYI.js";
|
|
19
19
|
import "./chunk-T27IEBNQ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VQ4QPCKE.js";
|
|
21
21
|
import "./chunk-N7J63Q6C.js";
|
|
22
22
|
import "./chunk-PJY5AH5A.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OIW2RJ74.js";
|
|
24
24
|
import "./chunk-D34RI6NI.js";
|
|
25
25
|
import "./chunk-WTPC3XD4.js";
|
|
26
26
|
import "./chunk-4PWB7JRR.js";
|
|
27
27
|
import "./chunk-2MBTWINN.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-CYRMUTGB.js";
|
|
29
|
+
import "./chunk-6JH2DF7J.js";
|
|
30
30
|
import "./chunk-SWYMCHM7.js";
|
|
31
31
|
import "./chunk-44HACRCK.js";
|
|
32
32
|
import "./chunk-DCDL3GC4.js";
|
|
33
33
|
import "./chunk-PACNSC37.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-YLC42PIE.js";
|
|
35
|
+
import "./chunk-LEVCXTDN.js";
|
|
36
36
|
import "./chunk-OB6FBSH3.js";
|
|
37
37
|
import "./chunk-ATK5WJOA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-4F77PJBR.js";
|
|
39
39
|
import "./chunk-JZPBVBIY.js";
|
|
40
40
|
import "./chunk-5RGU3J7P.js";
|
|
41
41
|
import "./chunk-M76ECQRD.js";
|
|
@@ -5,38 +5,38 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N2IX3ZYK.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QBOW6RZN.js";
|
|
13
|
+
import "./chunk-PIC6Z7VI.js";
|
|
14
|
+
import "./chunk-GVPMJPCT.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GKXS4F2I.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|
|
18
18
|
import "./chunk-XORE26Z4.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
20
|
import "./chunk-T27IEBNQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VQ4QPCKE.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-PJY5AH5A.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-OIW2RJ74.js";
|
|
25
25
|
import "./chunk-D34RI6NI.js";
|
|
26
26
|
import "./chunk-WTPC3XD4.js";
|
|
27
27
|
import "./chunk-4PWB7JRR.js";
|
|
28
28
|
import "./chunk-2MBTWINN.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-CYRMUTGB.js";
|
|
30
|
+
import "./chunk-6JH2DF7J.js";
|
|
31
31
|
import "./chunk-SWYMCHM7.js";
|
|
32
32
|
import "./chunk-44HACRCK.js";
|
|
33
33
|
import "./chunk-DCDL3GC4.js";
|
|
34
34
|
import "./chunk-PACNSC37.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YLC42PIE.js";
|
|
36
|
+
import "./chunk-LEVCXTDN.js";
|
|
37
37
|
import "./chunk-OB6FBSH3.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-4F77PJBR.js";
|
|
40
40
|
import "./chunk-JZPBVBIY.js";
|
|
41
41
|
import "./chunk-5RGU3J7P.js";
|
|
42
42
|
import "./chunk-M76ECQRD.js";
|
|
@@ -5,38 +5,38 @@ import {
|
|
|
5
5
|
pickDefined,
|
|
6
6
|
printCliError,
|
|
7
7
|
resolveCliContext
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N2IX3ZYK.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QBOW6RZN.js";
|
|
13
|
+
import "./chunk-PIC6Z7VI.js";
|
|
14
|
+
import "./chunk-GVPMJPCT.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GKXS4F2I.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|
|
18
18
|
import "./chunk-XORE26Z4.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
20
|
import "./chunk-T27IEBNQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VQ4QPCKE.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-PJY5AH5A.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-OIW2RJ74.js";
|
|
25
25
|
import "./chunk-D34RI6NI.js";
|
|
26
26
|
import "./chunk-WTPC3XD4.js";
|
|
27
27
|
import "./chunk-4PWB7JRR.js";
|
|
28
28
|
import "./chunk-2MBTWINN.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-CYRMUTGB.js";
|
|
30
|
+
import "./chunk-6JH2DF7J.js";
|
|
31
31
|
import "./chunk-SWYMCHM7.js";
|
|
32
32
|
import "./chunk-44HACRCK.js";
|
|
33
33
|
import "./chunk-DCDL3GC4.js";
|
|
34
34
|
import "./chunk-PACNSC37.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YLC42PIE.js";
|
|
36
|
+
import "./chunk-LEVCXTDN.js";
|
|
37
37
|
import "./chunk-OB6FBSH3.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-4F77PJBR.js";
|
|
40
40
|
import "./chunk-JZPBVBIY.js";
|
|
41
41
|
import "./chunk-5RGU3J7P.js";
|
|
42
42
|
import "./chunk-M76ECQRD.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseFlagWithOptionalValue,
|
|
7
7
|
runCloudflareOAuthLogin,
|
|
8
8
|
upsertEnvVariable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EDWM6D6L.js";
|
|
10
10
|
import "./chunk-6HYVJV7B.js";
|
|
11
11
|
import {
|
|
12
12
|
ANTHROPIC_OAUTH_AUTHORIZE_URL,
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
startCallbackServer,
|
|
47
47
|
validateXAIEndpoint,
|
|
48
48
|
xaiOAuthDiscovery
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-EBNSAABL.js";
|
|
50
50
|
import "./chunk-WJRJDX2W.js";
|
|
51
51
|
import "./chunk-LM6IYQ3F.js";
|
|
52
52
|
import "./chunk-JBTJAPUF.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-J3LHGBNO.js";
|
|
54
54
|
import "./chunk-WTPC3XD4.js";
|
|
55
55
|
import {
|
|
56
56
|
createOAuthTokenStore
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearCliLocalRuntimePreparedAgentCache
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q243PXRU.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-PIC6Z7VI.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveCliAgentKeyInput
|
|
18
18
|
} from "./chunk-K6QEHQZ3.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NZBH7FTB.js";
|
|
9
9
|
import {
|
|
10
10
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VQ4QPCKE.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-R5Y4XELF.js";
|
|
24
24
|
import {
|
|
25
25
|
createSSEParser,
|
|
26
26
|
findToolExecutor,
|
|
27
27
|
toolDefinitionsByName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IPSPETAL.js";
|
|
29
29
|
import {
|
|
30
30
|
createToolRunId,
|
|
31
31
|
getToolResultErrorData,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
toolRunSetPending,
|
|
34
34
|
toolRunStarted,
|
|
35
35
|
toolRunSucceeded
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-CYRMUTGB.js";
|
|
37
37
|
import {
|
|
38
38
|
getPublicImageAgentMode
|
|
39
39
|
} from "./chunk-PACNSC37.js";
|
|
40
40
|
import {
|
|
41
41
|
selectCurrentSpaceId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YLC42PIE.js";
|
|
43
43
|
import {
|
|
44
44
|
addToolMessage,
|
|
45
45
|
getModelInfo,
|
|
46
46
|
messageStreamEnd,
|
|
47
47
|
messageStreaming,
|
|
48
48
|
updateToolMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-LEVCXTDN.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4F77PJBR.js";
|
|
53
53
|
import {
|
|
54
54
|
toErrorMessage
|
|
55
55
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -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-5ARVVUIK.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-6OGPS6SI.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-TIGCZUNZ.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YLC42PIE.js";
|
|
4
4
|
import {
|
|
5
5
|
require_date_fns
|
|
6
6
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
async function createDocState(args, thunkApi) {
|
|
370
|
-
const { createPageAction } = await import("./createPageAction-
|
|
370
|
+
const { createPageAction } = await import("./createPageAction-2I5PHJFF.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q243PXRU.js";
|
|
5
5
|
import {
|
|
6
6
|
runLocalAgentTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VQ4QPCKE.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CYRMUTGB.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4F77PJBR.js";
|
|
14
14
|
import {
|
|
15
15
|
toErrorMessage
|
|
16
16
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5Y4XELF.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OIW2RJ74.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YLC42PIE.js";
|
|
10
10
|
import {
|
|
11
11
|
toErrorMessage
|
|
12
12
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1621
1621
|
if (!executionInput) {
|
|
1622
1622
|
throw new Error(`ToolRun ${id} has no input to execute with.`);
|
|
1623
1623
|
}
|
|
1624
|
-
const { findToolExecutor } = await import("./tools-
|
|
1624
|
+
const { findToolExecutor } = await import("./tools-BQAOPYMR.js");
|
|
1625
1625
|
const { executor } = findToolExecutor(run.toolName);
|
|
1626
1626
|
toolRunStarted({
|
|
1627
1627
|
id: run.id,
|
|
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
|
|
|
1645
1645
|
const latestState = thunkApi.getState();
|
|
1646
1646
|
const userId = latestState.auth?.currentUser?.userId;
|
|
1647
1647
|
if (userId) {
|
|
1648
|
-
const { fetchUserSpaceMemberships } = await import("./spaceSlice-
|
|
1648
|
+
const { fetchUserSpaceMemberships } = await import("./spaceSlice-LGUZMB7Y.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VQ4QPCKE.js";
|
|
15
15
|
import {
|
|
16
16
|
createThinkParserState,
|
|
17
17
|
createToolCallAccumulator,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
requiresBareImageUrl,
|
|
24
24
|
toBareImageUrlMessages
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OIW2RJ74.js";
|
|
26
26
|
import {
|
|
27
27
|
shouldStripReasoningContentForOutbound,
|
|
28
28
|
toOpenAiCompatibleMessages
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
buildNoloWorkspaceCommandArgs,
|
|
40
40
|
noloStringArg,
|
|
41
41
|
parseNoloWorkspaceToolArguments
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CYRMUTGB.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2HQ4OG6N.js";
|
|
21
21
|
import {
|
|
22
22
|
getUserDataItemTimestamp,
|
|
23
23
|
mergeAndDedupUserData
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
resolveNoloDialogInput,
|
|
44
44
|
toolRunUpdated,
|
|
45
45
|
verifyNoloDialogSubjectRefQuery
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-CYRMUTGB.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-6JH2DF7J.js";
|
|
50
50
|
import {
|
|
51
51
|
setDialogExtraReferencesAction
|
|
52
52
|
} from "./chunk-43EPBPZ2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
} from "./chunk-44HACRCK.js";
|
|
70
70
|
import {
|
|
71
71
|
createDialogAction
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-T4X4GCYT.js";
|
|
73
73
|
import {
|
|
74
74
|
markdownToSlate
|
|
75
75
|
} from "./chunk-3LY4F7SV.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
selectCurrentSpaceId,
|
|
90
90
|
updateContentCategory,
|
|
91
91
|
updateContentTitle
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-YLC42PIE.js";
|
|
93
93
|
import {
|
|
94
94
|
buildDatabaseFileContentUrl,
|
|
95
95
|
incrementFailedSteps,
|
|
@@ -104,13 +104,13 @@ import {
|
|
|
104
104
|
uiAskChoiceFunc,
|
|
105
105
|
uiAskChoiceFunctionSchema,
|
|
106
106
|
updateStep
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-LEVCXTDN.js";
|
|
108
108
|
import {
|
|
109
109
|
createAgent,
|
|
110
110
|
runLlm,
|
|
111
111
|
streamAgentChatTurn,
|
|
112
112
|
updateAgent
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-4F77PJBR.js";
|
|
114
114
|
import {
|
|
115
115
|
toErrorMessage
|
|
116
116
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -13920,7 +13920,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13920
13920
|
const deletedDialogIds = [];
|
|
13921
13921
|
const deletedDialogKeys = [];
|
|
13922
13922
|
const failures = [];
|
|
13923
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13923
|
+
const { deleteDialog } = await import("./dialogSlice-EKKVFKBJ.js");
|
|
13924
13924
|
for (const target of targets) {
|
|
13925
13925
|
try {
|
|
13926
13926
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -25670,7 +25670,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25670
25670
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25671
25671
|
};
|
|
25672
25672
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25673
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25673
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-V7EJS4PX.js");
|
|
25674
25674
|
if (getDocState().pageKey === id) {
|
|
25675
25675
|
applyExternalDocUpdate({
|
|
25676
25676
|
slateData: finalSlateData,
|
|
@@ -15,11 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-G3SUCT4W.js";
|
|
16
16
|
|
|
17
17
|
// packages/agent-runtime/antigravityOAuth.ts
|
|
18
|
-
var decodeBase64 = (s) =>
|
|
19
|
-
const binary = atob(s);
|
|
20
|
-
const bytes = Uint8Array.from(binary, (c) => c.charCodeAt(0));
|
|
21
|
-
return new TextDecoder("utf-8").decode(bytes);
|
|
22
|
-
};
|
|
18
|
+
var decodeBase64 = (s) => typeof Buffer !== "undefined" ? Buffer.from(s, "base64").toString("utf8") : typeof atob === "function" ? atob(s) : s;
|
|
23
19
|
var ANTIGRAVITY_CLIENT_ID = decodeBase64(
|
|
24
20
|
"MTA3MTAwNjA2MDU5MS10bWhzc2luMmgyMWxjcmUyMzV2dG9sb2poNGc0MDNlcC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbQ=="
|
|
25
21
|
);
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-ATK5WJOA.js";
|
|
8
8
|
import {
|
|
9
9
|
runLlm
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4F77PJBR.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveDialogAgentId,
|
|
13
13
|
getDialogAgentIds,
|
|
@@ -4003,7 +4003,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
4003
4003
|
runtimeOptions: args.runtimeOptions
|
|
4004
4004
|
});
|
|
4005
4005
|
if (agentKeyToUse) {
|
|
4006
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
4006
|
+
const { streamAgentChatTurn } = await import("./agentSlice-6IQRQZX3.js");
|
|
4007
4007
|
await dispatch(
|
|
4008
4008
|
streamAgentChatTurn({
|
|
4009
4009
|
agentKey: agentKeyToUse,
|
|
@@ -5270,7 +5270,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
5270
5270
|
}
|
|
5271
5271
|
if (isCurrentDialog) {
|
|
5272
5272
|
await thunkApi.dispatch(resetMsgs());
|
|
5273
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
5273
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-EKKVFKBJ.js");
|
|
5274
5274
|
dispatch(clearPendingAttachments2());
|
|
5275
5275
|
clearWorkflow();
|
|
5276
5276
|
}
|
|
@@ -5279,15 +5279,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
5279
5279
|
|
|
5280
5280
|
// packages/chat/dialog/dialogSlice.ts
|
|
5281
5281
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
5282
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
5282
|
+
const { createDialogAction } = await import("./createDialogAction-OUIRWYZP.js");
|
|
5283
5283
|
return createDialogAction(args, thunkApi);
|
|
5284
5284
|
};
|
|
5285
5285
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
5286
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
5286
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-EYNYY2LB.js");
|
|
5287
5287
|
return createAgentAutomationAction(args, thunkApi);
|
|
5288
5288
|
};
|
|
5289
5289
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
5290
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
5290
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-E6HMEDPH.js");
|
|
5291
5291
|
return updateDialogTitleAction(args, thunkApi);
|
|
5292
5292
|
};
|
|
5293
5293
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -5311,7 +5311,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
5311
5311
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
5312
5312
|
};
|
|
5313
5313
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
5314
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
5314
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-KCF7KII4.js");
|
|
5315
5315
|
return handleSendMessageAction(args, thunkApi);
|
|
5316
5316
|
};
|
|
5317
5317
|
function clearDialogState() {
|
|
@@ -5324,7 +5324,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
5324
5324
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
5325
5325
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
5326
5326
|
try {
|
|
5327
|
-
const { createDocState } = await import("./docStore-
|
|
5327
|
+
const { createDocState } = await import("./docStore-V7EJS4PX.js");
|
|
5328
5328
|
const pageKey = await createDocState(
|
|
5329
5329
|
{ slateData, title },
|
|
5330
5330
|
{ dispatch, getState }
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CYRMUTGB.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-LEVCXTDN.js";
|
|
18
18
|
import {
|
|
19
19
|
createSpaceKey
|
|
20
20
|
} from "./chunk-V54H24CQ.js";
|