@ashx-j/lunr-dev 0.2.21-dev.12.1 → 0.2.25-dev.13.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/CHANGELOG.md +25 -2
- package/dist/builtin-extensions/ashxj-tui.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-tui.js +2 -2
- package/dist/builtin-extensions/ashxj-tui.js.map +1 -1
- package/dist/builtin-extensions/index.d.ts.map +1 -1
- package/dist/builtin-extensions/index.js +1 -0
- package/dist/builtin-extensions/index.js.map +1 -1
- package/dist/builtin-extensions/lunr-browser.d.ts +9 -0
- package/dist/builtin-extensions/lunr-browser.d.ts.map +1 -0
- package/dist/builtin-extensions/lunr-browser.js +169 -0
- package/dist/builtin-extensions/lunr-browser.js.map +1 -0
- package/dist/builtin-extensions/lunr-computer-use.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-computer-use.js +3 -3
- package/dist/builtin-extensions/lunr-computer-use.js.map +1 -1
- package/dist/builtin-extensions/lunr-plan-tools.d.ts +7 -7
- package/dist/builtin-extensions/lunr-plan-tools.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-plan-tools.js +12 -12
- package/dist/builtin-extensions/lunr-plan-tools.js.map +1 -1
- package/dist/builtin-extensions/lunr-todos.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-todos.js +15 -0
- package/dist/builtin-extensions/lunr-todos.js.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.js +5 -0
- package/dist/builtin-extensions/pi-intercom/index.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.js +1 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/index.js +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.js +5 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts +2 -2
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js +18 -5
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.d.ts +4 -3
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.js +8 -3
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/communication.d.ts +17 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/communication.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/communication.js +45 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/communication.js.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.js +10 -14
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.d.ts +4 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.js +167 -53
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js +5 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js +3 -2
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.js +4 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.js +2 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.d.ts +3 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.js +11 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.js +41 -3
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/chain-execution.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/chain-execution.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/chain-execution.js +5 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/chain-execution.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/execution.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/execution.js +3 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/execution.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.js +23 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/pi-args.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/pi-args.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/pi-args.js +20 -15
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/pi-args.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-control.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-control.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-control.js +3 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-control.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-prompt-runtime.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-prompt-runtime.js +4 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/child-spec.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/child-spec.js +2 -2
- package/dist/builtin-extensions/pi-subagents/src/shared/child-spec.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts +18 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js +48 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js.map +1 -0
- package/dist/builtin-extensions/pi-web-access/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/index.js +11 -7
- package/dist/builtin-extensions/pi-web-access/index.js.map +1 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +2 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/install-cli.d.ts.map +1 -1
- package/dist/cli/install-cli.js +15 -45
- package/dist/cli/install-cli.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +9 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +126 -29
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session.d.ts +23 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +255 -109
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/browser/network.d.ts +9 -0
- package/dist/core/browser/network.d.ts.map +1 -0
- package/dist/core/browser/network.js +146 -0
- package/dist/core/browser/network.js.map +1 -0
- package/dist/core/browser/runtime.d.ts +24 -0
- package/dist/core/browser/runtime.d.ts.map +1 -0
- package/dist/core/browser/runtime.js +289 -0
- package/dist/core/browser/runtime.js.map +1 -0
- package/dist/core/browser/schema.d.ts +16 -0
- package/dist/core/browser/schema.d.ts.map +1 -0
- package/dist/core/browser/schema.js +36 -0
- package/dist/core/browser/schema.js.map +1 -0
- package/dist/core/browser/settings.d.ts +8 -0
- package/dist/core/browser/settings.d.ts.map +1 -0
- package/dist/core/browser/settings.js +30 -0
- package/dist/core/browser/settings.js.map +1 -0
- package/dist/core/browser/setup.d.ts +2 -0
- package/dist/core/browser/setup.d.ts.map +1 -0
- package/dist/core/browser/setup.js +16 -0
- package/dist/core/browser/setup.js.map +1 -0
- package/dist/core/catalog-cache-scope.d.ts.map +1 -1
- package/dist/core/catalog-cache-scope.js +3 -1
- package/dist/core/catalog-cache-scope.js.map +1 -1
- package/dist/core/computer-use/image.d.ts +1 -0
- package/dist/core/computer-use/image.d.ts.map +1 -1
- package/dist/core/computer-use/image.js +8 -0
- package/dist/core/computer-use/image.js.map +1 -1
- package/dist/core/computer-use/schemas.d.ts +1 -0
- package/dist/core/computer-use/schemas.d.ts.map +1 -1
- package/dist/core/computer-use/schemas.js +2 -1
- package/dist/core/computer-use/schemas.js.map +1 -1
- package/dist/core/computer-use/workflow.d.ts.map +1 -1
- package/dist/core/computer-use/workflow.js +89 -23
- package/dist/core/computer-use/workflow.js.map +1 -1
- package/dist/core/customize.d.ts.map +1 -1
- package/dist/core/customize.js +15 -14
- package/dist/core/customize.js.map +1 -1
- package/dist/core/export-html/index.d.ts.map +1 -1
- package/dist/core/export-html/index.js +1 -1
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +4 -0
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +1 -1
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +1 -1
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/install-features.d.ts.map +1 -1
- package/dist/core/install-features.js +10 -8
- package/dist/core/install-features.js.map +1 -1
- package/dist/core/memory-cap.d.ts.map +1 -1
- package/dist/core/memory-cap.js +5 -3
- package/dist/core/memory-cap.js.map +1 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +3 -2
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/model-tiers.d.ts.map +1 -1
- package/dist/core/model-tiers.js +9 -6
- package/dist/core/model-tiers.js.map +1 -1
- package/dist/core/permissions.d.ts +16 -23
- package/dist/core/permissions.d.ts.map +1 -1
- package/dist/core/permissions.js +71 -142
- package/dist/core/permissions.js.map +1 -1
- package/dist/core/plan-mode.d.ts +10 -12
- package/dist/core/plan-mode.d.ts.map +1 -1
- package/dist/core/plan-mode.js +20 -19
- package/dist/core/plan-mode.js.map +1 -1
- package/dist/core/process-registry.d.ts.map +1 -1
- package/dist/core/process-registry.js +6 -4
- package/dist/core/process-registry.js.map +1 -1
- package/dist/core/runtime-bridges.d.ts.map +1 -1
- package/dist/core/runtime-bridges.js +2 -0
- package/dist/core/runtime-bridges.js.map +1 -1
- package/dist/core/runtime-scope.d.ts +11 -0
- package/dist/core/runtime-scope.d.ts.map +1 -0
- package/dist/core/runtime-scope.js +3 -0
- package/dist/core/runtime-scope.js.map +1 -0
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +26 -6
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-handoff.d.ts +35 -0
- package/dist/core/session-handoff.d.ts.map +1 -0
- package/dist/core/session-handoff.js +214 -0
- package/dist/core/session-handoff.js.map +1 -0
- package/dist/core/session-manager.d.ts +20 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +191 -22
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-ownership.d.ts +28 -0
- package/dist/core/session-ownership.d.ts.map +1 -0
- package/dist/core/session-ownership.js +138 -0
- package/dist/core/session-ownership.js.map +1 -0
- package/dist/core/session-retention.d.ts.map +1 -1
- package/dist/core/session-retention.js +11 -2
- package/dist/core/session-retention.js.map +1 -1
- package/dist/core/settings-manager.d.ts +20 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +67 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +6 -4
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/subagent-permission-inherit.d.ts +6 -10
- package/dist/core/subagent-permission-inherit.d.ts.map +1 -1
- package/dist/core/subagent-permission-inherit.js +14 -14
- package/dist/core/subagent-permission-inherit.js.map +1 -1
- package/dist/core/subagent-wait-interruption.d.ts +11 -0
- package/dist/core/subagent-wait-interruption.d.ts.map +1 -0
- package/dist/core/subagent-wait-interruption.js +19 -0
- package/dist/core/subagent-wait-interruption.js.map +1 -0
- package/dist/core/system-prompt.d.ts +2 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +14 -4
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/core/todo-settings.d.ts +5 -0
- package/dist/core/todo-settings.d.ts.map +1 -0
- package/dist/core/todo-settings.js +7 -0
- package/dist/core/todo-settings.js.map +1 -0
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +4 -4
- package/dist/core/tools/bash.js.map +1 -1
- package/dist/core/tools/edit.d.ts.map +1 -1
- package/dist/core/tools/edit.js +5 -3
- package/dist/core/tools/edit.js.map +1 -1
- package/dist/core/tools/find.d.ts.map +1 -1
- package/dist/core/tools/find.js +4 -4
- package/dist/core/tools/find.js.map +1 -1
- package/dist/core/tools/grep.d.ts.map +1 -1
- package/dist/core/tools/grep.js +4 -4
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/tools/ls.d.ts.map +1 -1
- package/dist/core/tools/ls.js +4 -4
- package/dist/core/tools/ls.js.map +1 -1
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +4 -4
- package/dist/core/tools/read.js.map +1 -1
- package/dist/core/tools/render-utils.d.ts +14 -5
- package/dist/core/tools/render-utils.d.ts.map +1 -1
- package/dist/core/tools/render-utils.js +34 -7
- package/dist/core/tools/render-utils.js.map +1 -1
- package/dist/core/tools/write.d.ts.map +1 -1
- package/dist/core/tools/write.js +4 -4
- package/dist/core/tools/write.js.map +1 -1
- package/dist/core/usage-service.d.ts.map +1 -1
- package/dist/core/usage-service.js +5 -3
- package/dist/core/usage-service.js.map +1 -1
- package/dist/gateway/adapters/discord.d.ts +12 -1
- package/dist/gateway/adapters/discord.d.ts.map +1 -1
- package/dist/gateway/adapters/discord.js +114 -24
- package/dist/gateway/adapters/discord.js.map +1 -1
- package/dist/gateway/adapters/telegram.d.ts +4 -2
- package/dist/gateway/adapters/telegram.d.ts.map +1 -1
- package/dist/gateway/adapters/telegram.js +41 -11
- package/dist/gateway/adapters/telegram.js.map +1 -1
- package/dist/gateway/agent-bridge.d.ts +18 -4
- package/dist/gateway/agent-bridge.d.ts.map +1 -1
- package/dist/gateway/agent-bridge.js +305 -73
- package/dist/gateway/agent-bridge.js.map +1 -1
- package/dist/gateway/approval.d.ts +3 -6
- package/dist/gateway/approval.d.ts.map +1 -1
- package/dist/gateway/approval.js +62 -24
- package/dist/gateway/approval.js.map +1 -1
- package/dist/gateway/authz.d.ts +2 -0
- package/dist/gateway/authz.d.ts.map +1 -1
- package/dist/gateway/authz.js +13 -0
- package/dist/gateway/authz.js.map +1 -1
- package/dist/gateway/buttons.d.ts +3 -1
- package/dist/gateway/buttons.d.ts.map +1 -1
- package/dist/gateway/buttons.js +45 -20
- package/dist/gateway/buttons.js.map +1 -1
- package/dist/gateway/command.d.ts.map +1 -1
- package/dist/gateway/command.js +49 -4
- package/dist/gateway/command.js.map +1 -1
- package/dist/gateway/commands.d.ts +2 -0
- package/dist/gateway/commands.d.ts.map +1 -1
- package/dist/gateway/commands.js +52 -16
- package/dist/gateway/commands.js.map +1 -1
- package/dist/gateway/config.d.ts +6 -0
- package/dist/gateway/config.d.ts.map +1 -1
- package/dist/gateway/config.js +7 -0
- package/dist/gateway/config.js.map +1 -1
- package/dist/gateway/conversations.d.ts +14 -0
- package/dist/gateway/conversations.d.ts.map +1 -0
- package/dist/gateway/conversations.js +30 -0
- package/dist/gateway/conversations.js.map +1 -0
- package/dist/gateway/cron.d.ts +1 -1
- package/dist/gateway/cron.d.ts.map +1 -1
- package/dist/gateway/cron.js +2 -2
- package/dist/gateway/cron.js.map +1 -1
- package/dist/gateway/download.d.ts +2 -0
- package/dist/gateway/download.d.ts.map +1 -0
- package/dist/gateway/download.js +36 -0
- package/dist/gateway/download.js.map +1 -0
- package/dist/gateway/index.d.ts.map +1 -1
- package/dist/gateway/index.js +106 -47
- package/dist/gateway/index.js.map +1 -1
- package/dist/gateway/mobile-commands.d.ts +24 -0
- package/dist/gateway/mobile-commands.d.ts.map +1 -0
- package/dist/gateway/mobile-commands.js +423 -0
- package/dist/gateway/mobile-commands.js.map +1 -0
- package/dist/gateway/presenter.d.ts +27 -0
- package/dist/gateway/presenter.d.ts.map +1 -0
- package/dist/gateway/presenter.js +308 -0
- package/dist/gateway/presenter.js.map +1 -0
- package/dist/gateway/router.d.ts +6 -5
- package/dist/gateway/router.d.ts.map +1 -1
- package/dist/gateway/router.js +126 -43
- package/dist/gateway/router.js.map +1 -1
- package/dist/gateway/service.d.ts +46 -0
- package/dist/gateway/service.d.ts.map +1 -0
- package/dist/gateway/service.js +404 -0
- package/dist/gateway/service.js.map +1 -0
- package/dist/gateway/setup.d.ts +9 -0
- package/dist/gateway/setup.d.ts.map +1 -0
- package/dist/gateway/setup.js +202 -0
- package/dist/gateway/setup.js.map +1 -0
- package/dist/gateway/stream.d.ts +6 -5
- package/dist/gateway/stream.d.ts.map +1 -1
- package/dist/gateway/stream.js +24 -11
- package/dist/gateway/stream.js.map +1 -1
- package/dist/gateway/types.d.ts +4 -2
- package/dist/gateway/types.d.ts.map +1 -1
- package/dist/gateway/types.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +3 -3
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +19 -2
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +78 -17
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/copyable-text.d.ts +27 -0
- package/dist/modes/interactive/components/copyable-text.d.ts.map +1 -0
- package/dist/modes/interactive/components/copyable-text.js +156 -0
- package/dist/modes/interactive/components/copyable-text.js.map +1 -0
- package/dist/modes/interactive/components/custom-entry.d.ts +1 -0
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-entry.js +8 -0
- package/dist/modes/interactive/components/custom-entry.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts +1 -0
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +8 -0
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +16 -0
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +12 -1
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +74 -3
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/thinking-tail.d.ts +9 -2
- package/dist/modes/interactive/components/thinking-tail.d.ts.map +1 -1
- package/dist/modes/interactive/components/thinking-tail.js +43 -1
- package/dist/modes/interactive/components/thinking-tail.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +5 -3
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +44 -45
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +10 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +342 -133
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts +1 -0
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +23 -0
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/node-runtime/agent-session-services-MQUPZSIN.js +51 -0
- package/dist/node-runtime/{builtin-extensions-SRCYQPZ6.js → builtin-extensions-4GNDR6U3.js} +7 -6
- package/dist/node-runtime/{chunk-LTXUQJI4.js → chunk-24C5IAJ4.js} +1 -6
- package/dist/node-runtime/chunk-2BLXLDJR.js +144 -0
- package/dist/node-runtime/{chunk-RQ5DNUNG.js → chunk-2CMV4L24.js} +21 -124
- package/dist/node-runtime/{chunk-LTYWTR3V.js → chunk-2MI5OPMN.js} +17 -2
- package/dist/node-runtime/{chunk-W3CVH5RX.js → chunk-2TKODGBZ.js} +11 -6
- package/dist/node-runtime/{chunk-GT5F3OKM.js → chunk-33SIKK3Y.js} +38 -164
- package/dist/node-runtime/{chunk-GZQHMEWL.js → chunk-3DKIWPKN.js} +19 -4
- package/dist/node-runtime/{chunk-3GHXVUAK.js → chunk-3VEY2IYY.js} +1 -1
- package/dist/node-runtime/chunk-4ER2ZV4Z.js +537 -0
- package/dist/node-runtime/chunk-4EULYYR4.js +62 -0
- package/dist/node-runtime/{chunk-LOYUC2ID.js → chunk-4SBQAI4T.js} +27 -27
- package/dist/node-runtime/{chunk-CZUBYPFP.js → chunk-53ARRUHA.js} +674 -257
- package/dist/node-runtime/{chunk-VTPM5V35.js → chunk-5Q4A37RB.js} +10 -4
- package/dist/node-runtime/{chunk-SWSN6HAB.js → chunk-5UZOPGE3.js} +1 -1
- package/dist/node-runtime/{chunk-XSRCAQK2.js → chunk-5Z5PCXGY.js} +263 -222
- package/dist/node-runtime/chunk-7JIYPIQU.js +356 -0
- package/dist/node-runtime/{chunk-D466UAID.js → chunk-AJ6R5VTV.js} +60 -88
- package/dist/node-runtime/chunk-ATIF3RX5.js +352 -0
- package/dist/node-runtime/{chunk-A3KMVBZV.js → chunk-BBUVIEZB.js} +1 -10
- package/dist/node-runtime/chunk-CCCN2UCX.js +14 -0
- package/dist/node-runtime/chunk-CJS4KQFI.js +3412 -0
- package/dist/node-runtime/chunk-DO6PALE2.js +205 -0
- package/dist/node-runtime/{chunk-N3PNL74S.js → chunk-DRJI7ZSC.js} +63 -163
- package/dist/node-runtime/{chunk-VTGEKB7R.js → chunk-E75WFZ33.js} +1 -1
- package/dist/node-runtime/{chunk-MJQDX3BA.js → chunk-EBB4BJW4.js} +3 -3
- package/dist/node-runtime/{chunk-VQ4UBWSA.js → chunk-EOEAQIJV.js} +63 -6
- package/dist/node-runtime/chunk-EOPL2HMM.js +117 -0
- package/dist/node-runtime/chunk-H4K3JDRB.js +47 -0
- package/dist/node-runtime/{chunk-HRS4HMDX.js → chunk-HT2XEJNP.js} +19 -3
- package/dist/node-runtime/chunk-IMLCWLPI.js +9 -0
- package/dist/node-runtime/{chunk-BJ6H7DPI.js → chunk-JJWZB7S3.js} +62 -50
- package/dist/node-runtime/chunk-KFFOQR4G.js +672 -0
- package/dist/node-runtime/chunk-L5LZUGT7.js +40 -0
- package/dist/node-runtime/chunk-LV6CEFW2.js +97 -0
- package/dist/node-runtime/{chunk-VSELYKWU.js → chunk-LWYIVUGV.js} +2 -1
- package/dist/node-runtime/{chunk-BYQ2MOFI.js → chunk-MFV2LOOX.js} +184 -2192
- package/dist/node-runtime/{chunk-5SQDLSZJ.js → chunk-MNRO3UCV.js} +2 -2
- package/dist/node-runtime/{chunk-JHYKXIMM.js → chunk-MPKSOJBT.js} +1 -1
- package/dist/node-runtime/{chunk-C4O2RSQQ.js → chunk-N4TUWAGA.js} +1 -1
- package/dist/node-runtime/{chunk-7NBZ5P7I.js → chunk-NAY6UUQZ.js} +1 -1
- package/dist/node-runtime/chunk-NKH2QBKF.js +773 -0
- package/dist/node-runtime/chunk-O2AT4MEU.js +124 -0
- package/dist/node-runtime/chunk-OAR4TYZE.js +146 -0
- package/dist/node-runtime/{chunk-DDGMHUOW.js → chunk-OGJN3OZV.js} +2 -1
- package/dist/node-runtime/{chunk-MX3GJNXJ.js → chunk-PLGA743X.js} +23 -0
- package/dist/node-runtime/chunk-Q3FEOEDA.js +1364 -0
- package/dist/node-runtime/{chunk-H2BI7G7T.js → chunk-QFADHUQV.js} +2 -1
- package/dist/node-runtime/{chunk-W3SILANP.js → chunk-RBZQU6TJ.js} +12 -9
- package/dist/node-runtime/{chunk-ZVSORYRM.js → chunk-RVOQBXTA.js} +10 -6
- package/dist/node-runtime/{chunk-HXJS2PJM.js → chunk-RW4PYFNE.js} +14 -94
- package/dist/node-runtime/chunk-TP7K7YWS.js +2830 -0
- package/dist/node-runtime/{chunk-ZOIIMEN6.js → chunk-TVLBDVTR.js} +32 -21
- package/dist/node-runtime/chunk-UAEOTO52.js +119 -0
- package/dist/node-runtime/{chunk-MGWCVY6Y.js → chunk-UDKX3PFN.js} +3 -3
- package/dist/node-runtime/{chunk-AY6CAJSL.js → chunk-UJOCPOMX.js} +6 -3
- package/dist/node-runtime/{chunk-WJVFOIB5.js → chunk-UQUCFAJ3.js} +1 -1
- package/dist/node-runtime/chunk-US544NN6.js +13 -0
- package/dist/node-runtime/{chunk-7AFOFSDY.js → chunk-V3HK3FE7.js} +1 -1
- package/dist/node-runtime/{chunk-6UB6NKA3.js → chunk-VIVYOI7C.js} +130 -27
- package/dist/node-runtime/{chunk-MW2XJZIK.js → chunk-XHIRAZ26.js} +1 -1
- package/dist/node-runtime/chunk-YPHAIRZT.js +10 -0
- package/dist/node-runtime/{chunk-3RCWXWAY.js → chunk-YRUY57IN.js} +1 -1
- package/dist/node-runtime/cli-runtime.js +2 -2
- package/dist/node-runtime/command-PYBNGLPP.js +45 -0
- package/dist/node-runtime/{commands-BZGSLIP7.js → commands-EMBQQVVT.js} +13 -13
- package/dist/node-runtime/commands-Y2OUC2T7.js +37 -0
- package/dist/node-runtime/config-7DYMNJUO.js +20 -0
- package/dist/node-runtime/{customize-LF5VST47.js → customize-VFJV3U6A.js} +2 -1
- package/dist/node-runtime/{direct-tool-executor-BSZDHIYR.js → direct-tool-executor-4D7UXYU4.js} +10 -10
- package/dist/node-runtime/{export-html-E4DT6ZJQ.js → export-html-ETFOKW3M.js} +4 -3
- package/dist/node-runtime/{extension-input-RV5N6APL.js → extension-input-7QODTFAS.js} +4 -4
- package/dist/node-runtime/{extension-selector-CPD5LWDD.js → extension-selector-T65JEDJ5.js} +4 -4
- package/dist/node-runtime/{extract-XLQSJN4V.js → extract-EQJE7FZZ.js} +2 -2
- package/dist/node-runtime/gateway-QENRQA5X.js +1476 -0
- package/dist/node-runtime/{gemini-search-U7SUMPQA.js → gemini-search-35OCRFLN.js} +1 -1
- package/dist/node-runtime/{gemini-url-context-PXWCBQHK.js → gemini-url-context-UQY3PHHW.js} +2 -2
- package/dist/node-runtime/index.js +113 -73
- package/dist/node-runtime/{init-DVJUAOUO.js → init-P5AUV77I.js} +5 -5
- package/dist/node-runtime/{install-cli-TH7IJJQQ.js → install-cli-KHAXYBOO.js} +21 -82
- package/dist/node-runtime/interactive-mode-IN77GQGX.js +74 -0
- package/dist/node-runtime/{interactive-view-N6F4KUIT.js → interactive-view-OMWDFGUQ.js} +10 -10
- package/dist/node-runtime/lunr-browser-VVPRWC3F.js +174 -0
- package/dist/node-runtime/{lunr-computer-use-TJNDAMWM.js → lunr-computer-use-IAUNXSXH.js} +11 -8
- package/dist/node-runtime/{lunr-cron-J64I72C6.js → lunr-cron-P6ZJGVEF.js} +21 -7
- package/dist/node-runtime/main.js +47 -34
- package/dist/node-runtime/{mcp-auth-flow-YL6RWPYG.js → mcp-auth-flow-QVLFVLEO.js} +2 -2
- package/dist/node-runtime/{memory-cap-3S4XRLNP.js → memory-cap-EL3KL4JJ.js} +2 -1
- package/dist/node-runtime/mobile-commands-WKFSFACZ.js +33 -0
- package/dist/node-runtime/model-runtime-YXGJS5OJ.js +16 -0
- package/dist/node-runtime/{model-tiers-NJLHUEGK.js → model-tiers-OU3U5CZG.js} +2 -1
- package/dist/node-runtime/{package-manager-cli-VMYX4Y2S.js → package-manager-cli-J337RKTI.js} +25 -17
- package/dist/node-runtime/{pi-intercom-NV2LW6X7.js → pi-intercom-QM53RLTS.js} +6 -1
- package/dist/node-runtime/{pi-mcp-adapter-JLB5YL2F.js → pi-mcp-adapter-3PHF4KZ4.js} +8 -7
- package/dist/node-runtime/{pi-subagents-WEHV3W7H.js → pi-subagents-RCHPB6UK.js} +255 -88
- package/dist/node-runtime/{pi-web-access-FN5YC5T6.js → pi-web-access-PNG35XW7.js} +15 -15
- package/dist/node-runtime/process-registry-PVJ44F7H.js +31 -0
- package/dist/node-runtime/{proxy-modes-OR7ISBXK.js → proxy-modes-5FAPSZEZ.js} +11 -11
- package/dist/node-runtime/rpc-entry.js +47 -34
- package/dist/node-runtime/{rpc-mode-SJNSOA4G.js → rpc-mode-SH7VB4RH.js} +2 -2
- package/dist/node-runtime/runtime-4VA6JKNF.js +373 -0
- package/dist/node-runtime/runtime-bridges-3CQHWVVY.js +21 -0
- package/dist/node-runtime/service-HGGU3STY.js +36 -0
- package/dist/node-runtime/session-handoff-IAFIK7QP.js +33 -0
- package/dist/node-runtime/{session-manager-QEMZBMTM.js → session-manager-TCEFDKBL.js} +2 -1
- package/dist/node-runtime/{session-selector-URVJLOTK.js → session-selector-HG5J4BDZ.js} +5 -4
- package/dist/node-runtime/{settings-manager-3CCU326G.js → settings-manager-HIBIUNBK.js} +12 -5
- package/dist/node-runtime/setup-JBKOLJ6F.js +18 -0
- package/dist/node-runtime/setup-YU5LKRL3.js +215 -0
- package/dist/node-runtime/{subagent-executor-CXKXQDHH.js → subagent-executor-2BH76MMS.js} +64 -23
- package/dist/node-runtime/theme-WTJWZSGD.js +68 -0
- package/dist/node-runtime/trust-manager-6ZQANSBX.js +17 -0
- package/dist/node-runtime/{update-cli-NM7B4CKL.js → update-cli-TVTPVUNM.js} +6 -3
- package/dist/node-runtime/usage-service-LFB2SWYV.js +37 -0
- package/dist/node-runtime/{video-extract-OYT5WKS5.js → video-extract-OOZHR7SU.js} +2 -2
- package/dist/node-runtime/{workflow-C26QCUTW.js → workflow-TVJNKKQP.js} +80 -39
- package/dist/node-runtime/{youtube-extract-TQYKGFGS.js → youtube-extract-FNPAUNHU.js} +6 -6
- package/dist/startup/interactive-view.d.ts.map +1 -1
- package/dist/startup/interactive-view.js +5 -1
- package/dist/startup/interactive-view.js.map +1 -1
- package/dist/utils/image-resize-core.d.ts +2 -0
- package/dist/utils/image-resize-core.d.ts.map +1 -1
- package/dist/utils/image-resize-core.js +10 -0
- package/dist/utils/image-resize-core.js.map +1 -1
- package/docs/browser.md +86 -0
- package/docs/computer-use.md +134 -48
- package/docs/extensions.md +2 -0
- package/docs/features.md +108 -27
- package/docs/index.md +1 -1
- package/docs/interactive-startup.md +2 -1
- package/docs/keybindings.md +1 -1
- package/docs/providers.md +6 -2
- package/docs/quickstart.md +2 -2
- package/docs/sessions.md +10 -0
- package/docs/settings.md +3 -1
- package/docs/tui.md +2 -0
- package/docs/usage.md +20 -4
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/plan-mode/README.md +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/install-lock/package-lock.json +39 -25
- package/install-lock/package.json +2 -2
- package/npm-shrinkwrap.json +36 -22
- package/package.json +10 -7
- package/scripts/install-browser.mjs +20 -0
- package/dist/node-runtime/agent-session-services-QANFGM2V.js +0 -40
- package/dist/node-runtime/chunk-LISUTZS3.js +0 -19
- package/dist/node-runtime/chunk-VGYZ3APQ.js +0 -59
- package/dist/node-runtime/chunk-XAUQOKYK.js +0 -6011
- package/dist/node-runtime/command-ZURZJDXF.js +0 -13
- package/dist/node-runtime/gateway-FWHRIBK5.js +0 -2139
- package/dist/node-runtime/interactive-mode-BBASNWHN.js +0 -62
- package/dist/node-runtime/runtime-bridges-2VQTLPOZ.js +0 -12
- package/dist/node-runtime/{chunk-U6C7VTR5.js → chunk-7IQGBKBJ.js} +3 -3
- package/dist/node-runtime/{mcp-panel-IIGMXQGP.js → mcp-panel-KTTFXJZ4.js} +3 -3
- package/dist/node-runtime/{src-BPQFJR76.js → src-IVPNZ2BX.js} +9 -9
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
} from "./chunk-3WFAEVKS.js";
|
|
15
15
|
import {
|
|
16
16
|
extractHeadingTitle
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-UQUCFAJ3.js";
|
|
18
|
+
import "./chunk-NAY6UUQZ.js";
|
|
19
19
|
import {
|
|
20
20
|
activityMonitor
|
|
21
21
|
} from "./chunk-DAPBPCBP.js";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
runPrintMode
|
|
4
|
-
} from "./chunk-KKSIVROT.js";
|
|
5
2
|
import {
|
|
6
3
|
ArminComponent,
|
|
7
4
|
AssistantMessageComponent,
|
|
@@ -22,51 +19,48 @@ import {
|
|
|
22
19
|
TreeSelectorComponent,
|
|
23
20
|
UserMessageComponent,
|
|
24
21
|
UserMessageSelectorComponent
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-53ARRUHA.js";
|
|
26
23
|
import "./chunk-BR7YDUKA.js";
|
|
27
|
-
import "./chunk-7AFOFSDY.js";
|
|
28
24
|
import {
|
|
29
25
|
attachJsonlLineReader,
|
|
30
26
|
runRpcMode,
|
|
31
27
|
serializeJsonLine
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import
|
|
28
|
+
} from "./chunk-YRUY57IN.js";
|
|
29
|
+
import {
|
|
30
|
+
runPrintMode
|
|
31
|
+
} from "./chunk-KKSIVROT.js";
|
|
32
|
+
import "./chunk-US544NN6.js";
|
|
33
|
+
import "./chunk-V3HK3FE7.js";
|
|
34
34
|
import {
|
|
35
35
|
copyToClipboard
|
|
36
36
|
} from "./chunk-Q5ZU2VRT.js";
|
|
37
37
|
import "./chunk-NUIFPZWX.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-5UZOPGE3.js";
|
|
39
39
|
import "./chunk-7N3YHTYF.js";
|
|
40
40
|
import {
|
|
41
41
|
main
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./chunk-LTXUQJI4.js";
|
|
42
|
+
} from "./chunk-JJWZB7S3.js";
|
|
43
|
+
import "./chunk-LV6CEFW2.js";
|
|
44
|
+
import "./chunk-TVLBDVTR.js";
|
|
45
|
+
import "./chunk-RW4PYFNE.js";
|
|
46
|
+
import "./chunk-YPHAIRZT.js";
|
|
47
|
+
import "./chunk-PL6JKXWI.js";
|
|
49
48
|
import "./chunk-5ZH3ZFIZ.js";
|
|
50
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-RVOQBXTA.js";
|
|
51
50
|
import {
|
|
52
51
|
AgentSession,
|
|
53
52
|
AgentSessionRuntime,
|
|
54
|
-
AuthStorage,
|
|
55
53
|
ModelRegistry,
|
|
56
|
-
ModelRuntime,
|
|
57
54
|
createAgentSession,
|
|
58
55
|
createAgentSessionFromServices,
|
|
59
56
|
createAgentSessionRuntime,
|
|
60
57
|
createAgentSessionServices,
|
|
61
58
|
parseSkillBlock,
|
|
62
|
-
readStoredCredential,
|
|
63
59
|
wrapRegisteredTool,
|
|
64
60
|
wrapRegisteredTools
|
|
65
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CJS4KQFI.js";
|
|
66
62
|
import {
|
|
67
|
-
DefaultPackageManager,
|
|
68
63
|
DefaultResourceLoader,
|
|
69
|
-
ExtensionRunner,
|
|
70
64
|
createEventBus,
|
|
71
65
|
createExtensionRuntime,
|
|
72
66
|
createSyntheticSourceInfo,
|
|
@@ -75,31 +69,17 @@ import {
|
|
|
75
69
|
loadProjectContextFiles,
|
|
76
70
|
loadSkills,
|
|
77
71
|
loadSkillsFromDir
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-Q3FEOEDA.js";
|
|
73
|
+
import "./chunk-CCCN2UCX.js";
|
|
80
74
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
compact,
|
|
85
|
-
estimateTokens,
|
|
86
|
-
findCutPoint,
|
|
87
|
-
findTurnStartIndex,
|
|
88
|
-
generateBranchSummary,
|
|
89
|
-
generateSummary,
|
|
90
|
-
getLastAssistantUsage,
|
|
91
|
-
prepareBranchEntries,
|
|
92
|
-
resolveCliModel,
|
|
93
|
-
resolveModelScopeWithDiagnostics,
|
|
94
|
-
serializeConversation,
|
|
95
|
-
shouldCompact
|
|
96
|
-
} from "./chunk-5SQDLSZJ.js";
|
|
75
|
+
DefaultPackageManager
|
|
76
|
+
} from "./chunk-MFV2LOOX.js";
|
|
77
|
+
import "./chunk-DVGWF6A2.js";
|
|
97
78
|
import "./chunk-OBMWP3I5.js";
|
|
98
79
|
import {
|
|
99
80
|
parseFrontmatter,
|
|
100
81
|
stripFrontmatter
|
|
101
82
|
} from "./chunk-QFWG2RVL.js";
|
|
102
|
-
import "./chunk-CGBXPL3E.js";
|
|
103
83
|
import {
|
|
104
84
|
createBashTool,
|
|
105
85
|
createBashToolDefinition,
|
|
@@ -123,7 +103,7 @@ import {
|
|
|
123
103
|
renderDiff,
|
|
124
104
|
truncateToVisualLines,
|
|
125
105
|
withFileMutationQueue
|
|
126
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-33SIKK3Y.js";
|
|
127
107
|
import {
|
|
128
108
|
DEFAULT_MAX_BYTES,
|
|
129
109
|
DEFAULT_MAX_LINES,
|
|
@@ -132,15 +112,71 @@ import {
|
|
|
132
112
|
truncateLine,
|
|
133
113
|
truncateTail
|
|
134
114
|
} from "./chunk-53YJI7JU.js";
|
|
135
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-3DKIWPKN.js";
|
|
136
116
|
import {
|
|
137
|
-
|
|
138
|
-
} from "./chunk-
|
|
117
|
+
convertToPng
|
|
118
|
+
} from "./chunk-XHIRAZ26.js";
|
|
119
|
+
import {
|
|
120
|
+
formatDimensionNote,
|
|
121
|
+
resizeImage
|
|
122
|
+
} from "./chunk-5Q4A37RB.js";
|
|
123
|
+
import {
|
|
124
|
+
AuthStorage,
|
|
125
|
+
ModelRuntime,
|
|
126
|
+
readStoredCredential
|
|
127
|
+
} from "./chunk-TP7K7YWS.js";
|
|
128
|
+
import "./chunk-RBZQU6TJ.js";
|
|
139
129
|
import {
|
|
140
130
|
SettingsManager
|
|
141
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-EOEAQIJV.js";
|
|
132
|
+
import "./chunk-L5LZUGT7.js";
|
|
133
|
+
import "./chunk-2CMV4L24.js";
|
|
134
|
+
import {
|
|
135
|
+
ProjectTrustStore,
|
|
136
|
+
hasTrustRequiringProjectResources
|
|
137
|
+
} from "./chunk-24C5IAJ4.js";
|
|
142
138
|
import "./chunk-URD2SLIT.js";
|
|
143
|
-
import
|
|
139
|
+
import {
|
|
140
|
+
DEFAULT_COMPACTION_SETTINGS,
|
|
141
|
+
calculateContextTokens,
|
|
142
|
+
collectEntriesForBranchSummary,
|
|
143
|
+
compact,
|
|
144
|
+
estimateTokens,
|
|
145
|
+
findCutPoint,
|
|
146
|
+
findTurnStartIndex,
|
|
147
|
+
generateBranchSummary,
|
|
148
|
+
generateSummary,
|
|
149
|
+
getLastAssistantUsage,
|
|
150
|
+
prepareBranchEntries,
|
|
151
|
+
resolveCliModel,
|
|
152
|
+
resolveModelScopeWithDiagnostics,
|
|
153
|
+
serializeConversation,
|
|
154
|
+
shouldCompact
|
|
155
|
+
} from "./chunk-MNRO3UCV.js";
|
|
156
|
+
import {
|
|
157
|
+
ExtensionRunner
|
|
158
|
+
} from "./chunk-KFFOQR4G.js";
|
|
159
|
+
import "./chunk-CGBXPL3E.js";
|
|
160
|
+
import "./chunk-BBUVIEZB.js";
|
|
161
|
+
import "./chunk-AJ6R5VTV.js";
|
|
162
|
+
import "./chunk-M3LZLQW2.js";
|
|
163
|
+
import "./chunk-3ONQTOMR.js";
|
|
164
|
+
import "./chunk-2BLXLDJR.js";
|
|
165
|
+
import {
|
|
166
|
+
getShellConfig
|
|
167
|
+
} from "./chunk-ZCHMJ34K.js";
|
|
168
|
+
import {
|
|
169
|
+
HANDOFF_DURATION_MS,
|
|
170
|
+
SessionTransferError,
|
|
171
|
+
cancelSessionHandoff,
|
|
172
|
+
latestTuiSession,
|
|
173
|
+
listHandoffCandidates,
|
|
174
|
+
listRegisteredSessionPaths,
|
|
175
|
+
markSessionHandoff,
|
|
176
|
+
recordTuiActivity,
|
|
177
|
+
registerTransferHandler,
|
|
178
|
+
requestSessionTransfer
|
|
179
|
+
} from "./chunk-DO6PALE2.js";
|
|
144
180
|
import {
|
|
145
181
|
CURRENT_SESSION_VERSION,
|
|
146
182
|
SessionManager,
|
|
@@ -150,29 +186,27 @@ import {
|
|
|
150
186
|
migrateSessionEntries,
|
|
151
187
|
parseSessionEntries,
|
|
152
188
|
sessionEntryToContextMessages
|
|
153
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-VIVYOI7C.js";
|
|
154
190
|
import {
|
|
155
191
|
convertToLlm
|
|
156
192
|
} from "./chunk-FVDOXRUD.js";
|
|
157
|
-
import "./chunk-
|
|
158
|
-
import "./chunk-
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-4EULYYR4.js";
|
|
194
|
+
import "./chunk-UJOCPOMX.js";
|
|
195
|
+
import "./chunk-2TKODGBZ.js";
|
|
196
|
+
import "./chunk-2MI5OPMN.js";
|
|
197
|
+
import "./chunk-IMLCWLPI.js";
|
|
161
198
|
import {
|
|
162
|
-
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-D466UAID.js";
|
|
165
|
-
import "./chunk-M3LZLQW2.js";
|
|
199
|
+
SessionSelectorComponent
|
|
200
|
+
} from "./chunk-HT2XEJNP.js";
|
|
166
201
|
import {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
} from "./chunk-VTPM5V35.js";
|
|
170
|
-
import "./chunk-3ONQTOMR.js";
|
|
202
|
+
SessionOwnershipError
|
|
203
|
+
} from "./chunk-UAEOTO52.js";
|
|
171
204
|
import "./chunk-RQ2Q5IYR.js";
|
|
172
|
-
import "./chunk-
|
|
205
|
+
import "./chunk-MPKSOJBT.js";
|
|
173
206
|
import {
|
|
174
207
|
CustomEditor
|
|
175
208
|
} from "./chunk-H2EOZYMP.js";
|
|
209
|
+
import "./chunk-CH6OL6P2.js";
|
|
176
210
|
import "./chunk-PVCDKGR6.js";
|
|
177
211
|
import {
|
|
178
212
|
defineTool,
|
|
@@ -185,31 +219,26 @@ import {
|
|
|
185
219
|
isToolCallEventType,
|
|
186
220
|
isWriteToolResult
|
|
187
221
|
} from "./chunk-OR4L3IB2.js";
|
|
188
|
-
import "./chunk-
|
|
189
|
-
import "./chunk-AY6CAJSL.js";
|
|
222
|
+
import "./chunk-O2AT4MEU.js";
|
|
190
223
|
import {
|
|
191
224
|
parseArgs
|
|
192
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-OGJN3OZV.js";
|
|
193
226
|
import "./chunk-CCZJ3PYY.js";
|
|
194
227
|
import {
|
|
195
228
|
ExtensionSelectorComponent
|
|
196
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-EBB4BJW4.js";
|
|
197
230
|
import {
|
|
198
231
|
ExtensionInputComponent
|
|
199
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-UDKX3PFN.js";
|
|
200
233
|
import "./chunk-I6R76AG7.js";
|
|
201
|
-
import {
|
|
202
|
-
SessionSelectorComponent
|
|
203
|
-
} from "./chunk-HRS4HMDX.js";
|
|
204
|
-
import "./chunk-CH6OL6P2.js";
|
|
205
234
|
import {
|
|
206
235
|
DynamicBorder
|
|
207
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-3VEY2IYY.js";
|
|
208
237
|
import {
|
|
209
238
|
keyHint,
|
|
210
239
|
keyText,
|
|
211
240
|
rawKeyHint
|
|
212
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-N4TUWAGA.js";
|
|
213
242
|
import {
|
|
214
243
|
Theme,
|
|
215
244
|
getAvailableThemes,
|
|
@@ -219,7 +248,7 @@ import {
|
|
|
219
248
|
getSettingsListTheme,
|
|
220
249
|
highlightCode,
|
|
221
250
|
initTheme
|
|
222
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-PLGA743X.js";
|
|
223
252
|
import {
|
|
224
253
|
CONFIG_DIR_NAME,
|
|
225
254
|
VERSION,
|
|
@@ -743,6 +772,7 @@ export {
|
|
|
743
772
|
ExtensionRunner,
|
|
744
773
|
ExtensionSelectorComponent,
|
|
745
774
|
FooterComponent,
|
|
775
|
+
HANDOFF_DURATION_MS,
|
|
746
776
|
InteractiveMode,
|
|
747
777
|
LoginDialogComponent,
|
|
748
778
|
ModelRegistry,
|
|
@@ -752,7 +782,9 @@ export {
|
|
|
752
782
|
ProjectTrustStore,
|
|
753
783
|
RpcClient,
|
|
754
784
|
SessionManager,
|
|
785
|
+
SessionOwnershipError,
|
|
755
786
|
SessionSelectorComponent,
|
|
787
|
+
SessionTransferError,
|
|
756
788
|
SettingsManager,
|
|
757
789
|
SettingsSelectorComponent,
|
|
758
790
|
ShowImagesSelectorComponent,
|
|
@@ -768,6 +800,7 @@ export {
|
|
|
768
800
|
buildContextEntries,
|
|
769
801
|
buildSessionContext,
|
|
770
802
|
calculateContextTokens,
|
|
803
|
+
cancelSessionHandoff,
|
|
771
804
|
collectEntriesForBranchSummary,
|
|
772
805
|
compact,
|
|
773
806
|
convertToLlm,
|
|
@@ -834,10 +867,14 @@ export {
|
|
|
834
867
|
isWriteToolResult,
|
|
835
868
|
keyHint,
|
|
836
869
|
keyText,
|
|
870
|
+
latestTuiSession,
|
|
871
|
+
listHandoffCandidates,
|
|
872
|
+
listRegisteredSessionPaths,
|
|
837
873
|
loadProjectContextFiles,
|
|
838
874
|
loadSkills,
|
|
839
875
|
loadSkillsFromDir,
|
|
840
876
|
main,
|
|
877
|
+
markSessionHandoff,
|
|
841
878
|
migrateSessionEntries,
|
|
842
879
|
parseArgs,
|
|
843
880
|
parseFrontmatter,
|
|
@@ -846,7 +883,10 @@ export {
|
|
|
846
883
|
prepareBranchEntries,
|
|
847
884
|
rawKeyHint,
|
|
848
885
|
readStoredCredential,
|
|
886
|
+
recordTuiActivity,
|
|
887
|
+
registerTransferHandler,
|
|
849
888
|
renderDiff,
|
|
889
|
+
requestSessionTransfer,
|
|
850
890
|
resizeImage,
|
|
851
891
|
resolveCliModel,
|
|
852
892
|
resolveModelScopeWithDiagnostics,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
updateMetadataCache,
|
|
9
9
|
updateServerMetadata,
|
|
10
10
|
updateStatusBar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-VSELYKWU.js";
|
|
11
|
+
} from "./chunk-4SBQAI4T.js";
|
|
13
12
|
import "./chunk-LWJXTA6Z.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-4HXHDDCF.js";
|
|
13
|
+
import "./chunk-7IQGBKBJ.js";
|
|
16
14
|
import "./chunk-2IDTZAG5.js";
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-LWYIVUGV.js";
|
|
16
|
+
import "./chunk-4HXHDDCF.js";
|
|
18
17
|
import "./chunk-ARC4KOTI.js";
|
|
18
|
+
import "./chunk-BI3DHYCN.js";
|
|
19
19
|
import "./chunk-Q4Q6D4IY.js";
|
|
20
20
|
import "./chunk-BRJX2PRC.js";
|
|
21
21
|
export {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
readSecret
|
|
4
|
+
} from "./chunk-H4K3JDRB.js";
|
|
2
5
|
import {
|
|
3
6
|
FEATURE_CATALOG,
|
|
4
7
|
FEATURE_HANDLERS,
|
|
@@ -6,11 +9,13 @@ import {
|
|
|
6
9
|
applyFeatureFlags,
|
|
7
10
|
getFeatureSpec,
|
|
8
11
|
isProductUninstallArgv,
|
|
9
|
-
loadGatewayConfig,
|
|
10
12
|
loadInstallFeatures,
|
|
11
13
|
parseFeatureFlags,
|
|
12
14
|
saveInstallFeatures
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2CMV4L24.js";
|
|
16
|
+
import {
|
|
17
|
+
loadGatewayConfig
|
|
18
|
+
} from "./chunk-O2AT4MEU.js";
|
|
14
19
|
import {
|
|
15
20
|
APP_NAME,
|
|
16
21
|
NPM_CLI_PACKAGE,
|
|
@@ -56,48 +61,6 @@ function resolveInstallPrefix() {
|
|
|
56
61
|
return env || (loadInstallLayout()?.prefix ?? defaultInstallPrefix());
|
|
57
62
|
}
|
|
58
63
|
|
|
59
|
-
// packages/coding-agent/dist/cli/read-secret.js
|
|
60
|
-
async function readSecret(prompt) {
|
|
61
|
-
let stdin = process.stdin;
|
|
62
|
-
if (!stdin.isTTY || typeof stdin.setRawMode != "function") {
|
|
63
|
-
console.error("set LUNR_TELEGRAM_BOT_TOKEN / LUNR_DISCORD_BOT_TOKEN or re-run from a terminal.");
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
process.stderr.write(`${prompt}
|
|
67
|
-
Token: `), stdin.setRawMode(!0), stdin.resume(), stdin.setEncoding("utf8");
|
|
68
|
-
try {
|
|
69
|
-
return await new Promise((resolve, reject) => {
|
|
70
|
-
let buf = "", onData = (chunk) => {
|
|
71
|
-
for (let ch of chunk) {
|
|
72
|
-
if (ch === "") {
|
|
73
|
-
cleanup(), process.stderr.write(`
|
|
74
|
-
`), process.exit(130);
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
if (ch === "\r" || ch === `
|
|
78
|
-
`) {
|
|
79
|
-
cleanup(), process.stderr.write(`********
|
|
80
|
-
`), resolve(buf.length === 0 ? void 0 : buf);
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
if (ch === "\x7F" || ch === "\b") {
|
|
84
|
-
buf = buf.slice(0, -1);
|
|
85
|
-
continue;
|
|
86
|
-
}
|
|
87
|
-
ch >= " " && (buf += ch);
|
|
88
|
-
}
|
|
89
|
-
}, cleanup = () => {
|
|
90
|
-
stdin.off("data", onData), stdin.off("error", onError);
|
|
91
|
-
}, onError = (err) => {
|
|
92
|
-
cleanup(), reject(err);
|
|
93
|
-
};
|
|
94
|
-
stdin.on("data", onData), stdin.on("error", onError);
|
|
95
|
-
});
|
|
96
|
-
} finally {
|
|
97
|
-
typeof stdin.setRawMode == "function" && stdin.setRawMode(!1), stdin.pause();
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
64
|
// packages/coding-agent/dist/cli/install-cli.js
|
|
102
65
|
function printSetupHelp() {
|
|
103
66
|
console.log(`${APP_NAME} setup [--yes] [--feature <id>] [--no-feature <id>] [--set <id.option>=<value>] [--reconfigure]
|
|
@@ -151,7 +114,7 @@ async function runSetup(argv) {
|
|
|
151
114
|
return console.error(parsed.error), printSetupHelp(), 2;
|
|
152
115
|
if (!parsed.yes && !process.stdin.isTTY)
|
|
153
116
|
return console.error("non-interactive setup requires --yes"), printSetupHelp(), 2;
|
|
154
|
-
let current = loadInstallFeatures(), next = current
|
|
117
|
+
let current = loadInstallFeatures(), next = current;
|
|
155
118
|
if (parsed.yes) {
|
|
156
119
|
let applied = applyFeatureFlags(current, parsed);
|
|
157
120
|
if (!applied.ok)
|
|
@@ -168,43 +131,10 @@ async function runSetup(argv) {
|
|
|
168
131
|
}
|
|
169
132
|
for (let id of applied.disabledIds)
|
|
170
133
|
await FEATURE_HANDLERS[id].disable({ purgeSecrets: !1 });
|
|
171
|
-
} else
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
layout && (console.log(`Install location: ${join2(layout.prefix, "versions", layout.version)}`), console.log(`Command: ${layout.argv0}
|
|
176
|
-
`)), console.log("Optional features");
|
|
177
|
-
for (let spec of FEATURE_CATALOG) {
|
|
178
|
-
let existing = current.features[spec.id], defaultEnabled = existing?.enabled ?? spec.defaultEnabled;
|
|
179
|
-
console.log(` ${spec.title}`), console.log(` ${spec.summary}`);
|
|
180
|
-
let enable = await askYesNo(" Enable?", defaultEnabled);
|
|
181
|
-
if (next.features[spec.id] = {
|
|
182
|
-
enabled: enable,
|
|
183
|
-
options: { ...existing?.options }
|
|
184
|
-
}, !enable) {
|
|
185
|
-
await FEATURE_HANDLERS[spec.id].disable({ purgeSecrets: !1 });
|
|
186
|
-
continue;
|
|
187
|
-
}
|
|
188
|
-
for (let option of spec.options)
|
|
189
|
-
if (option.type === "boolean") {
|
|
190
|
-
let currentBool = typeof existing?.options[option.id] == "boolean" ? existing.options[option.id] : option.default ?? !1, value = await askYesNo(` ${option.prompt}`, currentBool);
|
|
191
|
-
next.features[spec.id].options[option.id] = value;
|
|
192
|
-
}
|
|
193
|
-
await collectSecretsForFeature(spec.id, secrets), await FEATURE_HANDLERS[spec.id].apply({
|
|
194
|
-
previous: existing,
|
|
195
|
-
next: next.features[spec.id],
|
|
196
|
-
secrets,
|
|
197
|
-
nonInteractive: !1
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
next = {
|
|
201
|
-
...next,
|
|
202
|
-
installerVersion: VERSION,
|
|
203
|
-
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
204
|
-
installedAt: next.installedAt || (/* @__PURE__ */ new Date()).toISOString()
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
return saveInstallFeatures(next), appendInstallLog(`setup installerVersion=${VERSION}`), console.log(`Writing ${getAgentDir()}/install-features.json`), console.log(`
|
|
134
|
+
} else
|
|
135
|
+
return await (await import("./setup-YU5LKRL3.js")).setupGateway(), 0;
|
|
136
|
+
let { installBrowser } = await import("./setup-JBKOLJ6F.js");
|
|
137
|
+
return await installBrowser(!1), saveInstallFeatures(next), appendInstallLog(`setup installerVersion=${VERSION}`), console.log(`Writing ${getAgentDir()}/install-features.json`), console.log(`
|
|
208
138
|
Next:`), console.log(` 1. Restart this shell (or add ${resolveInstallPrefix()}/bin to PATH)`), console.log(` 2. Run: ${APP_NAME}`), console.log(" 3. In the TUI: /login"), 0;
|
|
209
139
|
}
|
|
210
140
|
async function runFeatures(argv) {
|
|
@@ -301,6 +231,15 @@ async function runProductUninstall(argv) {
|
|
|
301
231
|
}
|
|
302
232
|
async function handleInstallCli(args) {
|
|
303
233
|
let [verb, ...rest] = args;
|
|
234
|
+
if (verb === "browser") {
|
|
235
|
+
if (rest.length !== 1 || rest[0] !== "install")
|
|
236
|
+
console.error("Usage: lunr browser install. Browser on/off is in /settings."), process.exitCode = 2;
|
|
237
|
+
else {
|
|
238
|
+
let { installBrowser } = await import("./setup-JBKOLJ6F.js");
|
|
239
|
+
await installBrowser();
|
|
240
|
+
}
|
|
241
|
+
return !0;
|
|
242
|
+
}
|
|
304
243
|
return verb === "setup" ? (process.exitCode = await runSetup(rest), !0) : verb === "features" ? (process.exitCode = await runFeatures(rest), !0) : verb === "uninstall" && isProductUninstallArgv(rest) ? (process.exitCode = await runProductUninstall(rest), !0) : !1;
|
|
305
244
|
}
|
|
306
245
|
export {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
InteractiveMode,
|
|
4
|
+
formatResumeCommand,
|
|
5
|
+
startInteractiveToolInstalls
|
|
6
|
+
} from "./chunk-53ARRUHA.js";
|
|
7
|
+
import "./chunk-BR7YDUKA.js";
|
|
8
|
+
import "./chunk-US544NN6.js";
|
|
9
|
+
import "./chunk-V3HK3FE7.js";
|
|
10
|
+
import "./chunk-Q5ZU2VRT.js";
|
|
11
|
+
import "./chunk-NUIFPZWX.js";
|
|
12
|
+
import "./chunk-5UZOPGE3.js";
|
|
13
|
+
import "./chunk-7N3YHTYF.js";
|
|
14
|
+
import "./chunk-YPHAIRZT.js";
|
|
15
|
+
import "./chunk-5ZH3ZFIZ.js";
|
|
16
|
+
import "./chunk-CJS4KQFI.js";
|
|
17
|
+
import "./chunk-Q3FEOEDA.js";
|
|
18
|
+
import "./chunk-CCCN2UCX.js";
|
|
19
|
+
import "./chunk-MFV2LOOX.js";
|
|
20
|
+
import "./chunk-DVGWF6A2.js";
|
|
21
|
+
import "./chunk-OBMWP3I5.js";
|
|
22
|
+
import "./chunk-QFWG2RVL.js";
|
|
23
|
+
import "./chunk-33SIKK3Y.js";
|
|
24
|
+
import "./chunk-53YJI7JU.js";
|
|
25
|
+
import "./chunk-3DKIWPKN.js";
|
|
26
|
+
import "./chunk-XHIRAZ26.js";
|
|
27
|
+
import "./chunk-5Q4A37RB.js";
|
|
28
|
+
import "./chunk-TP7K7YWS.js";
|
|
29
|
+
import "./chunk-EOEAQIJV.js";
|
|
30
|
+
import "./chunk-L5LZUGT7.js";
|
|
31
|
+
import "./chunk-2CMV4L24.js";
|
|
32
|
+
import "./chunk-24C5IAJ4.js";
|
|
33
|
+
import "./chunk-URD2SLIT.js";
|
|
34
|
+
import "./chunk-MNRO3UCV.js";
|
|
35
|
+
import "./chunk-KFFOQR4G.js";
|
|
36
|
+
import "./chunk-CGBXPL3E.js";
|
|
37
|
+
import "./chunk-BBUVIEZB.js";
|
|
38
|
+
import "./chunk-AJ6R5VTV.js";
|
|
39
|
+
import "./chunk-M3LZLQW2.js";
|
|
40
|
+
import "./chunk-3ONQTOMR.js";
|
|
41
|
+
import "./chunk-2BLXLDJR.js";
|
|
42
|
+
import "./chunk-ZCHMJ34K.js";
|
|
43
|
+
import "./chunk-DO6PALE2.js";
|
|
44
|
+
import "./chunk-VIVYOI7C.js";
|
|
45
|
+
import "./chunk-FVDOXRUD.js";
|
|
46
|
+
import "./chunk-4EULYYR4.js";
|
|
47
|
+
import "./chunk-UJOCPOMX.js";
|
|
48
|
+
import "./chunk-2TKODGBZ.js";
|
|
49
|
+
import "./chunk-2MI5OPMN.js";
|
|
50
|
+
import "./chunk-IMLCWLPI.js";
|
|
51
|
+
import "./chunk-HT2XEJNP.js";
|
|
52
|
+
import "./chunk-UAEOTO52.js";
|
|
53
|
+
import "./chunk-RQ2Q5IYR.js";
|
|
54
|
+
import "./chunk-H2EOZYMP.js";
|
|
55
|
+
import "./chunk-CH6OL6P2.js";
|
|
56
|
+
import "./chunk-PVCDKGR6.js";
|
|
57
|
+
import "./chunk-OR4L3IB2.js";
|
|
58
|
+
import "./chunk-O2AT4MEU.js";
|
|
59
|
+
import "./chunk-OGJN3OZV.js";
|
|
60
|
+
import "./chunk-CCZJ3PYY.js";
|
|
61
|
+
import "./chunk-EBB4BJW4.js";
|
|
62
|
+
import "./chunk-UDKX3PFN.js";
|
|
63
|
+
import "./chunk-I6R76AG7.js";
|
|
64
|
+
import "./chunk-3VEY2IYY.js";
|
|
65
|
+
import "./chunk-N4TUWAGA.js";
|
|
66
|
+
import "./chunk-PLGA743X.js";
|
|
67
|
+
import "./chunk-PCIGF2XK.js";
|
|
68
|
+
import "./chunk-Q4Q6D4IY.js";
|
|
69
|
+
import "./chunk-BRJX2PRC.js";
|
|
70
|
+
export {
|
|
71
|
+
InteractiveMode,
|
|
72
|
+
formatResumeCommand,
|
|
73
|
+
startInteractiveToolInstalls
|
|
74
|
+
};
|
|
@@ -2,25 +2,25 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
|
|
|
2
2
|
import {
|
|
3
3
|
BootScreenComponent,
|
|
4
4
|
registerPermissionModeBridge
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5UZOPGE3.js";
|
|
6
6
|
import {
|
|
7
7
|
getChatboxEditor,
|
|
8
8
|
renderStatsLine,
|
|
9
9
|
thinkingThemeToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MPKSOJBT.js";
|
|
11
11
|
import "./chunk-H2EOZYMP.js";
|
|
12
|
-
import {
|
|
13
|
-
markStartupMilestone
|
|
14
|
-
} from "./chunk-CCZJ3PYY.js";
|
|
15
12
|
import {
|
|
16
13
|
KeybindingsManager
|
|
17
14
|
} from "./chunk-CH6OL6P2.js";
|
|
15
|
+
import {
|
|
16
|
+
markStartupMilestone
|
|
17
|
+
} from "./chunk-CCZJ3PYY.js";
|
|
18
18
|
import {
|
|
19
19
|
getEditorTheme,
|
|
20
20
|
getThemeName,
|
|
21
21
|
initTheme,
|
|
22
22
|
theme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PLGA743X.js";
|
|
24
24
|
import {
|
|
25
25
|
APP_NAME,
|
|
26
26
|
VERSION,
|
|
@@ -79,7 +79,7 @@ var StartupProcessTerminal = class extends ProcessTerminal {
|
|
|
79
79
|
currentEditor = () => this.editor;
|
|
80
80
|
constructor() {
|
|
81
81
|
let settings = readDisplaySettings(), permission = settings.defaultPermissionMode;
|
|
82
|
-
registerPermissionModeBridge(() => permission === "
|
|
82
|
+
registerPermissionModeBridge(() => permission === "plan" ? "read-only" : permission === "auto" || permission === "read-only" ? permission : "yolo"), initTheme(typeof settings.theme == "string" ? settings.theme : void 0), this.terminal = new StartupProcessTerminal(), this.ui = new TUI(this.terminal, settings.showHardwareCursor), this.ui.setClearOnShrink(settings.terminal?.clearOnShrink ?? !1), this.keybindings = KeybindingsManager.create(), setKeybindings(this.keybindings);
|
|
83
83
|
let ctx = {
|
|
84
84
|
mode: "tui",
|
|
85
85
|
hasUI: !0,
|
|
@@ -159,7 +159,7 @@ Your draft is intact. Press Ctrl+C twice or Ctrl+D on an empty draft to exit.`),
|
|
|
159
159
|
this.exitRequested || (this.exitRequested = !0, this.started && (this.ui.stop(), this.started = !1), this.inputUnsubscribe?.(), this.resolveFirstFrame(), this.resolveExit());
|
|
160
160
|
}
|
|
161
161
|
async select(title, options) {
|
|
162
|
-
let { ExtensionSelectorComponent } = await import("./extension-selector-
|
|
162
|
+
let { ExtensionSelectorComponent } = await import("./extension-selector-T65JEDJ5.js");
|
|
163
163
|
return new Promise((resolve) => {
|
|
164
164
|
let settled = !1, finish = (value) => {
|
|
165
165
|
settled || (settled = !0, this.restoreLayout(), resolve(value));
|
|
@@ -175,7 +175,7 @@ ${message}`, [
|
|
|
175
175
|
]) ?? !1;
|
|
176
176
|
}
|
|
177
177
|
async input(title, placeholder) {
|
|
178
|
-
let { ExtensionInputComponent } = await import("./extension-input-
|
|
178
|
+
let { ExtensionInputComponent } = await import("./extension-input-7QODTFAS.js");
|
|
179
179
|
return new Promise((resolve) => {
|
|
180
180
|
let settled = !1, finish = (value) => {
|
|
181
181
|
settled || (settled = !0, input.dispose(), this.restoreLayout(), resolve(value));
|
|
@@ -186,7 +186,7 @@ ${message}`, [
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
async selectSession(currentSessionsLoader, allSessionsLoader) {
|
|
189
|
-
let { SessionSelectorComponent } = await import("./session-selector-
|
|
189
|
+
let { SessionSelectorComponent } = await import("./session-selector-HG5J4BDZ.js");
|
|
190
190
|
return new Promise((resolve) => {
|
|
191
191
|
let settled = !1, finish = (path2) => {
|
|
192
192
|
settled || (settled = !0, this.restoreLayout(), resolve(path2));
|