@ashx-j/lunr-dev 0.2.40-dev.55.1 → 0.2.40-dev.59.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-subagents/src/runs/background/attempt-usage.d.ts +5 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/attempt-usage.js +31 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/child-stream.d.ts +65 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/child-stream.js +456 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/parallel-group-status.d.ts +42 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/parallel-group-status.js +79 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/run-log.d.ts +18 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/run-log.js +43 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-event-log.d.ts +3 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-event-log.js +70 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-single-step.d.ts +92 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-single-step.js +491 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-status.d.ts +64 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/runner-status.js +26 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.d.ts +1 -115
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.js +17 -1160
- 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/credential-files.d.ts +3 -2
- package/dist/core/credential-files.js +10 -4
- 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/permissions.d.ts +6 -0
- package/dist/core/permissions.js +6 -0
- 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/core/tool-call-hooks.js +3 -2
- 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/{acp-mode-CFYSYACH.js → acp-mode-5KZPFZBO.js} +2 -2
- package/dist/node-runtime/{agent-session-services-3ZHQJIKF.js → agent-session-services-UOVUJAX2.js} +8 -8
- package/dist/node-runtime/{builtin-extensions-YJ7F6GND.js → builtin-extensions-JNJRND4E.js} +3 -3
- package/dist/node-runtime/{chunk-GPNTGRL2.js → chunk-3RR3PVJB.js} +2 -2
- package/dist/node-runtime/{chunk-HVXDYQNN.js → chunk-6DVUDNS7.js} +2 -2
- 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-5HVA5ECB.js → chunk-BQROL43X.js} +17 -17
- package/dist/node-runtime/{chunk-BNNBTBXY.js → chunk-EJMB4PAV.js} +3 -3
- package/dist/node-runtime/{chunk-G3PARFR4.js → chunk-FCINT2KC.js} +7 -7
- package/dist/node-runtime/{chunk-KURXPCGO.js → chunk-FNS42TPZ.js} +3 -3
- package/dist/node-runtime/{chunk-N574FRFF.js → chunk-GAWWLIGY.js} +3 -3
- 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-KTCZH72R.js → chunk-LGRRFSE7.js} +3 -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-SV42POA3.js → chunk-PGWSMQ4K.js} +1 -1
- package/dist/node-runtime/{chunk-7LCR56AK.js → chunk-QDQAKIVU.js} +1 -1
- package/dist/node-runtime/{chunk-GNT2AURO.js → chunk-QP4I6GEW.js} +1 -1
- package/dist/node-runtime/{chunk-YDMZHLBV.js → chunk-QX5I7QEW.js} +1 -1
- package/dist/node-runtime/{chunk-BNZXW77G.js → chunk-RXDLSXEC.js} +1 -1
- package/dist/node-runtime/{chunk-U2LTTIWZ.js → chunk-RXG6DWO2.js} +1 -1
- package/dist/node-runtime/{chunk-ITVBE3HR.js → chunk-S46QLY2F.js} +10 -9
- package/dist/node-runtime/{chunk-CDILDA4F.js → chunk-U7MTVVT3.js} +2 -2
- package/dist/node-runtime/{chunk-MNYG5WLT.js → chunk-WBLSU6YV.js} +3 -3
- package/dist/node-runtime/{chunk-7LNPTBQJ.js → chunk-XPKOWSYN.js} +6 -2
- package/dist/node-runtime/{chunk-4ZEDT3YW.js → chunk-XXGJ7Z3C.js} +11 -11
- package/dist/node-runtime/{chunk-3UQ7ZNLI.js → chunk-Y7DFMHY5.js} +8 -8
- package/dist/node-runtime/{chunk-2ZI6Q6JG.js → chunk-YFXGOLZ6.js} +1 -1
- package/dist/node-runtime/cli-runtime.js +1 -1
- package/dist/node-runtime/{command-H52R5R2G.js → command-6GJNLXGD.js} +3 -3
- package/dist/node-runtime/{commands-CV2JUYHM.js → commands-2UG5F4VT.js} +6 -6
- package/dist/node-runtime/{commands-7EETGZ7V.js → commands-GSZWAQJW.js} +5 -5
- package/dist/node-runtime/{direct-tool-executor-DNZ2MS6Z.js → direct-tool-executor-WJLVHH7U.js} +6 -6
- 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-OHPDCOOB.js → gateway-UDWVYEGX.js} +8 -8
- package/dist/node-runtime/{goal-PJ2NLX6M.js → goal-CVGA3XFI.js} +1 -1
- package/dist/node-runtime/index.js +22 -22
- package/dist/node-runtime/{init-G23PFPKF.js → init-P3RQ6EFK.js} +5 -5
- package/dist/node-runtime/{install-cli-4LUSDUPO.js → install-cli-YIIFVCFM.js} +1 -1
- package/dist/node-runtime/{interactive-mode-7GX3UJFX.js → interactive-mode-VCPSTUAW.js} +16 -16
- package/dist/node-runtime/{interactive-view-TUYWWEUV.js → interactive-view-GDP6M6UP.js} +6 -6
- package/dist/node-runtime/{lunr-cron-SV2EXYKV.js → lunr-cron-3VI5CLK3.js} +6 -6
- package/dist/node-runtime/main.js +17 -17
- package/dist/node-runtime/{mobile-commands-JQJU35OT.js → mobile-commands-HQXEYAF6.js} +5 -5
- package/dist/node-runtime/{package-manager-cli-FICMQY2Q.js → package-manager-cli-B6G22R6O.js} +9 -9
- package/dist/node-runtime/{pi-mcp-adapter-NKAL5CFR.js → pi-mcp-adapter-2OP5BBC6.js} +8 -8
- package/dist/node-runtime/{pi-prompt-template-model-63LFES2U.js → pi-prompt-template-model-UL2T2HLL.js} +2 -2
- package/dist/node-runtime/{pi-subagents-WS6OU5MG.js → pi-subagents-YVVMY4B4.js} +8 -8
- package/dist/node-runtime/{print-mode-Y363FXY4.js → print-mode-M52NLHKG.js} +9 -9
- package/dist/node-runtime/{proxy-modes-EEYRUGQL.js → proxy-modes-RD2PQ6UH.js} +6 -6
- package/dist/node-runtime/rpc-entry.js +17 -17
- package/dist/node-runtime/{rpc-mode-ENVT7AXW.js → rpc-mode-WAHP6U73.js} +4 -4
- 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/{src-Y3S2FIS5.js → src-J6FSKIFT.js} +1 -1
- package/dist/node-runtime/{subagent-executor-LPVOWPMG.js → subagent-executor-RTGKJ35C.js} +5 -5
- 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,6 +1,6 @@
|
|
|
1
1
|
import { Container, fuzzyFilter, getKeybindings, Input, Key, matchesKey, Spacer, Text, } from "@ashx-j/lunr-tui";
|
|
2
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
2
3
|
import { getModelSearchText } from "../model-search.js";
|
|
3
|
-
import { theme } from "../theme/theme.js";
|
|
4
4
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
5
5
|
import { keyText } from "./keybinding-hints.js";
|
|
6
6
|
function isEnabled(enabledIds, id) {
|
|
@@ -4,8 +4,8 @@ import { unlink } from "node:fs/promises";
|
|
|
4
4
|
import { Container, getKeybindings, Input, Spacer, Text, truncateToWidth, visibleWidth, } from "@ashx-j/lunr-tui";
|
|
5
5
|
import { KeybindingsManager } from "../../../core/keybindings.js";
|
|
6
6
|
import { SessionOwnership } from "../../../core/session-ownership.js";
|
|
7
|
+
import { theme } from "../../../core/theme/theme.js";
|
|
7
8
|
import { canonicalizePath as _canonicalizePath } from "../../../utils/paths.js";
|
|
8
|
-
import { theme } from "../theme/theme.js";
|
|
9
9
|
import { shortenPath } from "../tool-renderers/render-utils.js";
|
|
10
10
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
11
11
|
import { keyHint, keyText } from "./keybinding-hints.js";
|
|
@@ -4,7 +4,7 @@ import { type Component, Container, SettingsList } from "@ashx-j/lunr-tui";
|
|
|
4
4
|
import type { SearchCuratorSetting } from "../../../core/search-curator.ts";
|
|
5
5
|
import { type AttentionNotification, type DefaultPermissionMode, type DefaultProjectTrust, type ModelInstructionsSettings, type ModelTierName, type ModelTiersSettings, type ReasoningDisplay, type RollbackCapture, type RollbackScope, type SkillTagCharacter } from "../../../core/settings-manager.ts";
|
|
6
6
|
import { type SubagentSpinnerName } from "../../../core/subagent-spinner.ts";
|
|
7
|
-
import { type TerminalTheme } from "
|
|
7
|
+
import { type TerminalTheme } from "../../../core/theme/theme.ts";
|
|
8
8
|
export interface SettingsConfig {
|
|
9
9
|
autoCompact: boolean;
|
|
10
10
|
/** Unset means no ceiling. */
|
|
@@ -6,7 +6,7 @@ import { PERMISSION_MODES, permissionModeLabel } from "../../../core/permissions
|
|
|
6
6
|
import { PR_WATCH_DEFAULT_DURATION_MS, validPrWatchDuration } from "../../../core/pr-watch/types.js";
|
|
7
7
|
import { SKILL_TAG_CHARACTERS, } from "../../../core/settings-manager.js";
|
|
8
8
|
import { getSubagentSpinnerDefinition, SUBAGENT_SPINNER_LABELS, SUBAGENT_SPINNER_NAMES, } from "../../../core/subagent-spinner.js";
|
|
9
|
-
import { getSelectListTheme, getSettingsListTheme, parseAutoThemeSetting, theme, } from "
|
|
9
|
+
import { getSelectListTheme, getSettingsListTheme, parseAutoThemeSetting, theme, } from "../../../core/theme/theme.js";
|
|
10
10
|
import { DynamicBorder } from "./dynamic-border.js";
|
|
11
11
|
import { keyDisplayText } from "./keybinding-hints.js";
|
|
12
12
|
const SETTINGS_SUBMENU_SELECT_LIST_LAYOUT = {
|
|
@@ -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 SHOW_IMAGES_SELECT_LIST_LAYOUT = {
|
|
5
5
|
minPrimaryColumnWidth: 12,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Box, Markdown, Text } from "@ashx-j/lunr-tui";
|
|
2
|
-
import { getMarkdownTheme, theme } from "
|
|
2
|
+
import { getMarkdownTheme, theme } from "../../../core/theme/theme.js";
|
|
3
3
|
import { expandKeyText } from "./keybinding-hints.js";
|
|
4
4
|
/**
|
|
5
5
|
* Component that renders a skill invocation message with collapsed/expanded state.
|
|
@@ -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.
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
} from "./chunk-F5NKEKNO.js";
|
|
32
32
|
import {
|
|
33
33
|
PERMISSION_MODES
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-LGRRFSE7.js";
|
|
35
|
+
import "./chunk-XPKOWSYN.js";
|
|
36
36
|
import "./chunk-BDRGN3L2.js";
|
|
37
37
|
import "./chunk-QTRB4APZ.js";
|
|
38
38
|
import "./chunk-SJVCEPQS.js";
|
package/dist/node-runtime/{agent-session-services-3ZHQJIKF.js → agent-session-services-UOVUJAX2.js}
RENAMED
|
@@ -2,26 +2,26 @@ 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";
|
|
17
17
|
import "./chunk-IMLLN6W5.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-EJMB4PAV.js";
|
|
19
|
+
import "./chunk-PGWSMQ4K.js";
|
|
20
20
|
import "./chunk-YSB6URMT.js";
|
|
21
21
|
import "./chunk-IAZSK7KK.js";
|
|
22
22
|
import "./chunk-TCT6PCUR.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-LGRRFSE7.js";
|
|
24
|
+
import "./chunk-XPKOWSYN.js";
|
|
25
25
|
import "./chunk-BDRGN3L2.js";
|
|
26
26
|
import "./chunk-QNFPZIP3.js";
|
|
27
27
|
import "./chunk-4SBPXNVV.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";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
lightBuiltinExtensions,
|
|
7
7
|
loadAllBuiltinExtensions,
|
|
8
8
|
loadDeferredBuiltinExtensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FCINT2KC.js";
|
|
10
10
|
import "./chunk-PDQLKTGM.js";
|
|
11
11
|
import "./chunk-PKDES47T.js";
|
|
12
12
|
import "./chunk-5ZH3ZFIZ.js";
|
|
13
13
|
import "./chunk-KDBQKVNZ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LGRRFSE7.js";
|
|
15
|
+
import "./chunk-XPKOWSYN.js";
|
|
16
16
|
import "./chunk-BDRGN3L2.js";
|
|
17
17
|
import "./chunk-QTRB4APZ.js";
|
|
18
18
|
import "./chunk-SJVCEPQS.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";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
readOnlyModeBlock,
|
|
26
26
|
registerApprovalHandler,
|
|
27
27
|
restorePermissionModeAfterPlan
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LGRRFSE7.js";
|
|
29
29
|
import {
|
|
30
30
|
killTrackedDetachedChildren
|
|
31
31
|
} from "./chunk-ETQN5FKM.js";
|
|
32
32
|
import {
|
|
33
33
|
theme
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BJIF7GMV.js";
|
|
35
35
|
|
|
36
36
|
// packages/coding-agent/dist/modes/rpc/rpc-mode.js
|
|
37
37
|
import * as crypto from "node:crypto";
|
|
@@ -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(),
|