@ashx-j/lunr-dev 0.2.19-dev.10.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 +60 -2
- package/README.md +2 -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 -2
- 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 +15 -14
- 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 +6 -5
- package/dist/builtin-extensions/lunr-todos.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-todos.js +24 -7
- package/dist/builtin-extensions/lunr-todos.js.map +1 -1
- package/dist/builtin-extensions/pi-intercom/broker/spawn.d.ts +6 -4
- package/dist/builtin-extensions/pi-intercom/broker/spawn.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-intercom/broker/spawn.js +114 -61
- package/dist/builtin-extensions/pi-intercom/broker/spawn.js.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.js +365 -351
- 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/fanout-child.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/fanout-child.js +2 -2
- package/dist/builtin-extensions/pi-subagents/src/extension/fanout-child.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts +9 -7
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js +143 -59
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.d.ts +18 -8
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.js +39 -14
- 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 +5 -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 +32 -17
- 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 +12 -2
- 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 +401 -58
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/result-intercom.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/result-intercom.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/result-intercom.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/result-intercom.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.d.ts +29 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js +184 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts +91 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js +542 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.d.ts +13 -1
- 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 +42 -12
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-execution.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-job-tracker.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-job-tracker.js +3 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-job-tracker.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-resume.d.ts +2 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-resume.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-resume.js +35 -8
- package/dist/builtin-extensions/pi-subagents/src/runs/background/async-resume.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/notify.d.ts +7 -3
- package/dist/builtin-extensions/pi-subagents/src/runs/background/notify.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/notify.js +26 -4
- package/dist/builtin-extensions/pi-subagents/src/runs/background/notify.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/result-watcher.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/result-watcher.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/result-watcher.js +55 -38
- package/dist/builtin-extensions/pi-subagents/src/runs/background/result-watcher.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.d.ts +100 -0
- 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 +47 -32
- 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 +6 -6
- 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 +75 -5
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/top-level-async.d.ts +15 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/background/top-level-async.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/top-level-async.js +14 -4
- package/dist/builtin-extensions/pi-subagents/src/runs/background/top-level-async.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 +43 -4
- 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 +26 -9
- 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 +4 -3
- 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 +0 -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 +94 -25
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/acceptance.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/acceptance.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/acceptance.js +75 -18
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/acceptance.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/completion-guard.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/completion-guard.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/completion-guard.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/completion-guard.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/model-fallback.d.ts +13 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/model-fallback.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/model-fallback.js +67 -11
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/model-fallback.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/parallel-utils.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/parallel-utils.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/parallel-utils.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/pi-args.d.ts +5 -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 +25 -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 +17 -5
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/task-intent.d.ts +2 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/task-intent.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/task-intent.js +5 -10
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/task-intent.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/async-guidance.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/async-guidance.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/async-guidance.js +3 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/async-guidance.js.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/child-spec.d.ts +3 -0
- 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 +70 -13
- package/dist/builtin-extensions/pi-subagents/src/shared/child-spec.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/formatters.d.ts +12 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/formatters.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/formatters.js +21 -2
- package/dist/builtin-extensions/pi-subagents/src/shared/formatters.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts +23 -4
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/delegation-adapters.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/delegation-adapters.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/prompt-workflows.d.ts +7 -0
- package/dist/builtin-extensions/pi-subagents/src/slash/prompt-workflows.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/prompt-workflows.js +11 -7
- package/dist/builtin-extensions/pi-subagents/src/slash/prompt-workflows.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.d.ts +6 -0
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.js +46 -29
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.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-subagents/src/tui/render.d.ts +46 -4
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js +407 -450
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/register-main.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/register-main.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/register-main.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/tool-actions.d.ts +2 -13
- package/dist/builtin-extensions/pi-subagents/src/watchdog/tool-actions.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/tool-actions.js +5 -91
- package/dist/builtin-extensions/pi-subagents/src/watchdog/tool-actions.js.map +1 -1
- 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 +27 -0
- package/dist/core/computer-use/image.d.ts.map +1 -0
- package/dist/core/computer-use/image.js +72 -0
- package/dist/core/computer-use/image.js.map +1 -0
- package/dist/core/computer-use/policy.d.ts.map +1 -1
- package/dist/core/computer-use/policy.js +2 -6
- package/dist/core/computer-use/policy.js.map +1 -1
- package/dist/core/computer-use/schemas.d.ts +14 -10
- package/dist/core/computer-use/schemas.d.ts.map +1 -1
- package/dist/core/computer-use/schemas.js +27 -35
- package/dist/core/computer-use/schemas.js.map +1 -1
- package/dist/core/computer-use/workflow.d.ts +16 -8
- package/dist/core/computer-use/workflow.d.ts.map +1 -1
- package/dist/core/computer-use/workflow.js +337 -260
- package/dist/core/computer-use/workflow.js.map +1 -1
- package/dist/core/customize.d.ts +2 -0
- package/dist/core/customize.d.ts.map +1 -1
- package/dist/core/customize.js +17 -13
- 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 +17 -23
- package/dist/core/permissions.d.ts.map +1 -1
- package/dist/core/permissions.js +79 -146
- 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 -24
- 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 -2
- 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 +24 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +78 -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-cancellation.d.ts +21 -0
- package/dist/core/subagent-cancellation.d.ts.map +1 -0
- package/dist/core/subagent-cancellation.js +53 -0
- package/dist/core/subagent-cancellation.js.map +1 -0
- 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-spinner-setting.d.ts +6 -0
- package/dist/core/subagent-spinner-setting.d.ts.map +1 -0
- package/dist/core/subagent-spinner-setting.js +12 -0
- package/dist/core/subagent-spinner-setting.js.map +1 -0
- package/dist/core/subagent-spinner.d.ts +4 -0
- package/dist/core/subagent-spinner.d.ts.map +1 -0
- package/dist/core/subagent-spinner.js +6 -0
- package/dist/core/subagent-spinner.js.map +1 -0
- 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 +90 -35
- 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 +16 -1
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +147 -4
- 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 +55 -44
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/extension-widget-order.d.ts +8 -0
- package/dist/modes/interactive/extension-widget-order.d.ts.map +1 -0
- package/dist/modes/interactive/extension-widget-order.js +37 -0
- package/dist/modes/interactive/extension-widget-order.js.map +1 -0
- package/dist/modes/interactive/interactive-mode.d.ts +11 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +386 -155
- 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-7STLFW3A.js → builtin-extensions-4GNDR6U3.js} +8 -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-OTT6JMPU.js → chunk-2MI5OPMN.js} +17 -370
- package/dist/node-runtime/{chunk-W3CVH5RX.js → chunk-2TKODGBZ.js} +11 -6
- package/dist/node-runtime/{chunk-K72NVGUB.js → chunk-33SIKK3Y.js} +38 -164
- package/dist/node-runtime/{chunk-GZQHMEWL.js → chunk-3DKIWPKN.js} +19 -4
- package/dist/node-runtime/{chunk-5OLJGVCB.js → chunk-3ONQTOMR.js} +2 -2
- 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-BKAZ6BKX.js → chunk-4SBQAI4T.js} +31 -31
- package/dist/node-runtime/{chunk-W7S2REEG.js → chunk-53ARRUHA.js} +785 -285
- package/dist/node-runtime/{chunk-ZSEZY3II.js → chunk-5Q4A37RB.js} +10 -4
- package/dist/node-runtime/{chunk-SWSN6HAB.js → chunk-5UZOPGE3.js} +1 -1
- package/dist/node-runtime/{chunk-LCACDWHJ.js → chunk-5Z5PCXGY.js} +263 -222
- package/dist/node-runtime/chunk-5ZH3ZFIZ.js +308 -0
- package/dist/node-runtime/chunk-7JIYPIQU.js +356 -0
- package/dist/node-runtime/{chunk-ZRDIMBEQ.js → chunk-AJ6R5VTV.js} +66 -91
- package/dist/node-runtime/chunk-ATIF3RX5.js +352 -0
- package/dist/node-runtime/chunk-BBUVIEZB.js +51 -0
- 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-MUMMMTW4.js → chunk-DRJI7ZSC.js} +572 -401
- package/dist/node-runtime/{chunk-6SPPH4FY.js → chunk-E75WFZ33.js} +4 -4
- package/dist/node-runtime/{chunk-MJQDX3BA.js → chunk-EBB4BJW4.js} +3 -3
- package/dist/node-runtime/{chunk-5NWQCSKR.js → chunk-EOEAQIJV.js} +70 -3
- 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-FLYMHKCS.js → chunk-JJWZB7S3.js} +60 -48
- 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-EHMBW7FA.js → chunk-LWYIVUGV.js} +5 -4
- package/dist/node-runtime/{chunk-T5GM5BFH.js → chunk-MFV2LOOX.js} +186 -2194
- 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-4SJWFTUP.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-QFADHUQV.js +74 -0
- package/dist/node-runtime/chunk-RBZQU6TJ.js +27 -0
- package/dist/node-runtime/{chunk-MGSB2C3M.js → chunk-RVOQBXTA.js} +10 -6
- package/dist/node-runtime/{chunk-ISQDQIZN.js → chunk-RW4PYFNE.js} +14 -94
- package/dist/node-runtime/chunk-TP7K7YWS.js +2830 -0
- package/dist/node-runtime/{chunk-TAP7QTUT.js → chunk-TVLBDVTR.js} +46 -436
- 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-J7QGQD45.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-5Q45AVQG.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-LGR5VT5X.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-XEXL2DGQ.js → customize-VFJV3U6A.js} +2 -1
- package/dist/node-runtime/{direct-tool-executor-TDJS7TBD.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-IUCVZCWC.js → extract-EQJE7FZZ.js} +2 -2
- package/dist/node-runtime/gateway-QENRQA5X.js +1476 -0
- package/dist/node-runtime/{gemini-search-NCIDF7NE.js → gemini-search-35OCRFLN.js} +1 -1
- package/dist/node-runtime/{gemini-url-context-OKIN7AIP.js → gemini-url-context-UQY3PHHW.js} +2 -2
- package/dist/node-runtime/index.js +120 -77
- package/dist/node-runtime/{init-EKE277AG.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-IAUNXSXH.js +138 -0
- package/dist/node-runtime/{lunr-cron-KKBOGAEF.js → lunr-cron-P6ZJGVEF.js} +22 -8
- package/dist/node-runtime/main.js +50 -35
- 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-C4EJOO5Q.js → package-manager-cli-J337RKTI.js} +28 -19
- package/dist/node-runtime/{pi-intercom-EEMBGQID.js → pi-intercom-QM53RLTS.js} +114 -88
- package/dist/node-runtime/{pi-mcp-adapter-DPTJGAAL.js → pi-mcp-adapter-3PHF4KZ4.js} +9 -8
- package/dist/node-runtime/{pi-subagents-VKCLYIBY.js → pi-subagents-RCHPB6UK.js} +1476 -646
- package/dist/node-runtime/{pi-web-access-BV6DSZOP.js → pi-web-access-PNG35XW7.js} +11 -11
- package/dist/node-runtime/process-registry-PVJ44F7H.js +31 -0
- package/dist/node-runtime/{proxy-modes-R64LU6WZ.js → proxy-modes-5FAPSZEZ.js} +14 -14
- package/dist/node-runtime/rpc-entry.js +50 -35
- 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-K6IPIQTI.js → settings-manager-HIBIUNBK.js} +13 -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-EFLTO32A.js → subagent-executor-2BH76MMS.js} +242 -314
- 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-I6OVDRPL.js → update-cli-TVTPVUNM.js} +7 -3
- package/dist/node-runtime/usage-service-LFB2SWYV.js +37 -0
- package/dist/node-runtime/{video-extract-ETA5RA7U.js → video-extract-OOZHR7SU.js} +2 -2
- package/dist/node-runtime/workflow-TVJNKKQP.js +509 -0
- package/dist/node-runtime/{youtube-extract-SRVGNN26.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 +319 -268
- package/docs/extensions.md +2 -0
- package/docs/features.md +129 -30
- package/docs/index.md +1 -1
- package/docs/interactive-startup.md +2 -1
- package/docs/keybindings.md +4 -2
- package/docs/providers.md +6 -2
- package/docs/quickstart.md +2 -2
- package/docs/sessions.md +10 -0
- package/docs/settings.md +6 -3
- 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/builtin-extensions/lunr-settings-tools.d.ts +0 -4
- package/dist/builtin-extensions/lunr-settings-tools.d.ts.map +0 -1
- package/dist/builtin-extensions/lunr-settings-tools.js +0 -120
- package/dist/builtin-extensions/lunr-settings-tools.js.map +0 -1
- package/dist/core/settings-tools-bridge.d.ts +0 -35
- package/dist/core/settings-tools-bridge.d.ts.map +0 -1
- package/dist/core/settings-tools-bridge.js +0 -56
- package/dist/core/settings-tools-bridge.js.map +0 -1
- package/dist/node-runtime/agent-session-services-RSGP5GDN.js +0 -39
- package/dist/node-runtime/chunk-EH2LJQPM.js +0 -64
- package/dist/node-runtime/chunk-HQCKFM2O.js +0 -56
- package/dist/node-runtime/chunk-JT6YCS5B.js +0 -5648
- package/dist/node-runtime/command-6UXQ6XZN.js +0 -13
- package/dist/node-runtime/gateway-3OLC4GQN.js +0 -2139
- package/dist/node-runtime/image-resize-6ZPBFMWW.js +0 -11
- package/dist/node-runtime/interactive-mode-S5M26CQ7.js +0 -59
- package/dist/node-runtime/lunr-computer-use-4X3KUNF4.js +0 -206
- package/dist/node-runtime/runtime-bridges-UJ5WJJLN.js +0 -14
- package/dist/node-runtime/workflow-SA34S4VX.js +0 -325
- 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-GPFAU3N6.js → src-IVPNZ2BX.js} +6 -6
|
@@ -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,12 +1,4 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
attachJsonlLineReader,
|
|
4
|
-
runRpcMode,
|
|
5
|
-
serializeJsonLine
|
|
6
|
-
} from "./chunk-3RCWXWAY.js";
|
|
7
|
-
import {
|
|
8
|
-
runPrintMode
|
|
9
|
-
} from "./chunk-KKSIVROT.js";
|
|
10
2
|
import {
|
|
11
3
|
ArminComponent,
|
|
12
4
|
AssistantMessageComponent,
|
|
@@ -27,45 +19,48 @@ import {
|
|
|
27
19
|
TreeSelectorComponent,
|
|
28
20
|
UserMessageComponent,
|
|
29
21
|
UserMessageSelectorComponent
|
|
30
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-53ARRUHA.js";
|
|
31
23
|
import "./chunk-BR7YDUKA.js";
|
|
32
|
-
import
|
|
24
|
+
import {
|
|
25
|
+
attachJsonlLineReader,
|
|
26
|
+
runRpcMode,
|
|
27
|
+
serializeJsonLine
|
|
28
|
+
} from "./chunk-YRUY57IN.js";
|
|
29
|
+
import {
|
|
30
|
+
runPrintMode
|
|
31
|
+
} from "./chunk-KKSIVROT.js";
|
|
32
|
+
import "./chunk-US544NN6.js";
|
|
33
|
+
import "./chunk-V3HK3FE7.js";
|
|
33
34
|
import {
|
|
34
35
|
copyToClipboard
|
|
35
36
|
} from "./chunk-Q5ZU2VRT.js";
|
|
36
37
|
import "./chunk-NUIFPZWX.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-5UZOPGE3.js";
|
|
38
39
|
import "./chunk-7N3YHTYF.js";
|
|
39
40
|
import {
|
|
40
41
|
main
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import
|
|
45
|
-
|
|
46
|
-
hasTrustRequiringProjectResources
|
|
47
|
-
} 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";
|
|
48
47
|
import "./chunk-PL6JKXWI.js";
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-5ZH3ZFIZ.js";
|
|
49
|
+
import "./chunk-RVOQBXTA.js";
|
|
50
50
|
import {
|
|
51
51
|
AgentSession,
|
|
52
52
|
AgentSessionRuntime,
|
|
53
|
-
AuthStorage,
|
|
54
53
|
ModelRegistry,
|
|
55
|
-
ModelRuntime,
|
|
56
54
|
createAgentSession,
|
|
57
55
|
createAgentSessionFromServices,
|
|
58
56
|
createAgentSessionRuntime,
|
|
59
57
|
createAgentSessionServices,
|
|
60
58
|
parseSkillBlock,
|
|
61
|
-
readStoredCredential,
|
|
62
59
|
wrapRegisteredTool,
|
|
63
60
|
wrapRegisteredTools
|
|
64
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-CJS4KQFI.js";
|
|
65
62
|
import {
|
|
66
|
-
DefaultPackageManager,
|
|
67
63
|
DefaultResourceLoader,
|
|
68
|
-
ExtensionRunner,
|
|
69
64
|
createEventBus,
|
|
70
65
|
createExtensionRuntime,
|
|
71
66
|
createSyntheticSourceInfo,
|
|
@@ -74,31 +69,17 @@ import {
|
|
|
74
69
|
loadProjectContextFiles,
|
|
75
70
|
loadSkills,
|
|
76
71
|
loadSkillsFromDir
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-DVGWF6A2.js";
|
|
72
|
+
} from "./chunk-Q3FEOEDA.js";
|
|
73
|
+
import "./chunk-CCCN2UCX.js";
|
|
80
74
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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";
|
|
78
|
+
import "./chunk-OBMWP3I5.js";
|
|
97
79
|
import {
|
|
98
80
|
parseFrontmatter,
|
|
99
81
|
stripFrontmatter
|
|
100
82
|
} from "./chunk-QFWG2RVL.js";
|
|
101
|
-
import "./chunk-CGBXPL3E.js";
|
|
102
83
|
import {
|
|
103
84
|
createBashTool,
|
|
104
85
|
createBashToolDefinition,
|
|
@@ -122,7 +103,7 @@ import {
|
|
|
122
103
|
renderDiff,
|
|
123
104
|
truncateToVisualLines,
|
|
124
105
|
withFileMutationQueue
|
|
125
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-33SIKK3Y.js";
|
|
126
107
|
import {
|
|
127
108
|
DEFAULT_MAX_BYTES,
|
|
128
109
|
DEFAULT_MAX_LINES,
|
|
@@ -131,20 +112,71 @@ import {
|
|
|
131
112
|
truncateLine,
|
|
132
113
|
truncateTail
|
|
133
114
|
} from "./chunk-53YJI7JU.js";
|
|
134
|
-
import "./chunk-
|
|
135
|
-
import {
|
|
136
|
-
getShellConfig
|
|
137
|
-
} from "./chunk-ZCHMJ34K.js";
|
|
115
|
+
import "./chunk-3DKIWPKN.js";
|
|
138
116
|
import {
|
|
139
117
|
convertToPng
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import
|
|
142
|
-
|
|
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";
|
|
143
129
|
import {
|
|
144
130
|
SettingsManager
|
|
145
|
-
} 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";
|
|
146
138
|
import "./chunk-URD2SLIT.js";
|
|
147
|
-
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";
|
|
148
180
|
import {
|
|
149
181
|
CURRENT_SESSION_VERSION,
|
|
150
182
|
SessionManager,
|
|
@@ -154,18 +186,27 @@ import {
|
|
|
154
186
|
migrateSessionEntries,
|
|
155
187
|
parseSessionEntries,
|
|
156
188
|
sessionEntryToContextMessages
|
|
157
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-VIVYOI7C.js";
|
|
158
190
|
import {
|
|
159
191
|
convertToLlm
|
|
160
192
|
} from "./chunk-FVDOXRUD.js";
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import "./chunk-
|
|
163
|
-
import "./chunk-
|
|
164
|
-
import "./chunk-
|
|
165
|
-
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";
|
|
198
|
+
import {
|
|
199
|
+
SessionSelectorComponent
|
|
200
|
+
} from "./chunk-HT2XEJNP.js";
|
|
201
|
+
import {
|
|
202
|
+
SessionOwnershipError
|
|
203
|
+
} from "./chunk-UAEOTO52.js";
|
|
204
|
+
import "./chunk-RQ2Q5IYR.js";
|
|
205
|
+
import "./chunk-MPKSOJBT.js";
|
|
166
206
|
import {
|
|
167
207
|
CustomEditor
|
|
168
208
|
} from "./chunk-H2EOZYMP.js";
|
|
209
|
+
import "./chunk-CH6OL6P2.js";
|
|
169
210
|
import "./chunk-PVCDKGR6.js";
|
|
170
211
|
import {
|
|
171
212
|
defineTool,
|
|
@@ -178,35 +219,26 @@ import {
|
|
|
178
219
|
isToolCallEventType,
|
|
179
220
|
isWriteToolResult
|
|
180
221
|
} from "./chunk-OR4L3IB2.js";
|
|
181
|
-
import
|
|
182
|
-
formatDimensionNote,
|
|
183
|
-
resizeImage
|
|
184
|
-
} from "./chunk-ZSEZY3II.js";
|
|
185
|
-
import "./chunk-RQ2Q5IYR.js";
|
|
186
|
-
import "./chunk-HQCKFM2O.js";
|
|
222
|
+
import "./chunk-O2AT4MEU.js";
|
|
187
223
|
import {
|
|
188
224
|
parseArgs
|
|
189
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-OGJN3OZV.js";
|
|
190
226
|
import "./chunk-CCZJ3PYY.js";
|
|
191
227
|
import {
|
|
192
228
|
ExtensionSelectorComponent
|
|
193
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-EBB4BJW4.js";
|
|
194
230
|
import {
|
|
195
231
|
ExtensionInputComponent
|
|
196
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-UDKX3PFN.js";
|
|
197
233
|
import "./chunk-I6R76AG7.js";
|
|
198
|
-
import {
|
|
199
|
-
SessionSelectorComponent
|
|
200
|
-
} from "./chunk-HRS4HMDX.js";
|
|
201
|
-
import "./chunk-CH6OL6P2.js";
|
|
202
234
|
import {
|
|
203
235
|
DynamicBorder
|
|
204
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-3VEY2IYY.js";
|
|
205
237
|
import {
|
|
206
238
|
keyHint,
|
|
207
239
|
keyText,
|
|
208
240
|
rawKeyHint
|
|
209
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-N4TUWAGA.js";
|
|
210
242
|
import {
|
|
211
243
|
Theme,
|
|
212
244
|
getAvailableThemes,
|
|
@@ -216,7 +248,7 @@ import {
|
|
|
216
248
|
getSettingsListTheme,
|
|
217
249
|
highlightCode,
|
|
218
250
|
initTheme
|
|
219
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-PLGA743X.js";
|
|
220
252
|
import {
|
|
221
253
|
CONFIG_DIR_NAME,
|
|
222
254
|
VERSION,
|
|
@@ -740,6 +772,7 @@ export {
|
|
|
740
772
|
ExtensionRunner,
|
|
741
773
|
ExtensionSelectorComponent,
|
|
742
774
|
FooterComponent,
|
|
775
|
+
HANDOFF_DURATION_MS,
|
|
743
776
|
InteractiveMode,
|
|
744
777
|
LoginDialogComponent,
|
|
745
778
|
ModelRegistry,
|
|
@@ -749,7 +782,9 @@ export {
|
|
|
749
782
|
ProjectTrustStore,
|
|
750
783
|
RpcClient,
|
|
751
784
|
SessionManager,
|
|
785
|
+
SessionOwnershipError,
|
|
752
786
|
SessionSelectorComponent,
|
|
787
|
+
SessionTransferError,
|
|
753
788
|
SettingsManager,
|
|
754
789
|
SettingsSelectorComponent,
|
|
755
790
|
ShowImagesSelectorComponent,
|
|
@@ -765,6 +800,7 @@ export {
|
|
|
765
800
|
buildContextEntries,
|
|
766
801
|
buildSessionContext,
|
|
767
802
|
calculateContextTokens,
|
|
803
|
+
cancelSessionHandoff,
|
|
768
804
|
collectEntriesForBranchSummary,
|
|
769
805
|
compact,
|
|
770
806
|
convertToLlm,
|
|
@@ -831,10 +867,14 @@ export {
|
|
|
831
867
|
isWriteToolResult,
|
|
832
868
|
keyHint,
|
|
833
869
|
keyText,
|
|
870
|
+
latestTuiSession,
|
|
871
|
+
listHandoffCandidates,
|
|
872
|
+
listRegisteredSessionPaths,
|
|
834
873
|
loadProjectContextFiles,
|
|
835
874
|
loadSkills,
|
|
836
875
|
loadSkillsFromDir,
|
|
837
876
|
main,
|
|
877
|
+
markSessionHandoff,
|
|
838
878
|
migrateSessionEntries,
|
|
839
879
|
parseArgs,
|
|
840
880
|
parseFrontmatter,
|
|
@@ -843,7 +883,10 @@ export {
|
|
|
843
883
|
prepareBranchEntries,
|
|
844
884
|
rawKeyHint,
|
|
845
885
|
readStoredCredential,
|
|
886
|
+
recordTuiActivity,
|
|
887
|
+
registerTransferHandler,
|
|
846
888
|
renderDiff,
|
|
889
|
+
requestSessionTransfer,
|
|
847
890
|
resizeImage,
|
|
848
891
|
resolveCliModel,
|
|
849
892
|
resolveModelScopeWithDiagnostics,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
updateMetadataCache,
|
|
9
9
|
updateServerMetadata,
|
|
10
10
|
updateStatusBar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-EHMBW7FA.js";
|
|
13
|
-
import "./chunk-ARC4KOTI.js";
|
|
11
|
+
} from "./chunk-4SBQAI4T.js";
|
|
14
12
|
import "./chunk-LWJXTA6Z.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-4HXHDDCF.js";
|
|
13
|
+
import "./chunk-7IQGBKBJ.js";
|
|
17
14
|
import "./chunk-2IDTZAG5.js";
|
|
15
|
+
import "./chunk-LWYIVUGV.js";
|
|
16
|
+
import "./chunk-4HXHDDCF.js";
|
|
17
|
+
import "./chunk-ARC4KOTI.js";
|
|
18
18
|
import "./chunk-BI3DHYCN.js";
|
|
19
19
|
import "./chunk-Q4Q6D4IY.js";
|
|
20
20
|
import "./chunk-BRJX2PRC.js";
|
|
@@ -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));
|