nolo-cli 0.32.0-alpha.3 → 0.32.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-RFUJE2A5.js → _executeModel-YXHDCXHF.js} +14 -14
- package/{agentDeleteCommand-34SKM5CL.js → agentDeleteCommand-QWWT4EBM.js} +11 -11
- package/{agentEmailCommands-Q5C7OLDC.js → agentEmailCommands-T2WV6M3L.js} +16 -16
- package/{agentListCommands-E27SBMG7.js → agentListCommands-SQLSBSZX.js} +13 -13
- package/{agentMachineCommands-XRPPMOSY.js → agentMachineCommands-O7MZVQEL.js} +11 -11
- package/{agentRecordCommands-F7XUEVND.js → agentRecordCommands-GFPAXOW5.js} +16 -16
- package/{agentRunCommand-2V6EYTS2.js → agentRunCommand-IXI7BKCG.js} +16 -16
- package/{agentRuntimeLocal-PR2C7H4G.js → agentRuntimeLocal-JPSR5BZ5.js} +8 -8
- package/{agentSlice-HT4WEFRU.js → agentSlice-QYJQOUVC.js} +1 -1
- package/{appDeleteCommands-G3WATM3K.js → appDeleteCommands-ZQLZ4R54.js} +12 -12
- package/{appDeployCommands-EO5O3NQ2.js → appDeployCommands-A5ISQH7L.js} +12 -12
- package/{appDeployStatusCommands-XBCSP2HA.js → appDeployStatusCommands-PVIPXEJZ.js} +12 -12
- package/{appGetCommands-6HQ25LHC.js → appGetCommands-CTMVFLQF.js} +12 -12
- package/{appListCommands-MDXMPGJA.js → appListCommands-WXIHMKQQ.js} +12 -12
- package/{chunk-SY44GVTB.js → chunk-2DQTFBJX.js} +1 -1
- package/{chunk-TL2VV5SA.js → chunk-2VOSL35C.js} +1 -1
- package/{chunk-SLKZRBXW.js → chunk-33COESA5.js} +3 -3
- package/{chunk-64AO7GSK.js → chunk-3GX5X3X3.js} +4 -4
- package/{chunk-34WGLLZZ.js → chunk-6AD7WQOJ.js} +2 -2
- package/{chunk-OKU7XK5H.js → chunk-6VCKAMSL.js} +3 -3
- package/{chunk-GGLUHWYT.js → chunk-7MTP4AIU.js} +3 -3
- package/{chunk-VCXRX2QZ.js → chunk-7WEUX3P3.js} +2 -2
- package/{chunk-FSCVSPRB.js → chunk-7YQOB4DH.js} +7 -7
- package/{chunk-XIFEGADA.js → chunk-C3POSH7K.js} +2 -2
- package/{chunk-N3ZLWXRZ.js → chunk-CBVEM475.js} +5 -5
- package/{chunk-LFHGLQPB.js → chunk-CHHN4XWM.js} +2 -2
- package/{chunk-CRV6C3JQ.js → chunk-GVNRF276.js} +2 -2
- package/{chunk-MQUI5TJZ.js → chunk-IRZBFTQA.js} +1 -1
- package/{chunk-AZV2T3TT.js → chunk-MQFSFU3Y.js} +1 -1
- package/{chunk-6HJGP4TT.js → chunk-MW4IK7L4.js} +6 -6
- package/{chunk-NKZVCZ7T.js → chunk-NM3AVNMH.js} +1 -1
- package/{chunk-A4ETSHJ2.js → chunk-NSXTWXGH.js} +8 -8
- package/{chunk-2AARN3B7.js → chunk-NYBNI5MY.js} +9 -9
- package/{chunk-2T7LXLYV.js → chunk-OF5JK63U.js} +1 -1
- package/{chunk-5TP7AYVO.js → chunk-POMSDOTR.js} +1 -1
- package/{chunk-D63T6MFC.js → chunk-RMOJVZWX.js} +8 -8
- package/{chunk-ZWMEEGOH.js → chunk-RPHGRXQM.js} +3 -3
- package/{chunk-EETPLJZ7.js → chunk-VMRGMPNM.js} +2 -2
- package/{chunk-D5U6VHK6.js → chunk-WI7I7UKC.js} +5 -5
- package/{chunk-QGX5SVO3.js → chunk-Y7WMYFED.js} +78 -38
- package/{createAgentAutomationAction-ZWFUK5E3.js → createAgentAutomationAction-5I6ZMYIA.js} +3 -3
- package/{createDialogAction-IZA32YRX.js → createDialogAction-WXVKBBRV.js} +4 -4
- package/{createPageAction-RP2LDVBH.js → createPageAction-M75JWNUP.js} +3 -3
- package/{dialogCommands-JW2TTV25.js → dialogCommands-7QDRPPWW.js} +12 -12
- package/{dialogSlice-PM4ARDK7.js → dialogSlice-WDIOJW3W.js} +2 -2
- package/{docCreateCommands-EVEGBNBL.js → docCreateCommands-XU72LHUF.js} +11 -11
- package/{docDeleteCommands-OTTYZ2XR.js → docDeleteCommands-EUN6IJ6O.js} +12 -12
- package/{docReadCommands-T7HIEBSJ.js → docReadCommands-LKE4DVQI.js} +11 -11
- package/{docStore-WSZQG737.js → docStore-BDOACT3C.js} +4 -4
- package/{docUpdateCommands-42663Z44.js → docUpdateCommands-SL6IUM52.js} +11 -11
- package/{handleSendMessageAction-JLNB77SU.js → handleSendMessageAction-OUQ5QCMS.js} +2 -2
- package/index.js +40 -40
- package/{machineCommands-CEJKIIQ6.js → machineCommands-UUW4ZBMZ.js} +15 -15
- package/{machineWsRunDispatch-HGJVE6RX.js → machineWsRunDispatch-HGYZ47ND.js} +15 -15
- package/package.json +1 -1
- package/{readlineWorkspace-5N57NTIA.js → readlineWorkspace-IHXWZCWS.js} +19 -19
- package/{runAgentClientLoop-AW3DWXTZ.js → runAgentClientLoop-TBZZWCN6.js} +11 -11
- package/{spaceCommands-GBKES6AN.js → spaceCommands-B6SAUSGD.js} +11 -11
- package/{spaceSlice-CL2343PC.js → spaceSlice-Q6IMD5NX.js} +3 -3
- package/{streamAgentChatTurn-4OQ4TJ34.js → streamAgentChatTurn-X4LGYPQX.js} +13 -13
- package/{tools-SOHNL2RI.js → tools-44PI5ZON.js} +8 -8
- package/{updateDialogTitleAction-FS4HU2EV.js → updateDialogTitleAction-HOYHEVOU.js} +3 -3
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-POMSDOTR.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-NM3AVNMH.js";
|
|
12
|
+
import "./chunk-2VOSL35C.js";
|
|
13
|
+
import "./chunk-2DQTFBJX.js";
|
|
14
14
|
import "./chunk-K6QEHQZ3.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-33COESA5.js";
|
|
16
16
|
import "./chunk-ZNFJWEN4.js";
|
|
17
17
|
import "./chunk-7S54ZGF6.js";
|
|
18
18
|
import "./chunk-OIQPORYI.js";
|
|
19
19
|
import "./chunk-T27IEBNQ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-WI7I7UKC.js";
|
|
21
21
|
import "./chunk-N7J63Q6C.js";
|
|
22
22
|
import "./chunk-DOISARTV.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-MW4IK7L4.js";
|
|
24
24
|
import "./chunk-D34RI6NI.js";
|
|
25
25
|
import "./chunk-UDA3ZYLW.js";
|
|
26
26
|
import "./chunk-XFG3BAKN.js";
|
|
27
27
|
import "./chunk-2MBTWINN.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-RPHGRXQM.js";
|
|
29
|
+
import "./chunk-6AD7WQOJ.js";
|
|
30
30
|
import "./chunk-SWYMCHM7.js";
|
|
31
31
|
import "./chunk-44HACRCK.js";
|
|
32
32
|
import "./chunk-DCDL3GC4.js";
|
|
33
33
|
import "./chunk-E3APEOIM.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-GVNRF276.js";
|
|
35
|
+
import "./chunk-Y7WMYFED.js";
|
|
36
36
|
import "./chunk-BGTUGS3T.js";
|
|
37
37
|
import "./chunk-ATK5WJOA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-7MTP4AIU.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-POMSDOTR.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NM3AVNMH.js";
|
|
13
|
+
import "./chunk-2VOSL35C.js";
|
|
14
|
+
import "./chunk-2DQTFBJX.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-33COESA5.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|
|
18
18
|
import "./chunk-7S54ZGF6.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
20
|
import "./chunk-T27IEBNQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-WI7I7UKC.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-DOISARTV.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MW4IK7L4.js";
|
|
25
25
|
import "./chunk-D34RI6NI.js";
|
|
26
26
|
import "./chunk-UDA3ZYLW.js";
|
|
27
27
|
import "./chunk-XFG3BAKN.js";
|
|
28
28
|
import "./chunk-2MBTWINN.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-RPHGRXQM.js";
|
|
30
|
+
import "./chunk-6AD7WQOJ.js";
|
|
31
31
|
import "./chunk-SWYMCHM7.js";
|
|
32
32
|
import "./chunk-44HACRCK.js";
|
|
33
33
|
import "./chunk-DCDL3GC4.js";
|
|
34
34
|
import "./chunk-E3APEOIM.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-GVNRF276.js";
|
|
36
|
+
import "./chunk-Y7WMYFED.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-7MTP4AIU.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-POMSDOTR.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-NM3AVNMH.js";
|
|
13
|
+
import "./chunk-2VOSL35C.js";
|
|
14
|
+
import "./chunk-2DQTFBJX.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-33COESA5.js";
|
|
17
17
|
import "./chunk-ZNFJWEN4.js";
|
|
18
18
|
import "./chunk-7S54ZGF6.js";
|
|
19
19
|
import "./chunk-OIQPORYI.js";
|
|
20
20
|
import "./chunk-T27IEBNQ.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-WI7I7UKC.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-DOISARTV.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MW4IK7L4.js";
|
|
25
25
|
import "./chunk-D34RI6NI.js";
|
|
26
26
|
import "./chunk-UDA3ZYLW.js";
|
|
27
27
|
import "./chunk-XFG3BAKN.js";
|
|
28
28
|
import "./chunk-2MBTWINN.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-RPHGRXQM.js";
|
|
30
|
+
import "./chunk-6AD7WQOJ.js";
|
|
31
31
|
import "./chunk-SWYMCHM7.js";
|
|
32
32
|
import "./chunk-44HACRCK.js";
|
|
33
33
|
import "./chunk-DCDL3GC4.js";
|
|
34
34
|
import "./chunk-E3APEOIM.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-GVNRF276.js";
|
|
36
|
+
import "./chunk-Y7WMYFED.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-7MTP4AIU.js";
|
|
40
40
|
import "./chunk-JZPBVBIY.js";
|
|
41
41
|
import "./chunk-5RGU3J7P.js";
|
|
42
42
|
import "./chunk-M76ECQRD.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
parseToolArgumentsJson,
|
|
13
13
|
resolveHistoricalToolContentCap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WI7I7UKC.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-MW4IK7L4.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-RPHGRXQM.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NSXTWXGH.js";
|
|
5
5
|
import {
|
|
6
6
|
runLocalAgentTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WI7I7UKC.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RPHGRXQM.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7MTP4AIU.js";
|
|
14
14
|
import {
|
|
15
15
|
toErrorMessage
|
|
16
16
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GVNRF276.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-M75JWNUP.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OF5JK63U.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2VOSL35C.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IRZBFTQA.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -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-YXHDCXHF.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-TBZZWCN6.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-X4LGYPQX.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-DCDL3GC4.js";
|
|
4
4
|
import {
|
|
5
5
|
addContentToSpace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GVNRF276.js";
|
|
7
7
|
import {
|
|
8
8
|
prepareAndPersistMessage,
|
|
9
9
|
uiAskChoiceFunc,
|
|
10
10
|
uiAskChoiceFunctionSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y7WMYFED.js";
|
|
12
12
|
import {
|
|
13
13
|
require_date_fns
|
|
14
14
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
parseAgentRunEvent,
|
|
20
20
|
t,
|
|
21
21
|
toolLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NSXTWXGH.js";
|
|
23
23
|
import {
|
|
24
24
|
createRunActivityTracker,
|
|
25
25
|
finalizeRunRecord,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
normalizeAgentHandle,
|
|
39
39
|
readDbRecord,
|
|
40
40
|
resolveAgentRecordFromHybridStore
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2VOSL35C.js";
|
|
42
42
|
import {
|
|
43
43
|
NOLO_PROJECT_MANAGER_AGENT_KEY,
|
|
44
44
|
isLocalCliAgentKey
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
LOCAL_TURN_ABORTED_CODE,
|
|
59
59
|
readActionGate,
|
|
60
60
|
readCommandActionGatePayload
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WI7I7UKC.js";
|
|
62
62
|
import {
|
|
63
63
|
createThinkParserState,
|
|
64
64
|
flushThinkParser,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
} from "./chunk-UDA3ZYLW.js";
|
|
77
77
|
import {
|
|
78
78
|
formatAgentListCard
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NYBNI5MY.js";
|
|
80
80
|
import {
|
|
81
81
|
isGatewayHttpStatus
|
|
82
82
|
} from "./chunk-Z5MXSEOJ.js";
|
|
@@ -95,14 +95,14 @@ import {
|
|
|
95
95
|
chooseMemoryOwners,
|
|
96
96
|
loadMemoryCandidatesFromDb,
|
|
97
97
|
resolveAgentMemoryPolicy
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-7WEUX3P3.js";
|
|
99
99
|
import {
|
|
100
100
|
API_REPORTED_COST_MULTIPLIER,
|
|
101
101
|
DEFAULT_CONTEXT_WINDOW,
|
|
102
102
|
getModelContextWindow,
|
|
103
103
|
normalizeUsage,
|
|
104
104
|
parseUiAskChoiceContent
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-Y7WMYFED.js";
|
|
106
106
|
import {
|
|
107
107
|
clipCompactText
|
|
108
108
|
} from "./chunk-BGTUGS3T.js";
|
|
@@ -3538,7 +3538,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
|
|
|
3538
3538
|
// packages/cli/client/agentRun.ts
|
|
3539
3539
|
import { ulid } from "ulid";
|
|
3540
3540
|
async function loadRunLocalAgentTurn() {
|
|
3541
|
-
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-
|
|
3541
|
+
const { runLocalAgentTurn } = await import("./agentRuntimeLocal-JPSR5BZ5.js");
|
|
3542
3542
|
return runLocalAgentTurn;
|
|
3543
3543
|
}
|
|
3544
3544
|
async function resolveCurrentMachineId(options) {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OF5JK63U.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y7WMYFED.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
requiresBareImageUrl,
|
|
10
10
|
resolveToolGuidedSections,
|
|
11
11
|
toBareImageUrlMessages
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MW4IK7L4.js";
|
|
13
13
|
import {
|
|
14
14
|
convertMessagesToResponsesInput,
|
|
15
15
|
preserveAgentStateFields
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-XFG3BAKN.js";
|
|
27
27
|
import {
|
|
28
28
|
waitForAbortableDelay
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NYBNI5MY.js";
|
|
30
30
|
import {
|
|
31
31
|
createDrainExhaustedResponse,
|
|
32
32
|
isCoreDrainingBody,
|
|
@@ -36,17 +36,17 @@ import {
|
|
|
36
36
|
} from "./chunk-Z5MXSEOJ.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveBuiltinSkillPage
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RPHGRXQM.js";
|
|
40
40
|
import {
|
|
41
41
|
shouldUseServerProxy
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Y7WMYFED.js";
|
|
43
43
|
import {
|
|
44
44
|
estimateTokenCount
|
|
45
45
|
} from "./chunk-BGTUGS3T.js";
|
|
46
46
|
import {
|
|
47
47
|
createFileCredentialBroker,
|
|
48
48
|
fetchServerSyncedCredential
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-7MTP4AIU.js";
|
|
50
50
|
import {
|
|
51
51
|
toErrorMessage
|
|
52
52
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveReferenceAssets
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CBVEM475.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchReferenceContents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MW4IK7L4.js";
|
|
7
7
|
|
|
8
8
|
// packages/ai/agent/fetchAgentContexts.ts
|
|
9
9
|
async function fetchAgentContexts(references, dispatch) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deleteDialog,
|
|
3
3
|
toast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y7WMYFED.js";
|
|
5
5
|
import {
|
|
6
6
|
createFileCredentialBroker,
|
|
7
7
|
deleteServerSyncedCredential
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7MTP4AIU.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RPHGRXQM.js";
|
|
11
11
|
import {
|
|
12
12
|
slateToSimplifiedMarkdown
|
|
13
13
|
} from "./chunk-SWYMCHM7.js";
|
|
14
14
|
import {
|
|
15
15
|
fetchAndCacheMessages
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Y7WMYFED.js";
|
|
17
17
|
import {
|
|
18
18
|
estimateTokenCount
|
|
19
19
|
} from "./chunk-BGTUGS3T.js";
|
|
@@ -636,10 +636,10 @@ var AGENT_ORCHESTRATION_RUN_INSTRUCTIONS = `--- \u591A Agent \u7F16\u6392\uFF08\
|
|
|
636
636
|
var AGENT_COLLABORATION_INSTRUCTIONS = `--- \u591A Agent \u534F\u4F5C\uFF08\u8BA1\u5212 \u2192 \u6309\u9700\u6D3E\u53D1 \u2192 \u5BA1\u67E5\uFF09 ---
|
|
637
637
|
\u7F16\u6392\u4E0D\u662F\u76EE\u7684\uFF0C\u4EA7\u51FA\u624D\u662F\u3002**\u6309\u590D\u6742\u5EA6\u5206\u6863\u51B3\u5B9A\u8C01\u6765\u505A**\uFF0C\u65E2\u4E0D\u4E3A\u300C\u51D1\u6570\u91CF\u300D\u6D3E\u53D1\uFF0C\u4E5F\u4E0D\u56E0\u4E3A\u81EA\u5DF1\u987A\u624B\u5C31\u5305\u529E\u672C\u8BE5\u5E76\u884C\u7684\u72EC\u7ACB\u9886\u57DF\u3002\u6BCF\u8F6E\u53EA\u63A8\u8FDB\u5F53\u524D\u6700\u6709\u4EF7\u503C\u7684\u52A8\u4F5C\uFF0C\u62FF\u5230\u7ED3\u679C\u548C\u8BC1\u636E\u518D\u5224\u65AD\u4E0B\u4E00\u6B65\u3002
|
|
638
638
|
|
|
639
|
-
**\u5206\u6863\u6807\u51C6\uFF08\
|
|
640
|
-
- \u7B80\u5355\uFF1A\
|
|
641
|
-
- \u4E2D\u7B49\uFF1A\
|
|
642
|
-
- \u590D\u6742\uFF1A\u8DE8 3 \u4E2A\u4EE5\u4E0A\u72EC\u7ACB\u9886\u57DF\uFF0C\u6216\u542B\u4ED3\u5E93\u6539\u52A8\uFF0B\u9A8C\u8BC1\uFF0B\u53D1\u5E03/\u8FC1\u79FB\u7684\u957F\u94FE\u8DEF \u2192 \u5148\
|
|
639
|
+
**\u5206\u6863\u6807\u51C6\uFF08\u6309\u903B\u8F91\u6B65\u9AA4\u6570\u548C\u89E6\u53CA\u6587\u4EF6\u6570\uFF0C\u9886\u57DF\u6570\u4EC5\u4F5C\u590D\u6742\u6863\u8F85\u52A9\u5224\u636E\uFF09**\uFF1A
|
|
640
|
+
- \u7B80\u5355\uFF1A\u903B\u8F91\u6B65\u9AA4 <5 \u4E14\u53EA\u8BFB/\u641C/\u6539 \u22642 \u4E2A\u6587\u4EF6 \u2192 \u81EA\u5DF1\u505A\uFF0C\u4E0D\u6D3E\u53D1\u3002
|
|
641
|
+
- \u4E2D\u7B49\uFF1A\u8D85\u51FA\u7B80\u5355\u6863\u3001\u4F46\u672A\u8DE8 3 \u4E2A\u72EC\u7ACB\u9886\u57DF \u2192 \u5148\u5206\u6790\u7ED9\u65B9\u6848\uFF0C\u65B9\u6848\u8BA4\u53EF\u540E\u6D3E\u53D1\u6267\u884C\u8005\uFF08\u4F18\u5148\u4F4E\u6210\u672C\u6A21\u578B\u5982 DeepSeek Flash\uFF09\uFF1B\u81EA\u5DF1\u53EA\u505A\u89C4\u5212\u3001review\u3001\u96C6\u6210\u3002
|
|
642
|
+
- \u590D\u6742\uFF1A\u8DE8 3 \u4E2A\u4EE5\u4E0A\u72EC\u7ACB\u9886\u57DF\uFF0C\u6216\u542B\u4ED3\u5E93\u6539\u52A8\uFF0B\u9A8C\u8BC1\uFF0B\u53D1\u5E03/\u8FC1\u79FB\u7684\u957F\u94FE\u8DEF \u2192 \u5148\u4E0E\u5019\u9009 agent \u8BA8\u8BBA\u8FBE\u6210\u4E00\u81F4\uFF0C\u518D\u6309\u9886\u57DF\u62C6\u5206\u6D3E\u53D1\uFF1B\u6B64\u6863\u9ED8\u8BA4\u81F3\u5C11\u6D3E 2 \u4E2A\u72EC\u7ACB\u5B50\u4EFB\u52A1\u6216\u5BA1\u8BA1\uFF0C\u82E5\u9009\u62E9\u4E0D\u6D3E\uFF0C\u5FC5\u987B\u5728\u8BA1\u5212\u91CC\u5199\u660E\u6210\u672C/\u6536\u76CA\u7406\u7531\u3002
|
|
643
643
|
|
|
644
644
|
**\u62C6\u5206\u539F\u5219**\uFF1A
|
|
645
645
|
- \u6309\u72EC\u7ACB\u9886\u57DF\u62C6\uFF0C\u4E0D\u6309\u6587\u4EF6\u6570\u91CF\u62C6\uFF1A\u67B6\u6784/\u540E\u7AEF\u3001\u524D\u7AEF\u3001\u6D4B\u8BD5\u3001\u6587\u6863/\u8FC1\u79FB\u3001\u53D1\u5E03/\u5B89\u5168\u5404\u81EA\u72EC\u7ACB\u65F6\u53EF\u5E76\u884C\u3002
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-Q3CSL43H.js";
|
|
28
28
|
import {
|
|
29
29
|
buildLocalAgentLookupKeys
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2DQTFBJX.js";
|
|
31
31
|
import {
|
|
32
32
|
LOCAL_CODEX_AGENT_ID,
|
|
33
33
|
LOCAL_CODEX_AGENT_KEY,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
readOpenAiCompatibleSseCompletion,
|
|
55
55
|
resolveAgentNextAvailableAt,
|
|
56
56
|
resolveOpenAiCompatibleProviderConfig
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-33COESA5.js";
|
|
58
58
|
import {
|
|
59
59
|
buildPlatformChatCompletionRequest,
|
|
60
60
|
canUsePlatformChatProvider,
|
|
@@ -74,12 +74,12 @@ import {
|
|
|
74
74
|
import {
|
|
75
75
|
inlineImageUrlsForCustomProvider,
|
|
76
76
|
prepareTools
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-MQFSFU3Y.js";
|
|
78
78
|
import {
|
|
79
79
|
inferCaptureIntent,
|
|
80
80
|
resolveHistoricalToolContentCap,
|
|
81
81
|
summarizeToolArguments
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-WI7I7UKC.js";
|
|
83
83
|
import {
|
|
84
84
|
getAntigravityUserAgent,
|
|
85
85
|
isAntigravityOAuthAgent,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
readXhsProfileFunctionSchema,
|
|
105
105
|
rememberMemoryFunctionSchema,
|
|
106
106
|
setTodoListFunc
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-NYBNI5MY.js";
|
|
108
108
|
import {
|
|
109
109
|
createDrainExhaustedResponse,
|
|
110
110
|
isCoreDrainingBody,
|
|
@@ -128,13 +128,13 @@ import {
|
|
|
128
128
|
parseNoloWorkspaceToolArguments,
|
|
129
129
|
resolveAgentRequiredPackIds,
|
|
130
130
|
resolveRuntimeToolSurfaceForAgent
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-RPHGRXQM.js";
|
|
132
132
|
import {
|
|
133
133
|
applyTokenUsageToDayStats,
|
|
134
134
|
prepareTokenUsageData,
|
|
135
135
|
resolveBuiltinPlatformAgentConfig,
|
|
136
136
|
runKeyed
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-Y7WMYFED.js";
|
|
138
138
|
import {
|
|
139
139
|
BUILTIN_TITLE_LLM_CONFIG,
|
|
140
140
|
clipCompactText
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
resolveCurrentRunRuntimeToolPolicy,
|
|
146
146
|
resolveLocalWorkspaceExecutorOptionsFromPolicy,
|
|
147
147
|
resolveRequestedRuntimeToolNames
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-7MTP4AIU.js";
|
|
149
149
|
import {
|
|
150
150
|
createOAuthTokenStore,
|
|
151
151
|
isTokenExpired,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IRZBFTQA.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-RPHGRXQM.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-6AD7WQOJ.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-7WEUX3P3.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-GVNRF276.js";
|
|
93
93
|
import {
|
|
94
94
|
incrementFailedSteps,
|
|
95
95
|
incrementStepsExecuted,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
uiAskChoiceFunc,
|
|
104
104
|
uiAskChoiceFunctionSchema,
|
|
105
105
|
updateStep
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-Y7WMYFED.js";
|
|
107
107
|
import {
|
|
108
108
|
buildDatabaseFileContentUrl
|
|
109
109
|
} from "./chunk-BGTUGS3T.js";
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
runLlm,
|
|
113
113
|
streamAgentChatTurn,
|
|
114
114
|
updateAgent
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-7MTP4AIU.js";
|
|
116
116
|
import {
|
|
117
117
|
toErrorMessage
|
|
118
118
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -13929,7 +13929,7 @@ async function deleteDialogsFunc(args, thunkApi) {
|
|
|
13929
13929
|
const deletedDialogIds = [];
|
|
13930
13930
|
const deletedDialogKeys = [];
|
|
13931
13931
|
const failures = [];
|
|
13932
|
-
const { deleteDialog } = await import("./dialogSlice-
|
|
13932
|
+
const { deleteDialog } = await import("./dialogSlice-WDIOJW3W.js");
|
|
13933
13933
|
for (const target of targets) {
|
|
13934
13934
|
try {
|
|
13935
13935
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -25684,7 +25684,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25684
25684
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25685
25685
|
};
|
|
25686
25686
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25687
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25687
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-BDOACT3C.js");
|
|
25688
25688
|
if (getDocState().pageKey === id) {
|
|
25689
25689
|
applyExternalDocUpdate({
|
|
25690
25690
|
slateData: finalSlateData,
|