nolo-cli 0.30.0-alpha.1 → 0.30.0-alpha.10
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-VBHHG7LT.js → _executeModel-5ARVVUIK.js} +29 -28
- package/{action-FENWPT3C.js → action-HI3VRQLP.js} +7 -7
- package/{addContentAction-Z5S5ZQ7I.js → addContentAction-NCURJ6PK.js} +6 -6
- package/{addDialogAgentAction-VUNVD2XR.js → addDialogAgentAction-RCY4ECF4.js} +5 -5
- package/{agentDeleteCommand-LLGZXUYJ.js → agentDeleteCommand-5Q6TDCJU.js} +23 -22
- package/{agentEmailCommands-LC2FPN6G.js → agentEmailCommands-DSX4BJ2I.js} +34 -33
- package/{agentListCommands-A6OBQ3QX.js → agentListCommands-S66HL5RO.js} +25 -24
- package/{agentMachineCommands-4O4Q5B5X.js → agentMachineCommands-ULCQ5ZNN.js} +23 -22
- package/{agentRecordCommands-W22RIQRV.js → agentRecordCommands-2AA3GEGO.js} +33 -32
- package/{agentRunCommand-V4OBU4FB.js → agentRunCommand-3KOT77XY.js} +33 -32
- package/{agentRuntimeLocal-I57YSGH4.js → agentRuntimeLocal-7TMDJD4S.js} +20 -19
- package/{agentSlice-3ZHY7RAO.js → agentSlice-6IQRQZX3.js} +6 -6
- package/{appDeleteCommands-DJJF466K.js → appDeleteCommands-UUDIWLNE.js} +24 -23
- package/{appDeployCommands-WJZGIOEZ.js → appDeployCommands-CO6SZ7YP.js} +24 -23
- package/{appDeployStatusCommands-ICYXUJNO.js → appDeployStatusCommands-QEVKVECJ.js} +24 -23
- package/{appGetCommands-UOCWYJPV.js → appGetCommands-3YSCCLK4.js} +24 -23
- package/{appListCommands-EOKWTXPW.js → appListCommands-FBJAFZKK.js} +24 -23
- package/{authCommand-H5KE7K7K.js → authCommand-3ADNCFKD.js} +5 -5
- package/{chunk-G6VITLCZ.js → chunk-2CYGIPJH.js} +2 -2
- package/{chunk-UTQZ73QQ.js → chunk-2HQ4OG6N.js} +1 -1
- package/{chunk-ZFTCLBEX.js → chunk-2IJAKBK2.js} +3 -1
- package/{chunk-DI6MXJK5.js → chunk-2SOQY5L6.js} +16 -14
- package/{chunk-Q24P6TUS.js → chunk-43EPBPZ2.js} +1 -1
- package/{chunk-GAGUBI42.js → chunk-4F77PJBR.js} +5 -5
- package/{chunk-R5V5G73M.js → chunk-5RDLGLAP.js} +0 -1
- package/{chunk-FS5TTXPS.js → chunk-6JH2DF7J.js} +3 -3
- package/{chunk-HI7QZNWX.js → chunk-ARPAHODF.js} +4 -4
- package/{chunk-IZ3CBMD5.js → chunk-ATK5WJOA.js} +4 -4
- package/{chunk-2XM5KUNE.js → chunk-BIPRFBC2.js} +2 -2
- package/{chunk-OYK7PA5U.js → chunk-CYRMUTGB.js} +6 -6
- package/{chunk-T3Y5EMJS.js → chunk-EBNSAABL.js} +1 -1
- package/{chunk-CV6I4HBA.js → chunk-EDWM6D6L.js} +1 -1
- package/{chunk-VSTUQGLT.js → chunk-EIQDGAAE.js} +147 -1
- package/{chunk-G5JHHUAK.js → chunk-F3MP7CP6.js} +1 -1
- package/{chunk-446VANPP.js → chunk-G5GVZAXF.js} +4 -4
- package/{chunk-UKC5HU2C.js → chunk-GKXS4F2I.js} +5 -5
- package/{chunk-66O5MZYH.js → chunk-GVPMJPCT.js} +1 -1
- package/{chunk-SWOTB2TX.js → chunk-IPSPETAL.js} +40 -33
- package/{chunk-TJYWZ3LO.js → chunk-J3LHGBNO.js} +2 -2
- package/{chunk-DKRT67FG.js → chunk-KGEVMUMI.js} +3 -3
- package/{chunk-A4JDTA5T.js → chunk-LAXMH7JY.js} +6 -6
- package/chunk-LEVCXTDN.js +5558 -0
- package/{chunk-3RIWR23B.js → chunk-N2IX3ZYK.js} +1 -1
- package/{chunk-W2YKDXT7.js → chunk-NZBH7FTB.js} +1 -1
- package/{chunk-7CD24PU4.js → chunk-OIW2RJ74.js} +5 -5
- package/{chunk-YWGSCF37.js → chunk-PACNSC37.js} +1 -1
- package/{chunk-56IUA7RU.js → chunk-PIC6Z7VI.js} +1 -1
- package/{chunk-MMCVBEAD.js → chunk-Q243PXRU.js} +25 -23
- package/{chunk-SZ5CBYMZ.js → chunk-QBOW6RZN.js} +2 -2
- package/{chunk-DCWBP2O7.js → chunk-R5Y4XELF.js} +10 -10
- package/{chunk-HLG6GAUD.js → chunk-RWJPDKPB.js} +1 -1
- package/{chunk-GVKTKT3O.js → chunk-S2BMRBR2.js} +3 -3
- package/{chunk-QLV2GKU5.js → chunk-T4X4GCYT.js} +7 -5
- package/{chunk-L3VQOVKK.js → chunk-TXVSNFHC.js} +3 -3
- package/{chunk-YLADSPDU.js → chunk-V54H24CQ.js} +2 -2
- package/{chunk-KW47OSRJ.js → chunk-VQ4QPCKE.js} +50 -70
- package/{chunk-KWKD3BCC.js → chunk-W3UDJJMA.js} +11 -11
- package/{chunk-XD5NQEOH.js → chunk-WTPC3XD4.js} +1 -1
- package/{chunk-MEUZFIAJ.js → chunk-XORE26Z4.js} +1 -1
- package/chunk-YLC42PIE.js +7889 -0
- package/{chunk-BOL2D2JW.js → chunk-ZJ2WITOO.js} +2 -2
- package/{chunk-DWQNDGO7.js → chunk-ZJH3LKEW.js} +2 -2
- package/{createAgentAutomationAction-3GMH6ORX.js → createAgentAutomationAction-EYNYY2LB.js} +12 -11
- package/{createDialogAction-R5MCL4RE.js → createDialogAction-OUIRWYZP.js} +13 -12
- package/{createPageAction-QYTG656R.js → createPageAction-2I5PHJFF.js} +12 -11
- package/{dbSlice-OBV7VFCF.js → dbSlice-BBL3PEVW.js} +5 -5
- package/{deleteFile-AC45HYSM.js → deleteFile-RJTEPOT4.js} +3 -3
- package/{dialogCommands-NUQGIXVZ.js → dialogCommands-5CL4QYQ7.js} +24 -23
- package/{dialogSlice-CFDECXEU.js → dialogSlice-EKKVFKBJ.js} +11 -11
- package/{docCreateCommands-UNFCXB5N.js → docCreateCommands-QHCLYGNW.js} +23 -22
- package/{docDeleteCommands-NG5IVKE5.js → docDeleteCommands-DS6KOU6N.js} +24 -23
- package/{docReadCommands-6J7MUUX6.js → docReadCommands-FRI5DAKH.js} +23 -22
- package/{docStore-MZZWJM4F.js → docStore-V7EJS4PX.js} +13 -12
- package/{docUpdateCommands-6AW3VZOX.js → docUpdateCommands-RQO5ZTXT.js} +23 -22
- package/{getPricing-XQYSSVV6.js → getPricing-67TQVKFV.js} +2 -2
- package/{handleSendMessageAction-IU2QNTLM.js → handleSendMessageAction-KCF7KII4.js} +11 -11
- package/index.js +58 -58
- package/{machineCommands-Z2QEWTHZ.js → machineCommands-IAGAKTHV.js} +32 -31
- package/{machineWsRunDispatch-SJTYHZHN.js → machineWsRunDispatch-JGKC2HEK.js} +32 -31
- package/package.json +1 -1
- package/{read-QK7ZRX6G.js → read-64OQDO3I.js} +3 -3
- package/{readDocTool-EYDMVRBL.js → readDocTool-MXM3T6PE.js} +1 -1
- package/{readlineWorkspace-EY3BPXIU.js → readlineWorkspace-5AQHHIBK.js} +94 -56
- package/{removeDialogAgentAction-TBW3UZJW.js → removeDialogAgentAction-NEKVAMSH.js} +7 -7
- package/{runAgentClientLoop-N3YDLTMS.js → runAgentClientLoop-6OGPS6SI.js} +25 -24
- package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-WTOHQDIV.js} +6 -6
- package/{setPrimaryDialogAgentAction-FQ5R3EFJ.js → setPrimaryDialogAgentAction-LDJOYC4F.js} +7 -7
- package/{settingSlice-JKKV2T7O.js → settingSlice-4M37TN7V.js} +6 -6
- package/{spaceCommands-R6AEQNLG.js → spaceCommands-VTDNKTSF.js} +207 -25
- package/{spaceSlice-MCH7RLLP.js → spaceSlice-LGUZMB7Y.js} +12 -11
- package/{streamAgentChatTurn-Q4U2CVMI.js → streamAgentChatTurn-TIGCZUNZ.js} +30 -28
- package/{switchDialogAgentAction-QQGVE4SL.js → switchDialogAgentAction-XVWGKR2Z.js} +5 -5
- package/{tableCommands-PRJNWN6Q.js → tableCommands-RJZ3V4TF.js} +1 -1
- package/{tools-Y3UBLLYW.js → tools-BQAOPYMR.js} +20 -19
- package/{tuiSummaryLlmCaller-4474IBTI.js → tuiSummaryLlmCaller-YQBN5IMG.js} +3 -3
- package/{updateDialogTitleAction-3J7GH67I.js → updateDialogTitleAction-E6HMEDPH.js} +15 -13
- package/chunk-THTAR67C.js +0 -16338
|
@@ -11,61 +11,62 @@ import {
|
|
|
11
11
|
runtimeWorkspacePermissionPolicy,
|
|
12
12
|
scopePermissionPolicyToRuntimeWorkspace,
|
|
13
13
|
summarizeAgentConfigForLogs
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-ARPAHODF.js";
|
|
15
|
+
import "./chunk-Q243PXRU.js";
|
|
16
|
+
import "./chunk-EBNSAABL.js";
|
|
17
17
|
import "./chunk-4SAV7BD7.js";
|
|
18
18
|
import "./chunk-JDSUTNYY.js";
|
|
19
19
|
import "./chunk-WJRJDX2W.js";
|
|
20
20
|
import "./chunk-LM6IYQ3F.js";
|
|
21
21
|
import "./chunk-JBTJAPUF.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GVPMJPCT.js";
|
|
23
23
|
import "./chunk-K6QEHQZ3.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-GKXS4F2I.js";
|
|
25
25
|
import "./chunk-ZNFJWEN4.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XORE26Z4.js";
|
|
27
27
|
import "./chunk-ATNTHIZI.js";
|
|
28
28
|
import "./chunk-OIQPORYI.js";
|
|
29
29
|
import "./chunk-T27IEBNQ.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-NZBH7FTB.js";
|
|
31
|
+
import "./chunk-VQ4QPCKE.js";
|
|
32
32
|
import "./chunk-N7J63Q6C.js";
|
|
33
33
|
import "./chunk-PJY5AH5A.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-J3LHGBNO.js";
|
|
35
|
+
import "./chunk-OIW2RJ74.js";
|
|
36
36
|
import "./chunk-D34RI6NI.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-WTPC3XD4.js";
|
|
38
38
|
import "./chunk-4PWB7JRR.js";
|
|
39
39
|
import "./chunk-2MBTWINN.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-IPSPETAL.js";
|
|
41
41
|
import "./chunk-Z5MXSEOJ.js";
|
|
42
42
|
import "./chunk-KXKQO4Q6.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-2HQ4OG6N.js";
|
|
44
44
|
import "./chunk-KQHGZWSV.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-CYRMUTGB.js";
|
|
46
|
+
import "./chunk-6JH2DF7J.js";
|
|
47
|
+
import "./chunk-43EPBPZ2.js";
|
|
48
|
+
import "./chunk-F3MP7CP6.js";
|
|
49
49
|
import "./chunk-SWYMCHM7.js";
|
|
50
50
|
import "./chunk-44HACRCK.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-T4X4GCYT.js";
|
|
52
52
|
import "./chunk-DCDL3GC4.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-PACNSC37.js";
|
|
54
54
|
import "./chunk-3LY4F7SV.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-YLC42PIE.js";
|
|
56
|
+
import "./chunk-LEVCXTDN.js";
|
|
56
57
|
import "./chunk-OB6FBSH3.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-ATK5WJOA.js";
|
|
59
|
+
import "./chunk-4F77PJBR.js";
|
|
59
60
|
import "./chunk-JZPBVBIY.js";
|
|
60
61
|
import "./chunk-5RGU3J7P.js";
|
|
61
62
|
import "./chunk-M76ECQRD.js";
|
|
62
63
|
import "./chunk-HNMXYYJR.js";
|
|
63
64
|
import "./chunk-DWLEOOGR.js";
|
|
64
65
|
import "./chunk-3ASDTTEI.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-V54H24CQ.js";
|
|
66
67
|
import "./chunk-WTGCTVJG.js";
|
|
67
68
|
import "./chunk-CWMSB67P.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-EIQDGAAE.js";
|
|
69
70
|
import "./chunk-ZHXJ6M7T.js";
|
|
70
71
|
import "./chunk-CAENRKNJ.js";
|
|
71
72
|
import "./chunk-63W5N6P3.js";
|
|
@@ -73,16 +74,16 @@ import "./chunk-VF4K2QE6.js";
|
|
|
73
74
|
import "./chunk-IDZTNRP2.js";
|
|
74
75
|
import "./chunk-A7GB5UGH.js";
|
|
75
76
|
import "./chunk-OLZBQWZU.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-KGEVMUMI.js";
|
|
78
|
+
import "./chunk-G5GVZAXF.js";
|
|
78
79
|
import "./chunk-KX6YBIHG.js";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-LAXMH7JY.js";
|
|
81
|
+
import "./chunk-ZJ2WITOO.js";
|
|
81
82
|
import "./chunk-QSJ3HFEF.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-ZJH3LKEW.js";
|
|
83
84
|
import "./chunk-TOW4E763.js";
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-2IJAKBK2.js";
|
|
86
|
+
import "./chunk-5RDLGLAP.js";
|
|
86
87
|
import "./chunk-LCBAMY2M.js";
|
|
87
88
|
import "./chunk-4SN6J65J.js";
|
|
88
89
|
import "./chunk-CF7PE763.js";
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZJH3LKEW.js";
|
|
4
4
|
import "./chunk-TOW4E763.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-2IJAKBK2.js";
|
|
6
|
+
import "./chunk-5RDLGLAP.js";
|
|
7
7
|
import "./chunk-LCBAMY2M.js";
|
|
8
8
|
import "./chunk-4SN6J65J.js";
|
|
9
9
|
import "./chunk-CF7PE763.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
normalizeDialogRecord,
|
|
4
4
|
readDialogSnapshot,
|
|
5
5
|
sortDialogs
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TXVSNFHC.js";
|
|
7
7
|
import {
|
|
8
8
|
ANSI_ESCAPE_REGEX,
|
|
9
9
|
COLLAPSED_PASTE_PLACEHOLDER_RE,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
visibleWidth,
|
|
58
58
|
wrapTextToLines,
|
|
59
59
|
wrapTranscriptLine
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-W3UDJJMA.js";
|
|
61
61
|
import "./chunk-AOS5IN2I.js";
|
|
62
62
|
import "./chunk-6HYVJV7B.js";
|
|
63
63
|
import {
|
|
@@ -66,12 +66,12 @@ import {
|
|
|
66
66
|
listRemoteAgents,
|
|
67
67
|
listRemoteAgentsAcrossServers,
|
|
68
68
|
normalizeListedAgent
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-S2BMRBR2.js";
|
|
70
70
|
import "./chunk-ID4G2MAR.js";
|
|
71
71
|
import {
|
|
72
72
|
listUserRecordsFromServers,
|
|
73
73
|
readLiveDbRecordAfterTombstoneMerge
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-RWJPDKPB.js";
|
|
75
75
|
import {
|
|
76
76
|
createCliLocalRuntimeAdapter,
|
|
77
77
|
initCliLocale,
|
|
@@ -79,8 +79,8 @@ import {
|
|
|
79
79
|
readTimestamp,
|
|
80
80
|
setCliLocale,
|
|
81
81
|
t
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import "./chunk-
|
|
82
|
+
} from "./chunk-Q243PXRU.js";
|
|
83
|
+
import "./chunk-EBNSAABL.js";
|
|
84
84
|
import {
|
|
85
85
|
checkStaleRun,
|
|
86
86
|
isRunRecordClaimed,
|
|
@@ -97,8 +97,8 @@ import {
|
|
|
97
97
|
deleteDbRecord,
|
|
98
98
|
queryUserRecords,
|
|
99
99
|
readDbRecord
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-PIC6Z7VI.js";
|
|
101
|
+
import "./chunk-GVPMJPCT.js";
|
|
102
102
|
import {
|
|
103
103
|
NOLO_DEFAULT_AGENT_KEY,
|
|
104
104
|
resolveCliAgentKeyInput
|
|
@@ -111,9 +111,9 @@ import {
|
|
|
111
111
|
buildLocalWorkspaceOpenAiTools,
|
|
112
112
|
buildLocalWorkspaceToolset,
|
|
113
113
|
getProcessRegistry
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-GKXS4F2I.js";
|
|
115
115
|
import "./chunk-ZNFJWEN4.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-XORE26Z4.js";
|
|
117
117
|
import "./chunk-LTRXGFMS.js";
|
|
118
118
|
import "./chunk-ATNTHIZI.js";
|
|
119
119
|
import "./chunk-OIQPORYI.js";
|
|
@@ -121,30 +121,30 @@ import "./chunk-T27IEBNQ.js";
|
|
|
121
121
|
import "./chunk-JEXVIMYZ.js";
|
|
122
122
|
import {
|
|
123
123
|
prepareTools
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-NZBH7FTB.js";
|
|
125
125
|
import {
|
|
126
126
|
readCommandActionGatePayload
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-VQ4QPCKE.js";
|
|
128
128
|
import "./chunk-N7J63Q6C.js";
|
|
129
129
|
import {
|
|
130
130
|
buildAgentsMdLayer,
|
|
131
131
|
partitionScopedBlocks,
|
|
132
132
|
renderTurnContextBlocksWithScope
|
|
133
133
|
} from "./chunk-PJY5AH5A.js";
|
|
134
|
-
import "./chunk-
|
|
134
|
+
import "./chunk-J3LHGBNO.js";
|
|
135
135
|
import {
|
|
136
136
|
buildCurrentTimeBlock,
|
|
137
137
|
buildIdentityBlock,
|
|
138
138
|
buildRuntimeGuidanceBlocks,
|
|
139
139
|
resolveToolGuidedSections
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-OIW2RJ74.js";
|
|
141
141
|
import "./chunk-D34RI6NI.js";
|
|
142
142
|
import {
|
|
143
143
|
resolvePlatformAuthToken
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-WTPC3XD4.js";
|
|
145
145
|
import "./chunk-4PWB7JRR.js";
|
|
146
146
|
import "./chunk-2MBTWINN.js";
|
|
147
|
-
import "./chunk-
|
|
147
|
+
import "./chunk-IPSPETAL.js";
|
|
148
148
|
import "./chunk-Z5MXSEOJ.js";
|
|
149
149
|
import {
|
|
150
150
|
clipText,
|
|
@@ -157,18 +157,19 @@ import {
|
|
|
157
157
|
runShowsLogTail,
|
|
158
158
|
shortRunId
|
|
159
159
|
} from "./chunk-KXKQO4Q6.js";
|
|
160
|
-
import "./chunk-
|
|
160
|
+
import "./chunk-2HQ4OG6N.js";
|
|
161
161
|
import "./chunk-KQHGZWSV.js";
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
165
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-CYRMUTGB.js";
|
|
163
|
+
import "./chunk-6JH2DF7J.js";
|
|
164
|
+
import "./chunk-43EPBPZ2.js";
|
|
165
|
+
import "./chunk-F3MP7CP6.js";
|
|
166
166
|
import "./chunk-SWYMCHM7.js";
|
|
167
167
|
import "./chunk-44HACRCK.js";
|
|
168
|
-
import "./chunk-
|
|
168
|
+
import "./chunk-T4X4GCYT.js";
|
|
169
169
|
import "./chunk-DCDL3GC4.js";
|
|
170
|
-
import "./chunk-
|
|
170
|
+
import "./chunk-PACNSC37.js";
|
|
171
171
|
import "./chunk-3LY4F7SV.js";
|
|
172
|
+
import "./chunk-YLC42PIE.js";
|
|
172
173
|
import {
|
|
173
174
|
DEFAULT_CONTEXT_WINDOW,
|
|
174
175
|
estimateTokenCount,
|
|
@@ -176,13 +177,13 @@ import {
|
|
|
176
177
|
getModelContextWindow,
|
|
177
178
|
planCompression,
|
|
178
179
|
serializeMessageContent
|
|
179
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-LEVCXTDN.js";
|
|
180
181
|
import {
|
|
181
182
|
buildBuiltinSummaryContent,
|
|
182
183
|
clipCompactText
|
|
183
184
|
} from "./chunk-OB6FBSH3.js";
|
|
184
|
-
import "./chunk-
|
|
185
|
-
import "./chunk-
|
|
185
|
+
import "./chunk-ATK5WJOA.js";
|
|
186
|
+
import "./chunk-4F77PJBR.js";
|
|
186
187
|
import "./chunk-JZPBVBIY.js";
|
|
187
188
|
import "./chunk-5RGU3J7P.js";
|
|
188
189
|
import "./chunk-M76ECQRD.js";
|
|
@@ -193,10 +194,10 @@ import {
|
|
|
193
194
|
compactWhitespace
|
|
194
195
|
} from "./chunk-DWLEOOGR.js";
|
|
195
196
|
import "./chunk-3ASDTTEI.js";
|
|
196
|
-
import "./chunk-
|
|
197
|
+
import "./chunk-V54H24CQ.js";
|
|
197
198
|
import "./chunk-WTGCTVJG.js";
|
|
198
199
|
import "./chunk-CWMSB67P.js";
|
|
199
|
-
import "./chunk-
|
|
200
|
+
import "./chunk-EIQDGAAE.js";
|
|
200
201
|
import "./chunk-ZHXJ6M7T.js";
|
|
201
202
|
import "./chunk-CAENRKNJ.js";
|
|
202
203
|
import "./chunk-63W5N6P3.js";
|
|
@@ -222,20 +223,20 @@ import {
|
|
|
222
223
|
import {
|
|
223
224
|
DEFAULT_NOLO_SERVER_URL
|
|
224
225
|
} from "./chunk-OLZBQWZU.js";
|
|
225
|
-
import "./chunk-
|
|
226
|
-
import "./chunk-
|
|
226
|
+
import "./chunk-KGEVMUMI.js";
|
|
227
|
+
import "./chunk-G5GVZAXF.js";
|
|
227
228
|
import "./chunk-KX6YBIHG.js";
|
|
228
|
-
import "./chunk-
|
|
229
|
-
import "./chunk-
|
|
229
|
+
import "./chunk-LAXMH7JY.js";
|
|
230
|
+
import "./chunk-ZJ2WITOO.js";
|
|
230
231
|
import {
|
|
231
232
|
asTrimmedLowercaseString
|
|
232
233
|
} from "./chunk-QSJ3HFEF.js";
|
|
233
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-ZJH3LKEW.js";
|
|
234
235
|
import {
|
|
235
236
|
extractCustomId
|
|
236
237
|
} from "./chunk-TOW4E763.js";
|
|
237
|
-
import "./chunk-
|
|
238
|
-
import "./chunk-
|
|
238
|
+
import "./chunk-2IJAKBK2.js";
|
|
239
|
+
import "./chunk-5RDLGLAP.js";
|
|
239
240
|
import "./chunk-LCBAMY2M.js";
|
|
240
241
|
import "./chunk-4SN6J65J.js";
|
|
241
242
|
import "./chunk-CF7PE763.js";
|
|
@@ -3637,7 +3638,6 @@ var SLASH_COMMANDS = [
|
|
|
3637
3638
|
"/ctx",
|
|
3638
3639
|
"/runtime",
|
|
3639
3640
|
"/tools",
|
|
3640
|
-
"/thinking",
|
|
3641
3641
|
"/switch",
|
|
3642
3642
|
"/agent",
|
|
3643
3643
|
"/agents",
|
|
@@ -4726,6 +4726,18 @@ function finalizeCurrentTurn(history) {
|
|
|
4726
4726
|
}
|
|
4727
4727
|
}
|
|
4728
4728
|
}
|
|
4729
|
+
function appendLocalTurn(history, command, output) {
|
|
4730
|
+
finalizeCurrentTurn(history);
|
|
4731
|
+
history.turns.push({
|
|
4732
|
+
role: "local",
|
|
4733
|
+
command,
|
|
4734
|
+
content: output
|
|
4735
|
+
});
|
|
4736
|
+
if (history.turns.length > MAX_TUI_HISTORY_TURNS) {
|
|
4737
|
+
history.turns = history.turns.slice(history.turns.length - MAX_TUI_HISTORY_TURNS);
|
|
4738
|
+
}
|
|
4739
|
+
resetStreamingTurnCache();
|
|
4740
|
+
}
|
|
4729
4741
|
function applyOutputChunkToCurrentTurn(history, chunk) {
|
|
4730
4742
|
const next = applyTerminalOutputToText(history.currentContent, chunk);
|
|
4731
4743
|
if (next === history.currentContent) return false;
|
|
@@ -4753,7 +4765,7 @@ function fillUserBubbleRow(row, surfaceSeq, contentWidth) {
|
|
|
4753
4765
|
}
|
|
4754
4766
|
return renderSurfaceLine({ text: row, surface: surfaceSeq, padTo: contentWidth });
|
|
4755
4767
|
}
|
|
4756
|
-
function renderTurnBlock(role, content, contentWidth, colorEnabled) {
|
|
4768
|
+
function renderTurnBlock(role, content, contentWidth, colorEnabled, command) {
|
|
4757
4769
|
content = content.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
4758
4770
|
const lines = [];
|
|
4759
4771
|
if (role === "user") {
|
|
@@ -4772,6 +4784,21 @@ function renderTurnBlock(role, content, contentWidth, colorEnabled) {
|
|
|
4772
4784
|
...surfaceSeq ? rows.map((row) => fillUserBubbleRow(row, surfaceSeq, contentWidth)) : rows
|
|
4773
4785
|
);
|
|
4774
4786
|
}
|
|
4787
|
+
} else if (role === "local") {
|
|
4788
|
+
const dimSeq = colorEnabled ? "\x1B[2m" : "";
|
|
4789
|
+
const resetSeq = colorEnabled ? "\x1B[0m" : "";
|
|
4790
|
+
if (command) {
|
|
4791
|
+
lines.push(
|
|
4792
|
+
...wrapTranscriptLine(`${dimSeq}\u203A ${command}${resetSeq}`, contentWidth)
|
|
4793
|
+
);
|
|
4794
|
+
}
|
|
4795
|
+
if (content) {
|
|
4796
|
+
for (const line of content.split("\n")) {
|
|
4797
|
+
lines.push(
|
|
4798
|
+
...wrapTranscriptLine(`${dimSeq} ${line}${resetSeq}`, contentWidth)
|
|
4799
|
+
);
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4775
4802
|
} else {
|
|
4776
4803
|
const styledEntry = styleAssistantTurn(content, colorEnabled);
|
|
4777
4804
|
for (const logicalLine of styledEntry.split("\n")) {
|
|
@@ -4905,13 +4932,22 @@ function getAssistantPlainLines(content) {
|
|
|
4905
4932
|
assistantPlainLinesCache.set(content, plainLines);
|
|
4906
4933
|
return plainLines;
|
|
4907
4934
|
}
|
|
4908
|
-
function countTurnLines(role, content, contentWidth) {
|
|
4935
|
+
function countTurnLines(role, content, contentWidth, command) {
|
|
4909
4936
|
content = content.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
4910
4937
|
let count = 0;
|
|
4911
4938
|
if (role === "user") {
|
|
4912
4939
|
for (const line of content.split("\n")) {
|
|
4913
4940
|
count += wrapTranscriptLine(`\u2503 ${line}`, contentWidth, "\u2503 ").length;
|
|
4914
4941
|
}
|
|
4942
|
+
} else if (role === "local") {
|
|
4943
|
+
if (command) {
|
|
4944
|
+
count += wrapTranscriptLine(`\u203A ${command}`, contentWidth).length;
|
|
4945
|
+
}
|
|
4946
|
+
if (content) {
|
|
4947
|
+
for (const line of content.split("\n")) {
|
|
4948
|
+
count += wrapTranscriptLine(` ${line}`, contentWidth).length;
|
|
4949
|
+
}
|
|
4950
|
+
}
|
|
4915
4951
|
} else {
|
|
4916
4952
|
const plainLines = getAssistantPlainLines(content);
|
|
4917
4953
|
for (let i = 0; i < plainLines.length; i++) {
|
|
@@ -4935,7 +4971,7 @@ function buildTurnOffsets(history, contentWidth) {
|
|
|
4935
4971
|
if (cached && cached.width === contentWidth) {
|
|
4936
4972
|
lineCount = cached.count;
|
|
4937
4973
|
} else {
|
|
4938
|
-
lineCount = countTurnLines(turn.role, turn.content, contentWidth);
|
|
4974
|
+
lineCount = countTurnLines(turn.role, turn.content, contentWidth, turn.command);
|
|
4939
4975
|
turnLineCountCache.set(turn, { width: contentWidth, count: lineCount });
|
|
4940
4976
|
}
|
|
4941
4977
|
entries.push({ startRow: offset, lineCount, separatorAbove });
|
|
@@ -4955,7 +4991,14 @@ function buildCopyViewLines(history) {
|
|
|
4955
4991
|
for (const [index, turn] of turns.entries()) {
|
|
4956
4992
|
if (index > 0) lines.push("");
|
|
4957
4993
|
const normalized = stripAnsi(turn.content).replace(/\r\n/g, "\n").replace(/\r/g, "\n");
|
|
4958
|
-
|
|
4994
|
+
if (turn.role === "local") {
|
|
4995
|
+
if (turn.command) {
|
|
4996
|
+
lines.push(`\u203A ${stripAnsi(turn.command)}`);
|
|
4997
|
+
}
|
|
4998
|
+
lines.push(...normalized.split("\n"));
|
|
4999
|
+
} else {
|
|
5000
|
+
lines.push(...normalized.split("\n"));
|
|
5001
|
+
}
|
|
4959
5002
|
}
|
|
4960
5003
|
return lines;
|
|
4961
5004
|
}
|
|
@@ -5019,7 +5062,7 @@ function renderHistory(output, history, inputLines) {
|
|
|
5019
5062
|
lines = cached.lines;
|
|
5020
5063
|
} else {
|
|
5021
5064
|
renderCacheMissCount += 1;
|
|
5022
|
-
lines = renderTurnBlock(turn.role, turn.content, contentWidth, colorEnabled);
|
|
5065
|
+
lines = renderTurnBlock(turn.role, turn.content, contentWidth, colorEnabled, turn.command);
|
|
5023
5066
|
turnLineCache.set(turn, {
|
|
5024
5067
|
width: contentWidth,
|
|
5025
5068
|
color: colorEnabled,
|
|
@@ -6485,7 +6528,7 @@ async function startTuiWorkspace(options) {
|
|
|
6485
6528
|
activeTurnAbort.abort();
|
|
6486
6529
|
}
|
|
6487
6530
|
};
|
|
6488
|
-
const emitCommandOutput = (text) => {
|
|
6531
|
+
const emitCommandOutput = (text, command = "") => {
|
|
6489
6532
|
if (!text) return;
|
|
6490
6533
|
if (!isInteractiveInput(input)) {
|
|
6491
6534
|
output.write(`${text}
|
|
@@ -6493,9 +6536,7 @@ async function startTuiWorkspace(options) {
|
|
|
6493
6536
|
return;
|
|
6494
6537
|
}
|
|
6495
6538
|
history.followBottom = true;
|
|
6496
|
-
|
|
6497
|
-
appendToCurrentTurn(history, text);
|
|
6498
|
-
finalizeCurrentTurn(history);
|
|
6539
|
+
appendLocalTurn(history, command, text);
|
|
6499
6540
|
renderHistoryToOutput();
|
|
6500
6541
|
if (fixedInput.active) fixedInput.repaint(buffer, cursorPos);
|
|
6501
6542
|
};
|
|
@@ -6516,21 +6557,17 @@ async function startTuiWorkspace(options) {
|
|
|
6516
6557
|
const previousAgentKey = state.agentKey;
|
|
6517
6558
|
state = result.nextState;
|
|
6518
6559
|
const interactive = isInteractiveInput(input);
|
|
6519
|
-
if (
|
|
6520
|
-
|
|
6521
|
-
startTurn(history, "user");
|
|
6522
|
-
appendToCurrentTurn(history, line.trim());
|
|
6523
|
-
finalizeCurrentTurn(history);
|
|
6524
|
-
renderHistoryToOutput();
|
|
6525
|
-
if (fixedInput.active) fixedInput.repaint(buffer, cursorPos);
|
|
6526
|
-
}
|
|
6527
|
-
if (result.output) {
|
|
6528
|
-
emitCommandOutput(result.output);
|
|
6560
|
+
if (result.action?.type !== "chat" && result.action?.type !== "exit" && result.output) {
|
|
6561
|
+
emitCommandOutput(result.output, interactive ? line.trim() : "");
|
|
6529
6562
|
}
|
|
6530
6563
|
if (state.agentKey !== previousAgentKey) {
|
|
6531
6564
|
persistExplicitAgentSwitch(previousAgentKey);
|
|
6532
6565
|
}
|
|
6533
|
-
if (result.action?.type === "exit")
|
|
6566
|
+
if (result.action?.type === "exit") {
|
|
6567
|
+
if (result.output) output.write(`${result.output}
|
|
6568
|
+
`);
|
|
6569
|
+
return true;
|
|
6570
|
+
}
|
|
6534
6571
|
if (result.action?.type === "clear") {
|
|
6535
6572
|
if (result.action.dialogId) {
|
|
6536
6573
|
const authToken = resolvePlatformAuthToken(options.env ?? {});
|
|
@@ -7363,6 +7400,7 @@ ${renderStatusLine(state)}
|
|
|
7363
7400
|
}
|
|
7364
7401
|
export {
|
|
7365
7402
|
ANSI_ESCAPE_REGEX,
|
|
7403
|
+
appendLocalTurn,
|
|
7366
7404
|
appendToCurrentTurn,
|
|
7367
7405
|
applyOutputChunkToCurrentTurn,
|
|
7368
7406
|
applyScrollAction,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCliSessionForDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ATK5WJOA.js";
|
|
4
4
|
import {
|
|
5
5
|
getPrimaryDialogAgentId,
|
|
6
6
|
removeDialogAgentId
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
getActiveDialogKey
|
|
13
13
|
} from "./chunk-3ASDTTEI.js";
|
|
14
14
|
import "./chunk-ZHXJ6M7T.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-G5GVZAXF.js";
|
|
16
16
|
import "./chunk-KX6YBIHG.js";
|
|
17
17
|
import {
|
|
18
18
|
patch,
|
|
19
19
|
selectById
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-LAXMH7JY.js";
|
|
21
|
+
import "./chunk-ZJ2WITOO.js";
|
|
22
22
|
import "./chunk-QSJ3HFEF.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-ZJH3LKEW.js";
|
|
24
24
|
import "./chunk-TOW4E763.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-2IJAKBK2.js";
|
|
26
|
+
import "./chunk-5RDLGLAP.js";
|
|
27
27
|
import "./chunk-LCBAMY2M.js";
|
|
28
28
|
import "./chunk-4SN6J65J.js";
|
|
29
29
|
import "./chunk-CF7PE763.js";
|
|
@@ -1,74 +1,75 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BIPRFBC2.js";
|
|
4
4
|
import {
|
|
5
5
|
generateRequestBody,
|
|
6
6
|
mergeReferences,
|
|
7
7
|
performFetchRequest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-R5Y4XELF.js";
|
|
9
|
+
import "./chunk-J3LHGBNO.js";
|
|
10
|
+
import "./chunk-OIW2RJ74.js";
|
|
11
11
|
import "./chunk-D34RI6NI.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WTPC3XD4.js";
|
|
13
13
|
import "./chunk-4PWB7JRR.js";
|
|
14
14
|
import {
|
|
15
15
|
findToolExecutor
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IPSPETAL.js";
|
|
17
17
|
import "./chunk-Z5MXSEOJ.js";
|
|
18
18
|
import "./chunk-KXKQO4Q6.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-2HQ4OG6N.js";
|
|
20
20
|
import "./chunk-KQHGZWSV.js";
|
|
21
21
|
import {
|
|
22
22
|
getToolResultErrorData
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-CYRMUTGB.js";
|
|
24
|
+
import "./chunk-6JH2DF7J.js";
|
|
25
|
+
import "./chunk-43EPBPZ2.js";
|
|
26
|
+
import "./chunk-F3MP7CP6.js";
|
|
27
27
|
import "./chunk-SWYMCHM7.js";
|
|
28
28
|
import "./chunk-44HACRCK.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-T4X4GCYT.js";
|
|
30
30
|
import "./chunk-DCDL3GC4.js";
|
|
31
31
|
import "./chunk-3LY4F7SV.js";
|
|
32
|
+
import "./chunk-YLC42PIE.js";
|
|
32
33
|
import {
|
|
33
34
|
updateTokensAction
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LEVCXTDN.js";
|
|
35
36
|
import "./chunk-OB6FBSH3.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-ATK5WJOA.js";
|
|
38
|
+
import "./chunk-4F77PJBR.js";
|
|
38
39
|
import "./chunk-JZPBVBIY.js";
|
|
39
40
|
import "./chunk-5RGU3J7P.js";
|
|
40
41
|
import "./chunk-M76ECQRD.js";
|
|
41
42
|
import "./chunk-HNMXYYJR.js";
|
|
42
43
|
import "./chunk-DWLEOOGR.js";
|
|
43
44
|
import "./chunk-3ASDTTEI.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-V54H24CQ.js";
|
|
45
46
|
import "./chunk-WTGCTVJG.js";
|
|
46
47
|
import "./chunk-CWMSB67P.js";
|
|
47
48
|
import {
|
|
48
49
|
getApiEndpoint
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-EIQDGAAE.js";
|
|
50
51
|
import "./chunk-ZHXJ6M7T.js";
|
|
51
52
|
import "./chunk-CAENRKNJ.js";
|
|
52
53
|
import "./chunk-63W5N6P3.js";
|
|
53
54
|
import "./chunk-VF4K2QE6.js";
|
|
54
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-KGEVMUMI.js";
|
|
55
56
|
import {
|
|
56
57
|
selectCurrentServer
|
|
57
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-G5GVZAXF.js";
|
|
58
59
|
import "./chunk-KX6YBIHG.js";
|
|
59
60
|
import {
|
|
60
61
|
read
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-LAXMH7JY.js";
|
|
63
|
+
import "./chunk-ZJ2WITOO.js";
|
|
63
64
|
import "./chunk-QSJ3HFEF.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-ZJH3LKEW.js";
|
|
65
66
|
import {
|
|
66
67
|
extractCustomId
|
|
67
68
|
} from "./chunk-TOW4E763.js";
|
|
68
69
|
import {
|
|
69
70
|
selectIdentityToken
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-2IJAKBK2.js";
|
|
72
|
+
import "./chunk-5RDLGLAP.js";
|
|
72
73
|
import "./chunk-LCBAMY2M.js";
|
|
73
74
|
import "./chunk-4SN6J65J.js";
|
|
74
75
|
import "./chunk-CF7PE763.js";
|
package/{setDialogExtraReferencesAction-Q3ANF2NR.js → setDialogExtraReferencesAction-WTOHQDIV.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setDialogExtraReferencesAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-43EPBPZ2.js";
|
|
4
4
|
import "./chunk-M76ECQRD.js";
|
|
5
5
|
import "./chunk-3ASDTTEI.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-LAXMH7JY.js";
|
|
7
|
+
import "./chunk-ZJ2WITOO.js";
|
|
8
8
|
import "./chunk-QSJ3HFEF.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ZJH3LKEW.js";
|
|
10
10
|
import "./chunk-TOW4E763.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-2IJAKBK2.js";
|
|
12
|
+
import "./chunk-5RDLGLAP.js";
|
|
13
13
|
import "./chunk-LCBAMY2M.js";
|
|
14
14
|
import "./chunk-4SN6J65J.js";
|
|
15
15
|
import "./chunk-CF7PE763.js";
|