nolo-cli 0.139.0-alpha.1 → 0.140.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_executeModel-HXIPDI7Q.js → _executeModel-SOYFJXV6.js} +19 -19
- package/{agentDeleteCommand-DAM4LEEO.js → agentDeleteCommand-PDOMFCIL.js} +14 -14
- package/{agentEmailCommands-7QB2RPWW.js → agentEmailCommands-FMB2MKEQ.js} +26 -26
- package/{agentListCommands-T3V5EL27.js → agentListCommands-FKMX7KWB.js} +16 -16
- package/{agentMachineCommands-DL53ZAIR.js → agentMachineCommands-XMVB676S.js} +14 -14
- package/{agentProviderCommands-5W5SYALV.js → agentProviderCommands-AOG3OZJA.js} +1 -1
- package/{agentRecordCommands-HVRESCTP.js → agentRecordCommands-KGBQJLVJ.js} +25 -25
- package/{agentRunCommand-ETERBOFG.js → agentRunCommand-SEDWFYXO.js} +25 -25
- package/{agentRuntimeLocal-DKFAWMRZ.js → agentRuntimeLocal-F7VBM3ZK.js} +12 -12
- package/{agentSlice-EO7LL6VT.js → agentSlice-CFXREBVL.js} +1 -1
- package/{appDeleteCommands-PBCGWJZQ.js → appDeleteCommands-C6SHMXRO.js} +15 -15
- package/{appDeployCommands-E7KRDPZ5.js → appDeployCommands-TN7KPWQK.js} +15 -15
- package/{appDeployStatusCommands-TZ64EREZ.js → appDeployStatusCommands-CZLHVPY3.js} +15 -15
- package/{appGetCommands-3M2OIBJ3.js → appGetCommands-SE2MWTE2.js} +15 -15
- package/{appListCommands-D7H6I62Y.js → appListCommands-J47WTLZ3.js} +15 -15
- package/{authCommand-IZBILYGF.js → authCommand-K62FH4X2.js} +8 -8
- package/{chatQueueReduxAdapter-27524QLC.js → chatQueueReduxAdapter-PUEMG7YZ.js} +7 -7
- package/{chunk-PARMU7Z2.js → chunk-2VMY5RLA.js} +11 -11
- package/{chunk-TZU6NT4E.js → chunk-37GBLNHI.js} +7 -7
- package/{chunk-HLQBSALG.js → chunk-3BXNTXYI.js} +1 -1
- package/{chunk-XOHDUTBS.js → chunk-3EFEN43K.js} +1 -1
- package/{chunk-FHBPYIXJ.js → chunk-4DPP773Q.js} +2 -2
- package/{chunk-YBUA6LCU.js → chunk-65U5FCBE.js} +6 -6
- package/{chunk-H2PUUNAY.js → chunk-7KVZ5LDQ.js} +2 -2
- package/{chunk-Q6SLVXWU.js → chunk-7LLWEG6F.js} +3 -3
- package/{chunk-DQKIZYNM.js → chunk-7MUSNQ6E.js} +2 -2
- package/{chunk-5EALZPW5.js → chunk-A5MB5RIT.js} +3 -3
- package/{chunk-NV47YLPH.js → chunk-CTGZO35O.js} +2 -2
- package/{chunk-ACTMNVHM.js → chunk-CYSYR67N.js} +1 -1
- package/{chunk-TW6MNSWL.js → chunk-F5IMTLHP.js} +3 -3
- package/{chunk-JDG5YE5U.js → chunk-I4A26N52.js} +2 -2
- package/{chunk-MS4ZBOMR.js → chunk-K3NOJJUS.js} +12 -12
- package/{chunk-4QUCHTYC.js → chunk-KUWT3C2P.js} +1 -1
- package/{chunk-XSW2IKJM.js → chunk-LLVHGBUH.js} +1 -1
- package/{chunk-QVG3PWRZ.js → chunk-M6NK74VP.js} +1 -1
- package/{chunk-6JPUN447.js → chunk-NOGH7HCP.js} +2 -2
- package/{chunk-XSOKISAS.js → chunk-OFYHCA6W.js} +1 -1
- package/{chunk-WZYWLD6H.js → chunk-OMI6BKIS.js} +9 -9
- package/{chunk-COTFAI7O.js → chunk-OXY64W6K.js} +3 -3
- package/{chunk-YSC3EI23.js → chunk-OZ6V53WV.js} +2 -2
- package/{chunk-6SFO23NA.js → chunk-PP6FTGA6.js} +16 -16
- package/{chunk-EABW35A7.js → chunk-PQVOC2CZ.js} +1 -1
- package/{chunk-D3LZLKAK.js → chunk-Q6QLBANW.js} +13 -13
- package/{chunk-PZVXRJOS.js → chunk-RRMAZ2BI.js} +1 -1
- package/{chunk-Z4JRRXTW.js → chunk-RVX32KGQ.js} +2 -2
- package/{chunk-MPRCVW4J.js → chunk-SNVNLFVK.js} +3 -3
- package/{chunk-VG72WLGI.js → chunk-U5QTKTZE.js} +1 -1
- package/{chunk-XSSTHNXQ.js → chunk-VPNHD2TS.js} +1 -1
- package/{chunk-PVQQA3CQ.js → chunk-W247GBSQ.js} +1 -1
- package/{chunk-ISZR4Z6A.js → chunk-X6KARM5G.js} +3 -3
- package/{chunk-L5HM63XP.js → chunk-XFEBG6NU.js} +2 -2
- package/{chunk-EUND6AAM.js → chunk-XWVHWH35.js} +1 -1
- package/{chunk-Q67DOFOO.js → chunk-Y3PMXGLH.js} +2 -0
- package/{chunk-JZEK4KCJ.js → chunk-ZW4TU76B.js} +3 -3
- package/{commandRegistry-EKKQFWXE.js → commandRegistry-I7INNYGB.js} +49 -49
- package/{contentThunks-HY5AO3KY.js → contentThunks-BHQXUKKG.js} +8 -8
- package/{createAgentAutomationAction-JHE3IIMX.js → createAgentAutomationAction-QS5HQOP5.js} +8 -8
- package/{createDialogAction-GE4SGFZE.js → createDialogAction-ZTC23O42.js} +9 -9
- package/{createPageAction-5W7SP33M.js → createPageAction-RFAUZO6Y.js} +8 -8
- package/{dialogCommands-FBSQ4KJR.js → dialogCommands-LUR5GD4V.js} +15 -15
- package/{dialogSlice-6CW6J5FW.js → dialogSlice-OU5IGCJ5.js} +7 -7
- package/{docCreateCommands-N2TPCEZ7.js → docCreateCommands-F4JYZZXQ.js} +14 -14
- package/{docDeleteCommands-FJA7Q6CI.js → docDeleteCommands-Z3QD6SGU.js} +15 -15
- package/{docReadCommands-2UZB5OR7.js → docReadCommands-UKTYKVGA.js} +14 -14
- package/{docStore-3RP3DE4Q.js → docStore-UQF3EY2X.js} +1 -1
- package/{docUpdateCommands-BID4C3QP.js → docUpdateCommands-JSQCDHTL.js} +14 -14
- package/{getPricing-J4FPKSJC.js → getPricing-NMMFT3YI.js} +3 -3
- package/{handleSendMessageAction-TFHLM7KU.js → handleSendMessageAction-NFT57BBK.js} +157 -23
- package/index.js +3 -3
- package/{machineCommands-NSYLVEE7.js → machineCommands-2WI4ISEU.js} +24 -24
- package/{machineWsRunDispatch-N2VXL5QL.js → machineWsRunDispatch-XQDTKFVP.js} +24 -24
- package/{models-T3SG6MJ5.js → models-ZPU5EDF4.js} +2 -2
- package/package.json +1 -1
- package/{providerPresetApply-E5VR5GW5.js → providerPresetApply-7XEHTODR.js} +6 -6
- package/{providerRegistry-XNBDJTKJ.js → providerRegistry-GNV4FFSA.js} +6 -6
- package/{readlineWorkspace-MP5KA4H4.js → readlineWorkspace-XDHXGQ4Z.js} +28 -28
- package/{runAgentClientLoop-DQ2JSJBW.js → runAgentClientLoop-ZHN7EVIF.js} +17 -17
- package/{spaceCommands-TKFZFVCA.js → spaceCommands-BPQ6XFKS.js} +14 -14
- package/{streamAgentChatTurn-T6F23DOK.js → streamAgentChatTurn-KV7NADH2.js} +20 -20
- package/{tools-YCF5PGD5.js → tools-ZX3DP5DJ.js} +14 -14
- package/{tuiSummaryLlmCaller-W36LJRZU.js → tuiSummaryLlmCaller-7KLLDP22.js} +5 -5
- package/{updateDialogTitleAction-5IKSGO4I.js → updateDialogTitleAction-6ZCZK2I7.js} +8 -8
|
@@ -17,42 +17,42 @@ import {
|
|
|
17
17
|
resolveDocKind,
|
|
18
18
|
resolveWriteTargets,
|
|
19
19
|
writePageRecord
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OFYHCA6W.js";
|
|
21
21
|
import {
|
|
22
22
|
findPotentialSecrets,
|
|
23
23
|
formatSecretFindings
|
|
24
24
|
} from "./chunk-VJVNU77E.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-RRMAZ2BI.js";
|
|
26
26
|
import "./chunk-OTGFTBLI.js";
|
|
27
27
|
import "./chunk-SV5IJK6K.js";
|
|
28
28
|
import "./chunk-VF4K2QE6.js";
|
|
29
29
|
import "./chunk-AUDNYVRC.js";
|
|
30
30
|
import "./chunk-KHCLMKZZ.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-65U5FCBE.js";
|
|
32
|
+
import "./chunk-U5QTKTZE.js";
|
|
33
33
|
import "./chunk-ZNFJWEN4.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-NOGH7HCP.js";
|
|
35
35
|
import "./chunk-GMZLP5DV.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-I4A26N52.js";
|
|
37
37
|
import "./chunk-5ZUL4CUO.js";
|
|
38
38
|
import "./chunk-CQ3WA2NE.js";
|
|
39
39
|
import "./chunk-2MBTWINN.js";
|
|
40
40
|
import "./chunk-N7J63Q6C.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-CTGZO35O.js";
|
|
42
42
|
import "./chunk-PUOC4YRO.js";
|
|
43
43
|
import "./chunk-RGNEEJ3Y.js";
|
|
44
44
|
import "./chunk-H6A6X4EK.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-M6NK74VP.js";
|
|
46
|
+
import "./chunk-7MUSNQ6E.js";
|
|
47
|
+
import "./chunk-RVX32KGQ.js";
|
|
48
48
|
import "./chunk-F64B2W3R.js";
|
|
49
49
|
import "./chunk-PSCNXBYA.js";
|
|
50
50
|
import "./chunk-ESRMFY7G.js";
|
|
51
51
|
import "./chunk-BYXBJQAS.js";
|
|
52
52
|
import "./chunk-DWLEOOGR.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-7KVZ5LDQ.js";
|
|
54
54
|
import "./chunk-HNMXYYJR.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-3BXNTXYI.js";
|
|
56
56
|
import "./chunk-W7XHHYWM.js";
|
|
57
57
|
import "./chunk-B7ANJQWZ.js";
|
|
58
58
|
import "./chunk-UAD2WT54.js";
|
|
@@ -65,8 +65,8 @@ import {
|
|
|
65
65
|
} from "./chunk-A7GB5UGH.js";
|
|
66
66
|
import "./chunk-OLZBQWZU.js";
|
|
67
67
|
import "./chunk-Y6ROFCZO.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-CYSYR67N.js";
|
|
69
|
+
import "./chunk-Y3PMXGLH.js";
|
|
70
70
|
import "./chunk-KX6YBIHG.js";
|
|
71
71
|
import "./chunk-QALRKMHF.js";
|
|
72
72
|
import "./chunk-ETZWFV6M.js";
|
|
@@ -10,42 +10,42 @@ import {
|
|
|
10
10
|
requireTokenUser,
|
|
11
11
|
resolveDocKind,
|
|
12
12
|
resolveWriteTargets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OFYHCA6W.js";
|
|
14
14
|
import {
|
|
15
15
|
deleteDbRecordOnServers
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-W247GBSQ.js";
|
|
17
|
+
import "./chunk-RRMAZ2BI.js";
|
|
18
18
|
import "./chunk-OTGFTBLI.js";
|
|
19
19
|
import "./chunk-SV5IJK6K.js";
|
|
20
20
|
import "./chunk-KQHGZWSV.js";
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
22
|
import "./chunk-AUDNYVRC.js";
|
|
23
23
|
import "./chunk-KHCLMKZZ.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-65U5FCBE.js";
|
|
25
|
+
import "./chunk-U5QTKTZE.js";
|
|
26
26
|
import "./chunk-ZNFJWEN4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-NOGH7HCP.js";
|
|
28
28
|
import "./chunk-GMZLP5DV.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-I4A26N52.js";
|
|
30
30
|
import "./chunk-5ZUL4CUO.js";
|
|
31
31
|
import "./chunk-CQ3WA2NE.js";
|
|
32
32
|
import "./chunk-2MBTWINN.js";
|
|
33
33
|
import "./chunk-N7J63Q6C.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-CTGZO35O.js";
|
|
35
35
|
import "./chunk-PUOC4YRO.js";
|
|
36
36
|
import "./chunk-RGNEEJ3Y.js";
|
|
37
37
|
import "./chunk-H6A6X4EK.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-M6NK74VP.js";
|
|
39
|
+
import "./chunk-7MUSNQ6E.js";
|
|
40
|
+
import "./chunk-RVX32KGQ.js";
|
|
41
41
|
import "./chunk-F64B2W3R.js";
|
|
42
42
|
import "./chunk-PSCNXBYA.js";
|
|
43
43
|
import "./chunk-ESRMFY7G.js";
|
|
44
44
|
import "./chunk-BYXBJQAS.js";
|
|
45
45
|
import "./chunk-DWLEOOGR.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-7KVZ5LDQ.js";
|
|
47
47
|
import "./chunk-HNMXYYJR.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-3BXNTXYI.js";
|
|
49
49
|
import "./chunk-W7XHHYWM.js";
|
|
50
50
|
import "./chunk-B7ANJQWZ.js";
|
|
51
51
|
import "./chunk-UAD2WT54.js";
|
|
@@ -58,8 +58,8 @@ import {
|
|
|
58
58
|
} from "./chunk-A7GB5UGH.js";
|
|
59
59
|
import "./chunk-OLZBQWZU.js";
|
|
60
60
|
import "./chunk-Y6ROFCZO.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-CYSYR67N.js";
|
|
62
|
+
import "./chunk-Y3PMXGLH.js";
|
|
63
63
|
import "./chunk-KX6YBIHG.js";
|
|
64
64
|
import "./chunk-QALRKMHF.js";
|
|
65
65
|
import "./chunk-ETZWFV6M.js";
|
|
@@ -9,38 +9,38 @@ import {
|
|
|
9
9
|
requireTokenUser,
|
|
10
10
|
resolveDocKind,
|
|
11
11
|
resolveWriteTargets
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-OFYHCA6W.js";
|
|
13
|
+
import "./chunk-RRMAZ2BI.js";
|
|
14
14
|
import "./chunk-OTGFTBLI.js";
|
|
15
15
|
import "./chunk-SV5IJK6K.js";
|
|
16
16
|
import "./chunk-VF4K2QE6.js";
|
|
17
17
|
import "./chunk-AUDNYVRC.js";
|
|
18
18
|
import "./chunk-KHCLMKZZ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-65U5FCBE.js";
|
|
20
|
+
import "./chunk-U5QTKTZE.js";
|
|
21
21
|
import "./chunk-ZNFJWEN4.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-NOGH7HCP.js";
|
|
23
23
|
import "./chunk-GMZLP5DV.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-I4A26N52.js";
|
|
25
25
|
import "./chunk-5ZUL4CUO.js";
|
|
26
26
|
import "./chunk-CQ3WA2NE.js";
|
|
27
27
|
import "./chunk-2MBTWINN.js";
|
|
28
28
|
import "./chunk-N7J63Q6C.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-CTGZO35O.js";
|
|
30
30
|
import "./chunk-PUOC4YRO.js";
|
|
31
31
|
import "./chunk-RGNEEJ3Y.js";
|
|
32
32
|
import "./chunk-H6A6X4EK.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-M6NK74VP.js";
|
|
34
|
+
import "./chunk-7MUSNQ6E.js";
|
|
35
|
+
import "./chunk-RVX32KGQ.js";
|
|
36
36
|
import "./chunk-F64B2W3R.js";
|
|
37
37
|
import "./chunk-PSCNXBYA.js";
|
|
38
38
|
import "./chunk-ESRMFY7G.js";
|
|
39
39
|
import "./chunk-BYXBJQAS.js";
|
|
40
40
|
import "./chunk-DWLEOOGR.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-7KVZ5LDQ.js";
|
|
42
42
|
import "./chunk-HNMXYYJR.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-3BXNTXYI.js";
|
|
44
44
|
import "./chunk-W7XHHYWM.js";
|
|
45
45
|
import "./chunk-B7ANJQWZ.js";
|
|
46
46
|
import "./chunk-UAD2WT54.js";
|
|
@@ -53,8 +53,8 @@ import {
|
|
|
53
53
|
} from "./chunk-A7GB5UGH.js";
|
|
54
54
|
import "./chunk-OLZBQWZU.js";
|
|
55
55
|
import "./chunk-Y6ROFCZO.js";
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-CYSYR67N.js";
|
|
57
|
+
import "./chunk-Y3PMXGLH.js";
|
|
58
58
|
import "./chunk-KX6YBIHG.js";
|
|
59
59
|
import "./chunk-QALRKMHF.js";
|
|
60
60
|
import "./chunk-ETZWFV6M.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
resolveDocKind,
|
|
17
17
|
resolveWriteTargets,
|
|
18
18
|
writePageRecord
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OFYHCA6W.js";
|
|
20
20
|
import {
|
|
21
21
|
findPotentialSecrets,
|
|
22
22
|
formatSecretFindings
|
|
23
23
|
} from "./chunk-VJVNU77E.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-RRMAZ2BI.js";
|
|
25
25
|
import "./chunk-OTGFTBLI.js";
|
|
26
26
|
import "./chunk-SV5IJK6K.js";
|
|
27
27
|
import "./chunk-VF4K2QE6.js";
|
|
@@ -30,31 +30,31 @@ import {
|
|
|
30
30
|
resolvePageSkillMetadata
|
|
31
31
|
} from "./chunk-AUDNYVRC.js";
|
|
32
32
|
import "./chunk-KHCLMKZZ.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-65U5FCBE.js";
|
|
34
|
+
import "./chunk-U5QTKTZE.js";
|
|
35
35
|
import "./chunk-ZNFJWEN4.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-NOGH7HCP.js";
|
|
37
37
|
import "./chunk-GMZLP5DV.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-I4A26N52.js";
|
|
39
39
|
import "./chunk-5ZUL4CUO.js";
|
|
40
40
|
import "./chunk-CQ3WA2NE.js";
|
|
41
41
|
import "./chunk-2MBTWINN.js";
|
|
42
42
|
import "./chunk-N7J63Q6C.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-CTGZO35O.js";
|
|
44
44
|
import "./chunk-PUOC4YRO.js";
|
|
45
45
|
import "./chunk-RGNEEJ3Y.js";
|
|
46
46
|
import "./chunk-H6A6X4EK.js";
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-M6NK74VP.js";
|
|
48
|
+
import "./chunk-7MUSNQ6E.js";
|
|
49
|
+
import "./chunk-RVX32KGQ.js";
|
|
50
50
|
import "./chunk-F64B2W3R.js";
|
|
51
51
|
import "./chunk-PSCNXBYA.js";
|
|
52
52
|
import "./chunk-ESRMFY7G.js";
|
|
53
53
|
import "./chunk-BYXBJQAS.js";
|
|
54
54
|
import "./chunk-DWLEOOGR.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-7KVZ5LDQ.js";
|
|
56
56
|
import "./chunk-HNMXYYJR.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-3BXNTXYI.js";
|
|
58
58
|
import "./chunk-W7XHHYWM.js";
|
|
59
59
|
import "./chunk-B7ANJQWZ.js";
|
|
60
60
|
import "./chunk-UAD2WT54.js";
|
|
@@ -67,8 +67,8 @@ import {
|
|
|
67
67
|
} from "./chunk-A7GB5UGH.js";
|
|
68
68
|
import "./chunk-OLZBQWZU.js";
|
|
69
69
|
import "./chunk-Y6ROFCZO.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-CYSYR67N.js";
|
|
71
|
+
import "./chunk-Y3PMXGLH.js";
|
|
72
72
|
import "./chunk-KX6YBIHG.js";
|
|
73
73
|
import "./chunk-QALRKMHF.js";
|
|
74
74
|
import "./chunk-ETZWFV6M.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
getModelPricingForModel,
|
|
9
9
|
getPrices,
|
|
10
10
|
hasExplicitAgentPricing
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4DPP773Q.js";
|
|
12
12
|
import "./chunk-VIDPVFP3.js";
|
|
13
13
|
import "./chunk-AGGIDPCZ.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3BXNTXYI.js";
|
|
15
15
|
import "./chunk-W7XHHYWM.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-Y3PMXGLH.js";
|
|
17
17
|
import "./chunk-WWC7I6TA.js";
|
|
18
18
|
import "./chunk-QSJ3HFEF.js";
|
|
19
19
|
import "./chunk-KUG52IAP.js";
|
|
@@ -27,13 +27,13 @@ import {
|
|
|
27
27
|
removeTransientMessage,
|
|
28
28
|
resolveHandleSendMessageContext,
|
|
29
29
|
selectAllMsgs
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2VMY5RLA.js";
|
|
31
31
|
import "./chunk-MC4XLIJ7.js";
|
|
32
32
|
import "./chunk-YYLHWIW6.js";
|
|
33
33
|
import "./chunk-6O4IK4V2.js";
|
|
34
34
|
import {
|
|
35
35
|
streamAgentChatTurn
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-SNVNLFVK.js";
|
|
37
37
|
import "./chunk-D76D3RTR.js";
|
|
38
38
|
import "./chunk-5RGU3J7P.js";
|
|
39
39
|
import "./chunk-M76ECQRD.js";
|
|
@@ -45,21 +45,26 @@ import {
|
|
|
45
45
|
import "./chunk-YDH3FDFQ.js";
|
|
46
46
|
import "./chunk-MX574M24.js";
|
|
47
47
|
import "./chunk-AGGIDPCZ.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-RVX32KGQ.js";
|
|
49
49
|
import "./chunk-F64B2W3R.js";
|
|
50
50
|
import "./chunk-PSCNXBYA.js";
|
|
51
51
|
import "./chunk-ESRMFY7G.js";
|
|
52
52
|
import "./chunk-BYXBJQAS.js";
|
|
53
53
|
import "./chunk-DWLEOOGR.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-7KVZ5LDQ.js";
|
|
55
55
|
import "./chunk-HNMXYYJR.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-3BXNTXYI.js";
|
|
57
57
|
import "./chunk-W7XHHYWM.js";
|
|
58
58
|
import "./chunk-B7ANJQWZ.js";
|
|
59
59
|
import "./chunk-UAD2WT54.js";
|
|
60
60
|
import "./chunk-HNGRBWYF.js";
|
|
61
|
-
import
|
|
62
|
-
|
|
61
|
+
import {
|
|
62
|
+
canonicalizeToolName
|
|
63
|
+
} from "./chunk-O6OSWFZQ.js";
|
|
64
|
+
import "./chunk-CYSYR67N.js";
|
|
65
|
+
import {
|
|
66
|
+
PLATFORM_LLM_BUSY_USER_MESSAGE
|
|
67
|
+
} from "./chunk-Y3PMXGLH.js";
|
|
63
68
|
import {
|
|
64
69
|
selectCurrentServer
|
|
65
70
|
} from "./chunk-3IYMTWYZ.js";
|
|
@@ -101,22 +106,47 @@ import "./chunk-G3SUCT4W.js";
|
|
|
101
106
|
import "./chunk-4VNS5WPM.js";
|
|
102
107
|
|
|
103
108
|
// packages/ai/agent/serverOwnedWebForegroundEligibility.ts
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
if (
|
|
109
|
+
var FIRST_DURABLE_WEB_TOOL = "ask_user";
|
|
110
|
+
function readToolName(value) {
|
|
111
|
+
if (typeof value === "string") {
|
|
112
|
+
const name2 = value.trim();
|
|
113
|
+
return name2 || null;
|
|
114
|
+
}
|
|
115
|
+
if (!value || typeof value !== "object") return null;
|
|
116
|
+
const record = value;
|
|
117
|
+
const candidate = typeof record.name === "string" && record.name || typeof record.toolName === "string" && record.toolName || typeof record.function?.name === "string" && record.function.name || "";
|
|
118
|
+
const name = candidate.trim();
|
|
119
|
+
return name || null;
|
|
120
|
+
}
|
|
121
|
+
function configuredToolNames(agent) {
|
|
122
|
+
const values = [];
|
|
123
|
+
if (Array.isArray(agent.tools)) values.push(...agent.tools);
|
|
124
|
+
if (Array.isArray(agent.toolNames)) values.push(...agent.toolNames);
|
|
107
125
|
const policies = [
|
|
108
126
|
agent.runtimeToolPolicy,
|
|
109
127
|
agent.runtimeBinding?.runtimeToolPolicy,
|
|
110
128
|
agent.runtimeBinding?.runtimeToolPolicySnapshot
|
|
111
129
|
];
|
|
112
|
-
|
|
113
|
-
if (!policy || typeof policy !== "object")
|
|
114
|
-
if (Array.isArray(policy.agentTools)
|
|
115
|
-
if (Array.isArray(policy.runtimeTools)
|
|
116
|
-
|
|
117
|
-
|
|
130
|
+
for (const policy of policies) {
|
|
131
|
+
if (!policy || typeof policy !== "object") continue;
|
|
132
|
+
if (Array.isArray(policy.agentTools)) values.push(...policy.agentTools);
|
|
133
|
+
if (Array.isArray(policy.runtimeTools)) values.push(...policy.runtimeTools);
|
|
134
|
+
}
|
|
135
|
+
return [...new Set(values.map(readToolName).filter((name) => !!name))];
|
|
136
|
+
}
|
|
137
|
+
function hasSupportedDurableToolSurface(agent) {
|
|
138
|
+
const policies = [
|
|
139
|
+
agent.runtimeToolPolicy,
|
|
140
|
+
agent.runtimeBinding?.runtimeToolPolicy,
|
|
141
|
+
agent.runtimeBinding?.runtimeToolPolicySnapshot
|
|
142
|
+
];
|
|
143
|
+
if (policies.some(
|
|
144
|
+
(policy) => policy && typeof policy === "object" && (policy.shell?.enabled === true || policy.workspace?.mode === "lease")
|
|
145
|
+
)) {
|
|
118
146
|
return false;
|
|
119
|
-
}
|
|
147
|
+
}
|
|
148
|
+
const names = configuredToolNames(agent);
|
|
149
|
+
return names.length === 0 || names.every((name) => name === FIRST_DURABLE_WEB_TOOL);
|
|
120
150
|
}
|
|
121
151
|
function shouldUseServerOwnedWebForegroundTurn(input) {
|
|
122
152
|
if (input.isDesktopApp) return false;
|
|
@@ -127,7 +157,7 @@ function shouldUseServerOwnedWebForegroundTurn(input) {
|
|
|
127
157
|
if (agent.useServerProxy === false) return false;
|
|
128
158
|
if (agent.apiSource === "cli") return false;
|
|
129
159
|
if (agent.runtimeBinding?.machineId) return false;
|
|
130
|
-
if (
|
|
160
|
+
if (!hasSupportedDurableToolSurface(agent)) return false;
|
|
131
161
|
const runtimeOptions = input.runtimeOptions;
|
|
132
162
|
if (runtimeOptions?.extraTools?.length) return false;
|
|
133
163
|
if (runtimeOptions?.editingTarget) return false;
|
|
@@ -139,6 +169,87 @@ function shouldUseServerOwnedWebForegroundTurn(input) {
|
|
|
139
169
|
return true;
|
|
140
170
|
}
|
|
141
171
|
|
|
172
|
+
// packages/ai/agent/serverOwnedAskUserProjection.ts
|
|
173
|
+
function parseToolArgs(raw) {
|
|
174
|
+
if (typeof raw !== "string" || !raw.trim()) return {};
|
|
175
|
+
try {
|
|
176
|
+
const parsed = JSON.parse(raw);
|
|
177
|
+
return parsed && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {};
|
|
178
|
+
} catch {
|
|
179
|
+
return {};
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
function createServerOwnedAskUserProjection(args) {
|
|
183
|
+
const transientByCallId = /* @__PURE__ */ new Map();
|
|
184
|
+
const handlePayload = (payload) => {
|
|
185
|
+
if (!payload || typeof payload !== "object") return;
|
|
186
|
+
if (payload.type === "assistant_tool_calls") {
|
|
187
|
+
const calls = Array.isArray(payload.tool_calls) ? payload.tool_calls : [];
|
|
188
|
+
for (const call of calls) {
|
|
189
|
+
const callId = typeof call?.id === "string" ? call.id : "";
|
|
190
|
+
const toolName = canonicalizeToolName(call?.function?.name ?? "");
|
|
191
|
+
if (!callId || toolName !== "ask_user") continue;
|
|
192
|
+
if (transientByCallId.has(callId)) continue;
|
|
193
|
+
const { key, messageId } = createDialogMessageKeyAndId(args.dialogId);
|
|
194
|
+
const input = parseToolArgs(call?.function?.arguments);
|
|
195
|
+
const message = {
|
|
196
|
+
id: messageId,
|
|
197
|
+
dialogId: args.dialogId,
|
|
198
|
+
dbKey: key,
|
|
199
|
+
role: "tool",
|
|
200
|
+
// Pending args, not a tool result: the panel renders the question card
|
|
201
|
+
// from `content`, so a single-question call (question + choices, no
|
|
202
|
+
// `questions`) would otherwise render as an empty row until the
|
|
203
|
+
// tool_result arrives. The canonical payload replaces this on done.
|
|
204
|
+
content: JSON.stringify({ type: "ask_user", ...input }),
|
|
205
|
+
isStreaming: true,
|
|
206
|
+
toolName: "ask_user",
|
|
207
|
+
toolCallId: callId,
|
|
208
|
+
toolPayload: {
|
|
209
|
+
toolName: "ask_user",
|
|
210
|
+
status: "running",
|
|
211
|
+
input,
|
|
212
|
+
rawToolCall: call,
|
|
213
|
+
summary: ""
|
|
214
|
+
},
|
|
215
|
+
...args.messageMetadata
|
|
216
|
+
};
|
|
217
|
+
transientByCallId.set(callId, message);
|
|
218
|
+
args.dispatch(messageStreaming(message));
|
|
219
|
+
}
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
if (payload.type === "tool_result") {
|
|
223
|
+
const callId = typeof payload.toolCallId === "string" ? payload.toolCallId : "";
|
|
224
|
+
const existing = transientByCallId.get(callId);
|
|
225
|
+
if (!existing || canonicalizeToolName(payload.toolName ?? existing.toolName) !== "ask_user") {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
const message = {
|
|
229
|
+
...existing,
|
|
230
|
+
content: typeof payload.content === "string" ? payload.content : "",
|
|
231
|
+
// Keep read-only until canonical server persistence is reloaded.
|
|
232
|
+
isStreaming: true,
|
|
233
|
+
toolPayload: {
|
|
234
|
+
...existing.toolPayload ?? {},
|
|
235
|
+
status: "running"
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
transientByCallId.set(callId, message);
|
|
239
|
+
args.dispatch(messageStreaming(message));
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
const cleanup = () => {
|
|
243
|
+
for (const message of transientByCallId.values()) {
|
|
244
|
+
args.dispatch(
|
|
245
|
+
removeTransientMessage({ id: message.id, dialogId: args.dialogId })
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
transientByCallId.clear();
|
|
249
|
+
};
|
|
250
|
+
return { handlePayload, cleanup, transientByCallId };
|
|
251
|
+
}
|
|
252
|
+
|
|
142
253
|
// packages/ai/agent/serverOwnedWebForegroundTurn.ts
|
|
143
254
|
async function canRunServerOwnedWebForegroundTurn(args, thunk) {
|
|
144
255
|
let agentConfig = args.agentConfig ?? void 0;
|
|
@@ -181,10 +292,20 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
181
292
|
if (!userInput.trim()) {
|
|
182
293
|
throw new Error("Server-owned foreground turn requires text input");
|
|
183
294
|
}
|
|
295
|
+
const userId = selectIdentityUserId(thunk.getState());
|
|
184
296
|
const { key: transientKey, messageId: transientId } = createDialogMessageKeyAndId(dialogId);
|
|
185
297
|
const controller = new AbortController();
|
|
186
298
|
const loopKey = `server-owned:${dialogId}:${transientId}`;
|
|
187
299
|
let accumulated = "";
|
|
300
|
+
const askUserProjection = createServerOwnedAskUserProjection({
|
|
301
|
+
dialogId,
|
|
302
|
+
dispatch: thunk.dispatch,
|
|
303
|
+
messageMetadata: {
|
|
304
|
+
cybotKey: args.agentKey,
|
|
305
|
+
agentKey: args.agentKey,
|
|
306
|
+
userId
|
|
307
|
+
}
|
|
308
|
+
});
|
|
188
309
|
thunk.dispatch(
|
|
189
310
|
addActiveController({
|
|
190
311
|
messageId: loopKey,
|
|
@@ -201,7 +322,7 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
201
322
|
content: "",
|
|
202
323
|
cybotKey: args.agentKey,
|
|
203
324
|
agentKey: args.agentKey,
|
|
204
|
-
userId
|
|
325
|
+
userId
|
|
205
326
|
})
|
|
206
327
|
);
|
|
207
328
|
const body = JSON.stringify({
|
|
@@ -219,7 +340,8 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
219
340
|
"streaming",
|
|
220
341
|
"dialog-ui",
|
|
221
342
|
"durable-foreground",
|
|
222
|
-
"client-user-prepersisted"
|
|
343
|
+
"client-user-prepersisted",
|
|
344
|
+
"ask-user-tool-card"
|
|
223
345
|
],
|
|
224
346
|
...args.dialogConfig.agentMode === "auto" ? { dialogAgentMode: "auto" } : { dialogAgentMode: "fixed" }
|
|
225
347
|
},
|
|
@@ -278,6 +400,7 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
278
400
|
if (payload?.type === "error") {
|
|
279
401
|
return { reject: payload.message || "Agent execution failed" };
|
|
280
402
|
}
|
|
403
|
+
askUserProjection.handlePayload(payload);
|
|
281
404
|
if (payload?.type === "text" && typeof payload.content === "string") {
|
|
282
405
|
accumulated += payload.content;
|
|
283
406
|
thunk.dispatch(
|
|
@@ -289,7 +412,7 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
289
412
|
content: accumulated,
|
|
290
413
|
cybotKey: args.agentKey,
|
|
291
414
|
agentKey: args.agentKey,
|
|
292
|
-
userId
|
|
415
|
+
userId
|
|
293
416
|
})
|
|
294
417
|
);
|
|
295
418
|
}
|
|
@@ -304,6 +427,7 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
304
427
|
if (!outcome.sawDone) {
|
|
305
428
|
return { serverOwned: true, detached: true };
|
|
306
429
|
}
|
|
430
|
+
askUserProjection.cleanup();
|
|
307
431
|
thunk.dispatch(removeTransientMessage({ id: transientId, dialogId }));
|
|
308
432
|
await thunk.dispatch(initMsgs({ dialogId })).unwrap();
|
|
309
433
|
return { serverOwned: true };
|
|
@@ -314,6 +438,7 @@ async function runServerOwnedWebForegroundTurn(args, thunk) {
|
|
|
314
438
|
dialogKey
|
|
315
439
|
})
|
|
316
440
|
);
|
|
441
|
+
askUserProjection.cleanup();
|
|
317
442
|
thunk.dispatch(removeTransientMessage({ id: transientId, dialogId }));
|
|
318
443
|
}
|
|
319
444
|
}
|
|
@@ -419,6 +544,10 @@ function parseSendError(errorInput) {
|
|
|
419
544
|
domain = first ? asString(first.domain) : void 0;
|
|
420
545
|
}
|
|
421
546
|
const stage = resolveErrorStage(fullErrorText);
|
|
547
|
+
const isPlatformBusy = fullErrorText.includes(PLATFORM_LLM_BUSY_USER_MESSAGE) || /PLATFORM_LLM_BUSY/i.test(fullErrorText);
|
|
548
|
+
const busyUpstreamDetail = fullErrorText.match(
|
|
549
|
+
/nolo\s+(?:HTTP\s*\d{3}|[A-Za-z]+Error)/
|
|
550
|
+
)?.[0];
|
|
422
551
|
let kind = "unknown";
|
|
423
552
|
let retryable = true;
|
|
424
553
|
const isLocalConnRefused = /ECONNREFUSED/i.test(fullErrorText) && (/127\.0\.0\.1/i.test(fullErrorText) || /localhost/i.test(fullErrorText));
|
|
@@ -431,6 +560,9 @@ function parseSendError(errorInput) {
|
|
|
431
560
|
kind = "context_overflow";
|
|
432
561
|
retryable = true;
|
|
433
562
|
contextActions = [...CONTEXT_OVERFLOW_ACTIONS];
|
|
563
|
+
} else if (isPlatformBusy) {
|
|
564
|
+
kind = "server";
|
|
565
|
+
retryable = true;
|
|
434
566
|
} else if (statusCode === 429) {
|
|
435
567
|
kind = "rate_limit";
|
|
436
568
|
retryable = true;
|
|
@@ -495,7 +627,9 @@ function parseSendError(errorInput) {
|
|
|
495
627
|
parts.push(`\u8BA4\u8BC1\u6216\u6743\u9650\u6821\u9A8C\u5931\u8D25${status ? ` (HTTP ${status})` : ""}`);
|
|
496
628
|
break;
|
|
497
629
|
case "server":
|
|
498
|
-
parts.push(
|
|
630
|
+
parts.push(
|
|
631
|
+
isPlatformBusy ? `\u5E73\u53F0\u670D\u52A1\u7E41\u5FD9${busyUpstreamDetail ? `\uFF08\u4E0A\u6E38 ${busyUpstreamDetail}\uFF09` : ""}` : `\u670D\u52A1\u6682\u65F6\u4E0D\u53EF\u7528${status ? ` (HTTP ${status})` : ""}`
|
|
632
|
+
);
|
|
499
633
|
break;
|
|
500
634
|
case "context_overflow":
|
|
501
635
|
parts.push(`\u4E0A\u4E0B\u6587\u8D85\u51FA\u6A21\u578B\u7A97\u53E3${status ? ` (HTTP ${status})` : ""}`);
|
|
@@ -548,7 +682,7 @@ function parseSendError(errorInput) {
|
|
|
548
682
|
actionHint = "\u8BF7\u68C0\u67E5\u8D26\u53F7\u767B\u5F55\u72B6\u6001\u6216 API \u5BC6\u94A5\u914D\u7F6E";
|
|
549
683
|
break;
|
|
550
684
|
case "server":
|
|
551
|
-
actionHint = "\u670D\u52A1\u7AEF\u53D1\u751F\u77AC\u65F6\u5F02\u5E38\uFF0C\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D";
|
|
685
|
+
actionHint = isPlatformBusy ? "\u5E73\u53F0\u7B97\u529B\u6682\u65F6\u7D27\u5F20\uFF0C\u7A0D\u5019\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D" : "\u670D\u52A1\u7AEF\u53D1\u751F\u77AC\u65F6\u5F02\u5E38\uFF0C\u70B9\u51FB\u91CD\u8BD5\u901A\u5E38\u53EF\u6062\u590D";
|
|
552
686
|
break;
|
|
553
687
|
case "unknown":
|
|
554
688
|
default:
|
package/index.js
CHANGED
|
@@ -71,8 +71,8 @@ async function runScript(script, forwardedArgs, env) {
|
|
|
71
71
|
return proc.exited;
|
|
72
72
|
}
|
|
73
73
|
async function launchTuiWorkspace(args2) {
|
|
74
|
-
const { startTuiWorkspace } = await import("./readlineWorkspace-
|
|
75
|
-
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-
|
|
74
|
+
const { startTuiWorkspace } = await import("./readlineWorkspace-XDHXGQ4Z.js");
|
|
75
|
+
const { createTuiSummaryLlmCaller } = await import("./tuiSummaryLlmCaller-7KLLDP22.js");
|
|
76
76
|
return startTuiWorkspace({
|
|
77
77
|
...args2,
|
|
78
78
|
// Big dialogs produce ~300KB+ summary prompts that routinely take 25–30s+;
|
|
@@ -81,7 +81,7 @@ async function launchTuiWorkspace(args2) {
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
async function main() {
|
|
84
|
-
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-
|
|
84
|
+
const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-I7INNYGB.js");
|
|
85
85
|
const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-ZGOFORWV.js");
|
|
86
86
|
const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-2Y7BALTO.js");
|
|
87
87
|
const runtimeEnv = {
|