nolo-cli 0.12.0-alpha.6 → 0.12.0-alpha.8
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-3B6MKHQV.js → _executeModel-PKRZBH3J.js} +20 -19
- package/{action-RAXNQQKC.js → action-OTOWUMPW.js} +3 -3
- package/{addContentAction-ZHI7TVV3.js → addContentAction-JGBUVR7K.js} +2 -2
- package/{addDialogAgentAction-JWXPKXNC.js → addDialogAgentAction-V6CL2UCF.js} +1 -1
- package/{agentDeleteCommand-3R7OCLBN.js → agentDeleteCommand-OKQ5CSX2.js} +12 -11
- package/{agentEmailCommands-OENXTOPM.js → agentEmailCommands-7DORWXQH.js} +24 -23
- package/{agentListCommands-GX5YRFFK.js → agentListCommands-VTR33V4B.js} +13 -12
- package/{agentMachineCommands-5ZEL4NOJ.js → agentMachineCommands-XHFM4UQB.js} +12 -11
- package/{agentRecordCommands-EKGPNDCG.js → agentRecordCommands-XB7XBNJ7.js} +24 -23
- package/{agentRunCommand-KQYY46WS.js → agentRunCommand-XACEWDVO.js} +24 -23
- package/{agentRuntimeLocal-C2KYWS6H.js → agentRuntimeLocal-NYFVPD5P.js} +9 -8
- package/{agentSlice-N5RKI23B.js → agentSlice-NGZWIMZX.js} +2 -2
- package/{chunk-6TISG7CK.js → chunk-3GOA33JO.js} +69 -12
- package/{chunk-5HANPK6S.js → chunk-4LNEIK4O.js} +3 -3
- package/chunk-5MMAK75Q.js +15 -0
- package/{chunk-2VILMENT.js → chunk-6KTC3MPK.js} +1 -1
- package/{chunk-6VDWNLHX.js → chunk-7CQLSRAC.js} +2 -2
- package/{chunk-OLKX3NZI.js → chunk-7F5C7ILS.js} +3 -3
- package/{chunk-NIU4ERVM.js → chunk-A22NOC7Y.js} +24 -22
- package/{chunk-RFRU3HAL.js → chunk-CGAYFFIB.js} +1 -1
- package/{chunk-7MYHLZ3F.js → chunk-DPFWKRHG.js} +1 -1
- package/{chunk-Y3BLUPNS.js → chunk-H5Y2H2N6.js} +1 -1
- package/{chunk-ELYHT6P6.js → chunk-HO7RHQIN.js} +2 -2
- package/{chunk-RGJFQERV.js → chunk-HYJNPPQ6.js} +4 -4
- package/{chunk-NKD3Q4RN.js → chunk-JFANOO7I.js} +2 -14
- package/{chunk-WTYKCU4W.js → chunk-JU7J7EAV.js} +37 -37
- package/{chunk-NRJFU6WZ.js → chunk-LBWFOYJJ.js} +2 -2
- package/{chunk-Y3COB2JR.js → chunk-LKVDZQGM.js} +2 -2
- package/{chunk-7HV5OHEM.js → chunk-LUKQQJFL.js} +38 -1
- package/{chunk-FF7Y6DC4.js → chunk-NS3DRNUZ.js} +39 -12
- package/{chunk-7TNQ4ZZL.js → chunk-P3J54V3I.js} +1 -1
- package/{chunk-UG3WOFU6.js → chunk-QJSTNKJY.js} +1 -1
- package/{chunk-ISZEBXEV.js → chunk-QYZ46ZC3.js} +1 -1
- package/{chunk-B2Z7OJBT.js → chunk-REQCG2PB.js} +12 -99
- package/{chunk-6LMFFG3K.js → chunk-RWO5DGXI.js} +2 -2
- package/{chunk-J6PV7OYE.js → chunk-SDYIF6SV.js} +94 -1
- package/{chunk-MRX4BSKQ.js → chunk-SKURMCJF.js} +151 -15
- package/{chunk-6ADBTFFE.js → chunk-TA7VKOHU.js} +10 -5
- package/{chunk-WO24IT3V.js → chunk-TYPHUVK5.js} +12 -0
- package/{chunk-WMU5EZLC.js → chunk-UNEZBV37.js} +27 -13
- package/{chunk-KJTP7JTN.js → chunk-UP6JMU6C.js} +1 -1
- package/{chunk-I6IVZIIO.js → chunk-UWTMBOPF.js} +15 -10
- package/{chunk-NITP2JDG.js → chunk-VKG4HXYV.js} +1 -1
- package/{chunk-3HHTVM6G.js → chunk-WVTBAALN.js} +1 -1
- package/{chunk-OSGJQTG6.js → chunk-XNV42PMD.js} +18 -18
- package/{createAgentAutomationAction-NNXHZFSA.js → createAgentAutomationAction-AHSBJKGX.js} +8 -7
- package/{createDialogAction-TQCW67HG.js → createDialogAction-RSNVGR5E.js} +9 -8
- package/{createPageAction-QUFKG6A2.js → createPageAction-47G4D5WU.js} +8 -7
- package/{dbSlice-WDP2ZZHK.js → dbSlice-J4PUZ6Y5.js} +1 -1
- package/{dialogCommands-C6ERN2I7.js → dialogCommands-MPUFCOBR.js} +13 -12
- package/{dialogSlice-DAA3CWOV.js → dialogSlice-YNEFYFSU.js} +8 -7
- package/{docCreateCommands-KMYVYGZM.js → docCreateCommands-LV6KUDP3.js} +12 -11
- package/{docDeleteCommands-DZHIJA5D.js → docDeleteCommands-Y7FOYWMY.js} +13 -12
- package/{docReadCommands-VLJFYLR2.js → docReadCommands-UCCHERCP.js} +12 -11
- package/{docStore-67RBJMFZ.js → docStore-OBBYKQVD.js} +9 -8
- package/{docUpdateCommands-GOHV5JC5.js → docUpdateCommands-FBKQBFWG.js} +12 -11
- package/{handleSendMessageAction-7PNLNSPL.js → handleSendMessageAction-U5AX6CGB.js} +8 -7
- package/index.js +36 -36
- package/{machineCommands-J7FIVAZV.js → machineCommands-EXVWHGWU.js} +23 -22
- package/{machineWsRunDispatch-RWXFY6YG.js → machineWsRunDispatch-QZXCW3SI.js} +23 -22
- package/package.json +1 -1
- package/{readlineWorkspace-EMKKVMNH.js → readlineWorkspace-QKMGLM33.js} +134 -34
- package/{removeDialogAgentAction-GTX5AN54.js → removeDialogAgentAction-XUZYQBV4.js} +3 -3
- package/{runAgentClientLoop-VTA6RAHT.js → runAgentClientLoop-5DIJHAPN.js} +17 -16
- package/{setDialogExtraReferencesAction-WFQ63KYO.js → setDialogExtraReferencesAction-PTAIFKGM.js} +1 -1
- package/{setPrimaryDialogAgentAction-P57FXTSU.js → setPrimaryDialogAgentAction-HRFTDB44.js} +3 -3
- package/{settingSlice-CK5YZGNI.js → settingSlice-VGRJUSE5.js} +2 -2
- package/{spaceCommands-HLOEZVOV.js → spaceCommands-KDZYXP5N.js} +12 -11
- package/{spaceSlice-2X2TVI2V.js → spaceSlice-EO6JQRMP.js} +8 -7
- package/{streamAgentChatTurn-GFQ4YRJF.js → streamAgentChatTurn-PLKJ3MZ6.js} +20 -19
- package/{tools-PR47LTGM.js → tools-5QNY6YKE.js} +12 -11
- package/{tuiSummaryLlmCaller-YEHSPGXZ.js → tuiSummaryLlmCaller-TQ34DAM5.js} +4 -2
- package/{updateDialogTitleAction-4GI3W4LJ.js → updateDialogTitleAction-V5AD52MZ.js} +8 -7
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
normalizeDialogRecord,
|
|
4
4
|
readDialogSnapshot,
|
|
5
5
|
sortDialogs
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UP6JMU6C.js";
|
|
7
7
|
import {
|
|
8
8
|
ANSI_ESCAPE_REGEX,
|
|
9
9
|
CLI_AUTO_TIER_AGENT_KEYS,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
visibleWidth,
|
|
58
58
|
wrapTextToLines,
|
|
59
59
|
wrapTranscriptLine
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-A22NOC7Y.js";
|
|
61
61
|
import "./chunk-3QAF2LTL.js";
|
|
62
62
|
import "./chunk-6HYVJV7B.js";
|
|
63
63
|
import {
|
|
@@ -65,18 +65,18 @@ import {
|
|
|
65
65
|
listLocalCachedAgents,
|
|
66
66
|
listRemoteAgents,
|
|
67
67
|
listRemoteAgentsAcrossServers
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-7CQLSRAC.js";
|
|
69
69
|
import "./chunk-ID4G2MAR.js";
|
|
70
70
|
import {
|
|
71
71
|
listUserRecordsFromServers
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-P3J54V3I.js";
|
|
73
73
|
import {
|
|
74
74
|
createCliLocalRuntimeAdapter,
|
|
75
75
|
initCliLocale,
|
|
76
76
|
parseCliLocale,
|
|
77
77
|
setCliLocale,
|
|
78
78
|
t
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-NS3DRNUZ.js";
|
|
80
80
|
import "./chunk-TOILAPLH.js";
|
|
81
81
|
import "./chunk-CMKUBIGW.js";
|
|
82
82
|
import "./chunk-JBTJAPUF.js";
|
|
@@ -86,22 +86,22 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
queryUserRecords,
|
|
88
88
|
readDbRecord
|
|
89
|
-
} from "./chunk-
|
|
90
|
-
import "./chunk-
|
|
89
|
+
} from "./chunk-CGAYFFIB.js";
|
|
90
|
+
import "./chunk-QYZ46ZC3.js";
|
|
91
91
|
import {
|
|
92
92
|
resolveCliAgentKeyInput
|
|
93
93
|
} from "./chunk-VHBWHNVT.js";
|
|
94
94
|
import "./chunk-LTRXGFMS.js";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-QJSTNKJY.js";
|
|
96
96
|
import "./chunk-ATNTHIZI.js";
|
|
97
97
|
import "./chunk-JEXVIMYZ.js";
|
|
98
98
|
import {
|
|
99
99
|
prepareTools
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-SDYIF6SV.js";
|
|
101
|
+
import "./chunk-H5Y2H2N6.js";
|
|
102
102
|
import {
|
|
103
103
|
expandEnabledPacks
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-SKURMCJF.js";
|
|
105
105
|
import "./chunk-RQSOAMPJ.js";
|
|
106
106
|
import "./chunk-OOIN7HSO.js";
|
|
107
107
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -110,21 +110,21 @@ import "./chunk-3LY4F7SV.js";
|
|
|
110
110
|
import "./chunk-VP4WJWKW.js";
|
|
111
111
|
import "./chunk-63W5N6P3.js";
|
|
112
112
|
import "./chunk-VF4K2QE6.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-7F5C7ILS.js";
|
|
114
|
+
import "./chunk-LKVDZQGM.js";
|
|
115
115
|
import "./chunk-VC6OZXO5.js";
|
|
116
116
|
import "./chunk-OWOHNGCN.js";
|
|
117
117
|
import {
|
|
118
118
|
extractReferenceKeysFromMessage
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-XNV42PMD.js";
|
|
120
120
|
import {
|
|
121
121
|
buildBuiltinSummaryContent
|
|
122
122
|
} from "./chunk-V2J635L5.js";
|
|
123
123
|
import "./chunk-MRC4Q34M.js";
|
|
124
124
|
import "./chunk-MTU75CZ2.js";
|
|
125
125
|
import "./chunk-CWMSB67P.js";
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-
|
|
126
|
+
import "./chunk-HYJNPPQ6.js";
|
|
127
|
+
import "./chunk-RWO5DGXI.js";
|
|
128
128
|
import "./chunk-Z4NR32XR.js";
|
|
129
129
|
import "./chunk-M76ECQRD.js";
|
|
130
130
|
import {
|
|
@@ -135,32 +135,34 @@ import {
|
|
|
135
135
|
buildLocalWorkspaceOpenAiTools,
|
|
136
136
|
buildLocalWorkspaceToolset,
|
|
137
137
|
getProcessRegistry
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-UNEZBV37.js";
|
|
139
139
|
import "./chunk-ZNFJWEN4.js";
|
|
140
|
-
import "./chunk-
|
|
140
|
+
import "./chunk-3GOA33JO.js";
|
|
141
141
|
import "./chunk-NCGFB7NN.js";
|
|
142
142
|
import {
|
|
143
143
|
readCommandActionGatePayload,
|
|
144
144
|
resolveAgentImageInputSupport
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-TA7VKOHU.js";
|
|
146
146
|
import "./chunk-OPZYGHUC.js";
|
|
147
147
|
import {
|
|
148
148
|
buildCurrentTimeBlock,
|
|
149
149
|
buildIdentityBlock,
|
|
150
150
|
buildRuntimeGuidanceBlocks
|
|
151
|
-
} from "./chunk-
|
|
152
|
-
import "./chunk-
|
|
151
|
+
} from "./chunk-LUKQQJFL.js";
|
|
152
|
+
import "./chunk-TYPHUVK5.js";
|
|
153
153
|
import {
|
|
154
154
|
canonicalizeToolNames
|
|
155
155
|
} from "./chunk-B4KT7RN2.js";
|
|
156
156
|
import {
|
|
157
157
|
DEFAULT_CONTEXT_WINDOW,
|
|
158
|
-
clipCompactText,
|
|
159
158
|
estimateTokenCount,
|
|
160
159
|
getModelContextWindow,
|
|
161
160
|
planCompression,
|
|
162
161
|
serializeMessageContent
|
|
163
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-JFANOO7I.js";
|
|
163
|
+
import {
|
|
164
|
+
clipCompactText
|
|
165
|
+
} from "./chunk-5MMAK75Q.js";
|
|
164
166
|
import "./chunk-OGGHETUE.js";
|
|
165
167
|
import "./chunk-PDL2AV3E.js";
|
|
166
168
|
import "./chunk-JZPBVBIY.js";
|
|
@@ -197,12 +199,12 @@ import {
|
|
|
197
199
|
} from "./chunk-IDZTNRP2.js";
|
|
198
200
|
import "./chunk-IKXL2HZ3.js";
|
|
199
201
|
import "./chunk-524BDL33.js";
|
|
200
|
-
import "./chunk-
|
|
201
|
-
import "./chunk-
|
|
202
|
+
import "./chunk-DPFWKRHG.js";
|
|
203
|
+
import "./chunk-JU7J7EAV.js";
|
|
202
204
|
import "./chunk-Y5GCAMGP.js";
|
|
203
205
|
import "./chunk-KX6YBIHG.js";
|
|
204
|
-
import "./chunk-
|
|
205
|
-
import "./chunk-
|
|
206
|
+
import "./chunk-WVTBAALN.js";
|
|
207
|
+
import "./chunk-VKG4HXYV.js";
|
|
206
208
|
import "./chunk-WPHL6ALY.js";
|
|
207
209
|
import "./chunk-O4BU24WZ.js";
|
|
208
210
|
import "./chunk-I42VC5KR.js";
|
|
@@ -1681,6 +1683,36 @@ function createActivityIndicator(deps) {
|
|
|
1681
1683
|
}
|
|
1682
1684
|
return null;
|
|
1683
1685
|
};
|
|
1686
|
+
let agentRunSnapshot = null;
|
|
1687
|
+
const updateAgentRun = (snapshot) => {
|
|
1688
|
+
agentRunSnapshot = snapshot;
|
|
1689
|
+
deps.onRepaint();
|
|
1690
|
+
};
|
|
1691
|
+
const clearAgentRun = () => {
|
|
1692
|
+
agentRunSnapshot = null;
|
|
1693
|
+
deps.onRepaint();
|
|
1694
|
+
};
|
|
1695
|
+
const getAgentRun = () => agentRunSnapshot;
|
|
1696
|
+
const getActivityLines = (colorEnabled = resolveCliColorEnabled()) => {
|
|
1697
|
+
const lines = [];
|
|
1698
|
+
const baseView = getView();
|
|
1699
|
+
if (baseView) {
|
|
1700
|
+
const elapsed = Math.max(0, baseView.elapsedSec);
|
|
1701
|
+
const elapsedStr = `${elapsed}s`;
|
|
1702
|
+
const stopHint = t("stopHint");
|
|
1703
|
+
if (!colorEnabled) {
|
|
1704
|
+
lines.push(`${baseView.frame} ${baseView.label} (${elapsedStr}) \xB7 ${stopHint}`);
|
|
1705
|
+
} else {
|
|
1706
|
+
lines.push(
|
|
1707
|
+
themeText(baseView.frame, "accent") + " " + themeText(baseView.label, "muted") + themeText(` (${elapsedStr})`, "chrome") + themeText(` \xB7 ${stopHint}`, "chrome")
|
|
1708
|
+
);
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
if (agentRunSnapshot) {
|
|
1712
|
+
lines.push(...formatAgentRunPanelLines(agentRunSnapshot, colorEnabled));
|
|
1713
|
+
}
|
|
1714
|
+
return lines.length > 0 ? lines : null;
|
|
1715
|
+
};
|
|
1684
1716
|
const stop = () => {
|
|
1685
1717
|
if (timer !== null) {
|
|
1686
1718
|
clearIntervalFn(timer);
|
|
@@ -1692,8 +1724,69 @@ function createActivityIndicator(deps) {
|
|
|
1692
1724
|
fallbackStartedAt = 0;
|
|
1693
1725
|
lastActivityAt = 0;
|
|
1694
1726
|
stopping = false;
|
|
1727
|
+
agentRunSnapshot = null;
|
|
1695
1728
|
};
|
|
1696
|
-
return {
|
|
1729
|
+
return {
|
|
1730
|
+
report,
|
|
1731
|
+
updateAgentRun,
|
|
1732
|
+
clearAgentRun,
|
|
1733
|
+
getAgentRun,
|
|
1734
|
+
getView,
|
|
1735
|
+
getActivityLines,
|
|
1736
|
+
markStopping,
|
|
1737
|
+
isStopping,
|
|
1738
|
+
stop
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
function formatAgentRunPanelLines(snapshot, colorEnabled) {
|
|
1742
|
+
const lines = [];
|
|
1743
|
+
const name = snapshot.agentName || "sub-agent";
|
|
1744
|
+
const runId = snapshot.runId ? ` (${snapshot.runId.slice(0, 8)})` : "";
|
|
1745
|
+
const status = snapshot.status || "running";
|
|
1746
|
+
let statusSymbol = "\u231B";
|
|
1747
|
+
let statusColor = "warning";
|
|
1748
|
+
if (status === "completed" || status === "finished" || status === "success") {
|
|
1749
|
+
statusSymbol = "\u2713";
|
|
1750
|
+
statusColor = "success";
|
|
1751
|
+
} else if (status === "killed" || status === "cancelled" || status === "failed" || status === "stopped") {
|
|
1752
|
+
statusSymbol = "\u{1F534}";
|
|
1753
|
+
statusColor = "danger";
|
|
1754
|
+
}
|
|
1755
|
+
const pollPart = snapshot.polls !== void 0 ? ` (polls: ${snapshot.polls})` : "";
|
|
1756
|
+
const errPart = snapshot.errorMessage ? ` \xB7 ${snapshot.errorMessage}` : "";
|
|
1757
|
+
if (!colorEnabled) {
|
|
1758
|
+
lines.push(`\u{1F916} Sub-Agent: ${name}${runId} \xB7 ${statusSymbol} ${status}${pollPart}${errPart}`);
|
|
1759
|
+
} else {
|
|
1760
|
+
const botIcon = themeText("\u{1F916}", "accent", true);
|
|
1761
|
+
const labelText = themeText(" Sub-Agent: ", "muted", true);
|
|
1762
|
+
const nameText = themeText(`${name}${runId}`, "chrome", true);
|
|
1763
|
+
const statusText = themeText(` \xB7 ${statusSymbol} ${status}`, statusColor, true);
|
|
1764
|
+
const pollsText = pollPart ? themeText(pollPart, "chrome") : "";
|
|
1765
|
+
const errorText = errPart ? themeText(errPart, "danger") : "";
|
|
1766
|
+
lines.push(`${botIcon}${labelText}${nameText}${statusText}${pollsText}${errorText}`);
|
|
1767
|
+
}
|
|
1768
|
+
let logLine;
|
|
1769
|
+
if (snapshot.logTail) {
|
|
1770
|
+
const trimmed = snapshot.logTail.trim();
|
|
1771
|
+
if (trimmed) {
|
|
1772
|
+
const parts = trimmed.split(/\r?\n/);
|
|
1773
|
+
logLine = parts[parts.length - 1];
|
|
1774
|
+
}
|
|
1775
|
+
} else if (snapshot.logLines && snapshot.logLines.length > 0) {
|
|
1776
|
+
logLine = snapshot.logLines[snapshot.logLines.length - 1];
|
|
1777
|
+
}
|
|
1778
|
+
if (logLine && logLine.trim()) {
|
|
1779
|
+
const cleanLog = logLine.trim();
|
|
1780
|
+
if (!colorEnabled) {
|
|
1781
|
+
lines.push(` \u2514 Log: ${cleanLog}`);
|
|
1782
|
+
} else {
|
|
1783
|
+
const branchChar = themeText(" \u2514 ", "muted");
|
|
1784
|
+
const logTag = themeText("Log: ", "muted");
|
|
1785
|
+
const logContent = themeText(cleanLog, "chrome");
|
|
1786
|
+
lines.push(`${branchChar}${logTag}${logContent}`);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
return lines;
|
|
1697
1790
|
}
|
|
1698
1791
|
|
|
1699
1792
|
// packages/ai/agent/utils/sortUtils.ts
|
|
@@ -4130,9 +4223,10 @@ function createFixedInput(output, config) {
|
|
|
4130
4223
|
if (completions.length > 0) {
|
|
4131
4224
|
sections.push(fitAnsiLine(dimCliText(completions.join(" "), colorEnabled), cols));
|
|
4132
4225
|
}
|
|
4133
|
-
const
|
|
4134
|
-
|
|
4135
|
-
|
|
4226
|
+
const rawActivity = config.getActivityLines ? config.getActivityLines() : config.getActivityLine ? config.getActivityLine() : null;
|
|
4227
|
+
const activityLines = Array.isArray(rawActivity) ? rawActivity.filter((line) => line !== null && line !== void 0) : typeof rawActivity === "string" && rawActivity.length > 0 ? [rawActivity] : [];
|
|
4228
|
+
for (const actLine of activityLines) {
|
|
4229
|
+
sections.push(fitAnsiLine(actLine.replace(/\r?\n/g, " "), cols));
|
|
4136
4230
|
}
|
|
4137
4231
|
const rule = colorEnabled ? `\x1B[2m${themeColorSequence("chrome")}${"\u2500".repeat(cols)}\x1B[0m` : "\u2500".repeat(cols);
|
|
4138
4232
|
sections.push(rule);
|
|
@@ -4190,7 +4284,7 @@ function createFixedInput(output, config) {
|
|
|
4190
4284
|
}
|
|
4191
4285
|
const text = sections.join("\n");
|
|
4192
4286
|
const lines = sections.length;
|
|
4193
|
-
const headerRows = (completions.length > 0 ? 1 : 0) + 2 +
|
|
4287
|
+
const headerRows = (completions.length > 0 ? 1 : 0) + 2 + activityLines.length + queueLines.length;
|
|
4194
4288
|
return { text, lines, cursorCol, cursorRow: headerRows + cursorRow };
|
|
4195
4289
|
};
|
|
4196
4290
|
const repaintAt = (buffer, cursorPos) => {
|
|
@@ -5149,8 +5243,14 @@ ${t("copyViewHint")}
|
|
|
5149
5243
|
...requestUserChoice ? { requestUserChoice } : {},
|
|
5150
5244
|
abortSignal: activeTurnAbort.signal,
|
|
5151
5245
|
pastedTextStore: pasteStore,
|
|
5152
|
-
|
|
5153
|
-
|
|
5246
|
+
activityReporter,
|
|
5247
|
+
onAgentRunStatus: (snapshot) => {
|
|
5248
|
+
if (snapshot) {
|
|
5249
|
+
activityIndicator.updateAgentRun(snapshot);
|
|
5250
|
+
} else {
|
|
5251
|
+
activityIndicator.clearAgentRun();
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
5154
5254
|
}
|
|
5155
5255
|
);
|
|
5156
5256
|
const wasForceStopped = forcedStopEpoch === myEpoch;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCliSessionForDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RWO5DGXI.js";
|
|
4
4
|
import {
|
|
5
5
|
getPrimaryDialogAgentId,
|
|
6
6
|
removeDialogAgentId
|
|
@@ -12,13 +12,13 @@ import "./chunk-BYXBJQAS.js";
|
|
|
12
12
|
import {
|
|
13
13
|
getActiveDialogKey
|
|
14
14
|
} from "./chunk-3ASDTTEI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JU7J7EAV.js";
|
|
16
16
|
import "./chunk-Y5GCAMGP.js";
|
|
17
17
|
import "./chunk-KX6YBIHG.js";
|
|
18
18
|
import {
|
|
19
19
|
patch,
|
|
20
20
|
selectById
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VKG4HXYV.js";
|
|
22
22
|
import "./chunk-WPHL6ALY.js";
|
|
23
23
|
import "./chunk-O4BU24WZ.js";
|
|
24
24
|
import "./chunk-I42VC5KR.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchAgentContexts
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6KTC3MPK.js";
|
|
4
4
|
import {
|
|
5
5
|
generateRequestBody,
|
|
6
6
|
mergeReferences,
|
|
7
7
|
performFetchRequest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-UWTMBOPF.js";
|
|
9
|
+
import "./chunk-H5Y2H2N6.js";
|
|
10
10
|
import {
|
|
11
11
|
findToolExecutor,
|
|
12
12
|
getToolResultErrorData
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SKURMCJF.js";
|
|
14
14
|
import "./chunk-RQSOAMPJ.js";
|
|
15
15
|
import "./chunk-OOIN7HSO.js";
|
|
16
16
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -19,27 +19,28 @@ import "./chunk-3LY4F7SV.js";
|
|
|
19
19
|
import "./chunk-VP4WJWKW.js";
|
|
20
20
|
import "./chunk-63W5N6P3.js";
|
|
21
21
|
import "./chunk-VF4K2QE6.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-7F5C7ILS.js";
|
|
23
|
+
import "./chunk-LKVDZQGM.js";
|
|
24
24
|
import "./chunk-VC6OZXO5.js";
|
|
25
25
|
import {
|
|
26
26
|
updateTokensAction
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XNV42PMD.js";
|
|
28
28
|
import "./chunk-V2J635L5.js";
|
|
29
29
|
import "./chunk-MRC4Q34M.js";
|
|
30
30
|
import "./chunk-MTU75CZ2.js";
|
|
31
31
|
import "./chunk-CWMSB67P.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-HYJNPPQ6.js";
|
|
33
|
+
import "./chunk-RWO5DGXI.js";
|
|
34
34
|
import "./chunk-Z4NR32XR.js";
|
|
35
35
|
import "./chunk-M76ECQRD.js";
|
|
36
36
|
import "./chunk-WZSRQNQG.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-LUKQQJFL.js";
|
|
38
|
+
import "./chunk-TYPHUVK5.js";
|
|
39
39
|
import {
|
|
40
40
|
canonicalizeToolName
|
|
41
41
|
} from "./chunk-B4KT7RN2.js";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-JFANOO7I.js";
|
|
43
|
+
import "./chunk-5MMAK75Q.js";
|
|
43
44
|
import {
|
|
44
45
|
getApiEndpoint
|
|
45
46
|
} from "./chunk-OGGHETUE.js";
|
|
@@ -58,16 +59,16 @@ import "./chunk-XENYHRUE.js";
|
|
|
58
59
|
import "./chunk-DWLEOOGR.js";
|
|
59
60
|
import "./chunk-IKXL2HZ3.js";
|
|
60
61
|
import "./chunk-524BDL33.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-DPFWKRHG.js";
|
|
62
63
|
import {
|
|
63
64
|
selectCurrentServer
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-JU7J7EAV.js";
|
|
65
66
|
import "./chunk-Y5GCAMGP.js";
|
|
66
67
|
import "./chunk-KX6YBIHG.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-WVTBAALN.js";
|
|
68
69
|
import {
|
|
69
70
|
read
|
|
70
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-VKG4HXYV.js";
|
|
71
72
|
import "./chunk-WPHL6ALY.js";
|
|
72
73
|
import "./chunk-O4BU24WZ.js";
|
|
73
74
|
import "./chunk-I42VC5KR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanupCliSessionForDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RWO5DGXI.js";
|
|
4
4
|
import {
|
|
5
5
|
getPrimaryDialogAgentId,
|
|
6
6
|
replacePrimaryDialogAgentId
|
|
@@ -12,13 +12,13 @@ import "./chunk-BYXBJQAS.js";
|
|
|
12
12
|
import {
|
|
13
13
|
getActiveDialogKey
|
|
14
14
|
} from "./chunk-3ASDTTEI.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JU7J7EAV.js";
|
|
16
16
|
import "./chunk-Y5GCAMGP.js";
|
|
17
17
|
import "./chunk-KX6YBIHG.js";
|
|
18
18
|
import {
|
|
19
19
|
patch,
|
|
20
20
|
selectById
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VKG4HXYV.js";
|
|
22
22
|
import "./chunk-WPHL6ALY.js";
|
|
23
23
|
import "./chunk-O4BU24WZ.js";
|
|
24
24
|
import "./chunk-I42VC5KR.js";
|
|
@@ -86,10 +86,10 @@ import {
|
|
|
86
86
|
toggleEditorWordCount,
|
|
87
87
|
toggleEnableReadCurrentSpace,
|
|
88
88
|
toggleShowThinking
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-JU7J7EAV.js";
|
|
90
90
|
import "./chunk-Y5GCAMGP.js";
|
|
91
91
|
import "./chunk-KX6YBIHG.js";
|
|
92
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-VKG4HXYV.js";
|
|
93
93
|
import "./chunk-WPHL6ALY.js";
|
|
94
94
|
import "./chunk-O4BU24WZ.js";
|
|
95
95
|
import "./chunk-I42VC5KR.js";
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readLiveDbRecordAfterTombstoneMerge
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P3J54V3I.js";
|
|
4
4
|
import {
|
|
5
5
|
readDbRecord,
|
|
6
6
|
writeAgentRecord
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-CGAYFFIB.js";
|
|
8
|
+
import "./chunk-QYZ46ZC3.js";
|
|
9
9
|
import "./chunk-VHBWHNVT.js";
|
|
10
10
|
import "./chunk-KQHGZWSV.js";
|
|
11
11
|
import {
|
|
12
12
|
authRoutes
|
|
13
13
|
} from "./chunk-MRC4Q34M.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UNEZBV37.js";
|
|
15
15
|
import "./chunk-ZNFJWEN4.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-3GOA33JO.js";
|
|
17
17
|
import "./chunk-NCGFB7NN.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-TA7VKOHU.js";
|
|
19
19
|
import "./chunk-OPZYGHUC.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-LUKQQJFL.js";
|
|
21
|
+
import "./chunk-TYPHUVK5.js";
|
|
22
22
|
import "./chunk-B4KT7RN2.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-JFANOO7I.js";
|
|
24
|
+
import "./chunk-5MMAK75Q.js";
|
|
24
25
|
import "./chunk-OGGHETUE.js";
|
|
25
26
|
import "./chunk-PDL2AV3E.js";
|
|
26
27
|
import "./chunk-JZPBVBIY.js";
|
|
@@ -36,10 +37,10 @@ import "./chunk-KX6YBIHG.js";
|
|
|
36
37
|
import {
|
|
37
38
|
createSpaceKey,
|
|
38
39
|
normalizeSpaceId
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WVTBAALN.js";
|
|
40
41
|
import {
|
|
41
42
|
resolveFileCategory
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VKG4HXYV.js";
|
|
43
44
|
import "./chunk-WPHL6ALY.js";
|
|
44
45
|
import "./chunk-O4BU24WZ.js";
|
|
45
46
|
import "./chunk-I42VC5KR.js";
|
|
@@ -51,16 +51,17 @@ import {
|
|
|
51
51
|
updateContentTitle,
|
|
52
52
|
updateSpace,
|
|
53
53
|
uploadAndAddFileToSpace
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-XNV42PMD.js";
|
|
55
55
|
import "./chunk-V2J635L5.js";
|
|
56
56
|
import "./chunk-MRC4Q34M.js";
|
|
57
57
|
import "./chunk-MTU75CZ2.js";
|
|
58
58
|
import "./chunk-CWMSB67P.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-HYJNPPQ6.js";
|
|
60
|
+
import "./chunk-RWO5DGXI.js";
|
|
61
61
|
import "./chunk-Z4NR32XR.js";
|
|
62
62
|
import "./chunk-M76ECQRD.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-JFANOO7I.js";
|
|
64
|
+
import "./chunk-5MMAK75Q.js";
|
|
64
65
|
import "./chunk-OGGHETUE.js";
|
|
65
66
|
import "./chunk-PDL2AV3E.js";
|
|
66
67
|
import "./chunk-JZPBVBIY.js";
|
|
@@ -72,11 +73,11 @@ import "./chunk-SOTZ6RDN.js";
|
|
|
72
73
|
import "./chunk-DWLEOOGR.js";
|
|
73
74
|
import "./chunk-IKXL2HZ3.js";
|
|
74
75
|
import "./chunk-524BDL33.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-JU7J7EAV.js";
|
|
76
77
|
import "./chunk-Y5GCAMGP.js";
|
|
77
78
|
import "./chunk-KX6YBIHG.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-WVTBAALN.js";
|
|
80
|
+
import "./chunk-VKG4HXYV.js";
|
|
80
81
|
import "./chunk-WPHL6ALY.js";
|
|
81
82
|
import "./chunk-O4BU24WZ.js";
|
|
82
83
|
import "./chunk-I42VC5KR.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
buildStaticUserPolicyContext,
|
|
6
6
|
resolveSpaceContextPreloadPlan
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QJSTNKJY.js";
|
|
8
8
|
import {
|
|
9
9
|
buildCliPrompt
|
|
10
10
|
} from "./chunk-ATNTHIZI.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
sanitizeOutboundResponsesInput,
|
|
21
21
|
sendOpenAICompletionsRequest,
|
|
22
22
|
updateTotalUsage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-REQCG2PB.js";
|
|
24
24
|
import "./chunk-JEXVIMYZ.js";
|
|
25
25
|
import {
|
|
26
26
|
prepareTools
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SDYIF6SV.js";
|
|
28
28
|
import {
|
|
29
29
|
fetchReferenceContents,
|
|
30
30
|
generateRequestBody,
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
resolveToolsFromKeys,
|
|
39
39
|
selectResponsesConversationState,
|
|
40
40
|
updateResponsesConversationState
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-UWTMBOPF.js";
|
|
42
|
+
import "./chunk-H5Y2H2N6.js";
|
|
43
43
|
import {
|
|
44
44
|
TOOL_PACKS,
|
|
45
45
|
applyDefaultWebToolPacks,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
getAllToolRuns,
|
|
51
51
|
shouldBlockForGptPro,
|
|
52
52
|
waitForAbortableDelay
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-SKURMCJF.js";
|
|
54
54
|
import "./chunk-RQSOAMPJ.js";
|
|
55
55
|
import "./chunk-OOIN7HSO.js";
|
|
56
56
|
import "./chunk-KQHGZWSV.js";
|
|
@@ -73,8 +73,8 @@ import "./chunk-63W5N6P3.js";
|
|
|
73
73
|
import "./chunk-VF4K2QE6.js";
|
|
74
74
|
import {
|
|
75
75
|
getDocState
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
} from "./chunk-7F5C7ILS.js";
|
|
77
|
+
import "./chunk-LKVDZQGM.js";
|
|
78
78
|
import "./chunk-VC6OZXO5.js";
|
|
79
79
|
import {
|
|
80
80
|
PERSONALIZATION_DIALOG_CATEGORY,
|
|
@@ -97,17 +97,17 @@ import {
|
|
|
97
97
|
selectTableRows,
|
|
98
98
|
selectViewMode,
|
|
99
99
|
updateTokens
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-XNV42PMD.js";
|
|
101
101
|
import "./chunk-V2J635L5.js";
|
|
102
102
|
import "./chunk-MRC4Q34M.js";
|
|
103
103
|
import "./chunk-MTU75CZ2.js";
|
|
104
104
|
import "./chunk-CWMSB67P.js";
|
|
105
|
-
import "./chunk-
|
|
105
|
+
import "./chunk-HYJNPPQ6.js";
|
|
106
106
|
import {
|
|
107
107
|
createCliChatTurnStream,
|
|
108
108
|
getCliChatSession,
|
|
109
109
|
startCliChatSession
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-RWO5DGXI.js";
|
|
111
111
|
import "./chunk-Z4NR32XR.js";
|
|
112
112
|
import "./chunk-M76ECQRD.js";
|
|
113
113
|
import "./chunk-WZSRQNQG.js";
|
|
@@ -119,14 +119,14 @@ import {
|
|
|
119
119
|
import {
|
|
120
120
|
projectToolMessageContent,
|
|
121
121
|
resolveAgentImageInputSupport
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-TA7VKOHU.js";
|
|
123
123
|
import "./chunk-OPZYGHUC.js";
|
|
124
|
-
import "./chunk-
|
|
124
|
+
import "./chunk-LUKQQJFL.js";
|
|
125
125
|
import {
|
|
126
126
|
extractImagePartsFromResponseOutput,
|
|
127
127
|
extractTextFromResponseOutput,
|
|
128
128
|
toResponsesTools
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-TYPHUVK5.js";
|
|
130
130
|
import {
|
|
131
131
|
canonicalizeToolNames,
|
|
132
132
|
prioritizeToolNames,
|
|
@@ -137,7 +137,8 @@ import {
|
|
|
137
137
|
getModelContextWindow,
|
|
138
138
|
getModelInfo,
|
|
139
139
|
planContextUsage
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-JFANOO7I.js";
|
|
141
|
+
import "./chunk-5MMAK75Q.js";
|
|
141
142
|
import {
|
|
142
143
|
getApiEndpoint,
|
|
143
144
|
getModelConfig,
|
|
@@ -175,7 +176,7 @@ import "./chunk-XENYHRUE.js";
|
|
|
175
176
|
import "./chunk-DWLEOOGR.js";
|
|
176
177
|
import "./chunk-IKXL2HZ3.js";
|
|
177
178
|
import "./chunk-524BDL33.js";
|
|
178
|
-
import "./chunk-
|
|
179
|
+
import "./chunk-DPFWKRHG.js";
|
|
179
180
|
import {
|
|
180
181
|
selectAiRecentContentLimit,
|
|
181
182
|
selectCurrentServer,
|
|
@@ -184,18 +185,18 @@ import {
|
|
|
184
185
|
selectMaxExecutionTime,
|
|
185
186
|
selectSpaceContextLevel,
|
|
186
187
|
selectUserTonePreset
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-JU7J7EAV.js";
|
|
188
189
|
import "./chunk-Y5GCAMGP.js";
|
|
189
190
|
import {
|
|
190
191
|
asRecordOrEmpty
|
|
191
192
|
} from "./chunk-KX6YBIHG.js";
|
|
192
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-WVTBAALN.js";
|
|
193
194
|
import {
|
|
194
195
|
patch,
|
|
195
196
|
read,
|
|
196
197
|
selectById,
|
|
197
198
|
write
|
|
198
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-VKG4HXYV.js";
|
|
199
200
|
import "./chunk-WPHL6ALY.js";
|
|
200
201
|
import {
|
|
201
202
|
createDialogMessageKeyAndId,
|