@ashx-j/lunr-dev 0.2.40-dev.58.1 → 0.2.40-dev.60.1
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/dist/builtin-extensions/lunr-browser.d.ts +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.js +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/bemol-extension/index.js +2 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js +2 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js +1 -1
- package/dist/cli/config-selector.js +1 -1
- package/dist/cli/startup-ui.js +1 -1
- package/dist/core/agent-session.js +1 -1
- package/dist/core/export-html/index.js +1 -1
- package/dist/core/export-html/tool-renderer.d.ts +1 -1
- package/dist/core/extensions/runner.js +1 -1
- package/dist/core/extensions/types.d.ts +1 -1
- package/dist/core/resource-loader.d.ts +1 -1
- package/dist/core/resource-loader.js +1 -1
- package/dist/{modes/interactive → core}/theme/theme.d.ts +1 -1
- package/dist/{modes/interactive → core}/theme/theme.js +4 -4
- package/dist/gateway/agent-bridge.js +1 -1
- package/dist/gateway/setup.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/modes/interactive/chat-history.js +1 -1
- package/dist/modes/interactive/components/assistant-message.js +1 -1
- package/dist/modes/interactive/components/bash-execution.js +1 -1
- package/dist/modes/interactive/components/boot-screen.js +1 -1
- package/dist/modes/interactive/components/bordered-loader.d.ts +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +1 -1
- package/dist/modes/interactive/components/config-selector.js +1 -1
- package/dist/modes/interactive/components/context-view.js +1 -1
- package/dist/modes/interactive/components/copyable-text.js +1 -1
- package/dist/modes/interactive/components/custom-entry.js +1 -1
- package/dist/modes/interactive/components/custom-message.js +1 -1
- package/dist/modes/interactive/components/diff.js +1 -1
- package/dist/modes/interactive/components/dynamic-border.js +1 -1
- package/dist/modes/interactive/components/extension-editor.js +1 -1
- package/dist/modes/interactive/components/extension-input.js +1 -1
- package/dist/modes/interactive/components/extension-selector.js +1 -1
- package/dist/modes/interactive/components/footer.js +1 -1
- package/dist/modes/interactive/components/injected-prompt-message.js +1 -1
- package/dist/modes/interactive/components/keybinding-hints.js +1 -1
- package/dist/modes/interactive/components/login-dialog.js +1 -1
- package/dist/modes/interactive/components/model-selector.js +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +1 -1
- package/dist/modes/interactive/components/onboarding.js +1 -1
- package/dist/modes/interactive/components/plan-message.js +1 -1
- package/dist/modes/interactive/components/processes-selector.js +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +1 -1
- package/dist/modes/interactive/components/session-selector.js +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +1 -1
- package/dist/modes/interactive/components/settings-selector.js +1 -1
- package/dist/modes/interactive/components/show-images-selector.js +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +1 -1
- package/dist/modes/interactive/components/status-indicator.js +1 -1
- package/dist/modes/interactive/components/theme-selector.js +1 -1
- package/dist/modes/interactive/components/thinking-selector.js +1 -1
- package/dist/modes/interactive/components/thinking-tail.js +1 -1
- package/dist/modes/interactive/components/tool-execution.js +1 -1
- package/dist/modes/interactive/components/tree-selector.js +1 -1
- package/dist/modes/interactive/components/trust-selector.js +1 -1
- package/dist/modes/interactive/components/usage-view.js +1 -1
- package/dist/modes/interactive/components/user-message-selector.js +1 -1
- package/dist/modes/interactive/components/user-message.js +1 -1
- package/dist/modes/interactive/extension-dialogs.d.ts +1 -1
- package/dist/modes/interactive/extension-dialogs.js +1 -1
- package/dist/modes/interactive/extension-widgets.d.ts +1 -1
- package/dist/modes/interactive/extension-widgets.js +1 -1
- package/dist/modes/interactive/help-commands.js +1 -1
- package/dist/modes/interactive/interactive-mode.js +1 -1
- package/dist/modes/interactive/loaded-resources.js +1 -1
- package/dist/modes/interactive/login-flow.js +1 -1
- package/dist/modes/interactive/session-exit.js +1 -1
- package/dist/modes/interactive/session-naming.js +1 -1
- package/dist/modes/interactive/settings-screen.js +1 -1
- package/dist/modes/interactive/theme/theme-controller.d.ts +1 -1
- package/dist/modes/interactive/theme/theme-controller.js +1 -1
- package/dist/modes/interactive/tool-renderers/bash.js +1 -1
- package/dist/modes/interactive/tool-renderers/read.js +1 -1
- package/dist/modes/interactive/tool-renderers/render-utils.d.ts +1 -1
- package/dist/modes/interactive/tool-renderers/write.js +1 -1
- package/dist/modes/interactive/usage-commands.js +1 -1
- package/dist/modes/rpc/rpc-mode.js +1 -1
- package/dist/node-runtime/{agent-session-services-KH5CIGC3.js → agent-session-services-UOVUJAX2.js} +4 -4
- package/dist/node-runtime/{builtin-extensions-RZS4SMIS.js → builtin-extensions-JNJRND4E.js} +1 -1
- package/dist/node-runtime/{chunk-GPNTGRL2.js → chunk-3RR3PVJB.js} +2 -2
- package/dist/node-runtime/{chunk-JI7AUY2T.js → chunk-6DVUDNS7.js} +1 -1
- package/dist/node-runtime/{chunk-5F7VOA34.js → chunk-AW6PDL4D.js} +1 -1
- package/dist/node-runtime/{chunk-VP2H4TI5.js → chunk-BJIF7GMV.js} +3 -3
- package/dist/node-runtime/{chunk-AKQRASEH.js → chunk-BQROL43X.js} +15 -15
- package/dist/node-runtime/{chunk-UTZCCNFC.js → chunk-FCINT2KC.js} +4 -4
- package/dist/node-runtime/{chunk-KURXPCGO.js → chunk-FNS42TPZ.js} +3 -3
- package/dist/node-runtime/{chunk-TSZESZ6H.js → chunk-GAWWLIGY.js} +2 -2
- package/dist/node-runtime/{chunk-27QDDTTV.js → chunk-HYOPEHDE.js} +2 -2
- package/dist/node-runtime/{chunk-5JVP2JX4.js → chunk-JARNU4J4.js} +3 -3
- package/dist/node-runtime/{chunk-ITHKNPG4.js → chunk-JZK2WJ7U.js} +1 -1
- package/dist/node-runtime/{chunk-PLBYKAZC.js → chunk-KETNCBTB.js} +2 -2
- package/dist/node-runtime/{chunk-OXFD2OMR.js → chunk-LY6VVOF4.js} +3 -3
- package/dist/node-runtime/{chunk-DJB7P2V7.js → chunk-MEDBJXCC.js} +1 -1
- package/dist/node-runtime/{chunk-NWYFKXP5.js → chunk-QDQAKIVU.js} +1 -1
- package/dist/node-runtime/{chunk-GNT2AURO.js → chunk-QP4I6GEW.js} +1 -1
- package/dist/node-runtime/{chunk-WYJUGRVE.js → chunk-RXG6DWO2.js} +1 -1
- package/dist/node-runtime/{chunk-JJTHGEUS.js → chunk-S46QLY2F.js} +5 -5
- package/dist/node-runtime/{chunk-MNYG5WLT.js → chunk-WBLSU6YV.js} +3 -3
- package/dist/node-runtime/{chunk-BJXBM6KD.js → chunk-XXGJ7Z3C.js} +9 -9
- package/dist/node-runtime/{chunk-K24P7GMM.js → chunk-Y7DFMHY5.js} +7 -7
- package/dist/node-runtime/cli-runtime.js +1 -1
- package/dist/node-runtime/{command-6S6C62CX.js → command-6GJNLXGD.js} +3 -3
- package/dist/node-runtime/{commands-MM2TPV5I.js → commands-2UG5F4VT.js} +4 -4
- package/dist/node-runtime/{export-html-7TEMZLK2.js → export-html-SW3CIZRJ.js} +1 -1
- package/dist/node-runtime/{extension-input-MNEKUZDZ.js → extension-input-DFQ76UJG.js} +4 -4
- package/dist/node-runtime/{extension-selector-6WJHCCQI.js → extension-selector-MWHCRWHQ.js} +4 -4
- package/dist/node-runtime/{gateway-CWIWPUVC.js → gateway-UDWVYEGX.js} +6 -6
- package/dist/node-runtime/{goal-PJ2NLX6M.js → goal-CVGA3XFI.js} +1 -1
- package/dist/node-runtime/index.js +18 -18
- package/dist/node-runtime/{install-cli-4LUSDUPO.js → install-cli-YIIFVCFM.js} +1 -1
- package/dist/node-runtime/{interactive-mode-2L5JMVKQ.js → interactive-mode-VCPSTUAW.js} +12 -12
- package/dist/node-runtime/{interactive-view-TUYWWEUV.js → interactive-view-GDP6M6UP.js} +6 -6
- package/dist/node-runtime/{lunr-cron-LT3O64NO.js → lunr-cron-3VI5CLK3.js} +4 -4
- package/dist/node-runtime/main.js +13 -13
- package/dist/node-runtime/{mobile-commands-PFXEWP2R.js → mobile-commands-HQXEYAF6.js} +3 -3
- package/dist/node-runtime/{package-manager-cli-FICMQY2Q.js → package-manager-cli-B6G22R6O.js} +9 -9
- package/dist/node-runtime/{pi-prompt-template-model-63LFES2U.js → pi-prompt-template-model-UL2T2HLL.js} +2 -2
- package/dist/node-runtime/{pi-subagents-G2T5XRAX.js → pi-subagents-YVVMY4B4.js} +2 -2
- package/dist/node-runtime/{print-mode-S6ZUVPMU.js → print-mode-M52NLHKG.js} +5 -5
- package/dist/node-runtime/rpc-entry.js +13 -13
- package/dist/node-runtime/{rpc-mode-C33WERBG.js → rpc-mode-WAHP6U73.js} +2 -2
- package/dist/node-runtime/{session-selector-AF6V7DP6.js → session-selector-JABBEHK5.js} +4 -4
- package/dist/node-runtime/{setup-OHLYSWTW.js → setup-7IC2PQIB.js} +6 -6
- package/dist/node-runtime/{theme-AY3J7JHP.js → theme-MVESIOLX.js} +1 -1
- package/dist/node-runtime/{tool-renderers-4RDKHPPB.js → tool-renderers-KL5EPAMN.js} +3 -3
- package/dist/startup/interactive-view.js +1 -1
- package/install-lock/package-lock.json +24 -24
- package/install-lock/package.json +2 -2
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Loader } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { theme } from "
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { CountdownTimer } from "./countdown-timer.js";
|
|
4
4
|
import { keyText } from "./keybinding-hints.js";
|
|
5
5
|
export class StatusIndicator extends Loader {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, SelectList } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { getAvailableThemes, getSelectListTheme } from "
|
|
2
|
+
import { getAvailableThemes, getSelectListTheme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
4
4
|
const THEME_SELECT_LIST_LAYOUT = {
|
|
5
5
|
minPrimaryColumnWidth: 12,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, SelectList } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { getSelectListTheme } from "
|
|
2
|
+
import { getSelectListTheme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
4
4
|
const THINKING_SELECT_LIST_LAYOUT = {
|
|
5
5
|
minPrimaryColumnWidth: 12,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Markdown, truncateToWidth, visibleWidth } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
2
3
|
import { stripAnsi } from "../../../utils/ansi.js";
|
|
3
|
-
import { theme } from "../theme/theme.js";
|
|
4
4
|
/**
|
|
5
5
|
* lunr: rolling window for a still-streaming thinking run. Renders the full
|
|
6
6
|
* Markdown block (same styling as the complete-run branch) but returns only
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Box, Container, getCapabilities, Image, Spacer, Text } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
2
3
|
import { convertToPng } from "../../../utils/image-convert.js";
|
|
3
|
-
import { theme } from "../theme/theme.js";
|
|
4
4
|
import { getBuiltinToolRenderer } from "../tool-renderers/index.js";
|
|
5
5
|
import { appendToFirstLine, formatGroupedCall, GroupedCallText, getTextOutput as getRenderedTextOutput, toolGroupRole, toolGroupTree, toolStatusDot, } from "../tool-renderers/render-utils.js";
|
|
6
6
|
export class ToolExecutionComponent extends Container {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, getKeybindings, Input, Spacer, sliceByColumn, Text, truncateToWidth, visibleWidth, wrapTextWithAnsi, } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { theme } from "
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { shortenPath } from "../tool-renderers/render-utils.js";
|
|
4
4
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
5
5
|
import { formatKeyText, keyHint } from "./keybinding-hints.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container, getKeybindings, Spacer, Text } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
2
3
|
import { getProjectTrustOptions, } from "../../../core/trust-manager.js";
|
|
3
|
-
import { theme } from "../theme/theme.js";
|
|
4
4
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
5
5
|
import { keyHint, rawKeyHint } from "./keybinding-hints.js";
|
|
6
6
|
function formatDecision(trustPath, decision) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { truncateToWidth, visibleWidth } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { theme } from "
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { formatTokens } from "./footer.js";
|
|
4
4
|
const BAR_CELLS = 20;
|
|
5
5
|
/** Traffic-light token for a 0–100 usage percent. Matches footer thresholds. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Container, getKeybindings, Spacer, Text, truncateToWidth } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { theme } from "
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
4
4
|
/**
|
|
5
5
|
* Custom user message list component with selection
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Box, Container, Markdown } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { getMarkdownTheme, theme } from "
|
|
2
|
+
import { getMarkdownTheme, theme } from "../../../core/theme/theme.js";
|
|
3
3
|
const OSC133_ZONE_START = "\x1b]133;A\x07";
|
|
4
4
|
const OSC133_ZONE_END = "\x1b]133;B\x07";
|
|
5
5
|
const OSC133_ZONE_FINAL = "\x1b]133;C\x07";
|
|
@@ -9,7 +9,7 @@ import type { ExtensionUIDialogOptions } from "../../core/extensions/index.ts";
|
|
|
9
9
|
import type { KeybindingsManager } from "../../core/keybindings.ts";
|
|
10
10
|
import { type MissingSessionCwdError } from "../../core/session-cwd.ts";
|
|
11
11
|
import type { SettingsManager } from "../../core/settings-manager.ts";
|
|
12
|
-
import { type Theme } from "
|
|
12
|
+
import { type Theme } from "../../core/theme/theme.ts";
|
|
13
13
|
/** What the dialogs need from InteractiveMode. InteractiveMode builds one in `createExtensionDialogsHost`. */
|
|
14
14
|
export interface ExtensionDialogsHost {
|
|
15
15
|
readonly ui: TUI;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* it closes. InteractiveMode supplies the UI and the current editor through ExtensionDialogsHost.
|
|
6
6
|
*/
|
|
7
7
|
import { formatMissingSessionCwdPrompt } from "../../core/session-cwd.js";
|
|
8
|
+
import { theme } from "../../core/theme/theme.js";
|
|
8
9
|
import { ExtensionEditorComponent } from "./components/extension-editor.js";
|
|
9
10
|
import { ExtensionInputComponent } from "./components/extension-input.js";
|
|
10
11
|
import { ExtensionSelectorComponent } from "./components/extension-selector.js";
|
|
11
|
-
import { theme } from "./theme/theme.js";
|
|
12
12
|
/** The dialog open in place of the editor, if any. InteractiveMode owns one. */
|
|
13
13
|
export class ExtensionDialogs {
|
|
14
14
|
host;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { type Component, Container, type TUI } from "@ashx-j/lunr-tui";
|
|
7
7
|
import type { ExtensionWidgetOptions } from "../../core/extensions/index.ts";
|
|
8
|
-
import { type Theme } from "
|
|
8
|
+
import { type Theme } from "../../core/theme/theme.ts";
|
|
9
9
|
/** What the widget areas need from InteractiveMode. InteractiveMode builds one in `createExtensionWidgetsHost`. */
|
|
10
10
|
export interface ExtensionWidgetsHost {
|
|
11
11
|
readonly ui: TUI;
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* in `init` and supplies the TUI through ExtensionWidgetsHost.
|
|
5
5
|
*/
|
|
6
6
|
import { Container, Spacer, Text } from "@ashx-j/lunr-tui";
|
|
7
|
+
import { theme } from "../../core/theme/theme.js";
|
|
7
8
|
import { DynamicBorder } from "./components/dynamic-border.js";
|
|
8
9
|
import { orderedExtensionWidgets, replaceExtensionWidget, widgetSeparatorNeedsSpacer, } from "./extension-widget-order.js";
|
|
9
|
-
import { theme } from "./theme/theme.js";
|
|
10
10
|
/** The widgets extensions placed above and below the editor. InteractiveMode owns one. */
|
|
11
11
|
export class ExtensionWidgets {
|
|
12
12
|
// Maximum total widget lines to prevent viewport overflow
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* chat and keybindings through HelpCommandHost.
|
|
5
5
|
*/
|
|
6
6
|
import { Markdown, Spacer, Text } from "@ashx-j/lunr-tui";
|
|
7
|
+
import { theme } from "../../core/theme/theme.js";
|
|
7
8
|
import { DynamicBorder } from "./components/dynamic-border.js";
|
|
8
9
|
import { formatKeyText, keyDisplayText } from "./components/keybinding-hints.js";
|
|
9
10
|
import { buildHelpLines } from "./slash-guidance.js";
|
|
10
|
-
import { theme } from "./theme/theme.js";
|
|
11
11
|
/** Prints the short /help block: the commands and keys a new user needs first. */
|
|
12
12
|
export function handleHelpCommand(host) {
|
|
13
13
|
const lines = buildHelpLines({
|
|
@@ -25,6 +25,7 @@ import { cancelSessionHandoff, markSessionHandoff, recordTuiActivity, registerTr
|
|
|
25
25
|
import { BUILTIN_SLASH_COMMANDS } from "../../core/slash-commands.js";
|
|
26
26
|
import { getSubagentCancellation, SubagentEscapeSequence } from "../../core/subagent-cancellation.js";
|
|
27
27
|
import { sweepStaleTempFiles } from "../../core/temp-files.js";
|
|
28
|
+
import { getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, getThemeName, onThemeChange, setRegisteredThemes, stopThemeWatcher, Theme, theme, } from "../../core/theme/theme.js";
|
|
28
29
|
import { time } from "../../core/timings.js";
|
|
29
30
|
import { hasTrustRequiringProjectResources, ProjectTrustStore } from "../../core/trust-manager.js";
|
|
30
31
|
import { checkForUpdate, markUpdateNotified } from "../../core/update-check.js";
|
|
@@ -72,7 +73,6 @@ import { findArgumentlessSlashCommand, findSlashCommandHandler, runSlashCommand,
|
|
|
72
73
|
import { findUnknownSlashCommand, formatArgumentlessSlashCommandStatus, formatUnknownSlashCommandStatus, INTERACTIVE_BUILTIN_COMMAND_NAMES, suggestSlashCommands, } from "./slash-guidance.js";
|
|
73
74
|
import { computeSmoothRevealStep, countGraphemesBeforeToolCall, countMessageGraphemes, sliceMessageContent, } from "./smooth-streaming.js";
|
|
74
75
|
import { logStrayOutput } from "./stray-output.js";
|
|
75
|
-
import { getAvailableThemesWithPaths, getEditorTheme, getMarkdownTheme, getThemeByName, getThemeName, onThemeChange, setRegisteredThemes, stopThemeWatcher, Theme, theme, } from "./theme/theme.js";
|
|
76
76
|
import { InteractiveThemeController } from "./theme/theme-controller.js";
|
|
77
77
|
import { handleContextCommand, handleSessionCommand, handleUsageCommand, } from "./usage-commands.js";
|
|
78
78
|
function isExpandable(obj) {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
import * as path from "node:path";
|
|
8
8
|
import { Spacer, Text } from "@ashx-j/lunr-tui";
|
|
9
9
|
import { BUILTIN_SLASH_COMMANDS } from "../../core/slash-commands.js";
|
|
10
|
+
import { theme } from "../../core/theme/theme.js";
|
|
10
11
|
import { parseGitUrl } from "../../utils/git.js";
|
|
11
12
|
import { getCwdRelativePath } from "../../utils/paths.js";
|
|
12
|
-
import { theme } from "./theme/theme.js";
|
|
13
13
|
import { shortenPath } from "./tool-renderers/render-utils.js";
|
|
14
14
|
// A section that switches between its compact and full body with the tool expansion toggle.
|
|
15
15
|
class ExpandableText extends Text {
|
|
@@ -11,10 +11,10 @@ import { formatClaudeSubscriptionLogoutNote } from "../../core/auth-guidance.js"
|
|
|
11
11
|
import { hasGrokCliXaiAuth } from "../../core/grok-cli-auth.js";
|
|
12
12
|
import { isValidProviderBaseUrl, parseModelIds, slugifyProviderId, upsertCustomProvider, } from "../../core/model-config-writer.js";
|
|
13
13
|
import { defaultModelPerProvider, findSignedOutScopePatterns } from "../../core/model-resolver.js";
|
|
14
|
+
import { theme } from "../../core/theme/theme.js";
|
|
14
15
|
import { ExtensionSelectorComponent } from "./components/extension-selector.js";
|
|
15
16
|
import { LoginDialogComponent } from "./components/login-dialog.js";
|
|
16
17
|
import { OAuthSelectorComponent } from "./components/oauth-selector.js";
|
|
17
|
-
import { theme } from "./theme/theme.js";
|
|
18
18
|
// lunr: pre-connection ToS disclaimer for Anthropic subscription (OAuth) accounts.
|
|
19
19
|
const ANTHROPIC_TOS_DISCLAIMER = "Connecting an Anthropic subscription through Claude Code may be subject to Anthropic's Terms of Service (https://www.anthropic.com/legal/consumer-terms). Claude Code authenticates each lunR generation; lunR keeps its own tools and history. Continue?";
|
|
20
20
|
/**
|
|
@@ -8,9 +8,9 @@ import { Spacer, Text } from "@ashx-j/lunr-tui";
|
|
|
8
8
|
import { APP_NAME } from "../../config.js";
|
|
9
9
|
import { SIGNAL_DISPOSE_LIMIT_MS } from "../../core/agent-session-runtime.js";
|
|
10
10
|
import * as processRegistry from "../../core/process-registry.js";
|
|
11
|
+
import { theme } from "../../core/theme/theme.js";
|
|
11
12
|
import { killTrackedDetachedChildren } from "../../utils/shell.js";
|
|
12
13
|
import { keyDisplayText } from "./components/keybinding-hints.js";
|
|
13
|
-
import { theme } from "./theme/theme.js";
|
|
14
14
|
const DEAD_TERMINAL_ERROR_CODES = new Set(["EIO", "EPIPE", "ENOTCONN"]);
|
|
15
15
|
function isDeadTerminalError(error) {
|
|
16
16
|
if (!error || typeof error !== "object" || !("code" in error)) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { Spacer, Text } from "@ashx-j/lunr-tui";
|
|
7
7
|
import { appendDebugLog } from "../../config.js";
|
|
8
8
|
import { SessionManager } from "../../core/session-manager.js";
|
|
9
|
-
import { theme } from "
|
|
9
|
+
import { theme } from "../../core/theme/theme.js";
|
|
10
10
|
export function handleNameCommand(host, text) {
|
|
11
11
|
const name = text.replace(/^\/(?:name|title)\s*/, "").trim();
|
|
12
12
|
if (!name) {
|
|
@@ -12,6 +12,7 @@ import { getGlobalInstructionsPath, getModelInstructionsPath } from "../../core/
|
|
|
12
12
|
import { getModelTiersBridge } from "../../core/model-tiers.js";
|
|
13
13
|
import { isRollbackSessionForceEnabled } from "../../core/rollback.js";
|
|
14
14
|
import { getSearchCuratorSetting, setSearchCuratorSetting } from "../../core/search-curator.js";
|
|
15
|
+
import { getAvailableThemes } from "../../core/theme/theme.js";
|
|
15
16
|
import { notifyTodosEnabledChanged } from "../../core/todo-settings.js";
|
|
16
17
|
import { AssistantMessageComponent } from "./components/assistant-message.js";
|
|
17
18
|
import { ModelSelectorComponent } from "./components/model-selector.js";
|
|
@@ -19,7 +20,6 @@ import { SettingsSelectorComponent, } from "./components/settings-selector.js";
|
|
|
19
20
|
import { ToolExecutionComponent } from "./components/tool-execution.js";
|
|
20
21
|
import { UserMessageComponent } from "./components/user-message.js";
|
|
21
22
|
import { countSubscriptions, listSubscriptionRows } from "./model-commands.js";
|
|
22
|
-
import { getAvailableThemes } from "./theme/theme.js";
|
|
23
23
|
/** Opens /settings. Reads the current values once, then each row's change goes to its section's callbacks. */
|
|
24
24
|
export async function showSettingsSelector(host) {
|
|
25
25
|
// lunr: prefetch the pool size for the API keys row label (render paths stay sync).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TUI } from "@ashx-j/lunr-tui";
|
|
2
2
|
import type { SettingsManager } from "../../../core/settings-manager.ts";
|
|
3
|
-
import { type TerminalTheme, type Theme } from "
|
|
3
|
+
import { type TerminalTheme, type Theme } from "../../../core/theme/theme.ts";
|
|
4
4
|
type ThemeResult = {
|
|
5
5
|
success: boolean;
|
|
6
6
|
error?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { detectTerminalBackgroundFromEnv, detectTerminalThemeForAuto, getDefaultTheme, initTheme, parseAutoThemeSetting, resolveThemeSetting, setTheme, setThemeInstance, } from "
|
|
1
|
+
import { detectTerminalBackgroundFromEnv, detectTerminalThemeForAuto, getDefaultTheme, initTheme, parseAutoThemeSetting, resolveThemeSetting, setTheme, setThemeInstance, } from "../../../core/theme/theme.js";
|
|
2
2
|
export class InteractiveThemeController {
|
|
3
3
|
ui;
|
|
4
4
|
settingsManager;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container, Text, truncateToWidth } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
2
3
|
import { truncateToVisualLines } from "../components/visual-truncate.js";
|
|
3
|
-
import { theme } from "../theme/theme.js";
|
|
4
4
|
import { GroupedCallText, getTextOutput, invalidArgText, str, toolGroupTree, toolStatusDotFromContext, } from "./render-utils.js";
|
|
5
5
|
const BASH_PREVIEW_LINES = 5;
|
|
6
6
|
class BashResultRenderComponent extends Container {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { basename, dirname, isAbsolute, relative, resolve as resolvePath, sep } from "node:path";
|
|
2
2
|
import { Text } from "@ashx-j/lunr-tui";
|
|
3
3
|
import { getReadmePath } from "../../../config.js";
|
|
4
|
+
import { getLanguageFromPath, highlightCode } from "../../../core/theme/theme.js";
|
|
4
5
|
import { resolveToCwd } from "../../../core/tools/path-utils.js";
|
|
5
6
|
import { DEFAULT_MAX_BYTES, DEFAULT_MAX_LINES, formatSize } from "../../../core/tools/truncate.js";
|
|
6
7
|
import { formatPathRelativeToCwdOrAbsolute } from "../../../utils/paths.js";
|
|
7
8
|
import { keyHint } from "../components/keybinding-hints.js";
|
|
8
|
-
import { getLanguageFromPath, highlightCode } from "../theme/theme.js";
|
|
9
9
|
import { GroupedCallText, getTextOutput, renderToolFileName, replaceTabs, str, toolGroupTree, toolStatusDotFromContext, } from "./render-utils.js";
|
|
10
10
|
const COMPACT_RESOURCE_FILE_NAMES = new Set(["AGENTS.md", "AGENTS.MD", "CLAUDE.md", "CLAUDE.MD"]);
|
|
11
11
|
function formatReadLineRange(args, theme) {
|
|
@@ -2,7 +2,7 @@ import type { ImageContent, TextContent } from "@ashx-j/lunr-ai";
|
|
|
2
2
|
import { Text } from "@ashx-j/lunr-tui";
|
|
3
3
|
import type { TSchema } from "typebox";
|
|
4
4
|
import type { ToolDefinition, ToolGroupRole } from "../../../core/extensions/types.ts";
|
|
5
|
-
import type { Theme } from "
|
|
5
|
+
import type { Theme } from "../../../core/theme/theme.ts";
|
|
6
6
|
/**
|
|
7
7
|
* Shows a path under the home directory as `~/...`. Only whole directory names match, so with home
|
|
8
8
|
* `/home/ash` the path `/home/ash2` stays as it is. Non-strings render as "".
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container, Text } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { getLanguageFromPath, highlightCode } from "../../../core/theme/theme.js";
|
|
2
3
|
import { keyHint } from "../components/keybinding-hints.js";
|
|
3
|
-
import { getLanguageFromPath, highlightCode } from "../theme/theme.js";
|
|
4
4
|
import { GroupedCallText, normalizeDisplayText, renderToolFileName, renderToolPath, replaceTabs, str, toolGroupTree, toolStatusDotFromContext, } from "./render-utils.js";
|
|
5
5
|
class WriteCallRenderComponent extends GroupedCallText {
|
|
6
6
|
cache;
|
|
@@ -9,12 +9,12 @@ import { getAgentDir } from "../../config.js";
|
|
|
9
9
|
import { computeCacheWaste } from "../../core/cache-stats.js";
|
|
10
10
|
import { computeContextBreakdown } from "../../core/context-breakdown.js";
|
|
11
11
|
import { getGlobalInstructionsPath, getModelInstructionsPath } from "../../core/model-instructions.js";
|
|
12
|
+
import { theme } from "../../core/theme/theme.js";
|
|
12
13
|
import { collectUsageRequests, usageTokens } from "../../core/usage-accounting.js";
|
|
13
14
|
import { getAllPlanUsageResults } from "../../core/usage-service.js";
|
|
14
15
|
import { renderContextBox } from "./components/context-view.js";
|
|
15
16
|
import { formatTokens } from "./components/footer.js";
|
|
16
17
|
import { renderUsageBox } from "./components/usage-view.js";
|
|
17
|
-
import { theme } from "./theme/theme.js";
|
|
18
18
|
function collectUsageBreakdown(host) {
|
|
19
19
|
const model = host.session.model;
|
|
20
20
|
const contextWindow = model?.contextWindow ?? 0;
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
import * as crypto from "node:crypto";
|
|
14
14
|
import { narrowToScope } from "../../core/model-resolver.js";
|
|
15
15
|
import { flushRawStdout, takeOverStdout, waitForRawStdoutBackpressure, writeRawStdout, } from "../../core/output-guard.js";
|
|
16
|
+
import { theme } from "../../core/theme/theme.js";
|
|
16
17
|
import { killTrackedDetachedChildren } from "../../utils/shell.js";
|
|
17
18
|
import { assertRpcConfigurationIdle, createAcpWorkerBridge, setRpcPermissionMode, } from "../acp/worker.js";
|
|
18
|
-
import { theme } from "../interactive/theme/theme.js";
|
|
19
19
|
import { attachJsonlLineReader, serializeJsonLine } from "./jsonl.js";
|
|
20
20
|
/**
|
|
21
21
|
* Run in RPC mode.
|
package/dist/node-runtime/{agent-session-services-KH5CIGC3.js → agent-session-services-UOVUJAX2.js}
RENAMED
|
@@ -2,15 +2,15 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
|
|
|
2
2
|
import {
|
|
3
3
|
createAgentSessionFromServices,
|
|
4
4
|
createAgentSessionServices
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-S46QLY2F.js";
|
|
6
|
+
import "./chunk-QP4I6GEW.js";
|
|
7
7
|
import "./chunk-KDBQKVNZ.js";
|
|
8
8
|
import "./chunk-GLSX5WQB.js";
|
|
9
9
|
import "./chunk-DVGWF6A2.js";
|
|
10
10
|
import "./chunk-F5NKEKNO.js";
|
|
11
11
|
import "./chunk-2B5RTZA4.js";
|
|
12
12
|
import "./chunk-3XBYDZWT.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AW6PDL4D.js";
|
|
14
14
|
import "./chunk-6Z5EUITR.js";
|
|
15
15
|
import "./chunk-IXG6F4NT.js";
|
|
16
16
|
import "./chunk-CGBXPL3E.js";
|
|
@@ -50,7 +50,7 @@ import "./chunk-SWWHZ2RI.js";
|
|
|
50
50
|
import "./chunk-DXUUF654.js";
|
|
51
51
|
import "./chunk-OY2KVSOO.js";
|
|
52
52
|
import "./chunk-I4IJK7AL.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-BJIF7GMV.js";
|
|
54
54
|
import "./chunk-6LUA7VRU.js";
|
|
55
55
|
import "./chunk-6FNQ6H4D.js";
|
|
56
56
|
import "./chunk-BRJX2PRC.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-RA6XMROI.js";
|
|
5
5
|
import {
|
|
6
6
|
keyDisplayText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JZK2WJ7U.js";
|
|
8
8
|
import {
|
|
9
9
|
theme
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BJIF7GMV.js";
|
|
11
11
|
import {
|
|
12
12
|
globalBridge
|
|
13
13
|
} from "./chunk-6LUA7VRU.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
theme
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BJIF7GMV.js";
|
|
5
5
|
|
|
6
6
|
// packages/coding-agent/dist/core/extensions/runner.js
|
|
7
7
|
var RESERVED_KEYBINDINGS_FOR_EXTENSION_CONFLICTS = [
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getThemesDir
|
|
8
8
|
} from "./chunk-6FNQ6H4D.js";
|
|
9
9
|
|
|
10
|
-
// packages/coding-agent/dist/
|
|
10
|
+
// packages/coding-agent/dist/core/theme/theme.js
|
|
11
11
|
import * as fs from "node:fs";
|
|
12
12
|
import { createRequire as createRequire2 } from "node:module";
|
|
13
13
|
import * as path from "node:path";
|
|
@@ -160,8 +160,8 @@ function supportsLanguage(name) {
|
|
|
160
160
|
return getHighlighter().getLanguage(name) !== void 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
// packages/coding-agent/dist/
|
|
164
|
-
var require3 = createRequire2(new URL("../
|
|
163
|
+
// packages/coding-agent/dist/core/theme/theme.js
|
|
164
|
+
var require3 = createRequire2(new URL("../core/theme/theme.js", import.meta.url).href);
|
|
165
165
|
function createThemeSchema() {
|
|
166
166
|
let { Type } = require3("typebox"), ColorValueSchema = Type.Union([
|
|
167
167
|
Type.String(),
|
|
@@ -2,16 +2,16 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
|
|
|
2
2
|
import {
|
|
3
3
|
createProjectTrustContext,
|
|
4
4
|
resolveProjectTrusted
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KETNCBTB.js";
|
|
6
6
|
import {
|
|
7
7
|
lightBuiltinExtensions,
|
|
8
8
|
loadAllBuiltinExtensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FCINT2KC.js";
|
|
10
10
|
import {
|
|
11
11
|
createStartupTui,
|
|
12
12
|
showStartupSelector,
|
|
13
13
|
startStartupTui
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LY6VVOF4.js";
|
|
15
15
|
import {
|
|
16
16
|
ACP_DISABLED_BUILTINS,
|
|
17
17
|
ACP_SETTINGS_OVERRIDES
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
formatNoModelSelectedMessage,
|
|
28
28
|
formatNoModelsAvailableMessage,
|
|
29
29
|
getMissingSessionCwdIssue
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-S46QLY2F.js";
|
|
31
31
|
import {
|
|
32
32
|
restoreStdout,
|
|
33
33
|
takeOverStdout
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
ExtensionRunner,
|
|
42
42
|
emitSessionShutdownEvent
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-AW6PDL4D.js";
|
|
44
44
|
import {
|
|
45
45
|
applyInheritedSubagentPermissions,
|
|
46
46
|
detectSupportedImageMimeTypeFromFile
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
} from "./chunk-HXLXKJYQ.js";
|
|
82
82
|
import {
|
|
83
83
|
SessionSelectorComponent
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-FNS42TPZ.js";
|
|
85
85
|
import {
|
|
86
86
|
SessionOwnership
|
|
87
87
|
} from "./chunk-UACMVJW6.js";
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
import {
|
|
109
109
|
initTheme,
|
|
110
110
|
stopThemeWatcher
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-BJIF7GMV.js";
|
|
112
112
|
import {
|
|
113
113
|
APP_NAME,
|
|
114
114
|
CONFIG_DIR_NAME,
|
|
@@ -800,7 +800,7 @@ async function main(args, options) {
|
|
|
800
800
|
resetTimings(), (args.includes("--offline") || isOfflineModeEnabled()) && (process.env.PI_OFFLINE = "1");
|
|
801
801
|
let cwd = process.cwd(), agentDir = getAgentDir(), sessionOnly = !!process.env.LUNR_ACP_WORKER_CONFIG, settingsPolicy = { sessionOnly, runtimeOverrides: sessionOnly ? ACP_SETTINGS_OVERRIDES : void 0 }, bootstrapSettingsManager = SettingsManager.create(cwd, agentDir, { projectTrusted: !1, ...settingsPolicy });
|
|
802
802
|
if (applyHttpProxySettings(bootstrapSettingsManager.getGlobalSettings().httpProxy), configureHttpDispatcher(), ["setup", "features", "uninstall", "browser"].includes(args[0])) {
|
|
803
|
-
let { handleInstallCli } = await import("./install-cli-
|
|
803
|
+
let { handleInstallCli } = await import("./install-cli-YIIFVCFM.js");
|
|
804
804
|
if (await handleInstallCli(args))
|
|
805
805
|
return;
|
|
806
806
|
}
|
|
@@ -815,7 +815,7 @@ async function main(args, options) {
|
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
817
|
if (["install", "remove", "uninstall", "list", "config"].includes(args[0])) {
|
|
818
|
-
let { handleConfigCommand, handlePackageCommand } = await import("./package-manager-cli-
|
|
818
|
+
let { handleConfigCommand, handlePackageCommand } = await import("./package-manager-cli-B6G22R6O.js");
|
|
819
819
|
if (await handlePackageCommand(args, { extensionFactories: options?.extensionFactories })) {
|
|
820
820
|
process.exit(process.exitCode ?? 0);
|
|
821
821
|
return;
|
|
@@ -824,7 +824,7 @@ async function main(args, options) {
|
|
|
824
824
|
return;
|
|
825
825
|
}
|
|
826
826
|
if (args[0] === "gateway") {
|
|
827
|
-
let { handleGatewayCommand } = await import("./command-
|
|
827
|
+
let { handleGatewayCommand } = await import("./command-6GJNLXGD.js");
|
|
828
828
|
if (await handleGatewayCommand(args))
|
|
829
829
|
return;
|
|
830
830
|
}
|
|
@@ -839,7 +839,7 @@ async function main(args, options) {
|
|
|
839
839
|
if (time("parseArgs"), parsed.version && (console.log(VERSION), process.exit(0)), parsed.export) {
|
|
840
840
|
let result;
|
|
841
841
|
try {
|
|
842
|
-
let { exportFromFile } = await import("./export-html-
|
|
842
|
+
let { exportFromFile } = await import("./export-html-SW3CIZRJ.js"), outputPath = parsed.messages.length > 0 ? parsed.messages[0] : void 0;
|
|
843
843
|
result = await exportFromFile(parsed.export, outputPath);
|
|
844
844
|
} catch (error) {
|
|
845
845
|
let message = error instanceof Error ? error.message : "Failed to export session";
|
|
@@ -847,7 +847,7 @@ async function main(args, options) {
|
|
|
847
847
|
}
|
|
848
848
|
console.log(`Exported to: ${result}`), process.exit(0);
|
|
849
849
|
}
|
|
850
|
-
let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), startupBenchmark = isTruthyEnvFlag(process.env.PI_STARTUP_BENCHMARK), readsStdin = appMode !== "rpc" && !startupBenchmark, earlyStdin = options?.pipedStdin ?? (readsStdin && appMode !== "interactive" && !readsStdinBeforeTurn(parsed) ? readPipedStdin() : void 0), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-
|
|
850
|
+
let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), startupBenchmark = isTruthyEnvFlag(process.env.PI_STARTUP_BENCHMARK), readsStdin = appMode !== "rpc" && !startupBenchmark, earlyStdin = options?.pipedStdin ?? (readsStdin && appMode !== "interactive" && !readsStdinBeforeTurn(parsed) ? readPipedStdin() : void 0), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-VCPSTUAW.js") : void 0, startupView = appMode === "interactive" ? options?.startupView : void 0;
|
|
851
851
|
options?.startupView && !startupView && options.startupView.stop(), applyInheritedSubagentPermissions(), appMode !== "interactive" && !isPlainRuntimeMetadataCommand(parsed) && takeOverStdout(), parsed.mode === "rpc" && parsed.fileArgs.length > 0 && (console.error(chalk4.red("Error: @file arguments are not supported in RPC mode")), process.exit(1)), validateForkFlags(parsed), validateSessionIdFlags(parsed);
|
|
852
852
|
let { migratedAuthProviders: migratedProviders, deprecationWarnings } = runMigrations(cwd);
|
|
853
853
|
time("runMigrations");
|
|
@@ -1033,12 +1033,12 @@ ${EXTENSION_LOAD_FAILURE_HINT}` : "";
|
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
if (startupBenchmark && appMode !== "interactive" && (console.error(chalk4.red("Error: PI_STARTUP_BENCHMARK only supports interactive mode")), process.exit(1)), appMode === "rpc") {
|
|
1036
|
-
let { runRpcMode } = await import("./rpc-mode-
|
|
1036
|
+
let { runRpcMode } = await import("./rpc-mode-WAHP6U73.js");
|
|
1037
1037
|
printTimings(), await runRpcMode(runtime);
|
|
1038
1038
|
} else if (appMode === "interactive") {
|
|
1039
1039
|
let [{ InteractiveMode }, { loadDeferredBuiltinExtensions }] = await Promise.all([
|
|
1040
1040
|
interactiveModeImport,
|
|
1041
|
-
import("./builtin-extensions-
|
|
1041
|
+
import("./builtin-extensions-JNJRND4E.js")
|
|
1042
1042
|
]), interactiveMode = new InteractiveMode(runtime, {
|
|
1043
1043
|
migratedProviders,
|
|
1044
1044
|
modelFallbackMessage,
|
|
@@ -1061,7 +1061,7 @@ ${EXTENSION_LOAD_FAILURE_HINT}` : "";
|
|
|
1061
1061
|
}
|
|
1062
1062
|
await interactiveMode.init(), time("interactiveMode.init"), process.stderr.isTTY ? process.once("exit", printTimings) : printTimings(), await interactiveMode.run();
|
|
1063
1063
|
} else {
|
|
1064
|
-
let { runPrintMode } = await import("./print-mode-
|
|
1064
|
+
let { runPrintMode } = await import("./print-mode-M52NLHKG.js");
|
|
1065
1065
|
printTimings();
|
|
1066
1066
|
let exitCode = await runPrintMode(runtime, {
|
|
1067
1067
|
mode: toPrintOutputMode(appMode),
|
|
@@ -978,12 +978,12 @@ var lightBuiltinExtensions = [
|
|
|
978
978
|
ext("lunr-skill-creator", lunr_skill_creator_default)
|
|
979
979
|
], DEFERRED_BUILTIN_LOADERS = [
|
|
980
980
|
{ name: "pi-ollama-cloud", load: () => import("./pi-ollama-cloud-2KQAFVBI.js") },
|
|
981
|
-
{ name: "narumiruna-pi-goal", load: () => import("./goal-
|
|
982
|
-
{ name: "lunr-cron", load: () => import("./lunr-cron-
|
|
981
|
+
{ name: "narumiruna-pi-goal", load: () => import("./goal-CVGA3XFI.js") },
|
|
982
|
+
{ name: "lunr-cron", load: () => import("./lunr-cron-3VI5CLK3.js") },
|
|
983
983
|
{ name: "lunr-pr-watch", load: () => import("./lunr-pr-watch-C7Q3TFT6.js") },
|
|
984
984
|
{ name: "pi-intercom", load: () => import("./pi-intercom-ZRDKISVO.js") },
|
|
985
|
-
{ name: "pi-prompt-template-model", load: () => import("./pi-prompt-template-model-
|
|
986
|
-
{ name: "pi-subagents", load: () => import("./pi-subagents-
|
|
985
|
+
{ name: "pi-prompt-template-model", load: () => import("./pi-prompt-template-model-UL2T2HLL.js") },
|
|
986
|
+
{ name: "pi-subagents", load: () => import("./pi-subagents-YVVMY4B4.js") },
|
|
987
987
|
{ name: "pi-web-access", load: () => import("./pi-web-access-3LE56I3G.js") },
|
|
988
988
|
{ name: "lunr-browser", load: () => import("./lunr-browser-3CVKQBIJ.js") },
|
|
989
989
|
{ name: "pi-lsp-extension", load: () => import("./src-J6FSKIFT.js") },
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
} from "./chunk-FVAYEY32.js";
|
|
14
14
|
import {
|
|
15
15
|
DynamicBorder
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MEDBJXCC.js";
|
|
17
17
|
import {
|
|
18
18
|
keyHint,
|
|
19
19
|
keyText
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JZK2WJ7U.js";
|
|
21
21
|
import {
|
|
22
22
|
theme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BJIF7GMV.js";
|
|
24
24
|
import {
|
|
25
25
|
canonicalizePath
|
|
26
26
|
} from "./chunk-6FNQ6H4D.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-ODWFHNX7.js";
|
|
8
8
|
import {
|
|
9
9
|
noOpUIContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AW6PDL4D.js";
|
|
11
11
|
import {
|
|
12
12
|
getSubagentCancellation
|
|
13
13
|
} from "./chunk-IMLLN6W5.js";
|
|
@@ -1174,7 +1174,7 @@ async function handleMobileCommand(ctx, command, args) {
|
|
|
1174
1174
|
if (command === "settings") {
|
|
1175
1175
|
let choice = await selectForCommand(ctx, "Session settings", ["Model", "Thinking", "Permissions"]);
|
|
1176
1176
|
if (choice === "Model" || choice === "Thinking") {
|
|
1177
|
-
let { CHAT_COMMANDS, runChatCommand } = await import("./commands-
|
|
1177
|
+
let { CHAT_COMMANDS, runChatCommand } = await import("./commands-2UG5F4VT.js");
|
|
1178
1178
|
if (ctx.pickerGeneration !== gatewayPickerGeneration(ctx.key))
|
|
1179
1179
|
return !0;
|
|
1180
1180
|
let cmd = CHAT_COMMANDS.find((c) => c.name === choice.toLowerCase());
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
} from "./chunk-6ZSTPLPY.js";
|
|
29
29
|
import {
|
|
30
30
|
keyHint
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-JZK2WJ7U.js";
|
|
32
32
|
import {
|
|
33
33
|
getLanguageFromPath,
|
|
34
34
|
highlightCode,
|
|
35
35
|
theme
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-BJIF7GMV.js";
|
|
37
37
|
import {
|
|
38
38
|
formatPathRelativeToCwdOrAbsolute,
|
|
39
39
|
getReadmePath
|