nolo-cli 0.31.0-alpha.3 → 0.31.0-alpha.5
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-K47XKKPU.js → _executeModel-SEGAJNR2.js} +15 -15
- package/{agentDeleteCommand-7BBZCONG.js → agentDeleteCommand-YGVAEVVI.js} +12 -12
- package/{agentEmailCommands-D6FAT5HM.js → agentEmailCommands-L6KS5J56.js} +17 -17
- package/{agentListCommands-YPNNMGSJ.js → agentListCommands-4BO6W2PV.js} +14 -14
- package/{agentMachineCommands-VYRVSKUC.js → agentMachineCommands-KLUHWTPN.js} +12 -12
- package/{agentRecordCommands-4J52H5NK.js → agentRecordCommands-DPSYTYEX.js} +17 -17
- package/{agentRunCommand-LJI4EPMF.js → agentRunCommand-EN3FJGUJ.js} +18 -18
- package/{agentRuntimeLocal-G7GK545E.js → agentRuntimeLocal-MMOA545S.js} +9 -9
- package/{agentSlice-4ZLEPC3M.js → agentSlice-BNK4DGQG.js} +1 -1
- package/{appDeleteCommands-AOZED7QJ.js → appDeleteCommands-MK2TCFUU.js} +13 -13
- package/{appDeployCommands-XJY27BDS.js → appDeployCommands-LKRC7BX4.js} +13 -13
- package/{appDeployStatusCommands-HKZYAPB2.js → appDeployStatusCommands-MECARE5I.js} +13 -13
- package/{appGetCommands-VXJLPRYI.js → appGetCommands-MMVERNGL.js} +13 -13
- package/{appListCommands-3LU6AB4G.js → appListCommands-KCBDINSP.js} +13 -13
- package/{chunk-FLYQAMF4.js → chunk-2PRRWKTJ.js} +2 -2
- package/{chunk-C3NYMZTQ.js → chunk-3A737V2X.js} +8 -8
- package/{chunk-XGJ75KN2.js → chunk-3G554VV4.js} +2 -2
- package/{chunk-3IU7WEJD.js → chunk-3X7QWLPD.js} +1 -1
- package/{chunk-2YT3KLHX.js → chunk-4TSGHE7W.js} +1 -1
- package/{chunk-Z4QUAR3U.js → chunk-66ME42CF.js} +16 -18
- package/{chunk-5EDVWWE3.js → chunk-6X4CXCJP.js} +1 -1
- package/{chunk-LBEWOWVL.js → chunk-AMH4DSXS.js} +2 -2
- package/{chunk-5MVFYKBL.js → chunk-AMIG5DMJ.js} +3 -3
- package/{chunk-NEGMZP6Q.js → chunk-AZ3BDNZ4.js} +1 -1
- package/{chunk-2MSOY7A5.js → chunk-DKAQLJ3K.js} +9 -9
- package/{chunk-DPR66GY6.js → chunk-DOISARTV.js} +1 -1
- package/{chunk-5JQRISUS.js → chunk-FAW6OZBW.js} +3 -3
- package/{chunk-E2CFIWQR.js → chunk-GZO4J357.js} +8 -8
- package/{chunk-NMK2JHKM.js → chunk-J74Z47CW.js} +2 -2
- package/{chunk-XPML3KYZ.js → chunk-K2MJX52U.js} +3 -3
- package/{chunk-YJZGAAVX.js → chunk-MBIKOMSZ.js} +5 -5
- package/{chunk-QL6ELRVS.js → chunk-PJ2DDQQM.js} +1 -1
- package/{chunk-OT2AXEQD.js → chunk-QAEO34TT.js} +2 -2
- package/{chunk-CPUZW54L.js → chunk-QW5EO6BC.js} +4 -4
- package/{chunk-EATVNXFX.js → chunk-RAWBBQ7M.js} +5 -5
- package/{chunk-RJ7KLCWY.js → chunk-RD2ECFE7.js} +8 -8
- package/{chunk-WEID4JLC.js → chunk-TXK24L5E.js} +1 -1
- package/{chunk-WMH2G6XJ.js → chunk-U3DG2NKO.js} +6 -6
- package/{chunk-Q6L3O67D.js → chunk-V7WUD7WT.js} +2 -2
- package/{chunk-QHWPAW5M.js → chunk-WUIVDYFH.js} +2 -2
- package/{chunk-4URO6HMS.js → chunk-Z3WIOKQW.js} +1 -1
- package/{chunk-K76HYM3O.js → chunk-ZW2Q62WQ.js} +1 -1
- package/{createAgentAutomationAction-AECD5YCU.js → createAgentAutomationAction-BNDR4TAE.js} +3 -3
- package/{createDialogAction-MZUC37CA.js → createDialogAction-XOJY2EIN.js} +4 -4
- package/{createPageAction-KRTBWM2S.js → createPageAction-5GYITEIJ.js} +3 -3
- package/{dialogCommands-RFADXVV6.js → dialogCommands-ROGMBRFO.js} +13 -13
- package/{dialogSlice-EWNZ2HFD.js → dialogSlice-RJAZFHBY.js} +2 -2
- package/{docCreateCommands-ZHX6SX5M.js → docCreateCommands-J7LZ5HD6.js} +12 -12
- package/{docDeleteCommands-3EEM7ITO.js → docDeleteCommands-3P3LN5CE.js} +13 -13
- package/{docReadCommands-JOMLMZTC.js → docReadCommands-46PUPMJY.js} +12 -12
- package/{docStore-YKTKKH3N.js → docStore-LEXKZB33.js} +4 -4
- package/{docUpdateCommands-PGAYLKLC.js → docUpdateCommands-H7JTH3QS.js} +12 -12
- package/{handleSendMessageAction-VX4CGWAJ.js → handleSendMessageAction-STJLSVEE.js} +2 -2
- package/index.js +40 -40
- package/{machineCommands-A2WFB37F.js → machineCommands-HBLBARSP.js} +16 -16
- package/{machineWsRunDispatch-E5R54UWZ.js → machineWsRunDispatch-R2JCCJTL.js} +16 -16
- package/package.json +1 -1
- package/{readlineWorkspace-BUQSMN7X.js → readlineWorkspace-VNRJXXTR.js} +47 -33
- package/{runAgentClientLoop-C6IIUQ36.js → runAgentClientLoop-WIA5XINE.js} +11 -11
- package/{skillDiscovery-Y3HALY2U.js → skillDiscovery-5U6RYAHN.js} +2 -2
- package/{spaceCommands-SKCMLOC6.js → spaceCommands-FFDNENTE.js} +12 -12
- package/{spaceSlice-6VOPELQN.js → spaceSlice-DRKRM427.js} +3 -3
- package/{streamAgentChatTurn-623CNKWF.js → streamAgentChatTurn-ZJFSSJVE.js} +14 -14
- package/{tools-IN4B36PN.js → tools-PWLLC24H.js} +8 -8
- package/{updateDialogTitleAction-4ABIVEYY.js → updateDialogTitleAction-GJS3IV7T.js} +3 -3
|
@@ -4,38 +4,38 @@ import {
|
|
|
4
4
|
outputResult,
|
|
5
5
|
printCliError,
|
|
6
6
|
resolveCliContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z3WIOKQW.js";
|
|
8
8
|
import {
|
|
9
9
|
hasFlag,
|
|
10
10
|
hasHelpArg
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-TXK24L5E.js";
|
|
12
|
+
import "./chunk-ZW2Q62WQ.js";
|
|
13
|
+
import "./chunk-AZ3BDNZ4.js";
|
|
14
14
|
import "./chunk-K6QEHQZ3.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RAWBBQ7M.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-U3DG2NKO.js";
|
|
21
21
|
import "./chunk-N7J63Q6C.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DOISARTV.js";
|
|
23
|
+
import "./chunk-J74Z47CW.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-K2MJX52U.js";
|
|
29
|
+
import "./chunk-2PRRWKTJ.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-3G554VV4.js";
|
|
35
|
+
import "./chunk-RD2ECFE7.js";
|
|
36
36
|
import "./chunk-BGTUGS3T.js";
|
|
37
37
|
import "./chunk-ATK5WJOA.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-AMIG5DMJ.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-Z3WIOKQW.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TXK24L5E.js";
|
|
13
|
+
import "./chunk-ZW2Q62WQ.js";
|
|
14
|
+
import "./chunk-AZ3BDNZ4.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RAWBBQ7M.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-U3DG2NKO.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DOISARTV.js";
|
|
24
|
+
import "./chunk-J74Z47CW.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-K2MJX52U.js";
|
|
30
|
+
import "./chunk-2PRRWKTJ.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-3G554VV4.js";
|
|
36
|
+
import "./chunk-RD2ECFE7.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-AMIG5DMJ.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-Z3WIOKQW.js";
|
|
9
9
|
import {
|
|
10
10
|
hasFlag,
|
|
11
11
|
hasHelpArg
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TXK24L5E.js";
|
|
13
|
+
import "./chunk-ZW2Q62WQ.js";
|
|
14
|
+
import "./chunk-AZ3BDNZ4.js";
|
|
15
15
|
import "./chunk-K6QEHQZ3.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RAWBBQ7M.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-U3DG2NKO.js";
|
|
22
22
|
import "./chunk-N7J63Q6C.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DOISARTV.js";
|
|
24
|
+
import "./chunk-J74Z47CW.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-K2MJX52U.js";
|
|
30
|
+
import "./chunk-2PRRWKTJ.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-3G554VV4.js";
|
|
36
|
+
import "./chunk-RD2ECFE7.js";
|
|
37
37
|
import "./chunk-BGTUGS3T.js";
|
|
38
38
|
import "./chunk-ATK5WJOA.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-AMIG5DMJ.js";
|
|
40
40
|
import "./chunk-JZPBVBIY.js";
|
|
41
41
|
import "./chunk-5RGU3J7P.js";
|
|
42
42
|
import "./chunk-M76ECQRD.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateContentTitle
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3G554VV4.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-5GYITEIJ.js");
|
|
371
371
|
return createPageAction(args, thunkApi);
|
|
372
372
|
}
|
|
373
373
|
function subscribe(listener) {
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
inlineImageUrlsForCustomProvider,
|
|
6
6
|
prepareTools,
|
|
7
7
|
shouldInlineImageUrlsForAgent
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4TSGHE7W.js";
|
|
9
9
|
import {
|
|
10
10
|
EMPTY_ASSISTANT_REPAIR_PROMPT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-U3DG2NKO.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-MBIKOMSZ.js";
|
|
24
24
|
import {
|
|
25
25
|
createSSEParser,
|
|
26
26
|
findToolExecutor,
|
|
27
27
|
toolDefinitionsByName
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DKAQLJ3K.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-K2MJX52U.js";
|
|
37
37
|
import {
|
|
38
38
|
getPublicImageAgentMode
|
|
39
39
|
} from "./chunk-E3APEOIM.js";
|
|
40
40
|
import {
|
|
41
41
|
selectCurrentSpaceId
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3G554VV4.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-RD2ECFE7.js";
|
|
50
50
|
import {
|
|
51
51
|
streamAgentChatTurn
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-AMIG5DMJ.js";
|
|
53
53
|
import {
|
|
54
54
|
toErrorMessage
|
|
55
55
|
} from "./chunk-HNMXYYJR.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deleteDialog,
|
|
3
3
|
toast
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RD2ECFE7.js";
|
|
5
5
|
import {
|
|
6
6
|
createFileCredentialBroker,
|
|
7
7
|
deleteServerSyncedCredential
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AMIG5DMJ.js";
|
|
9
9
|
import {
|
|
10
10
|
require_date_fns
|
|
11
11
|
} from "./chunk-M76ECQRD.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
parseAgentRunEvent,
|
|
20
20
|
t,
|
|
21
21
|
toolLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GZO4J357.js";
|
|
23
23
|
import {
|
|
24
24
|
createRunActivityTracker,
|
|
25
25
|
finalizeRunRecord,
|
|
@@ -38,14 +38,14 @@ import {
|
|
|
38
38
|
normalizeAgentHandle,
|
|
39
39
|
readDbRecord,
|
|
40
40
|
resolveAgentRecordFromHybridStore
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZW2Q62WQ.js";
|
|
42
42
|
import {
|
|
43
43
|
NOLO_PROJECT_MANAGER_AGENT_KEY,
|
|
44
44
|
isLocalCliAgentKey
|
|
45
45
|
} from "./chunk-K6QEHQZ3.js";
|
|
46
46
|
import {
|
|
47
47
|
buildSkillDiscoveryContextLayer
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-PJ2DDQQM.js";
|
|
49
49
|
import {
|
|
50
50
|
applyModelLayerOverride,
|
|
51
51
|
buildModelLayerOverride
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
LOCAL_TURN_ABORTED_CODE,
|
|
59
59
|
readActionGate,
|
|
60
60
|
readCommandActionGatePayload
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-U3DG2NKO.js";
|
|
62
62
|
import {
|
|
63
63
|
createThinkParserState,
|
|
64
64
|
flushThinkParser,
|
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
buildMemoryUseGuidanceLayer,
|
|
71
71
|
partitionScopedBlocks,
|
|
72
72
|
renderTurnContextBlocksWithScope
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-DOISARTV.js";
|
|
74
74
|
import {
|
|
75
75
|
resolvePlatformAuthToken
|
|
76
76
|
} from "./chunk-UDA3ZYLW.js";
|
|
77
77
|
import {
|
|
78
78
|
formatAgentListCard
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-DKAQLJ3K.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-QAEO34TT.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-RD2ECFE7.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-MMOA545S.js");
|
|
3542
3542
|
return runLocalAgentTurn;
|
|
3543
3543
|
}
|
|
3544
3544
|
async function resolveCurrentMachineId(options) {
|
|
@@ -4478,9 +4478,7 @@ var estimateTokens = (text) => {
|
|
|
4478
4478
|
return Math.ceil(cjk * 1.5 + ascii / 4);
|
|
4479
4479
|
};
|
|
4480
4480
|
var OVERLAY_HEADER_LINES = [
|
|
4481
|
-
"--- Memory
|
|
4482
|
-
"\u4EE5\u4E0B\u662F\u5F53\u524D\u8BF7\u6C42\u53EF\u7528\u7684\u8BB0\u5FC6\u4E8B\u5B9E\uFF1B\u76F8\u5173\u65F6\u76F4\u63A5\u57FA\u4E8E\u8FD9\u4E9B\u8BB0\u5FC6\u56DE\u7B54\u3002",
|
|
4483
|
-
"\u7528\u6237\u5F53\u524D\u8F93\u5165\u4F18\u5148\u4E8E\u8BB0\u5FC6\uFF1B\u8BB0\u5FC6\u53EA\u8F85\u52A9\u7406\u89E3\uFF0C\u4E0D\u8981\u6C42\u8FCE\u5408\u3002",
|
|
4481
|
+
"--- Memory (\u76F8\u5173\u65F6\u53C2\u8003\uFF0C\u7528\u6237\u8F93\u5165\u4F18\u5148) ---",
|
|
4484
4482
|
""
|
|
4485
4483
|
];
|
|
4486
4484
|
var OVERLAY_HEADER_TOKENS = estimateTokens(OVERLAY_HEADER_LINES.join("\n"));
|
|
@@ -4505,15 +4503,15 @@ var normalizeDisplayContent = (item) => {
|
|
|
4505
4503
|
const normalized = item.content.trim().replace(EXPLICIT_REMEMBER_PREFIX_REGEX, "").replace(/[。!?!?]+$/u, "").trim();
|
|
4506
4504
|
if (item.kind === "semantic") {
|
|
4507
4505
|
if (item.tags?.includes("understanding-memory") && item.facet) {
|
|
4508
|
-
return formatFacetContent(item.facet, normalized, "
|
|
4506
|
+
return formatFacetContent(item.facet, normalized, "");
|
|
4509
4507
|
}
|
|
4510
|
-
return
|
|
4508
|
+
return normalized;
|
|
4511
4509
|
}
|
|
4512
4510
|
if (item.kind === "episodic" && (item.patternKey === "explicit-remember" || item.patternKey === "agent-remember")) {
|
|
4513
|
-
return
|
|
4511
|
+
return normalized;
|
|
4514
4512
|
}
|
|
4515
4513
|
if (item.kind === "episodic" && item.tags?.includes("understanding-memory") && item.facet) {
|
|
4516
|
-
return formatFacetContent(item.facet, normalized, "\
|
|
4514
|
+
return formatFacetContent(item.facet, normalized, "\u4E0A\u6B21: ");
|
|
4517
4515
|
}
|
|
4518
4516
|
return normalized;
|
|
4519
4517
|
};
|
|
@@ -4663,7 +4661,7 @@ var rankMemoryCandidates = (items, query, context) => {
|
|
|
4663
4661
|
|
|
4664
4662
|
// packages/ai/memory/runtime.ts
|
|
4665
4663
|
var COLD_STORAGE_CONFIDENCE = 0.3;
|
|
4666
|
-
var MEMORY_OVERLAY_TOKEN_BUDGET =
|
|
4664
|
+
var MEMORY_OVERLAY_TOKEN_BUDGET = 2e3;
|
|
4667
4665
|
var normalizeSelectedContent = (text) => text.trim().replace(EXPLICIT_REMEMBER_PREFIX_REGEX, "").replace(/[。!?!?]+$/u, "").trim();
|
|
4668
4666
|
var STACK_TERMS = [
|
|
4669
4667
|
"typescript",
|
|
@@ -4748,7 +4746,7 @@ var selectRuntimeMemoryItems = (items, context, userInput = "") => {
|
|
|
4748
4746
|
const selected = [];
|
|
4749
4747
|
const selectedIds = /* @__PURE__ */ new Set();
|
|
4750
4748
|
const add = (item) => {
|
|
4751
|
-
if (!item || selectedIds.has(item.id) || selected.length >=
|
|
4749
|
+
if (!item || selectedIds.has(item.id) || selected.length >= 20) return;
|
|
4752
4750
|
selected.push(item);
|
|
4753
4751
|
selectedIds.add(item.id);
|
|
4754
4752
|
};
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
listUserRecordsFromServers,
|
|
8
8
|
readDbRecordFromServers,
|
|
9
9
|
readLiveDbRecordAfterTombstoneMerge
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3X7QWLPD.js";
|
|
11
11
|
import {
|
|
12
12
|
buildDialogAttachmentPlan,
|
|
13
13
|
extractFileContentIds
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RD2ECFE7.js";
|
|
15
15
|
import {
|
|
16
16
|
toErrorMessage
|
|
17
17
|
} 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-SEGAJNR2.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-WIA5XINE.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-ZJFSSJVE.js");
|
|
624
624
|
return streamAgentChatTurnHandler(args, thunkApi);
|
|
625
625
|
}),
|
|
626
626
|
/**
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
sortSafeAgentSummaries,
|
|
19
19
|
toSafeAgentSummary
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6X4CXCJP.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-K2MJX52U.js";
|
|
47
47
|
import {
|
|
48
48
|
createDocState
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2PRRWKTJ.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-QAEO34TT.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-3G554VV4.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-RD2ECFE7.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-AMIG5DMJ.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-RJAZFHBY.js");
|
|
13933
13933
|
for (const target of targets) {
|
|
13934
13934
|
try {
|
|
13935
13935
|
await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
|
|
@@ -25679,7 +25679,7 @@ async function updateDocFunc(args, thunkApi) {
|
|
|
25679
25679
|
updated_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
25680
25680
|
};
|
|
25681
25681
|
await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
|
|
25682
|
-
const { getDocState, applyExternalDocUpdate } = await import("./docStore-
|
|
25682
|
+
const { getDocState, applyExternalDocUpdate } = await import("./docStore-LEXKZB33.js");
|
|
25683
25683
|
if (getDocState().pageKey === id) {
|
|
25684
25684
|
applyExternalDocUpdate({
|
|
25685
25685
|
slateData: finalSlateData,
|
|
@@ -148,7 +148,7 @@ ${historical}`);
|
|
|
148
148
|
var buildMemoryOverlayLayer = (args) => {
|
|
149
149
|
const promptBlock = asTrimmed(args.promptBlock);
|
|
150
150
|
if (!promptBlock) return null;
|
|
151
|
-
return makeLayer("memory-overlay", promptBlock);
|
|
151
|
+
return makeLayer("memory-overlay", promptBlock, "session");
|
|
152
152
|
};
|
|
153
153
|
var buildMemoryUseGuidanceLayer = (args) => {
|
|
154
154
|
const promptBlock = asTrimmed(args.promptBlock);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listUserRecordsFromServers,
|
|
3
3
|
readLiveDbRecordAfterTombstoneMerge
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3X7QWLPD.js";
|
|
5
5
|
import {
|
|
6
6
|
agentRecordHasConfiguredCredential
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZW2Q62WQ.js";
|
|
8
8
|
import {
|
|
9
9
|
toSafeAgentSummary
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6X4CXCJP.js";
|
|
11
11
|
import {
|
|
12
12
|
PUBLIC_AGENT_KEY_PREFIX,
|
|
13
13
|
isOwnedAgentKey,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-WJRJDX2W.js";
|
|
28
28
|
import {
|
|
29
29
|
buildLocalAgentLookupKeys
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AZ3BDNZ4.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-RAWBBQ7M.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-4TSGHE7W.js";
|
|
78
78
|
import {
|
|
79
79
|
inferCaptureIntent,
|
|
80
80
|
resolveHistoricalToolContentCap,
|
|
81
81
|
summarizeToolArguments
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-U3DG2NKO.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-DKAQLJ3K.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-K2MJX52U.js";
|
|
132
132
|
import {
|
|
133
133
|
applyTokenUsageToDayStats,
|
|
134
134
|
prepareTokenUsageData,
|
|
135
135
|
resolveBuiltinPlatformAgentConfig,
|
|
136
136
|
runKeyed
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-RD2ECFE7.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-AMIG5DMJ.js";
|
|
149
149
|
import {
|
|
150
150
|
createOAuthTokenStore,
|
|
151
151
|
isTokenExpired,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
clipMultilineText,
|
|
9
9
|
fetchAndSerializeTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K2MJX52U.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-RD2ECFE7.js";
|
|
17
17
|
import {
|
|
18
18
|
estimateTokenCount
|
|
19
19
|
} from "./chunk-BGTUGS3T.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-DCDL3GC4.js";
|
|
7
7
|
import {
|
|
8
8
|
fetchAndCacheTableRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3G554VV4.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-PWLLC24H.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-DRKRM427.js");
|
|
1649
1649
|
await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|