nolo-cli 0.31.0-alpha.5 → 0.31.0-alpha.7
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-SEGAJNR2.js → _executeModel-LTMSIBS4.js} +14 -14
- package/{agentDeleteCommand-YGVAEVVI.js → agentDeleteCommand-YG2E4GEO.js} +11 -11
- package/{agentEmailCommands-L6KS5J56.js → agentEmailCommands-GA6XIW47.js} +16 -16
- package/{agentListCommands-4BO6W2PV.js → agentListCommands-Z2APZJVD.js} +13 -13
- package/{agentMachineCommands-KLUHWTPN.js → agentMachineCommands-EPSFJASS.js} +11 -11
- package/{agentRecordCommands-DPSYTYEX.js → agentRecordCommands-2M6NJOAO.js} +16 -16
- package/{agentRunCommand-EN3FJGUJ.js → agentRunCommand-NWZOXX5R.js} +16 -16
- package/{agentRuntimeLocal-MMOA545S.js → agentRuntimeLocal-ATGJY6WC.js} +8 -8
- package/{agentSlice-BNK4DGQG.js → agentSlice-4XWW344Y.js} +1 -1
- package/{appDeleteCommands-MK2TCFUU.js → appDeleteCommands-63JO7RXS.js} +12 -12
- package/{appDeployCommands-LKRC7BX4.js → appDeployCommands-Y7EWYUGM.js} +12 -12
- package/{appDeployStatusCommands-MECARE5I.js → appDeployStatusCommands-ZBEY3DWB.js} +12 -12
- package/{appGetCommands-MMVERNGL.js → appGetCommands-QSSOSEYL.js} +12 -12
- package/{appListCommands-KCBDINSP.js → appListCommands-PH3XWNDX.js} +12 -12
- package/{chunk-QW5EO6BC.js → chunk-2OUJC7YP.js} +4 -4
- package/{chunk-3G554VV4.js → chunk-3FCNXC2J.js} +2 -2
- package/{chunk-RD2ECFE7.js → chunk-3GZT3L6F.js} +8 -8
- package/{chunk-J74Z47CW.js → chunk-3UGKATZQ.js} +2 -2
- package/{chunk-GZO4J357.js → chunk-45X23W6O.js} +78 -45
- package/{chunk-U3DG2NKO.js → chunk-AYMOSAHE.js} +5 -5
- package/{chunk-K2MJX52U.js → chunk-D2BPX6DQ.js} +3 -3
- package/{chunk-RAWBBQ7M.js → chunk-DLWCWUNW.js} +3 -3
- package/{chunk-2PRRWKTJ.js → chunk-EEF23OOK.js} +2 -2
- package/{chunk-66ME42CF.js → chunk-LABJBLQQ.js} +8 -8
- package/{chunk-DKAQLJ3K.js → chunk-MITD7CON.js} +17 -12
- package/{chunk-3A737V2X.js → chunk-O3JR45Q2.js} +8 -8
- package/{chunk-FAW6OZBW.js → chunk-O5OMJPPF.js} +3 -3
- package/{chunk-AMIG5DMJ.js → chunk-ODS2MVMU.js} +3 -3
- package/{chunk-TXK24L5E.js → chunk-OWHNFZNW.js} +1 -1
- package/{chunk-3X7QWLPD.js → chunk-Q76I4SXI.js} +1 -1
- package/{chunk-V7WUD7WT.js → chunk-RH53LMEJ.js} +2 -2
- package/{chunk-Z3WIOKQW.js → chunk-RXVX5LFR.js} +1 -1
- package/{chunk-QAEO34TT.js → chunk-TA6EA2A3.js} +2 -2
- package/{chunk-6X4CXCJP.js → chunk-TEYN42N3.js} +1 -1
- package/{chunk-AMH4DSXS.js → chunk-UOJRKY5J.js} +2 -2
- package/{chunk-ZW2Q62WQ.js → chunk-V42OE5HT.js} +1 -1
- package/{chunk-WUIVDYFH.js → chunk-VQLXUSS3.js} +2 -2
- package/{chunk-AZ3BDNZ4.js → chunk-VVEH6XUE.js} +1 -1
- package/{chunk-MBIKOMSZ.js → chunk-W367V5CH.js} +5 -5
- package/{chunk-4TSGHE7W.js → chunk-XDHHF73Q.js} +1 -1
- package/{createAgentAutomationAction-BNDR4TAE.js → createAgentAutomationAction-WLRNE7C4.js} +3 -3
- package/{createDialogAction-XOJY2EIN.js → createDialogAction-Y6YV64QB.js} +4 -4
- package/{createPageAction-5GYITEIJ.js → createPageAction-7YROVZ3W.js} +3 -3
- package/{dialogCommands-ROGMBRFO.js → dialogCommands-XLO5CAHZ.js} +12 -12
- package/{dialogSlice-RJAZFHBY.js → dialogSlice-N4HPG6HM.js} +2 -2
- package/{docCreateCommands-J7LZ5HD6.js → docCreateCommands-GRA5BHSA.js} +11 -11
- package/{docDeleteCommands-3P3LN5CE.js → docDeleteCommands-ONIJM5MD.js} +12 -12
- package/{docReadCommands-46PUPMJY.js → docReadCommands-H55VQ2US.js} +11 -11
- package/{docStore-LEXKZB33.js → docStore-B5AHDNW5.js} +4 -4
- package/{docUpdateCommands-H7JTH3QS.js → docUpdateCommands-ZQIQVGC2.js} +11 -11
- package/{handleSendMessageAction-STJLSVEE.js → handleSendMessageAction-IN5XX5U7.js} +2 -2
- package/index.js +40 -40
- package/{machineCommands-HBLBARSP.js → machineCommands-7C3NKUAW.js} +15 -15
- package/{machineWsRunDispatch-R2JCCJTL.js → machineWsRunDispatch-RE5GJPTV.js} +15 -15
- package/package.json +1 -1
- package/{readlineWorkspace-VNRJXXTR.js → readlineWorkspace-LTSW7XNF.js} +19 -19
- package/{runAgentClientLoop-WIA5XINE.js → runAgentClientLoop-H7U53QB6.js} +11 -11
- package/{spaceCommands-FFDNENTE.js → spaceCommands-7VVKJBDV.js} +11 -11
- package/{spaceSlice-DRKRM427.js → spaceSlice-T6YK6D34.js} +3 -3
- package/{streamAgentChatTurn-ZJFSSJVE.js → streamAgentChatTurn-RQ63QFQ7.js} +13 -13
- package/{tools-PWLLC24H.js → tools-KYZX3BGO.js} +8 -8
- package/{updateDialogTitleAction-GJS3IV7T.js → updateDialogTitleAction-BBDSWHNG.js} +3 -3
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RXVX5LFR.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-OWHNFZNW.js";
|
|
12
|
+
import "./chunk-V42OE5HT.js";
|
|
13
|
+
import "./chunk-VVEH6XUE.js";
|
|
14
14
|
import "./chunk-K6QEHQZ3.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-DLWCWUNW.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-AYMOSAHE.js";
|
|
21
21
|
import "./chunk-N7J63Q6C.js";
|
|
22
22
|
import "./chunk-DOISARTV.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-3UGKATZQ.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-D2BPX6DQ.js";
|
|
29
|
+
import "./chunk-EEF23OOK.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-3FCNXC2J.js";
|
|
35
|
+
import "./chunk-3GZT3L6F.js";
|
|
36
36
|
import "./chunk-BGTUGS3T.js";
|
|
37
37
|
import "./chunk-ATK5WJOA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-ODS2MVMU.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-RXVX5LFR.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-OWHNFZNW.js";
|
|
13
|
+
import "./chunk-V42OE5HT.js";
|
|
14
|
+
import "./chunk-VVEH6XUE.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DLWCWUNW.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-AYMOSAHE.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-DOISARTV.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-3UGKATZQ.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-D2BPX6DQ.js";
|
|
30
|
+
import "./chunk-EEF23OOK.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-3FCNXC2J.js";
|
|
36
|
+
import "./chunk-3GZT3L6F.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ODS2MVMU.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-RXVX5LFR.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-OWHNFZNW.js";
|
|
13
|
+
import "./chunk-V42OE5HT.js";
|
|
14
|
+
import "./chunk-VVEH6XUE.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-DLWCWUNW.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-AYMOSAHE.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
23
|
import "./chunk-DOISARTV.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-3UGKATZQ.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-D2BPX6DQ.js";
|
|
30
|
+
import "./chunk-EEF23OOK.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-3FCNXC2J.js";
|
|
36
|
+
import "./chunk-3GZT3L6F.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ODS2MVMU.js";
|
|
40
40
|
import "./chunk-JZPBVBIY.js";
|
|
41
41
|
import "./chunk-5RGU3J7P.js";
|
|
42
42
|
import "./chunk-M76ECQRD.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCliLocalRuntimeAdapter,
|
|
3
3
|
summarizeEndpoint
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-45X23W6O.js";
|
|
5
5
|
import {
|
|
6
6
|
runLocalAgentTurn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AYMOSAHE.js";
|
|
8
8
|
import {
|
|
9
9
|
clipMultilineText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D2BPX6DQ.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveLocalRuntimeEnvFromPolicy
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ODS2MVMU.js";
|
|
14
14
|
import {
|
|
15
15
|
toErrorMessage
|
|
16
16
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deleteDialog,
|
|
3
3
|
toast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3GZT3L6F.js";
|
|
5
5
|
import {
|
|
6
6
|
createFileCredentialBroker,
|
|
7
7
|
deleteServerSyncedCredential
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ODS2MVMU.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-ATK5WJOA.js";
|
|
17
17
|
import {
|
|
18
18
|
runLlm
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ODS2MVMU.js";
|
|
20
20
|
import {
|
|
21
21
|
getActiveDialogAgentId,
|
|
22
22
|
getDialogAgentIds,
|
|
@@ -3584,7 +3584,7 @@ var messageSlice = createSliceWithThunks({
|
|
|
3584
3584
|
runtimeOptions: args.runtimeOptions
|
|
3585
3585
|
});
|
|
3586
3586
|
if (agentKeyToUse) {
|
|
3587
|
-
const { streamAgentChatTurn } = await import("./agentSlice-
|
|
3587
|
+
const { streamAgentChatTurn } = await import("./agentSlice-4XWW344Y.js");
|
|
3588
3588
|
await dispatch(
|
|
3589
3589
|
streamAgentChatTurn({
|
|
3590
3590
|
agentKey: agentKeyToUse,
|
|
@@ -4851,7 +4851,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4851
4851
|
}
|
|
4852
4852
|
if (isCurrentDialog) {
|
|
4853
4853
|
await thunkApi.dispatch(resetMsgs());
|
|
4854
|
-
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-
|
|
4854
|
+
const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-N4HPG6HM.js");
|
|
4855
4855
|
dispatch(clearPendingAttachments2());
|
|
4856
4856
|
clearWorkflow();
|
|
4857
4857
|
}
|
|
@@ -4860,15 +4860,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
|
|
|
4860
4860
|
|
|
4861
4861
|
// packages/chat/dialog/dialogSlice.ts
|
|
4862
4862
|
var runCreateDialogAction = async (args, thunkApi) => {
|
|
4863
|
-
const { createDialogAction } = await import("./createDialogAction-
|
|
4863
|
+
const { createDialogAction } = await import("./createDialogAction-Y6YV64QB.js");
|
|
4864
4864
|
return createDialogAction(args, thunkApi);
|
|
4865
4865
|
};
|
|
4866
4866
|
var runCreateAgentAutomationAction = async (args, thunkApi) => {
|
|
4867
|
-
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-
|
|
4867
|
+
const { createAgentAutomationAction } = await import("./createAgentAutomationAction-WLRNE7C4.js");
|
|
4868
4868
|
return createAgentAutomationAction(args, thunkApi);
|
|
4869
4869
|
};
|
|
4870
4870
|
var runUpdateDialogTitleAction = async (args, thunkApi) => {
|
|
4871
|
-
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-
|
|
4871
|
+
const { updateDialogTitleAction } = await import("./updateDialogTitleAction-BBDSWHNG.js");
|
|
4872
4872
|
return updateDialogTitleAction(args, thunkApi);
|
|
4873
4873
|
};
|
|
4874
4874
|
var runAddDialogAgentAction = async (args, thunkApi) => {
|
|
@@ -4892,7 +4892,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
|
|
|
4892
4892
|
return setDialogExtraReferencesAction(args, thunkApi);
|
|
4893
4893
|
};
|
|
4894
4894
|
var runHandleSendMessageAction = async (args, thunkApi) => {
|
|
4895
|
-
const { handleSendMessageAction } = await import("./handleSendMessageAction-
|
|
4895
|
+
const { handleSendMessageAction } = await import("./handleSendMessageAction-IN5XX5U7.js");
|
|
4896
4896
|
return handleSendMessageAction(args, thunkApi);
|
|
4897
4897
|
};
|
|
4898
4898
|
function clearDialogState() {
|
|
@@ -4905,7 +4905,7 @@ var createPageAndAddReference = createAsyncThunk(
|
|
|
4905
4905
|
async (payload, { dispatch, getState, rejectWithValue }) => {
|
|
4906
4906
|
const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
|
|
4907
4907
|
try {
|
|
4908
|
-
const { createDocState } = await import("./docStore-
|
|
4908
|
+
const { createDocState } = await import("./docStore-B5AHDNW5.js");
|
|
4909
4909
|
const pageKey = await createDocState(
|
|
4910
4910
|
{ slateData, title },
|
|
4911
4911
|
{ dispatch, getState }
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D2BPX6DQ.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-3GZT3L6F.js";
|
|
17
17
|
import {
|
|
18
18
|
estimateTokenCount
|
|
19
19
|
} from "./chunk-BGTUGS3T.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-WJRJDX2W.js";
|
|
28
28
|
import {
|
|
29
29
|
buildLocalAgentLookupKeys
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-VVEH6XUE.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-DLWCWUNW.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-XDHHF73Q.js";
|
|
78
78
|
import {
|
|
79
79
|
inferCaptureIntent,
|
|
80
80
|
resolveHistoricalToolContentCap,
|
|
81
81
|
summarizeToolArguments
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-AYMOSAHE.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-MITD7CON.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-D2BPX6DQ.js";
|
|
132
132
|
import {
|
|
133
133
|
applyTokenUsageToDayStats,
|
|
134
134
|
prepareTokenUsageData,
|
|
135
135
|
resolveBuiltinPlatformAgentConfig,
|
|
136
136
|
runKeyed
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-3GZT3L6F.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-ODS2MVMU.js";
|
|
149
149
|
import {
|
|
150
150
|
createOAuthTokenStore,
|
|
151
151
|
isTokenExpired,
|
|
@@ -10756,15 +10756,21 @@ async function writeLocalTokenRecord(args) {
|
|
|
10756
10756
|
return ops;
|
|
10757
10757
|
}
|
|
10758
10758
|
async function writeDialog(args) {
|
|
10759
|
+
const __perfEnabled = args.env?.NOLO_CLI_PERF === "1";
|
|
10760
|
+
const __perfT0 = __perfEnabled ? performance.now() : 0;
|
|
10759
10761
|
let existingDialog = null;
|
|
10760
10762
|
if (args.input.continueDialogId) {
|
|
10761
10763
|
const dialogKey = `dialog-${args.userId}-${args.input.continueDialogId}`;
|
|
10762
10764
|
existingDialog = await args.store.read(dialogKey);
|
|
10763
10765
|
}
|
|
10766
|
+
if (__perfEnabled) {
|
|
10767
|
+
const ms = (performance.now() - __perfT0).toFixed(1);
|
|
10768
|
+
process.stderr.write(`[nolo-perf] writeDialog A:read-dialog: ${ms}ms
|
|
10769
|
+
`);
|
|
10770
|
+
}
|
|
10764
10771
|
const nowMs = args.now();
|
|
10765
10772
|
const existingTitle = typeof existingDialog?.title === "string" ? existingDialog.title.trim() : "";
|
|
10766
10773
|
const existingTitleSource = existingDialog?.titleSource;
|
|
10767
|
-
const titleTimeoutMs = args.titleTimeoutMs ?? 2500;
|
|
10768
10774
|
let needsTitleUpdate = false;
|
|
10769
10775
|
if (existingTitleSource === "manual") {
|
|
10770
10776
|
needsTitleUpdate = false;
|
|
@@ -10786,30 +10792,20 @@ async function writeDialog(args) {
|
|
|
10786
10792
|
const fallbackTitle = buildDialogFallbackTitleFromUserInput(rawLastUserText) || "Local agent run";
|
|
10787
10793
|
titlePromise = args.titleGenerator({ messages: args.input.messages, fallbackTitle }).catch(() => null);
|
|
10788
10794
|
}
|
|
10789
|
-
let resolvedTitle = null;
|
|
10790
|
-
if (titlePromise) {
|
|
10791
|
-
let timeoutId;
|
|
10792
|
-
const timeoutPromise = new Promise((resolve) => {
|
|
10793
|
-
timeoutId = setTimeout(() => resolve(null), titleTimeoutMs);
|
|
10794
|
-
});
|
|
10795
|
-
try {
|
|
10796
|
-
resolvedTitle = await Promise.race([titlePromise, timeoutPromise]);
|
|
10797
|
-
} catch {
|
|
10798
|
-
resolvedTitle = null;
|
|
10799
|
-
} finally {
|
|
10800
|
-
if (timeoutId) clearTimeout(timeoutId);
|
|
10801
|
-
}
|
|
10802
|
-
}
|
|
10803
10795
|
const plan = buildLocalDialogWritePlan({
|
|
10804
10796
|
input: args.input,
|
|
10805
10797
|
userId: args.userId,
|
|
10806
10798
|
now: nowMs,
|
|
10807
10799
|
createId: args.createId,
|
|
10808
10800
|
existingDialog,
|
|
10809
|
-
cwd: args.cwd
|
|
10810
|
-
...resolvedTitle ? { titleOverride: resolvedTitle } : {}
|
|
10801
|
+
cwd: args.cwd
|
|
10811
10802
|
});
|
|
10812
10803
|
await args.store.batch(plan.ops);
|
|
10804
|
+
if (__perfEnabled) {
|
|
10805
|
+
const ms = (performance.now() - __perfT0).toFixed(1);
|
|
10806
|
+
process.stderr.write(`[nolo-perf] writeDialog C:store-batch (cumulative): ${ms}ms
|
|
10807
|
+
`);
|
|
10808
|
+
}
|
|
10813
10809
|
let tokenOps = [];
|
|
10814
10810
|
try {
|
|
10815
10811
|
tokenOps = await writeLocalTokenRecord({
|
|
@@ -10827,38 +10823,75 @@ async function writeDialog(args) {
|
|
|
10827
10823
|
`
|
|
10828
10824
|
);
|
|
10829
10825
|
}
|
|
10826
|
+
if (__perfEnabled) {
|
|
10827
|
+
const ms = (performance.now() - __perfT0).toFixed(1);
|
|
10828
|
+
process.stderr.write(`[nolo-perf] writeDialog D:token-record (cumulative): ${ms}ms
|
|
10829
|
+
`);
|
|
10830
|
+
}
|
|
10830
10831
|
const hasSubjectRefs = localTurnHasSubjectRefs(args.input);
|
|
10831
10832
|
const isLocalUser = args.userId === "local";
|
|
10833
|
+
let remoteSyncPromise;
|
|
10832
10834
|
if (!isLocalUser) {
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
+
if (hasSubjectRefs) {
|
|
10836
|
+
remoteSyncPromise = (async () => {
|
|
10837
|
+
const syncResult = await syncLocalDialogEvidenceToRemote({
|
|
10838
|
+
env: args.env,
|
|
10839
|
+
fetchImpl: args.fetchImpl,
|
|
10840
|
+
input: args.input,
|
|
10841
|
+
ops: [...plan.ops, ...tokenOps],
|
|
10842
|
+
output: args.output,
|
|
10843
|
+
userId: args.userId
|
|
10844
|
+
});
|
|
10845
|
+
if (!syncResult.attempted) {
|
|
10846
|
+
args.output?.write(
|
|
10847
|
+
"[nolo] Local dialog evidence is local-only; set NOLO_SERVER and AUTH_TOKEN to make subjectRefs remotely queryable.\n"
|
|
10848
|
+
);
|
|
10849
|
+
}
|
|
10850
|
+
})();
|
|
10851
|
+
await remoteSyncPromise;
|
|
10852
|
+
} else {
|
|
10853
|
+
remoteSyncPromise = syncLocalDialogEvidenceToRemote({
|
|
10835
10854
|
env: args.env,
|
|
10836
10855
|
fetchImpl: args.fetchImpl,
|
|
10837
10856
|
input: args.input,
|
|
10838
10857
|
ops: [...plan.ops, ...tokenOps],
|
|
10839
10858
|
output: args.output,
|
|
10840
10859
|
userId: args.userId
|
|
10841
|
-
})
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
args.output?.write(
|
|
10845
|
-
"[nolo] Local dialog evidence is local-only; set NOLO_SERVER and AUTH_TOKEN to make subjectRefs remotely queryable.\n"
|
|
10846
|
-
);
|
|
10847
|
-
}
|
|
10848
|
-
}
|
|
10849
|
-
} catch (error) {
|
|
10850
|
-
if (hasSubjectRefs) {
|
|
10851
|
-
throw error;
|
|
10852
|
-
}
|
|
10853
|
-
args.output?.write(
|
|
10854
|
-
`[nolo] Remote dialog evidence sync failed; local dialog only: ${toErrorMessage(
|
|
10855
|
-
error
|
|
10856
|
-
)}
|
|
10860
|
+
}).catch((error) => {
|
|
10861
|
+
args.output?.write(
|
|
10862
|
+
`[nolo] Remote dialog evidence sync failed; local dialog only: ${toErrorMessage(error)}
|
|
10857
10863
|
`
|
|
10858
|
-
|
|
10864
|
+
);
|
|
10865
|
+
});
|
|
10859
10866
|
}
|
|
10860
10867
|
}
|
|
10861
|
-
|
|
10868
|
+
let titlePatchPromise;
|
|
10869
|
+
if (titlePromise) {
|
|
10870
|
+
const dialogKey = `dialog-${args.userId}-${plan.dialogId}`;
|
|
10871
|
+
titlePatchPromise = titlePromise.then(async (resolvedTitle) => {
|
|
10872
|
+
if (!resolvedTitle) return;
|
|
10873
|
+
try {
|
|
10874
|
+
const existing = await args.store.read(dialogKey);
|
|
10875
|
+
if (!existing || typeof existing !== "object") return;
|
|
10876
|
+
if (existing?.titleSource === "manual") return;
|
|
10877
|
+
const existingTitleUpdatedAtMs = parseTitleUpdatedAtMs(existing);
|
|
10878
|
+
if (existingTitleUpdatedAtMs > nowMs) return;
|
|
10879
|
+
await args.store.write(dialogKey, {
|
|
10880
|
+
...existing,
|
|
10881
|
+
title: resolvedTitle,
|
|
10882
|
+
titleSource: "auto",
|
|
10883
|
+
titleUpdatedAt: new Date(nowMs).toISOString()
|
|
10884
|
+
});
|
|
10885
|
+
} catch {
|
|
10886
|
+
}
|
|
10887
|
+
});
|
|
10888
|
+
}
|
|
10889
|
+
if (__perfEnabled) {
|
|
10890
|
+
const ms = (performance.now() - __perfT0).toFixed(1);
|
|
10891
|
+
process.stderr.write(`[nolo-perf] writeDialog total (blocking): ${ms}ms
|
|
10892
|
+
`);
|
|
10893
|
+
}
|
|
10894
|
+
return { dialogId: plan.dialogId, title: plan.title, titlePatchPromise, remoteSyncPromise };
|
|
10862
10895
|
}
|
|
10863
10896
|
function resolveCliDialogRecordKey(userId, dialogId) {
|
|
10864
10897
|
if (dialogId.startsWith("dialog-") && !dialogId.includes("-msg-")) {
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
buildRuntimeGuidanceBlocks,
|
|
10
10
|
fetchReferenceContents,
|
|
11
11
|
resolveToolGuidedSections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3UGKATZQ.js";
|
|
13
13
|
import {
|
|
14
14
|
getAllToolRuns,
|
|
15
15
|
resolveAgentRecommendedSkillNames,
|
|
16
16
|
resolveAgentRequiredPackIds
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D2BPX6DQ.js";
|
|
18
18
|
import {
|
|
19
19
|
getDocState
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EEF23OOK.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveToolBaseUrl
|
|
23
23
|
} from "./chunk-44HACRCK.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
selectCurrentTable,
|
|
32
32
|
selectTableRows,
|
|
33
33
|
selectViewMode
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3FCNXC2J.js";
|
|
35
35
|
import {
|
|
36
36
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
37
37
|
buildPersonalizationDialogPolicyContext,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
getModelContextWindow,
|
|
40
40
|
resolveBuiltinPlatformAgentConfig,
|
|
41
41
|
selectAllMsgs
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3GZT3L6F.js";
|
|
43
43
|
import {
|
|
44
44
|
COMPACTION_SUMMARY_SYSTEM_PROMPT,
|
|
45
45
|
buildCompactionMetricsFromPlan,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3FCNXC2J.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-KYZX3BGO.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-T6YK6D34.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-AYMOSAHE.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-3UGKATZQ.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-D2BPX6DQ.js";
|
|
43
43
|
import {
|
|
44
44
|
toErrorMessage
|
|
45
45
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3FCNXC2J.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-7YROVZ3W.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
parseAgentRunEvent,
|
|
20
20
|
t,
|
|
21
21
|
toolLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-45X23W6O.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-V42OE5HT.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-AYMOSAHE.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-MITD7CON.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-TA6EA2A3.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-3GZT3L6F.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-ATGJY6WC.js");
|
|
3542
3542
|
return runLocalAgentTurn;
|
|
3543
3543
|
}
|
|
3544
3544
|
async function resolveCurrentMachineId(options) {
|
|
@@ -4517,7 +4517,7 @@ var normalizeDisplayContent = (item) => {
|
|
|
4517
4517
|
};
|
|
4518
4518
|
var buildMemoryOverlay = (items, options) => {
|
|
4519
4519
|
if (items.length === 0) return null;
|
|
4520
|
-
const maxTokens = options?.maxTokens ??
|
|
4520
|
+
const maxTokens = options?.maxTokens ?? 2e3;
|
|
4521
4521
|
const perKindLimit = options?.perKindLimit ?? 3;
|
|
4522
4522
|
const byKind = {
|
|
4523
4523
|
episodic: [],
|