@google/gemini-cli 0.62.0-nightly.20260925.gbedef96ef → 0.62.0
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/bundle/{chunk-M4DUGOFW.js → chunk-2DHAEQE2.js} +90 -467
- package/bundle/{chunk-4JZM4J6T.js → chunk-2XM6DOWE.js} +2 -2
- package/bundle/{chunk-COHD3EAC.js → chunk-3VMO3WD7.js} +1 -1
- package/bundle/{chunk-TFNEL7HO.js → chunk-4GWDIIAP.js} +3 -3
- package/bundle/{chunk-LUG3MZLD.js → chunk-6DKHPDQ5.js} +1 -1
- package/bundle/{chunk-TYD74VXO.js → chunk-72GZSNV7.js} +14774 -8191
- package/bundle/{chunk-HBDPUOQW.js → chunk-7ETVC4KO.js} +1 -1
- package/bundle/{chunk-YIGDOMHJ.js → chunk-DML6Y2ZP.js} +2 -2
- package/bundle/{chunk-UFG6C5KE.js → chunk-DP2XO3WB.js} +1 -1
- package/bundle/{chunk-TNMENZTI.js → chunk-E2SRID3J.js} +1 -1
- package/bundle/{chunk-YZ6TLILF.js → chunk-F6RVU2CO.js} +1 -1
- package/bundle/{chunk-RETG7Z2C.js → chunk-GCL7X4WZ.js} +2 -2
- package/bundle/{chunk-QE6SEL5N.js → chunk-I47WLEEQ.js} +11 -45
- package/bundle/{chunk-AKMRRSMV.js → chunk-KCP45VUB.js} +1 -1
- package/bundle/{chunk-OF7DGARD.js → chunk-L5NOFB6M.js} +1 -1
- package/bundle/{chunk-H3SOW6BD.js → chunk-MLY4WQFO.js} +90 -421
- package/bundle/{chunk-MMWXIMUF.js → chunk-MNVEFU25.js} +3 -3
- package/bundle/{chunk-TKA3MSVK.js → chunk-OXDVMGJ3.js} +3 -3
- package/bundle/{chunk-GN6LRBHR.js → chunk-RWN52KQV.js} +5 -8
- package/bundle/{chunk-M5SV3LCW.js → chunk-T4GE6V5B.js} +8 -9
- package/bundle/{chunk-NZIIZAV3.js → chunk-TYBBTU4O.js} +1 -1
- package/bundle/{chunk-DOFIJ3YI.js → chunk-V43EQ7B6.js} +11 -45
- package/bundle/{chunk-R2TEKWUG.js → chunk-YOPBONYF.js} +1 -1
- package/bundle/{chunk-A3VAHJM3.js → chunk-ZRKGL4ZL.js} +62 -109
- package/bundle/{cleanup-HE7KYQAJ.js → cleanup-B2NP6ZJB.js} +2 -2
- package/bundle/{cleanup-INM5W2O2.js → cleanup-GJFEQLCV.js} +2 -2
- package/bundle/{cleanup-XSZILZES.js → cleanup-NYOWMRTL.js} +2 -2
- package/bundle/{core-PLITVDXB.js → core-4NPF436I.js} +1 -7
- package/bundle/{dist-5EPN333M.js → core-BXNHRQQE.js} +1 -7
- package/bundle/{devtoolsService-BUSRWWOS.js → devtoolsService-2TDRPBCW.js} +2 -2
- package/bundle/{devtoolsService-4D2QFII3.js → devtoolsService-47DUPCKM.js} +2 -2
- package/bundle/{devtoolsService-P7HLE6U4.js → devtoolsService-BIYZH2ME.js} +3 -4
- package/bundle/{dist-EBAUDX6K.js → dist-6S53KFXU.js} +1 -7
- package/bundle/docs/changelogs/index.md +0 -16
- package/bundle/docs/changelogs/latest.md +55 -34
- package/bundle/docs/changelogs/preview.md +3 -7
- package/bundle/{gemini-LJOD63ZZ.js → gemini-CGCV5XPN.js} +14 -14
- package/bundle/{gemini-E77OMSLO.js → gemini-J6X2T2ZI.js} +14 -14
- package/bundle/{gemini-III4I2TY.js → gemini-ZBM332DO.js} +198 -214
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-GCRH54ZM.js → interactiveCli-HUDGOV74.js} +14 -31
- package/bundle/{interactiveCli-BJCS4WF5.js → interactiveCli-IDDEAOD5.js} +14 -31
- package/bundle/{interactiveCli-A3LNKRJV.js → interactiveCli-R4EMLFLM.js} +298 -334
- package/bundle/{liteRtServerManager-34QJA5UR.js → liteRtServerManager-A4B5FMXL.js} +4 -4
- package/bundle/{liteRtServerManager-PJMI7L5V.js → liteRtServerManager-QE27SHMQ.js} +4 -4
- package/bundle/{liteRtServerManager-TPFCEVH7.js → liteRtServerManager-WXCXUPDQ.js} +4 -4
- package/bundle/{oauth2-provider-HIFZ2YSU.js → oauth2-provider-3F6FOWLR.js} +1 -1
- package/bundle/{oauth2-provider-4IJXZY2A.js → oauth2-provider-43ANEHLB.js} +1 -1
- package/bundle/{oauth2-provider-65ESWRXC.js → oauth2-provider-MWRLM45J.js} +72 -38
- package/bundle/{start-6ET4IGUD.js → start-SQ2SPNQL.js} +6 -6
- package/bundle/{start-HKFTMESR.js → start-W7O4IWQ7.js} +6 -6
- package/bundle/{start-IYXWZL5M.js → start-ZMLXZ4VX.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-BZNLCS4I.js +0 -398
- package/bundle/chunk-FW6KQPO4.js +0 -102951
- package/bundle/chunk-HM4SUAV7.js +0 -17368
- package/bundle/chunk-QPGOBA6C.js +0 -118
- package/bundle/chunk-X4QSELXY.js +0 -400361
- package/bundle/chunk-X63LZNK3.js +0 -1571
- package/bundle/chunk-YNCGLYYB.js +0 -154
- package/bundle/chunk-YUTWSGVZ.js +0 -512
- package/bundle/cleanup-ZZ2TESXC.js +0 -32
- package/bundle/devtoolsService-YD7ORPBB.js +0 -4359
- package/bundle/dist-SYCD6I6K.js +0 -2244
- package/bundle/gemini-46IOIZQR.js +0 -17863
- package/bundle/interactiveCli-XDQJSJNE.js +0 -34907
- package/bundle/liteRtServerManager-YPMJZLFF.js +0 -65
- package/bundle/oauth2-provider-KTV4RAAH.js +0 -235
- package/bundle/start-TIGZXUOM.js +0 -18
package/bundle/gemini.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
RELAUNCH_EXIT_CODE,
|
|
5
5
|
getScriptArgs,
|
|
6
6
|
getSpawnConfig
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-DML6Y2ZP.js";
|
|
8
|
+
import "./chunk-DP2XO3WB.js";
|
|
9
|
+
import "./chunk-TYBBTU4O.js";
|
|
10
|
+
import "./chunk-MLY4WQFO.js";
|
|
11
11
|
import "./chunk-664ZODQF.js";
|
|
12
12
|
import "./chunk-IUUIT4SU.js";
|
|
13
13
|
import "./chunk-L6PII3GR.js";
|
|
@@ -98,9 +98,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
} else {
|
|
101
|
-
const { main } = await import("./gemini-
|
|
102
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
103
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
101
|
+
const { main } = await import("./gemini-J6X2T2ZI.js");
|
|
102
|
+
const { FatalError, writeToStderr } = await import("./dist-6S53KFXU.js");
|
|
103
|
+
const { runExitCleanup } = await import("./cleanup-B2NP6ZJB.js");
|
|
104
104
|
main().catch(async (error) => {
|
|
105
105
|
const cleanupTimeout = setTimeout(() => {
|
|
106
106
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-ZRKGL4ZL.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-L5NOFB6M.js";
|
|
178
178
|
import {
|
|
179
179
|
appEvents
|
|
180
180
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -227,24 +227,24 @@ import {
|
|
|
227
227
|
stripAnsi,
|
|
228
228
|
stripUnsafeCharacters,
|
|
229
229
|
toCodePoints
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-RWN52KQV.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-GCL7X4WZ.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-T4GE6V5B.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-7ETVC4KO.js";
|
|
248
248
|
import {
|
|
249
249
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
250
250
|
AGENT_TOOL_NAME,
|
|
@@ -430,7 +430,7 @@ import {
|
|
|
430
430
|
validatePlanContent,
|
|
431
431
|
validatePlanPath,
|
|
432
432
|
writeToStdout
|
|
433
|
-
} from "./chunk-
|
|
433
|
+
} from "./chunk-72GZSNV7.js";
|
|
434
434
|
import "./chunk-664ZODQF.js";
|
|
435
435
|
import "./chunk-IUUIT4SU.js";
|
|
436
436
|
import "./chunk-L6PII3GR.js";
|
|
@@ -22794,7 +22794,6 @@ var GeminiRespondingSpinner = ({
|
|
|
22794
22794
|
var import_jsx_runtime113 = __toESM(require_jsx_runtime(), 1);
|
|
22795
22795
|
var LoadingIndicator = ({
|
|
22796
22796
|
currentLoadingPhrase,
|
|
22797
|
-
statusPhrase,
|
|
22798
22797
|
wittyPhrase,
|
|
22799
22798
|
showWit = false,
|
|
22800
22799
|
elapsedTime,
|
|
@@ -22810,10 +22809,10 @@ var LoadingIndicator = ({
|
|
|
22810
22809
|
const streamingState = useStreamingContext();
|
|
22811
22810
|
const { columns: terminalWidth } = useTerminalSize();
|
|
22812
22811
|
const isNarrow = isNarrowWidth(terminalWidth);
|
|
22813
|
-
if (streamingState === "idle" /* Idle */ && !currentLoadingPhrase && !
|
|
22812
|
+
if (streamingState === "idle" /* Idle */ && !currentLoadingPhrase && !thought) {
|
|
22814
22813
|
return null;
|
|
22815
22814
|
}
|
|
22816
|
-
const primaryText =
|
|
22815
|
+
const primaryText = currentLoadingPhrase === INTERACTIVE_SHELL_WAITING_PHRASE ? currentLoadingPhrase : thought?.subject ? thoughtLabel ?? thought.subject : currentLoadingPhrase || (streamingState === "responding" /* Responding */ ? "Thinking..." : void 0);
|
|
22817
22816
|
const cancelAndTimerContent = showCancelAndTimer && streamingState === "responding" /* Responding */ ? `(esc to cancel, ${elapsedTime < 60 ? `${elapsedTime}s` : formatDuration(elapsedTime * 1e3)})` : null;
|
|
22818
22817
|
const wittyPhraseNode = !forceRealStatusOnly && showWit && wittyPhrase && primaryText === "Thinking..." ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Box_default, { marginLeft: 1, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Text, { color: theme.text.secondary, dimColor: true, italic: true, children: wittyPhrase }) }) : null;
|
|
22819
22818
|
if (inline) {
|
|
@@ -23150,7 +23149,6 @@ var StatusNode = ({
|
|
|
23150
23149
|
activeHooks,
|
|
23151
23150
|
showLoadingIndicator,
|
|
23152
23151
|
errorVerbosity,
|
|
23153
|
-
statusPhrase,
|
|
23154
23152
|
onResize
|
|
23155
23153
|
}) => {
|
|
23156
23154
|
const observerRef = (0, import_react77.useRef)(null);
|
|
@@ -23179,9 +23177,7 @@ var StatusNode = ({
|
|
|
23179
23177
|
},
|
|
23180
23178
|
[onResize]
|
|
23181
23179
|
);
|
|
23182
|
-
if (activeHooks.length === 0 && !showLoadingIndicator
|
|
23183
|
-
return null;
|
|
23184
|
-
}
|
|
23180
|
+
if (activeHooks.length === 0 && !showLoadingIndicator) return null;
|
|
23185
23181
|
let currentLoadingPhrase = void 0;
|
|
23186
23182
|
let currentThought = null;
|
|
23187
23183
|
if (activeHooks.length > 0) {
|
|
@@ -23213,7 +23209,6 @@ var StatusNode = ({
|
|
|
23213
23209
|
errorVerbosity,
|
|
23214
23210
|
thought: currentThought,
|
|
23215
23211
|
currentLoadingPhrase,
|
|
23216
|
-
statusPhrase,
|
|
23217
23212
|
elapsedTime,
|
|
23218
23213
|
forceRealStatusOnly: false,
|
|
23219
23214
|
wittyPhrase: currentWittyPhrase
|
|
@@ -23226,11 +23221,9 @@ var StatusRow = ({
|
|
|
23226
23221
|
terminalWidth,
|
|
23227
23222
|
hideContextSummary,
|
|
23228
23223
|
hideUiDetailsForSuggestions,
|
|
23229
|
-
hasPendingActionRequired
|
|
23230
|
-
statusPhrase: propStatusPhrase
|
|
23224
|
+
hasPendingActionRequired
|
|
23231
23225
|
}) => {
|
|
23232
23226
|
const uiState = useUIState();
|
|
23233
|
-
const statusPhrase = propStatusPhrase ?? uiState.statusPhrase;
|
|
23234
23227
|
const inputState = useInputState();
|
|
23235
23228
|
const settings = useSettings();
|
|
23236
23229
|
const {
|
|
@@ -23282,7 +23275,7 @@ var StatusRow = ({
|
|
|
23282
23275
|
const showTipLine = Boolean(
|
|
23283
23276
|
!hasPendingActionRequired && tipContentStr && !willCollideTip && !isNarrow
|
|
23284
23277
|
);
|
|
23285
|
-
const showRow1Minimal = showLoadingIndicator || uiState.activeHooks.length > 0 || showTipLine
|
|
23278
|
+
const showRow1Minimal = showLoadingIndicator || uiState.activeHooks.length > 0 || showTipLine;
|
|
23286
23279
|
const showRow2Minimal = Boolean(modeContentObj) && !hideUiDetailsForSuggestions || showMinimalContext;
|
|
23287
23280
|
const showRow1 = showUiDetails || showRow1Minimal;
|
|
23288
23281
|
const showRow2 = showUiDetails || showRow2Minimal;
|
|
@@ -23300,7 +23293,6 @@ var StatusRow = ({
|
|
|
23300
23293
|
activeHooks: uiState.activeHooks,
|
|
23301
23294
|
showLoadingIndicator,
|
|
23302
23295
|
errorVerbosity: settings.merged.ui.errorVerbosity,
|
|
23303
|
-
statusPhrase,
|
|
23304
23296
|
onResize: onStatusResize
|
|
23305
23297
|
}
|
|
23306
23298
|
);
|
|
@@ -30283,7 +30275,6 @@ var useLoadingIndicator = ({
|
|
|
30283
30275
|
return {
|
|
30284
30276
|
elapsedTime: streamingState === "waiting_for_confirmation" /* WaitingForConfirmation */ ? retainedElapsedTime : elapsedTimeFromTimer,
|
|
30285
30277
|
currentLoadingPhrase: retryPhrase || currentTip || currentWittyPhrase,
|
|
30286
|
-
statusPhrase: retryPhrase ?? void 0,
|
|
30287
30278
|
currentTip,
|
|
30288
30279
|
currentWittyPhrase
|
|
30289
30280
|
};
|
|
@@ -33861,7 +33852,7 @@ ${queuedText}` : queuedText;
|
|
|
33861
33852
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33862
33853
|
if (settings.merged.general.devtools) {
|
|
33863
33854
|
void (async () => {
|
|
33864
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33855
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-BIYZH2ME.js");
|
|
33865
33856
|
await toggleDevToolsPanel(
|
|
33866
33857
|
config,
|
|
33867
33858
|
showErrorDetails,
|
|
@@ -34116,13 +34107,7 @@ ${queuedText}` : queuedText;
|
|
|
34116
34107
|
estimatedStatusLength = 35;
|
|
34117
34108
|
}
|
|
34118
34109
|
const maxLength = terminalWidth - estimatedStatusLength - 5;
|
|
34119
|
-
const {
|
|
34120
|
-
elapsedTime,
|
|
34121
|
-
currentLoadingPhrase,
|
|
34122
|
-
statusPhrase,
|
|
34123
|
-
currentTip,
|
|
34124
|
-
currentWittyPhrase
|
|
34125
|
-
} = useLoadingIndicator({
|
|
34110
|
+
const { elapsedTime, currentLoadingPhrase, currentTip, currentWittyPhrase } = useLoadingIndicator({
|
|
34126
34111
|
streamingState,
|
|
34127
34112
|
shouldShowFocusHint,
|
|
34128
34113
|
retryStatus,
|
|
@@ -34323,7 +34308,6 @@ ${queuedText}` : queuedText;
|
|
|
34323
34308
|
isFocused,
|
|
34324
34309
|
elapsedTime,
|
|
34325
34310
|
currentLoadingPhrase,
|
|
34326
|
-
statusPhrase,
|
|
34327
34311
|
currentTip,
|
|
34328
34312
|
currentWittyPhrase,
|
|
34329
34313
|
historyRemountKey,
|
|
@@ -34435,7 +34419,6 @@ ${queuedText}` : queuedText;
|
|
|
34435
34419
|
isFocused,
|
|
34436
34420
|
elapsedTime,
|
|
34437
34421
|
currentLoadingPhrase,
|
|
34438
|
-
statusPhrase,
|
|
34439
34422
|
currentTip,
|
|
34440
34423
|
currentWittyPhrase,
|
|
34441
34424
|
historyRemountKey,
|
|
@@ -171,10 +171,10 @@ import {
|
|
|
171
171
|
widestLineFromStyledChars,
|
|
172
172
|
wordBreakStyledChars,
|
|
173
173
|
wrapStyledChars
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-V43EQ7B6.js";
|
|
175
175
|
import {
|
|
176
176
|
require_source
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-YOPBONYF.js";
|
|
178
178
|
import {
|
|
179
179
|
appEvents
|
|
180
180
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -227,24 +227,24 @@ import {
|
|
|
227
227
|
stripAnsi,
|
|
228
228
|
stripUnsafeCharacters,
|
|
229
229
|
toCodePoints
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-3VMO3WD7.js";
|
|
231
231
|
import {
|
|
232
232
|
handleAutoUpdate,
|
|
233
233
|
isDevelopment,
|
|
234
234
|
relaunchApp,
|
|
235
235
|
setUpdateHandler
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-DML6Y2ZP.js";
|
|
237
237
|
import {
|
|
238
238
|
isTodoList,
|
|
239
239
|
mapCoreStatusToDisplayStatus,
|
|
240
240
|
require_react
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-DP2XO3WB.js";
|
|
242
242
|
import {
|
|
243
243
|
registerCleanup,
|
|
244
244
|
removeCleanup,
|
|
245
245
|
runExitCleanup,
|
|
246
246
|
setupTtyCheck
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-TYBBTU4O.js";
|
|
248
248
|
import {
|
|
249
249
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
250
250
|
AGENT_TOOL_NAME,
|
|
@@ -449,7 +449,7 @@ import {
|
|
|
449
449
|
validatePlanContent,
|
|
450
450
|
validatePlanPath,
|
|
451
451
|
writeToStdout
|
|
452
|
-
} from "./chunk-
|
|
452
|
+
} from "./chunk-MLY4WQFO.js";
|
|
453
453
|
import "./chunk-664ZODQF.js";
|
|
454
454
|
import "./chunk-IUUIT4SU.js";
|
|
455
455
|
import "./chunk-L6PII3GR.js";
|
|
@@ -22813,7 +22813,6 @@ var GeminiRespondingSpinner = ({
|
|
|
22813
22813
|
var import_jsx_runtime113 = __toESM(require_jsx_runtime(), 1);
|
|
22814
22814
|
var LoadingIndicator = ({
|
|
22815
22815
|
currentLoadingPhrase,
|
|
22816
|
-
statusPhrase,
|
|
22817
22816
|
wittyPhrase,
|
|
22818
22817
|
showWit = false,
|
|
22819
22818
|
elapsedTime,
|
|
@@ -22829,10 +22828,10 @@ var LoadingIndicator = ({
|
|
|
22829
22828
|
const streamingState = useStreamingContext();
|
|
22830
22829
|
const { columns: terminalWidth } = useTerminalSize();
|
|
22831
22830
|
const isNarrow = isNarrowWidth(terminalWidth);
|
|
22832
|
-
if (streamingState === "idle" /* Idle */ && !currentLoadingPhrase && !
|
|
22831
|
+
if (streamingState === "idle" /* Idle */ && !currentLoadingPhrase && !thought) {
|
|
22833
22832
|
return null;
|
|
22834
22833
|
}
|
|
22835
|
-
const primaryText =
|
|
22834
|
+
const primaryText = currentLoadingPhrase === INTERACTIVE_SHELL_WAITING_PHRASE ? currentLoadingPhrase : thought?.subject ? thoughtLabel ?? thought.subject : currentLoadingPhrase || (streamingState === "responding" /* Responding */ ? "Thinking..." : void 0);
|
|
22836
22835
|
const cancelAndTimerContent = showCancelAndTimer && streamingState === "responding" /* Responding */ ? `(esc to cancel, ${elapsedTime < 60 ? `${elapsedTime}s` : formatDuration(elapsedTime * 1e3)})` : null;
|
|
22837
22836
|
const wittyPhraseNode = !forceRealStatusOnly && showWit && wittyPhrase && primaryText === "Thinking..." ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Box_default, { marginLeft: 1, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Text, { color: theme.text.secondary, dimColor: true, italic: true, children: wittyPhrase }) }) : null;
|
|
22838
22837
|
if (inline) {
|
|
@@ -23169,7 +23168,6 @@ var StatusNode = ({
|
|
|
23169
23168
|
activeHooks,
|
|
23170
23169
|
showLoadingIndicator,
|
|
23171
23170
|
errorVerbosity,
|
|
23172
|
-
statusPhrase,
|
|
23173
23171
|
onResize
|
|
23174
23172
|
}) => {
|
|
23175
23173
|
const observerRef = (0, import_react77.useRef)(null);
|
|
@@ -23198,9 +23196,7 @@ var StatusNode = ({
|
|
|
23198
23196
|
},
|
|
23199
23197
|
[onResize]
|
|
23200
23198
|
);
|
|
23201
|
-
if (activeHooks.length === 0 && !showLoadingIndicator
|
|
23202
|
-
return null;
|
|
23203
|
-
}
|
|
23199
|
+
if (activeHooks.length === 0 && !showLoadingIndicator) return null;
|
|
23204
23200
|
let currentLoadingPhrase = void 0;
|
|
23205
23201
|
let currentThought = null;
|
|
23206
23202
|
if (activeHooks.length > 0) {
|
|
@@ -23232,7 +23228,6 @@ var StatusNode = ({
|
|
|
23232
23228
|
errorVerbosity,
|
|
23233
23229
|
thought: currentThought,
|
|
23234
23230
|
currentLoadingPhrase,
|
|
23235
|
-
statusPhrase,
|
|
23236
23231
|
elapsedTime,
|
|
23237
23232
|
forceRealStatusOnly: false,
|
|
23238
23233
|
wittyPhrase: currentWittyPhrase
|
|
@@ -23245,11 +23240,9 @@ var StatusRow = ({
|
|
|
23245
23240
|
terminalWidth,
|
|
23246
23241
|
hideContextSummary,
|
|
23247
23242
|
hideUiDetailsForSuggestions,
|
|
23248
|
-
hasPendingActionRequired
|
|
23249
|
-
statusPhrase: propStatusPhrase
|
|
23243
|
+
hasPendingActionRequired
|
|
23250
23244
|
}) => {
|
|
23251
23245
|
const uiState = useUIState();
|
|
23252
|
-
const statusPhrase = propStatusPhrase ?? uiState.statusPhrase;
|
|
23253
23246
|
const inputState = useInputState();
|
|
23254
23247
|
const settings = useSettings();
|
|
23255
23248
|
const {
|
|
@@ -23301,7 +23294,7 @@ var StatusRow = ({
|
|
|
23301
23294
|
const showTipLine = Boolean(
|
|
23302
23295
|
!hasPendingActionRequired && tipContentStr && !willCollideTip && !isNarrow
|
|
23303
23296
|
);
|
|
23304
|
-
const showRow1Minimal = showLoadingIndicator || uiState.activeHooks.length > 0 || showTipLine
|
|
23297
|
+
const showRow1Minimal = showLoadingIndicator || uiState.activeHooks.length > 0 || showTipLine;
|
|
23305
23298
|
const showRow2Minimal = Boolean(modeContentObj) && !hideUiDetailsForSuggestions || showMinimalContext;
|
|
23306
23299
|
const showRow1 = showUiDetails || showRow1Minimal;
|
|
23307
23300
|
const showRow2 = showUiDetails || showRow2Minimal;
|
|
@@ -23319,7 +23312,6 @@ var StatusRow = ({
|
|
|
23319
23312
|
activeHooks: uiState.activeHooks,
|
|
23320
23313
|
showLoadingIndicator,
|
|
23321
23314
|
errorVerbosity: settings.merged.ui.errorVerbosity,
|
|
23322
|
-
statusPhrase,
|
|
23323
23315
|
onResize: onStatusResize
|
|
23324
23316
|
}
|
|
23325
23317
|
);
|
|
@@ -30302,7 +30294,6 @@ var useLoadingIndicator = ({
|
|
|
30302
30294
|
return {
|
|
30303
30295
|
elapsedTime: streamingState === "waiting_for_confirmation" /* WaitingForConfirmation */ ? retainedElapsedTime : elapsedTimeFromTimer,
|
|
30304
30296
|
currentLoadingPhrase: retryPhrase || currentTip || currentWittyPhrase,
|
|
30305
|
-
statusPhrase: retryPhrase ?? void 0,
|
|
30306
30297
|
currentTip,
|
|
30307
30298
|
currentWittyPhrase
|
|
30308
30299
|
};
|
|
@@ -33880,7 +33871,7 @@ ${queuedText}` : queuedText;
|
|
|
33880
33871
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33881
33872
|
if (settings.merged.general.devtools) {
|
|
33882
33873
|
void (async () => {
|
|
33883
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33874
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-2TDRPBCW.js");
|
|
33884
33875
|
await toggleDevToolsPanel(
|
|
33885
33876
|
config,
|
|
33886
33877
|
showErrorDetails,
|
|
@@ -34135,13 +34126,7 @@ ${queuedText}` : queuedText;
|
|
|
34135
34126
|
estimatedStatusLength = 35;
|
|
34136
34127
|
}
|
|
34137
34128
|
const maxLength = terminalWidth - estimatedStatusLength - 5;
|
|
34138
|
-
const {
|
|
34139
|
-
elapsedTime,
|
|
34140
|
-
currentLoadingPhrase,
|
|
34141
|
-
statusPhrase,
|
|
34142
|
-
currentTip,
|
|
34143
|
-
currentWittyPhrase
|
|
34144
|
-
} = useLoadingIndicator({
|
|
34129
|
+
const { elapsedTime, currentLoadingPhrase, currentTip, currentWittyPhrase } = useLoadingIndicator({
|
|
34145
34130
|
streamingState,
|
|
34146
34131
|
shouldShowFocusHint,
|
|
34147
34132
|
retryStatus,
|
|
@@ -34342,7 +34327,6 @@ ${queuedText}` : queuedText;
|
|
|
34342
34327
|
isFocused,
|
|
34343
34328
|
elapsedTime,
|
|
34344
34329
|
currentLoadingPhrase,
|
|
34345
|
-
statusPhrase,
|
|
34346
34330
|
currentTip,
|
|
34347
34331
|
currentWittyPhrase,
|
|
34348
34332
|
historyRemountKey,
|
|
@@ -34454,7 +34438,6 @@ ${queuedText}` : queuedText;
|
|
|
34454
34438
|
isFocused,
|
|
34455
34439
|
elapsedTime,
|
|
34456
34440
|
currentLoadingPhrase,
|
|
34457
|
-
statusPhrase,
|
|
34458
34441
|
currentTip,
|
|
34459
34442
|
currentWittyPhrase,
|
|
34460
34443
|
historyRemountKey,
|