@ashx-j/lunr 0.2.25 → 0.2.27
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 +31 -1
- package/LICENSE +22 -0
- package/dist/builtin-extensions/ashxj-thinking.d.ts +1 -1
- package/dist/builtin-extensions/ashxj-thinking.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-thinking.js +1 -1
- package/dist/builtin-extensions/ashxj-thinking.js.map +1 -1
- package/dist/builtin-extensions/ashxj-tui.d.ts +11 -1
- package/dist/builtin-extensions/ashxj-tui.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-tui.js +6 -10
- 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-computer-use.d.ts +3 -0
- package/dist/builtin-extensions/lunr-computer-use.d.ts.map +1 -0
- package/dist/builtin-extensions/lunr-computer-use.js +179 -0
- package/dist/builtin-extensions/lunr-computer-use.js.map +1 -0
- package/dist/builtin-extensions/lunr-cron.d.ts +4 -5
- package/dist/builtin-extensions/lunr-cron.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-cron.js +94 -108
- package/dist/builtin-extensions/lunr-cron.js.map +1 -1
- package/dist/builtin-extensions/lunr-local-providers/local-servers.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-local-providers/local-servers.js +3 -1
- package/dist/builtin-extensions/lunr-local-providers/local-servers.js.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/commands.d.ts.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/commands.js +2 -2
- package/dist/builtin-extensions/narumiruna-pi-goal/src/commands.js.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.d.ts.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.js +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.js.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/runtime.d.ts.map +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/runtime.js +1 -1
- package/dist/builtin-extensions/narumiruna-pi-goal/src/runtime.js.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.js +2 -2
- package/dist/builtin-extensions/pi-intercom/index.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/bemol-extension/index.d.ts +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/bemol-extension/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/bemol-extension/index.js +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/bemol-extension/index.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js +1 -15
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-client.d.ts +6 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-client.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-client.js +187 -132
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-client.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-manager.d.ts +8 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-manager.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-manager.js +142 -112
- package/dist/builtin-extensions/pi-lsp-extension/src/lsp-manager.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tools/code-rewrite.d.ts +12 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tools/code-rewrite.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tools/code-rewrite.js +14 -7
- package/dist/builtin-extensions/pi-lsp-extension/src/tools/code-rewrite.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/rewrite-engine.d.ts +11 -3
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/rewrite-engine.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/rewrite-engine.js +67 -41
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/rewrite-engine.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/search-engine.d.ts +4 -2
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/search-engine.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/search-engine.js +3 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/tree-sitter/search-engine.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/commands.d.ts +2 -1
- package/dist/builtin-extensions/pi-mcp-adapter/commands.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/commands.js +6 -6
- package/dist/builtin-extensions/pi-mcp-adapter/commands.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/config.d.ts +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/config.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/config.js +11 -5
- package/dist/builtin-extensions/pi-mcp-adapter/config.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.js +2 -2
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/host-html-template.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/host-html-template.js +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/host-html-template.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 +48 -40
- package/dist/builtin-extensions/pi-mcp-adapter/index.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.js +3 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-auth-flow.d.ts +12 -40
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-auth-flow.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-auth-flow.js +166 -235
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-auth-flow.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-callback-server.d.ts +5 -0
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-callback-server.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-callback-server.js +43 -13
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-callback-server.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-oauth-provider.d.ts +14 -3
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-oauth-provider.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-oauth-provider.js +73 -21
- package/dist/builtin-extensions/pi-mcp-adapter/mcp-oauth-provider.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/proxy-modes.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/proxy-modes.js +4 -4
- package/dist/builtin-extensions/pi-mcp-adapter/proxy-modes.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/server-manager.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/server-manager.js +2 -2
- package/dist/builtin-extensions/pi-mcp-adapter/server-manager.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/state.d.ts +2 -0
- package/dist/builtin-extensions/pi-mcp-adapter/state.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/state.js.map +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/index.d.ts +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/index.js +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/index.js.map +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/models.d.ts +11 -5
- package/dist/builtin-extensions/pi-ollama-cloud/models.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-ollama-cloud/models.js +12 -32
- package/dist/builtin-extensions/pi-ollama-cloud/models.js.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/index.js +5 -3
- package/dist/builtin-extensions/pi-prompt-template-model/index.js.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/prompt-loader.d.ts +2 -1
- package/dist/builtin-extensions/pi-prompt-template-model/prompt-loader.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/prompt-loader.js +21 -12
- package/dist/builtin-extensions/pi-prompt-template-model/prompt-loader.js.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/tool-manager.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-prompt-template-model/tool-manager.js +7 -24
- package/dist/builtin-extensions/pi-prompt-template-model/tool-manager.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js +39 -77
- 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 -4
- 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 -5
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/notify.d.ts +1 -1
- 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 +15 -31
- 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.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/result-watcher.js +7 -2
- 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 +1 -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 +21 -4
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-runner.js.map +1 -1
- 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 +11 -4
- 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 +121 -25
- 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 +25 -5
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/chain-outputs.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/chain-outputs.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/chain-outputs.js +5 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/chain-outputs.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 +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/model-fallback.d.ts +1 -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 +1 -1
- 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 +7 -8
- 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 +60 -32
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/parallel-utils.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/utils.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/utils.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/utils.js +15 -5
- package/dist/builtin-extensions/pi-subagents/src/shared/utils.js.map +1 -1
- 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 +4 -3
- package/dist/builtin-extensions/pi-subagents/src/slash/prompt-workflows.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts +2 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js +22 -11
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/review.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/review.js +3 -3
- package/dist/builtin-extensions/pi-subagents/src/watchdog/review.js.map +1 -1
- package/dist/builtin-extensions/pi-tps.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-tps.js +20 -17
- package/dist/builtin-extensions/pi-tps.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/activity.d.ts +1 -0
- package/dist/builtin-extensions/pi-web-access/activity.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/activity.js +27 -5
- package/dist/builtin-extensions/pi-web-access/activity.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/bounded-body.d.ts +3 -0
- package/dist/builtin-extensions/pi-web-access/bounded-body.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-web-access/bounded-body.js +43 -0
- package/dist/builtin-extensions/pi-web-access/bounded-body.js.map +1 -0
- package/dist/builtin-extensions/pi-web-access/content-page.d.ts +24 -0
- package/dist/builtin-extensions/pi-web-access/content-page.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-web-access/content-page.js +57 -0
- package/dist/builtin-extensions/pi-web-access/content-page.js.map +1 -0
- package/dist/builtin-extensions/pi-web-access/extract.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/extract.js +7 -2
- package/dist/builtin-extensions/pi-web-access/extract.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/github-extract.d.ts +0 -1
- package/dist/builtin-extensions/pi-web-access/github-extract.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/github-extract.js +147 -36
- package/dist/builtin-extensions/pi-web-access/github-extract.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 +48 -73
- package/dist/builtin-extensions/pi-web-access/index.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/session-cleanup.d.ts +12 -4
- package/dist/builtin-extensions/pi-web-access/session-cleanup.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/session-cleanup.js +35 -12
- package/dist/builtin-extensions/pi-web-access/session-cleanup.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/storage.d.ts +9 -6
- package/dist/builtin-extensions/pi-web-access/storage.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/storage.js +36 -24
- package/dist/builtin-extensions/pi-web-access/storage.js.map +1 -1
- package/dist/builtin-extensions/simple-pi-memory.d.ts +1 -1
- package/dist/builtin-extensions/simple-pi-memory.d.ts.map +1 -1
- package/dist/builtin-extensions/simple-pi-memory.js +1 -1
- package/dist/builtin-extensions/simple-pi-memory.js.map +1 -1
- package/dist/cli/install-cli.d.ts.map +1 -1
- package/dist/cli/install-cli.js +38 -30
- package/dist/cli/install-cli.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +13 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +75 -11
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session-services.d.ts +1 -0
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +1 -0
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/agent-session.d.ts +40 -6
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +309 -76
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/browser/runtime.d.ts +2 -0
- package/dist/core/browser/runtime.d.ts.map +1 -1
- package/dist/core/browser/runtime.js +80 -45
- package/dist/core/browser/runtime.js.map +1 -1
- package/dist/core/browser/setup.d.ts.map +1 -1
- package/dist/core/browser/setup.js +12 -1
- package/dist/core/browser/setup.js.map +1 -1
- package/dist/core/computer-use/adapter.d.ts +28 -0
- package/dist/core/computer-use/adapter.d.ts.map +1 -0
- package/dist/core/computer-use/adapter.js +138 -0
- package/dist/core/computer-use/adapter.js.map +1 -0
- 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 +84 -0
- package/dist/core/computer-use/image.js.map +1 -0
- package/dist/core/computer-use/lease.d.ts +18 -0
- package/dist/core/computer-use/lease.d.ts.map +1 -0
- package/dist/core/computer-use/lease.js +129 -0
- package/dist/core/computer-use/lease.js.map +1 -0
- package/dist/core/computer-use/macos-runtime.d.ts +14 -0
- package/dist/core/computer-use/macos-runtime.d.ts.map +1 -0
- package/dist/core/computer-use/macos-runtime.js +148 -0
- package/dist/core/computer-use/macos-runtime.js.map +1 -0
- package/dist/core/computer-use/policy.d.ts +19 -0
- package/dist/core/computer-use/policy.d.ts.map +1 -0
- package/dist/core/computer-use/policy.js +67 -0
- package/dist/core/computer-use/policy.js.map +1 -0
- package/dist/core/computer-use/release.generated.d.ts +31 -0
- package/dist/core/computer-use/release.generated.d.ts.map +1 -0
- package/dist/core/computer-use/release.generated.js +36 -0
- package/dist/core/computer-use/release.generated.js.map +1 -0
- package/dist/core/computer-use/runtime.d.ts +13 -0
- package/dist/core/computer-use/runtime.d.ts.map +1 -0
- package/dist/core/computer-use/runtime.js +158 -0
- package/dist/core/computer-use/runtime.js.map +1 -0
- package/dist/core/computer-use/schemas.d.ts +100 -0
- package/dist/core/computer-use/schemas.d.ts.map +1 -0
- package/dist/core/computer-use/schemas.js +96 -0
- package/dist/core/computer-use/schemas.js.map +1 -0
- package/dist/core/computer-use/windows-desktop.d.ts +3 -0
- package/dist/core/computer-use/windows-desktop.d.ts.map +1 -0
- package/dist/core/computer-use/windows-desktop.js +48 -0
- package/dist/core/computer-use/windows-desktop.js.map +1 -0
- package/dist/core/computer-use/workflow.d.ts +38 -0
- package/dist/core/computer-use/workflow.d.ts.map +1 -0
- package/dist/core/computer-use/workflow.js +900 -0
- package/dist/core/computer-use/workflow.js.map +1 -0
- package/dist/core/cron/jobs.d.ts +26 -8
- package/dist/core/cron/jobs.d.ts.map +1 -1
- package/dist/core/cron/jobs.js +357 -232
- package/dist/core/cron/jobs.js.map +1 -1
- package/dist/core/cron/origin-context.d.ts +1 -0
- package/dist/core/cron/origin-context.d.ts.map +1 -1
- package/dist/core/cron/origin-context.js.map +1 -1
- package/dist/core/cron/scheduler.d.ts +22 -17
- package/dist/core/cron/scheduler.d.ts.map +1 -1
- package/dist/core/cron/scheduler.js +153 -73
- package/dist/core/cron/scheduler.js.map +1 -1
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/index.d.ts.map +1 -1
- package/dist/core/extensions/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 +8 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/types.d.ts +8 -0
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/footer-data-provider.d.ts +4 -0
- package/dist/core/footer-data-provider.d.ts.map +1 -1
- package/dist/core/footer-data-provider.js +22 -1
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/large-subagent-launch.d.ts +1 -1
- package/dist/core/large-subagent-launch.d.ts.map +1 -1
- package/dist/core/large-subagent-launch.js +7 -7
- package/dist/core/large-subagent-launch.js.map +1 -1
- package/dist/core/model-registry.d.ts +2 -0
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +5 -0
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-runtime.d.ts +4 -1
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +40 -4
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/permissions.d.ts +4 -4
- package/dist/core/permissions.d.ts.map +1 -1
- package/dist/core/permissions.js +25 -38
- package/dist/core/permissions.js.map +1 -1
- package/dist/core/plan-mode.d.ts +5 -13
- package/dist/core/plan-mode.d.ts.map +1 -1
- package/dist/core/plan-mode.js +135 -116
- package/dist/core/plan-mode.js.map +1 -1
- package/dist/core/project-trust.d.ts.map +1 -1
- package/dist/core/project-trust.js +1 -1
- package/dist/core/project-trust.js.map +1 -1
- package/dist/core/prompt-resource-bridge.d.ts +12 -0
- package/dist/core/prompt-resource-bridge.d.ts.map +1 -0
- package/dist/core/prompt-resource-bridge.js +9 -0
- package/dist/core/prompt-resource-bridge.js.map +1 -0
- package/dist/core/protected-targets.d.ts +6 -0
- package/dist/core/protected-targets.d.ts.map +1 -0
- package/dist/core/protected-targets.js +45 -0
- package/dist/core/protected-targets.js.map +1 -0
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +7 -0
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/rollback.d.ts +19 -3
- package/dist/core/rollback.d.ts.map +1 -1
- package/dist/core/rollback.js +172 -56
- package/dist/core/rollback.js.map +1 -1
- package/dist/core/runtime-credentials.d.ts +3 -0
- package/dist/core/runtime-credentials.d.ts.map +1 -1
- package/dist/core/runtime-credentials.js +14 -1
- package/dist/core/runtime-credentials.js.map +1 -1
- package/dist/core/sdk.d.ts +3 -0
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +1 -0
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager.d.ts +6 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +95 -32
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/session-ownership.d.ts.map +1 -1
- package/dist/core/session-ownership.js +8 -3
- package/dist/core/session-ownership.js.map +1 -1
- package/dist/core/session-retention.d.ts.map +1 -1
- package/dist/core/session-retention.js +18 -7
- package/dist/core/session-retention.js.map +1 -1
- package/dist/core/session-startup-settings.d.ts +10 -0
- package/dist/core/session-startup-settings.d.ts.map +1 -0
- package/dist/core/session-startup-settings.js +70 -0
- package/dist/core/session-startup-settings.js.map +1 -0
- package/dist/core/settings-manager.d.ts +6 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +19 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/subagent-event-transport.d.ts +3 -0
- package/dist/core/subagent-event-transport.d.ts.map +1 -0
- package/dist/core/subagent-event-transport.js +61 -0
- package/dist/core/subagent-event-transport.js.map +1 -0
- package/dist/core/subscriptions.d.ts +16 -7
- package/dist/core/subscriptions.d.ts.map +1 -1
- package/dist/core/subscriptions.js +96 -55
- package/dist/core/subscriptions.js.map +1 -1
- package/dist/core/trust-manager.d.ts +2 -1
- package/dist/core/trust-manager.d.ts.map +1 -1
- package/dist/core/trust-manager.js +6 -1
- package/dist/core/trust-manager.js.map +1 -1
- package/dist/core/update-check.d.ts.map +1 -1
- package/dist/core/update-check.js.map +1 -1
- package/dist/core/usage-adapters/kimi-coding.d.ts +2 -2
- package/dist/core/usage-adapters/kimi-coding.d.ts.map +1 -1
- package/dist/core/usage-adapters/kimi-coding.js +2 -2
- package/dist/core/usage-adapters/kimi-coding.js.map +1 -1
- package/dist/core/usage-adapters/openai-codex.d.ts +3 -2
- package/dist/core/usage-adapters/openai-codex.d.ts.map +1 -1
- package/dist/core/usage-adapters/openai-codex.js +3 -3
- package/dist/core/usage-adapters/openai-codex.js.map +1 -1
- package/dist/core/usage-adapters/xai.d.ts +2 -2
- package/dist/core/usage-adapters/xai.d.ts.map +1 -1
- package/dist/core/usage-adapters/xai.js +3 -3
- package/dist/core/usage-adapters/xai.js.map +1 -1
- package/dist/core/usage-adapters/zai.d.ts +2 -2
- package/dist/core/usage-adapters/zai.d.ts.map +1 -1
- package/dist/core/usage-adapters/zai.js +2 -2
- package/dist/core/usage-adapters/zai.js.map +1 -1
- package/dist/core/usage-service.d.ts +9 -2
- package/dist/core/usage-service.d.ts.map +1 -1
- package/dist/core/usage-service.js +95 -50
- package/dist/core/usage-service.js.map +1 -1
- package/dist/gateway/adapters/discord.d.ts.map +1 -1
- package/dist/gateway/adapters/discord.js +2 -2
- package/dist/gateway/adapters/discord.js.map +1 -1
- package/dist/gateway/agent-bridge.d.ts +9 -1
- package/dist/gateway/agent-bridge.d.ts.map +1 -1
- package/dist/gateway/agent-bridge.js +91 -37
- package/dist/gateway/agent-bridge.js.map +1 -1
- package/dist/gateway/approval.d.ts.map +1 -1
- package/dist/gateway/approval.js +3 -3
- package/dist/gateway/approval.js.map +1 -1
- package/dist/gateway/authz.d.ts +4 -4
- package/dist/gateway/authz.d.ts.map +1 -1
- package/dist/gateway/authz.js +8 -12
- package/dist/gateway/authz.js.map +1 -1
- package/dist/gateway/buttons.d.ts +8 -1
- package/dist/gateway/buttons.d.ts.map +1 -1
- package/dist/gateway/buttons.js +76 -18
- package/dist/gateway/buttons.js.map +1 -1
- package/dist/gateway/commands.d.ts +1 -0
- package/dist/gateway/commands.d.ts.map +1 -1
- package/dist/gateway/commands.js +12 -10
- package/dist/gateway/commands.js.map +1 -1
- package/dist/gateway/cron.d.ts +12 -11
- package/dist/gateway/cron.d.ts.map +1 -1
- package/dist/gateway/cron.js +85 -62
- package/dist/gateway/cron.js.map +1 -1
- package/dist/gateway/index.d.ts.map +1 -1
- package/dist/gateway/index.js +5 -4
- package/dist/gateway/index.js.map +1 -1
- package/dist/gateway/mobile-commands.d.ts +1 -0
- package/dist/gateway/mobile-commands.d.ts.map +1 -1
- package/dist/gateway/mobile-commands.js +64 -22
- package/dist/gateway/mobile-commands.js.map +1 -1
- package/dist/gateway/presenter.d.ts +12 -2
- package/dist/gateway/presenter.d.ts.map +1 -1
- package/dist/gateway/presenter.js +74 -39
- package/dist/gateway/presenter.js.map +1 -1
- package/dist/gateway/router.d.ts +2 -2
- package/dist/gateway/router.d.ts.map +1 -1
- package/dist/gateway/router.js +22 -9
- package/dist/gateway/router.js.map +1 -1
- package/dist/gateway/service.d.ts +2 -0
- package/dist/gateway/service.d.ts.map +1 -1
- package/dist/gateway/service.js +153 -0
- package/dist/gateway/service.js.map +1 -1
- package/dist/gateway/setup.d.ts.map +1 -1
- package/dist/gateway/setup.js +6 -4
- package/dist/gateway/setup.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +86 -33
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +6 -4
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/copyable-text.d.ts.map +1 -1
- package/dist/modes/interactive/components/copyable-text.js +3 -2
- package/dist/modes/interactive/components/copyable-text.js.map +1 -1
- package/dist/modes/interactive/components/extension-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/extension-editor.js +1 -1
- package/dist/modes/interactive/components/extension-editor.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +4 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +20 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +2 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +104 -109
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/smooth-streaming.d.ts.map +1 -1
- package/dist/modes/interactive/smooth-streaming.js.map +1 -1
- package/dist/modes/print-mode.d.ts.map +1 -1
- package/dist/modes/print-mode.js +9 -1
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
- package/dist/modes/rpc/rpc-mode.js +2 -1
- package/dist/modes/rpc/rpc-mode.js.map +1 -1
- package/dist/node-runtime/adapter-247RTYLS.js +16 -0
- package/dist/node-runtime/agent-session-services-KDMSPQDY.js +53 -0
- package/dist/node-runtime/{brave-UWDA3I22.js → brave-2AFFAXNN.js} +1 -1
- package/dist/node-runtime/{builtin-extensions-ZLAX7TUH.js → builtin-extensions-OX6KELNX.js} +9 -7
- package/dist/node-runtime/{chunk-QH6YL7VK.js → chunk-252ZVPPF.js} +3 -3
- package/dist/node-runtime/{chunk-PCEW76PM.js → chunk-2OIPYKLZ.js} +6 -6
- package/dist/node-runtime/{chunk-XBWPBZBN.js → chunk-2SWW7KMW.js} +1 -1
- package/dist/node-runtime/{chunk-UQUCFAJ3.js → chunk-2VIW3IMF.js} +40 -7
- package/dist/node-runtime/{chunk-UOEDI7RP.js → chunk-4KNKQGHM.js} +2 -2
- package/dist/node-runtime/{chunk-FQMM2EZ2.js → chunk-64XTQNLA.js} +29 -7
- package/dist/node-runtime/{chunk-NRKGMJYU.js → chunk-6O3IW3IA.js} +2 -2
- package/dist/node-runtime/{chunk-5ZQXRPMC.js → chunk-6ZZHGUSA.js} +2 -2
- package/dist/node-runtime/chunk-A2WO6WIN.js +1197 -0
- package/dist/node-runtime/{chunk-ZXSGTGJ6.js → chunk-APVM5NEU.js} +169 -148
- package/dist/node-runtime/{chunk-RC7DMV45.js → chunk-AYHH7YSD.js} +205 -144
- package/dist/node-runtime/{chunk-LWYIVUGV.js → chunk-B2IBAXNX.js} +48 -31
- package/dist/node-runtime/{chunk-M3LZLQW2.js → chunk-BDRGN3L2.js} +1 -0
- package/dist/node-runtime/{chunk-GJ2RDBRL.js → chunk-BYC6RKCN.js} +4 -2
- package/dist/node-runtime/{chunk-KWIYUUZK.js → chunk-C3P6Q3B2.js} +469 -283
- package/dist/node-runtime/{chunk-YCUZEGJG.js → chunk-DQSCFU7R.js} +17 -8
- package/dist/node-runtime/chunk-EBLAZVSA.js +4170 -0
- package/dist/node-runtime/{chunk-2KIPT4HJ.js → chunk-EPR2F3GU.js} +68 -20
- package/dist/node-runtime/{chunk-CSFI6YXL.js → chunk-ES6PBSIE.js} +1 -1
- package/dist/node-runtime/{chunk-IF24A3FH.js → chunk-EVM653DD.js} +4 -4
- package/dist/node-runtime/{chunk-HTFRRDSF.js → chunk-F2SMQ6ES.js} +3 -2
- package/dist/node-runtime/chunk-F2V2F4ZG.js +114 -0
- package/dist/node-runtime/chunk-FE3WZI7F.js +290 -0
- package/dist/node-runtime/{chunk-GYIXXQAO.js → chunk-FIRA54AC.js} +2 -5
- package/dist/node-runtime/{chunk-6VYZ5UFP.js → chunk-FLGEEH27.js} +1 -1
- package/dist/node-runtime/{chunk-5EFIU3OM.js → chunk-FTKEZL27.js} +1 -1
- package/dist/node-runtime/chunk-FY4A63RK.js +73 -0
- package/dist/node-runtime/chunk-FYIFPFXE.js +98 -0
- package/dist/node-runtime/{chunk-HMBGROQK.js → chunk-GLDXBBL6.js} +3 -3
- package/dist/node-runtime/{chunk-KWA4OC2J.js → chunk-H6YBCWKG.js} +1 -1
- package/dist/node-runtime/{chunk-2MI5OPMN.js → chunk-HNNHHJAB.js} +68 -50
- package/dist/node-runtime/{chunk-6XL67VVY.js → chunk-HUD2RFJW.js} +17 -2
- package/dist/node-runtime/{chunk-I54LGHWM.js → chunk-I2H5QMWW.js} +3 -3
- package/dist/node-runtime/chunk-IAZSK7KK.js +108 -0
- package/dist/node-runtime/{chunk-2HHLJWGD.js → chunk-IHHTWSXN.js} +9 -9
- package/dist/node-runtime/{chunk-DAPBPCBP.js → chunk-IPP5BIV5.js} +25 -3
- package/dist/node-runtime/{chunk-QFWG2RVL.js → chunk-IXG6F4NT.js} +11 -0
- package/dist/node-runtime/{chunk-RDDAZOMU.js → chunk-JL4HYQXK.js} +1 -1
- package/dist/node-runtime/{chunk-CDVHZOOK.js → chunk-JQYNHAKX.js} +1 -1
- package/dist/node-runtime/{chunk-WF7PGWRZ.js → chunk-JWEVT363.js} +37 -28
- package/dist/node-runtime/{chunk-2HMIRK7W.js → chunk-LHV3V67B.js} +5 -5
- package/dist/node-runtime/{chunk-UAEOTO52.js → chunk-MNQXDFPV.js} +6 -2
- package/dist/node-runtime/{chunk-IJIFHRTB.js → chunk-MQPKUHRN.js} +165 -85
- package/dist/node-runtime/{chunk-MPKSOJBT.js → chunk-NHATCSOI.js} +4 -7
- package/dist/node-runtime/{chunk-RMQZU2YU.js → chunk-NNNR3QIY.js} +1 -1
- package/dist/node-runtime/{chunk-RWTKOC3B.js → chunk-QBTJG3UM.js} +1 -1
- package/dist/node-runtime/{chunk-E4D3IGP2.js → chunk-QNVMKNNN.js} +20 -17
- package/dist/node-runtime/{chunk-GS42T6MX.js → chunk-QW3AAHWN.js} +1 -1
- package/dist/node-runtime/{chunk-7S3T6YEA.js → chunk-R4WSB2MQ.js} +5 -5
- package/dist/node-runtime/{chunk-B4HP6ZWM.js → chunk-RHCGYWO7.js} +1 -1
- package/dist/node-runtime/{chunk-3XPLBUEM.js → chunk-RLGY2QIL.js} +49 -59
- package/dist/node-runtime/{chunk-KKUTQQV7.js → chunk-RYRGL7P4.js} +1 -1
- package/dist/node-runtime/{chunk-AD6VXAO7.js → chunk-TCT6PCUR.js} +47 -115
- package/dist/node-runtime/chunk-U5F4IC7R.js +53 -0
- package/dist/node-runtime/{chunk-OCVIXVTZ.js → chunk-UBWW2PID.js} +13 -2
- package/dist/node-runtime/{chunk-HFVZUPFJ.js → chunk-UNUZICC4.js} +3 -3
- package/dist/node-runtime/{chunk-LQP3RB67.js → chunk-UYRKUKFE.js} +1 -1
- package/dist/node-runtime/{chunk-DSIKTUPW.js → chunk-VSUEAI7O.js} +2993 -3820
- package/dist/node-runtime/{chunk-NAY6UUQZ.js → chunk-WDIVLMOH.js} +1 -1
- package/dist/node-runtime/{chunk-E24EO34J.js → chunk-WPXUR3HE.js} +1 -1
- package/dist/node-runtime/{chunk-SLVOAQOY.js → chunk-WXYNALHD.js} +113 -1
- package/dist/node-runtime/{chunk-KJ6DWS3K.js → chunk-XEOCUEUJ.js} +121 -60
- package/dist/node-runtime/chunk-YD3IZAZ7.js +47 -0
- package/dist/node-runtime/chunk-YSB6URMT.js +41 -0
- package/dist/node-runtime/{chunk-VQFSUJJG.js → chunk-ZDJUR45D.js} +430 -129
- package/dist/node-runtime/{chunk-YDO2F2IA.js → chunk-ZEVFBFNF.js} +95 -142
- package/dist/node-runtime/chunk-ZIQUS5QO.js +180 -0
- package/dist/node-runtime/cli-runtime.js +4 -4
- package/dist/node-runtime/{command-6WDOYKS6.js → command-3HMSY6W2.js} +5 -5
- package/dist/node-runtime/{commands-NZLSOHPE.js → commands-D6A6H4TS.js} +11 -16
- package/dist/node-runtime/commands-OCSSEEWJ.js +37 -0
- package/dist/node-runtime/{config-QDD5PUE2.js → config-CU7M7BTK.js} +1 -1
- package/dist/node-runtime/{config-D4QUPAHX.js → config-DS7XLMEM.js} +2 -2
- package/dist/node-runtime/{direct-tool-executor-77GW4F5P.js → direct-tool-executor-2QJXVQD2.js} +8 -10
- package/dist/node-runtime/{exa-LL64QZR2.js → exa-6VBZNPGE.js} +1 -1
- package/dist/node-runtime/{export-html-VM4J2MNR.js → export-html-BRWF5AHI.js} +4 -4
- package/dist/node-runtime/{extension-input-E7BJZ35H.js → extension-input-VBBMX7YV.js} +5 -5
- package/dist/node-runtime/{extension-selector-WU42XDTU.js → extension-selector-T5AOG5XB.js} +5 -5
- package/dist/node-runtime/{extract-EQJE7FZZ.js → extract-BFX2N35A.js} +3 -3
- package/dist/node-runtime/{gateway-INAYBF4Q.js → gateway-6623C2U3.js} +61 -53
- package/dist/node-runtime/{gemini-search-35OCRFLN.js → gemini-search-C66QHDT6.js} +2 -2
- package/dist/node-runtime/{gemini-url-context-UQY3PHHW.js → gemini-url-context-T7DEK73R.js} +3 -3
- package/dist/node-runtime/{github-extract-F64RZOEA.js → github-extract-HOGE3D6F.js} +107 -38
- package/dist/node-runtime/{goal-NJEE5CTU.js → goal-AIHEDUYA.js} +5 -5
- package/dist/node-runtime/index.js +54 -48
- package/dist/node-runtime/{init-HS6NQXSK.js → init-JBQJIPYI.js} +3 -4
- package/dist/node-runtime/{install-cli-KL4UDDAD.js → install-cli-INGHIVBY.js} +30 -25
- package/dist/node-runtime/interactive-mode-FM5DNUSW.js +74 -0
- package/dist/node-runtime/{interactive-view-NGFAMHPW.js → interactive-view-K33PM4OS.js} +8 -8
- package/dist/node-runtime/{lsp-manager-3ASUSO4T.js → lsp-manager-S554V5HR.js} +240 -155
- package/dist/node-runtime/{lunr-browser-IR7TL3J7.js → lunr-browser-H4FDOR3C.js} +7 -7
- package/dist/node-runtime/lunr-computer-use-VDP2QNRQ.js +158 -0
- package/dist/node-runtime/{lunr-cron-LWIZJM2N.js → lunr-cron-LKVA5CZZ.js} +94 -79
- package/dist/node-runtime/main.js +42 -39
- package/dist/node-runtime/{mobile-commands-J7OJEKFO.js → mobile-commands-XT3NQXLD.js} +13 -12
- package/dist/node-runtime/{model-runtime-OO5HFLWE.js → model-runtime-MZ2JMDV4.js} +4 -4
- package/dist/node-runtime/{openai-search-B3MSNCQA.js → openai-search-K72LJDYN.js} +1 -1
- package/dist/node-runtime/{package-manager-cli-VYZM5WHN.js → package-manager-cli-CYM262SI.js} +20 -19
- package/dist/node-runtime/{parallel-AI2MNSCU.js → parallel-X724NCNU.js} +1 -1
- package/dist/node-runtime/{perplexity-QVJW3I35.js → perplexity-RDHQHVMK.js} +2 -2
- package/dist/node-runtime/{pi-intercom-QM53RLTS.js → pi-intercom-NHHEPBMI.js} +2 -2
- package/dist/node-runtime/{pi-mcp-adapter-5UKBZP44.js → pi-mcp-adapter-PP3GQJQ2.js} +98 -94
- package/dist/node-runtime/{pi-ollama-cloud-2F3Y2QNM.js → pi-ollama-cloud-4MNWIMFN.js} +11 -24
- package/dist/node-runtime/{pi-prompt-template-model-QWTCGLJU.js → pi-prompt-template-model-FTGELLS5.js} +32 -36
- package/dist/node-runtime/{pi-subagents-DNY7EAIG.js → pi-subagents-LT3CTO4E.js} +114 -116
- package/dist/node-runtime/{pi-web-access-WTGMNZ32.js → pi-web-access-Z3LP246C.js} +144 -108
- package/dist/node-runtime/{print-mode-XSFM26EL.js → print-mode-2XHN5SUA.js} +4 -3
- package/dist/node-runtime/{process-registry-4FAKZQOL.js → process-registry-Q4QWIU33.js} +3 -3
- package/dist/node-runtime/{proxy-modes-LGEUYD7R.js → proxy-modes-VEGC6QG5.js} +9 -13
- package/dist/node-runtime/rpc-entry.js +42 -39
- package/dist/node-runtime/{rpc-mode-O3XV4SID.js → rpc-mode-32DHJPEJ.js} +4 -4
- package/dist/node-runtime/{runtime-4VA6JKNF.js → runtime-EDUUGAQD.js} +56 -46
- package/dist/node-runtime/runtime-UGXM4NPQ.js +21 -0
- package/dist/node-runtime/{runtime-bridges-VRDDR73P.js → runtime-bridges-DNKMNJCF.js} +8 -7
- package/dist/node-runtime/{service-MDQIPQ26.js → service-IHLGFLBT.js} +6 -4
- package/dist/node-runtime/{session-handoff-GWARVEWT.js → session-handoff-LNSPDTKY.js} +4 -4
- package/dist/node-runtime/{session-manager-JB5J6XBN.js → session-manager-YIFIAVGC.js} +3 -3
- package/dist/node-runtime/{session-selector-GIM4DHQ2.js → session-selector-I73U3EIO.js} +7 -7
- package/dist/node-runtime/{settings-manager-J4SPQPDJ.js → settings-manager-P2TKGYTR.js} +6 -5
- package/dist/node-runtime/{setup-JBKOLJ6F.js → setup-H7CCELIL.js} +15 -1
- package/dist/node-runtime/{setup-CQ2NLVK5.js → setup-OLQ4GXWS.js} +22 -21
- package/dist/node-runtime/{src-IVPNZ2BX.js → src-6RV4PXKJ.js} +64 -36
- package/dist/node-runtime/{subagent-executor-KZZQGAKV.js → subagent-executor-Q5F7DBVM.js} +141 -62
- package/dist/node-runtime/{tavily-WEZFVFP7.js → tavily-KZBFYQB6.js} +1 -1
- package/dist/node-runtime/{theme-UOO5RVFN.js → theme-YLVZKKZD.js} +2 -2
- package/dist/node-runtime/{trust-manager-MMISNCYO.js → trust-manager-ZCU76D23.js} +2 -2
- package/dist/node-runtime/{update-cli-GTFJC7XK.js → update-cli-F3XXJANQ.js} +7 -6
- package/dist/node-runtime/{usage-service-LFB2SWYV.js → usage-service-CPAGBED5.js} +1 -1
- package/dist/node-runtime/{video-extract-OOZHR7SU.js → video-extract-UPKYIBW3.js} +3 -3
- package/dist/node-runtime/workflow-ICDI4N3J.js +767 -0
- package/dist/node-runtime/{youtube-extract-FNPAUNHU.js → youtube-extract-77NT7FWH.js} +4 -4
- package/dist/utils/clipboard-image.d.ts.map +1 -1
- package/dist/utils/clipboard-image.js.map +1 -1
- package/dist/utils/exif-orientation.d.ts.map +1 -1
- package/dist/utils/exif-orientation.js +25 -10
- package/dist/utils/exif-orientation.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 +12 -0
- package/dist/utils/image-resize-core.js.map +1 -1
- package/dist/utils/paths.d.ts +4 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +33 -2
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/sanitize-terminal-text.d.ts +7 -0
- package/dist/utils/sanitize-terminal-text.d.ts.map +1 -0
- package/dist/utils/sanitize-terminal-text.js +67 -0
- package/dist/utils/sanitize-terminal-text.js.map +1 -0
- package/docs/browser.md +1 -1
- package/docs/computer-use.md +362 -0
- package/docs/custom-provider.md +3 -3
- package/docs/extensions.md +8 -4
- package/docs/features.md +22 -12
- package/docs/keybindings.md +1 -1
- package/docs/models.md +5 -5
- package/docs/packages.md +1 -1
- package/docs/providers.md +2 -2
- package/docs/rpc.md +7 -7
- package/docs/security.md +10 -5
- package/docs/sessions.md +2 -2
- package/docs/skills.md +1 -1
- package/docs/terminal-setup.md +7 -7
- package/docs/themes.md +1 -1
- package/docs/usage.md +1 -1
- package/examples/extensions/auto-commit-on-exit.ts +1 -1
- package/examples/extensions/bash-spawn-hook.ts +1 -1
- package/examples/extensions/built-in-tool-renderer.ts +1 -1
- package/examples/extensions/claude-rules.ts +1 -1
- package/examples/extensions/commands.ts +1 -1
- package/examples/extensions/custom-compaction.ts +1 -1
- package/examples/extensions/custom-provider-anthropic/index.ts +3 -3
- 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/index.ts +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/doom-overlay/index.ts +1 -1
- package/examples/extensions/git-merge-and-resolve.ts +2 -2
- package/examples/extensions/gondolin/index.ts +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/hidden-thinking-label.ts +1 -1
- package/examples/extensions/inline-bash.ts +2 -2
- package/examples/extensions/input-transform-streaming.ts +2 -2
- package/examples/extensions/input-transform.ts +2 -2
- package/examples/extensions/interactive-shell.ts +1 -1
- package/examples/extensions/kimi-deferred-tools.ts +1 -1
- package/examples/extensions/mac-system-theme.ts +1 -1
- package/examples/extensions/minimal-mode.ts +1 -1
- package/examples/extensions/modal-editor.ts +1 -1
- package/examples/extensions/model-status.ts +1 -1
- package/examples/extensions/notify.ts +3 -3
- package/examples/extensions/overlay-qa-tests.ts +1 -1
- package/examples/extensions/overlay-test.ts +1 -1
- package/examples/extensions/pirate.ts +1 -1
- package/examples/extensions/preset.ts +3 -3
- package/examples/extensions/project-trust.ts +4 -4
- package/examples/extensions/prompt-customizer.ts +1 -1
- package/examples/extensions/rainbow-editor.ts +1 -1
- package/examples/extensions/rpc-demo.ts +1 -1
- package/examples/extensions/sandbox/index.ts +7 -7
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/shutdown-command.ts +5 -5
- package/examples/extensions/ssh.ts +2 -2
- package/examples/extensions/subagent/README.md +3 -3
- package/examples/extensions/subagent/index.ts +2 -2
- package/examples/extensions/titlebar-spinner.ts +1 -1
- package/examples/extensions/tool-override.ts +1 -1
- package/examples/extensions/tools.ts +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/examples/extensions/working-indicator.ts +1 -1
- package/examples/extensions/working-message-test.ts +1 -1
- package/examples/sdk/01-minimal.ts +1 -1
- package/examples/sdk/03-custom-prompt.ts +1 -1
- package/examples/sdk/04-skills.ts +1 -1
- package/examples/sdk/06-extensions.ts +2 -2
- package/examples/sdk/08-prompt-templates.ts +1 -1
- package/install-lock/package-lock.json +3841 -0
- package/install-lock/package.json +18 -0
- package/native/computer-use/LICENSE.md +21 -0
- package/npm-shrinkwrap.json +3858 -0
- package/package.json +15 -9
- package/dist/modes/interactive/components/exit-card.d.ts +0 -22
- package/dist/modes/interactive/components/exit-card.d.ts.map +0 -1
- package/dist/modes/interactive/components/exit-card.js +0 -69
- package/dist/modes/interactive/components/exit-card.js.map +0 -1
- package/dist/node-runtime/agent-session-services-YXXFCP5J.js +0 -49
- package/dist/node-runtime/chunk-4HXHDDCF.js +0 -16
- package/dist/node-runtime/chunk-4TLO4PO2.js +0 -3427
- package/dist/node-runtime/chunk-AUXVGBO4.js +0 -19
- package/dist/node-runtime/chunk-OVX6X377.js +0 -50
- package/dist/node-runtime/chunk-QTU6AKNJ.js +0 -773
- package/dist/node-runtime/chunk-TORR5XBV.js +0 -356
- package/dist/node-runtime/commands-QC6VUZJQ.js +0 -36
- package/dist/node-runtime/interactive-mode-Z5M7WYYZ.js +0 -72
- package/dist/node-runtime/mcp-auth-flow-QIXHW6QN.js +0 -32
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
getWebSession
|
|
4
|
+
} from "./chunk-YD3IZAZ7.js";
|
|
5
5
|
import {
|
|
6
6
|
activityMonitor
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IPP5BIV5.js";
|
|
8
8
|
import {
|
|
9
9
|
getWebSearchConfigPath
|
|
10
10
|
} from "./chunk-VRB2IYGG.js";
|
|
@@ -217,7 +217,47 @@ var CONFIG_PATH = getWebSearchConfigPath(), BINARY_EXTENSIONS = /* @__PURE__ */
|
|
|
217
217
|
".gradle",
|
|
218
218
|
".idea",
|
|
219
219
|
".vscode"
|
|
220
|
-
]), MAX_INLINE_FILE_CHARS2 = 1e5, MAX_TREE_ENTRIES2 = 200, cloneCache = /* @__PURE__ */ new Map(),
|
|
220
|
+
]), MAX_INLINE_FILE_CHARS2 = 1e5, MAX_TREE_ENTRIES2 = 200, CLONE_TERMINATION_GRACE_MS = 1e3, CLONE_EXIT_CONFIRMATION_MS = 1e3, cloneCache = /* @__PURE__ */ new Map(), standaloneOwner = /* @__PURE__ */ Symbol("standalone clone caller");
|
|
221
|
+
function removeClone(key, entry) {
|
|
222
|
+
if (cloneCache.get(key) === entry) {
|
|
223
|
+
try {
|
|
224
|
+
rmSync(entry.localPath, { recursive: !0, force: !0 });
|
|
225
|
+
} catch {
|
|
226
|
+
}
|
|
227
|
+
cloneCache.delete(key), cloneCache.size === 0 && (cachedConfig = null);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
async function finishClone(key, entry) {
|
|
231
|
+
let deadline;
|
|
232
|
+
try {
|
|
233
|
+
await Promise.race([
|
|
234
|
+
entry.clonePromise.catch(() => {
|
|
235
|
+
}),
|
|
236
|
+
new Promise((_resolve, reject) => {
|
|
237
|
+
deadline = setTimeout(() => reject(new Error("GitHub clone cleanup could not confirm command completion after termination; clone retained until completion")), CLONE_TERMINATION_GRACE_MS + CLONE_EXIT_CONFIRMATION_MS);
|
|
238
|
+
})
|
|
239
|
+
]);
|
|
240
|
+
} catch (error) {
|
|
241
|
+
throw entry.clonePromise.catch(() => {
|
|
242
|
+
}).then(() => removeClone(key, entry)), error;
|
|
243
|
+
} finally {
|
|
244
|
+
clearTimeout(deadline);
|
|
245
|
+
}
|
|
246
|
+
removeClone(key, entry);
|
|
247
|
+
}
|
|
248
|
+
function acquireClone(key, entry) {
|
|
249
|
+
let owner = getWebSession() ?? standaloneOwner;
|
|
250
|
+
if (typeof owner != "symbol" && owner.closed)
|
|
251
|
+
throw new Error("Web session closed");
|
|
252
|
+
entry.owners.has(owner) || (entry.owners.add(owner), typeof owner != "symbol" && owner.cleanups.add(async () => {
|
|
253
|
+
entry.owners.delete(owner), !(entry.owners.size > 0) && (entry.controller.abort(), entry.cleanup = finishClone(key, entry), await entry.cleanup);
|
|
254
|
+
}));
|
|
255
|
+
}
|
|
256
|
+
async function findClone(key) {
|
|
257
|
+
let entry = cloneCache.get(key);
|
|
258
|
+
return entry?.cleanup ? (await entry.cleanup, findClone(key)) : (entry && !getWebSession()?.closed && acquireClone(key, entry), entry);
|
|
259
|
+
}
|
|
260
|
+
var cachedConfig = null;
|
|
221
261
|
function normalizeEnabled(value, fallback) {
|
|
222
262
|
return typeof value == "boolean" ? value : fallback;
|
|
223
263
|
}
|
|
@@ -332,22 +372,36 @@ function cloneDir(config, owner, repo, ref) {
|
|
|
332
372
|
return join(config.clonePath, owner, dirName);
|
|
333
373
|
}
|
|
334
374
|
function execClone(args, localPath, timeoutMs, signal) {
|
|
335
|
-
return new Promise((resolve) => {
|
|
336
|
-
let child = execFile2(args[0], args.slice(1), {
|
|
337
|
-
|
|
375
|
+
return signal?.aborted ? Promise.resolve(null) : new Promise((resolve) => {
|
|
376
|
+
let failed = !1, exited = !1, closed = !1, stopping = !1, escalation, child = execFile2(args[0], args.slice(1), {}, (err) => {
|
|
377
|
+
failed = !!err;
|
|
378
|
+
}), stop = () => {
|
|
379
|
+
if (!(stopping || closed)) {
|
|
380
|
+
stopping = !0, escalation = setTimeout(() => {
|
|
381
|
+
try {
|
|
382
|
+
child.kill("SIGKILL");
|
|
383
|
+
} catch {
|
|
384
|
+
}
|
|
385
|
+
}, CLONE_TERMINATION_GRACE_MS);
|
|
338
386
|
try {
|
|
339
|
-
|
|
387
|
+
child.kill("SIGTERM");
|
|
340
388
|
} catch {
|
|
341
389
|
}
|
|
342
|
-
resolve(null);
|
|
343
|
-
return;
|
|
344
390
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
391
|
+
}, timeout = setTimeout(stop, timeoutMs);
|
|
392
|
+
child.once("exit", () => {
|
|
393
|
+
exited = !0;
|
|
394
|
+
}), child.once("close", () => {
|
|
395
|
+
if (!(child.pid && !exited))
|
|
396
|
+
if (closed = !0, clearTimeout(timeout), clearTimeout(escalation), signal?.removeEventListener("abort", stop), failed || stopping) {
|
|
397
|
+
try {
|
|
398
|
+
rmSync(localPath, { recursive: !0, force: !0 });
|
|
399
|
+
} catch {
|
|
400
|
+
}
|
|
401
|
+
resolve(null);
|
|
402
|
+
} else
|
|
403
|
+
resolve(localPath);
|
|
404
|
+
}), signal?.addEventListener("abort", stop, { once: !0 });
|
|
351
405
|
});
|
|
352
406
|
}
|
|
353
407
|
async function cloneRepo(owner, repo, ref, config, signal) {
|
|
@@ -356,8 +410,10 @@ async function cloneRepo(owner, repo, ref, config, signal) {
|
|
|
356
410
|
rmSync(localPath, { recursive: !0, force: !0 });
|
|
357
411
|
} catch {
|
|
358
412
|
}
|
|
359
|
-
let timeoutMs = config.cloneTimeoutSeconds * 1e3;
|
|
360
|
-
if (
|
|
413
|
+
let timeoutMs = config.cloneTimeoutSeconds * 1e3, hasGh = await checkGhAvailable();
|
|
414
|
+
if (signal?.aborted)
|
|
415
|
+
return null;
|
|
416
|
+
if (hasGh) {
|
|
361
417
|
let args2 = ["gh", "repo", "clone", `${owner}/${repo}`, localPath, "--", "--depth", "1", "--single-branch"];
|
|
362
418
|
return ref && args2.push("--branch", ref), execClone(args2, localPath, timeoutMs, signal);
|
|
363
419
|
}
|
|
@@ -542,11 +598,26 @@ function generateContent(localPath, info) {
|
|
|
542
598
|
return lines.join(`
|
|
543
599
|
`);
|
|
544
600
|
}
|
|
601
|
+
async function waitForClone(clone, signal) {
|
|
602
|
+
if (!signal)
|
|
603
|
+
return clone;
|
|
604
|
+
if (signal.aborted)
|
|
605
|
+
return null;
|
|
606
|
+
let onAbort = () => {
|
|
607
|
+
}, cancelled = new Promise((resolve) => {
|
|
608
|
+
onAbort = () => resolve(null), signal.addEventListener("abort", onAbort, { once: !0 });
|
|
609
|
+
});
|
|
610
|
+
try {
|
|
611
|
+
return await Promise.race([clone, cancelled]);
|
|
612
|
+
} finally {
|
|
613
|
+
signal.removeEventListener("abort", onAbort);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
545
616
|
async function awaitCachedClone(cached, url, owner, repo, info, signal) {
|
|
546
617
|
if (signal?.aborted)
|
|
547
618
|
return null;
|
|
548
|
-
let result = await cached.clonePromise;
|
|
549
|
-
if (signal?.aborted)
|
|
619
|
+
let result = await waitForClone(cached.clonePromise, signal);
|
|
620
|
+
if (signal?.aborted || getWebSession()?.closed)
|
|
550
621
|
return null;
|
|
551
622
|
if (result) {
|
|
552
623
|
let content = generateContent(result, info), title = info.path ? `${owner}/${repo} - ${info.path}` : `${owner}/${repo}`;
|
|
@@ -561,7 +632,9 @@ async function extractGitHub(url, signal, forceClone) {
|
|
|
561
632
|
let config = loadGitHubConfig();
|
|
562
633
|
if (!config.enabled)
|
|
563
634
|
return null;
|
|
564
|
-
let { owner, repo } = info, key = cacheKey(owner, repo, info.ref), cached =
|
|
635
|
+
let { owner, repo } = info, key = cacheKey(owner, repo, info.ref), cached = await findClone(key);
|
|
636
|
+
if (signal?.aborted || getWebSession()?.closed)
|
|
637
|
+
return null;
|
|
565
638
|
if (cached)
|
|
566
639
|
return awaitCachedClone(cached, url, owner, repo, info, signal);
|
|
567
640
|
if (info.refIsFullSha)
|
|
@@ -583,18 +656,24 @@ async function extractGitHub(url, signal, forceClone) {
|
|
|
583
656
|
}
|
|
584
657
|
if (signal?.aborted)
|
|
585
658
|
return activityMonitor.logComplete(activityId, 0), null;
|
|
586
|
-
let cachedAfterSizeCheck =
|
|
659
|
+
let cachedAfterSizeCheck = await findClone(key);
|
|
660
|
+
for (; !cachedAfterSizeCheck && cloneCache.has(key); )
|
|
661
|
+
cachedAfterSizeCheck = await findClone(key);
|
|
662
|
+
if (signal?.aborted || getWebSession()?.closed)
|
|
663
|
+
return null;
|
|
587
664
|
if (cachedAfterSizeCheck) {
|
|
588
665
|
let cachedResult = await awaitCachedClone(cachedAfterSizeCheck, url, owner, repo, info, signal);
|
|
589
666
|
return signal?.aborted ? activityMonitor.logComplete(activityId, 0) : cachedResult ? activityMonitor.logComplete(activityId, 200) : activityMonitor.logError(activityId, "clone failed"), cachedResult;
|
|
590
667
|
}
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
let
|
|
594
|
-
|
|
595
|
-
|
|
668
|
+
if (signal?.aborted || getWebSession()?.closed)
|
|
669
|
+
return null;
|
|
670
|
+
let controller = new AbortController(), clonePromise = cloneRepo(owner, repo, info.ref, config, controller.signal), entry = { localPath: cloneDir(config, owner, repo, info.ref), clonePromise, controller, owners: /* @__PURE__ */ new Set() };
|
|
671
|
+
cloneCache.set(key, entry), acquireClone(key, entry);
|
|
672
|
+
let result = await waitForClone(clonePromise, signal);
|
|
673
|
+
if (signal?.aborted || getWebSession()?.closed)
|
|
674
|
+
return activityMonitor.logComplete(activityId, 0), null;
|
|
596
675
|
if (!result) {
|
|
597
|
-
if (cloneCache.delete(key), signal?.aborted)
|
|
676
|
+
if (cloneCache.get(key) === entry && cloneCache.delete(key), signal?.aborted)
|
|
598
677
|
return activityMonitor.logComplete(activityId, 0), null;
|
|
599
678
|
let apiFallback = await fetchViaApi(url, owner, repo, info);
|
|
600
679
|
return apiFallback ? (activityMonitor.logComplete(activityId, 200), apiFallback) : (activityMonitor.logError(activityId, "clone and API fallback failed"), null);
|
|
@@ -603,17 +682,7 @@ async function extractGitHub(url, signal, forceClone) {
|
|
|
603
682
|
let content = generateContent(result, info), title = info.path ? `${owner}/${repo} - ${info.path}` : `${owner}/${repo}`;
|
|
604
683
|
return { url, title, content, error: null };
|
|
605
684
|
}
|
|
606
|
-
function clearCloneCache() {
|
|
607
|
-
for (let entry of cloneCache.values())
|
|
608
|
-
try {
|
|
609
|
-
rmSync(entry.localPath, { recursive: !0, force: !0 });
|
|
610
|
-
} catch {
|
|
611
|
-
}
|
|
612
|
-
cloneCache.clear(), cachedConfig = null;
|
|
613
|
-
}
|
|
614
|
-
registerSessionCleanup(clearCloneCache);
|
|
615
685
|
export {
|
|
616
|
-
clearCloneCache,
|
|
617
686
|
extractGitHub,
|
|
618
687
|
parseGitHubUrl
|
|
619
688
|
};
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import "./chunk-OR4L3IB2.js";
|
|
10
10
|
import {
|
|
11
11
|
getAgentDir
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-64XTQNLA.js";
|
|
13
13
|
import "./chunk-Q4Q6D4IY.js";
|
|
14
14
|
import "./chunk-BRJX2PRC.js";
|
|
15
15
|
|
|
@@ -774,7 +774,7 @@ var STATUS_KEY = "goal", GOAL_STATE_ENTRY_TYPE2 = "goal-state", GOAL_COMPLETE_TO
|
|
|
774
774
|
prepareGoalToolsForActivation(ctx) {
|
|
775
775
|
if (this.settings.toolVisibility === "after-first-goal") {
|
|
776
776
|
if (!this.goalToolsAvailable() && ctx.isIdle?.() !== !0)
|
|
777
|
-
throw new Error("wait until
|
|
777
|
+
throw new Error("wait until lunR is idle before revealing the goal tools");
|
|
778
778
|
this.revealGoalTools();
|
|
779
779
|
return;
|
|
780
780
|
}
|
|
@@ -1151,7 +1151,7 @@ New goal: ${objective}`)) {
|
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
1153
|
if (this.runtime.cancelContinuationWork(), this.runtime.pendingQueueAction = { kind: "prioritize", objective, tokenBudget }, this.runtime.persistGoal(this.runtime.activeGoal), ctx.isIdle?.() !== !0 || hasPendingMessages(ctx)) {
|
|
1154
|
-
ctx.ui.notify(`Priority goal queued until
|
|
1154
|
+
ctx.ui.notify(`Priority goal queued until lunR settles: ${objective}`, "info");
|
|
1155
1155
|
return;
|
|
1156
1156
|
}
|
|
1157
1157
|
await this.dispatchPendingQueueActionIfSettled(ctx);
|
|
@@ -1184,7 +1184,7 @@ New goal: ${objective}`)) {
|
|
|
1184
1184
|
goalId: currentGoal.id,
|
|
1185
1185
|
reason: "skip",
|
|
1186
1186
|
completedText: currentGoal.text
|
|
1187
|
-
}, this.runtime.persistGoal(currentGoal), ctx.ui.notify(`Goal skip queued until
|
|
1187
|
+
}, this.runtime.persistGoal(currentGoal), ctx.ui.notify(`Goal skip queued until lunR settles: ${currentGoal.text}`, "info"), ctx.isIdle?.() === !0 && !hasPendingMessages(ctx) && await this.dispatchPendingQueueActionIfSettled(ctx);
|
|
1188
1188
|
}
|
|
1189
1189
|
async dispatchPendingQueueActionIfSettled(ctx) {
|
|
1190
1190
|
let pending = this.runtime.pendingQueueAction;
|
|
@@ -1544,7 +1544,7 @@ Next goal queued: ${runtime.queuedGoals[0]?.text}`
|
|
|
1544
1544
|
return;
|
|
1545
1545
|
}
|
|
1546
1546
|
if (runtime.pendingQueueAction && result.kind !== "show" && result.kind !== "clear") {
|
|
1547
|
-
ctx.ui.notify("A queued goal change is waiting for
|
|
1547
|
+
ctx.ui.notify("A queued goal change is waiting for lunR to settle. Retry after it finishes.", "warning");
|
|
1548
1548
|
return;
|
|
1549
1549
|
}
|
|
1550
1550
|
switch (result.kind) {
|
|
@@ -19,34 +19,34 @@ import {
|
|
|
19
19
|
TreeSelectorComponent,
|
|
20
20
|
UserMessageComponent,
|
|
21
21
|
UserMessageSelectorComponent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AYHH7YSD.js";
|
|
23
23
|
import {
|
|
24
24
|
attachJsonlLineReader,
|
|
25
25
|
runRpcMode,
|
|
26
26
|
serializeJsonLine
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-EVM653DD.js";
|
|
28
28
|
import {
|
|
29
29
|
runPrintMode
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-UBWW2PID.js";
|
|
31
|
+
import "./chunk-H6YBCWKG.js";
|
|
32
|
+
import "./chunk-U5F4IC7R.js";
|
|
32
33
|
import "./chunk-US544NN6.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-JQYNHAKX.js";
|
|
34
35
|
import {
|
|
35
36
|
copyToClipboard
|
|
36
37
|
} from "./chunk-Q5ZU2VRT.js";
|
|
37
38
|
import "./chunk-NUIFPZWX.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-QBTJG3UM.js";
|
|
39
40
|
import "./chunk-7N3YHTYF.js";
|
|
40
41
|
import {
|
|
41
42
|
main
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-MQPKUHRN.js";
|
|
44
|
+
import "./chunk-R4WSB2MQ.js";
|
|
45
|
+
import "./chunk-JWEVT363.js";
|
|
46
|
+
import "./chunk-IHHTWSXN.js";
|
|
46
47
|
import "./chunk-YPHAIRZT.js";
|
|
47
48
|
import "./chunk-PL6JKXWI.js";
|
|
48
49
|
import "./chunk-5ZH3ZFIZ.js";
|
|
49
|
-
import "./chunk-OVX6X377.js";
|
|
50
50
|
import {
|
|
51
51
|
AgentSession,
|
|
52
52
|
AgentSessionRuntime,
|
|
@@ -58,8 +58,7 @@ import {
|
|
|
58
58
|
parseSkillBlock,
|
|
59
59
|
wrapRegisteredTool,
|
|
60
60
|
wrapRegisteredTools
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-CCCN2UCX.js";
|
|
61
|
+
} from "./chunk-ZDJUR45D.js";
|
|
63
62
|
import {
|
|
64
63
|
DefaultResourceLoader,
|
|
65
64
|
createEventBus,
|
|
@@ -70,16 +69,17 @@ import {
|
|
|
70
69
|
loadProjectContextFiles,
|
|
71
70
|
loadSkills,
|
|
72
71
|
loadSkillsFromDir
|
|
73
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-DQSCFU7R.js";
|
|
73
|
+
import "./chunk-CCCN2UCX.js";
|
|
74
74
|
import {
|
|
75
75
|
DefaultPackageManager
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-UYRKUKFE.js";
|
|
77
77
|
import "./chunk-OBMWP3I5.js";
|
|
78
78
|
import "./chunk-DVGWF6A2.js";
|
|
79
79
|
import {
|
|
80
80
|
parseFrontmatter,
|
|
81
81
|
stripFrontmatter
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-IXG6F4NT.js";
|
|
83
83
|
import {
|
|
84
84
|
createBashTool,
|
|
85
85
|
createBashToolDefinition,
|
|
@@ -101,9 +101,12 @@ import {
|
|
|
101
101
|
generateDiffString,
|
|
102
102
|
generateUnifiedPatch,
|
|
103
103
|
renderDiff,
|
|
104
|
-
truncateToVisualLines
|
|
104
|
+
truncateToVisualLines
|
|
105
|
+
} from "./chunk-ZEVFBFNF.js";
|
|
106
|
+
import {
|
|
105
107
|
withFileMutationQueue
|
|
106
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-YSB6URMT.js";
|
|
109
|
+
import "./chunk-6ZZHGUSA.js";
|
|
107
110
|
import {
|
|
108
111
|
DEFAULT_MAX_BYTES,
|
|
109
112
|
DEFAULT_MAX_LINES,
|
|
@@ -112,27 +115,28 @@ import {
|
|
|
112
115
|
truncateLine,
|
|
113
116
|
truncateTail
|
|
114
117
|
} from "./chunk-53YJI7JU.js";
|
|
115
|
-
import "./chunk-5ZQXRPMC.js";
|
|
116
118
|
import {
|
|
117
|
-
convertToPng
|
|
119
|
+
convertToPng
|
|
120
|
+
} from "./chunk-IAZSK7KK.js";
|
|
121
|
+
import {
|
|
118
122
|
formatDimensionNote,
|
|
119
123
|
resizeImage
|
|
120
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-TCT6PCUR.js";
|
|
121
125
|
import {
|
|
122
126
|
AuthStorage,
|
|
123
127
|
ModelRuntime,
|
|
124
128
|
readStoredCredential
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-
|
|
129
|
+
} from "./chunk-XEOCUEUJ.js";
|
|
130
|
+
import "./chunk-6O3IW3IA.js";
|
|
127
131
|
import {
|
|
128
132
|
SettingsManager
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import "./chunk-
|
|
133
|
+
} from "./chunk-HUD2RFJW.js";
|
|
134
|
+
import "./chunk-4KNKQGHM.js";
|
|
135
|
+
import "./chunk-LHV3V67B.js";
|
|
132
136
|
import {
|
|
133
137
|
ProjectTrustStore,
|
|
134
138
|
hasTrustRequiringProjectResources
|
|
135
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-F2SMQ6ES.js";
|
|
136
140
|
import "./chunk-URD2SLIT.js";
|
|
137
141
|
import {
|
|
138
142
|
DEFAULT_COMPACTION_SETTINGS,
|
|
@@ -150,18 +154,20 @@ import {
|
|
|
150
154
|
resolveModelScopeWithDiagnostics,
|
|
151
155
|
serializeConversation,
|
|
152
156
|
shouldCompact
|
|
153
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-FIRA54AC.js";
|
|
154
158
|
import {
|
|
155
159
|
ExtensionRunner
|
|
156
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-BYC6RKCN.js";
|
|
157
161
|
import "./chunk-CGBXPL3E.js";
|
|
158
162
|
import "./chunk-BBUVIEZB.js";
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
-
import "./chunk-
|
|
163
|
+
import "./chunk-APVM5NEU.js";
|
|
164
|
+
import "./chunk-F2V2F4ZG.js";
|
|
165
|
+
import "./chunk-BDRGN3L2.js";
|
|
166
|
+
import "./chunk-FY4A63RK.js";
|
|
167
|
+
import "./chunk-RYRGL7P4.js";
|
|
162
168
|
import {
|
|
163
169
|
getShellConfig
|
|
164
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-ES6PBSIE.js";
|
|
165
171
|
import {
|
|
166
172
|
HANDOFF_DURATION_MS,
|
|
167
173
|
SessionTransferError,
|
|
@@ -173,7 +179,7 @@ import {
|
|
|
173
179
|
recordTuiActivity,
|
|
174
180
|
registerTransferHandler,
|
|
175
181
|
requestSessionTransfer
|
|
176
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-I2H5QMWW.js";
|
|
177
183
|
import {
|
|
178
184
|
CURRENT_SESSION_VERSION,
|
|
179
185
|
SessionManager,
|
|
@@ -183,27 +189,27 @@ import {
|
|
|
183
189
|
migrateSessionEntries,
|
|
184
190
|
parseSessionEntries,
|
|
185
191
|
sessionEntryToContextMessages
|
|
186
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-EPR2F3GU.js";
|
|
187
193
|
import {
|
|
188
194
|
convertToLlm
|
|
189
195
|
} from "./chunk-FVDOXRUD.js";
|
|
190
196
|
import "./chunk-4EULYYR4.js";
|
|
191
197
|
import "./chunk-UJOCPOMX.js";
|
|
192
198
|
import "./chunk-2TKODGBZ.js";
|
|
193
|
-
import "./chunk-
|
|
199
|
+
import "./chunk-HNNHHJAB.js";
|
|
194
200
|
import "./chunk-IMLCWLPI.js";
|
|
195
201
|
import {
|
|
196
202
|
SessionSelectorComponent
|
|
197
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-2OIPYKLZ.js";
|
|
198
204
|
import {
|
|
199
205
|
SessionOwnershipError
|
|
200
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-MNQXDFPV.js";
|
|
201
207
|
import "./chunk-RQ2Q5IYR.js";
|
|
202
|
-
import "./chunk-
|
|
208
|
+
import "./chunk-NHATCSOI.js";
|
|
203
209
|
import {
|
|
204
210
|
CustomEditor
|
|
205
211
|
} from "./chunk-H2EOZYMP.js";
|
|
206
|
-
import "./chunk-
|
|
212
|
+
import "./chunk-FTKEZL27.js";
|
|
207
213
|
import "./chunk-PVCDKGR6.js";
|
|
208
214
|
import {
|
|
209
215
|
defineTool,
|
|
@@ -216,26 +222,26 @@ import {
|
|
|
216
222
|
isToolCallEventType,
|
|
217
223
|
isWriteToolResult
|
|
218
224
|
} from "./chunk-OR4L3IB2.js";
|
|
219
|
-
import "./chunk-
|
|
225
|
+
import "./chunk-RHCGYWO7.js";
|
|
220
226
|
import {
|
|
221
227
|
parseArgs
|
|
222
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-WPXUR3HE.js";
|
|
223
229
|
import "./chunk-CCZJ3PYY.js";
|
|
224
230
|
import {
|
|
225
231
|
ExtensionSelectorComponent
|
|
226
|
-
} from "./chunk-
|
|
232
|
+
} from "./chunk-252ZVPPF.js";
|
|
227
233
|
import {
|
|
228
234
|
ExtensionInputComponent
|
|
229
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-GLDXBBL6.js";
|
|
230
236
|
import "./chunk-I6R76AG7.js";
|
|
231
237
|
import {
|
|
232
238
|
DynamicBorder
|
|
233
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-FLGEEH27.js";
|
|
234
240
|
import {
|
|
235
241
|
keyHint,
|
|
236
242
|
keyText,
|
|
237
243
|
rawKeyHint
|
|
238
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-QW3AAHWN.js";
|
|
239
245
|
import {
|
|
240
246
|
Theme,
|
|
241
247
|
getAvailableThemes,
|
|
@@ -245,7 +251,7 @@ import {
|
|
|
245
251
|
getSettingsListTheme,
|
|
246
252
|
highlightCode,
|
|
247
253
|
initTheme
|
|
248
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-JL4HYQXK.js";
|
|
249
255
|
import {
|
|
250
256
|
CONFIG_DIR_NAME,
|
|
251
257
|
VERSION,
|
|
@@ -254,7 +260,7 @@ import {
|
|
|
254
260
|
getExamplesPath,
|
|
255
261
|
getPackageDir,
|
|
256
262
|
getReadmePath
|
|
257
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-64XTQNLA.js";
|
|
258
264
|
import "./chunk-Q4Q6D4IY.js";
|
|
259
265
|
import "./chunk-BRJX2PRC.js";
|
|
260
266
|
|
|
@@ -8,10 +8,9 @@ import {
|
|
|
8
8
|
updateMetadataCache,
|
|
9
9
|
updateServerMetadata,
|
|
10
10
|
updateStatusBar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-4HXHDDCF.js";
|
|
11
|
+
} from "./chunk-EBLAZVSA.js";
|
|
12
|
+
import "./chunk-VSUEAI7O.js";
|
|
13
|
+
import "./chunk-B2IBAXNX.js";
|
|
15
14
|
import "./chunk-ARC4KOTI.js";
|
|
16
15
|
import "./chunk-BI3DHYCN.js";
|
|
17
16
|
import "./chunk-Q4Q6D4IY.js";
|
|
@@ -12,21 +12,21 @@ import {
|
|
|
12
12
|
loadInstallFeatures,
|
|
13
13
|
parseFeatureFlags,
|
|
14
14
|
saveInstallFeatures
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LHV3V67B.js";
|
|
16
16
|
import {
|
|
17
17
|
loadGatewayConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RHCGYWO7.js";
|
|
19
19
|
import {
|
|
20
20
|
APP_NAME,
|
|
21
21
|
NPM_CLI_PACKAGE,
|
|
22
22
|
VERSION,
|
|
23
23
|
getAgentDir
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-64XTQNLA.js";
|
|
25
25
|
import "./chunk-Q4Q6D4IY.js";
|
|
26
26
|
import "./chunk-BRJX2PRC.js";
|
|
27
27
|
|
|
28
28
|
// packages/coding-agent/dist/cli/install-cli.js
|
|
29
|
-
import { existsSync as existsSync2, rmSync } from "node:fs";
|
|
29
|
+
import { existsSync as existsSync2, rmdirSync, rmSync } from "node:fs";
|
|
30
30
|
import { join as join2 } from "node:path";
|
|
31
31
|
import { createInterface } from "node:readline";
|
|
32
32
|
|
|
@@ -114,27 +114,31 @@ async function runSetup(argv) {
|
|
|
114
114
|
return console.error(parsed.error), printSetupHelp(), 2;
|
|
115
115
|
if (!parsed.yes && !process.stdin.isTTY)
|
|
116
116
|
return console.error("non-interactive setup requires --yes"), printSetupHelp(), 2;
|
|
117
|
-
let current = loadInstallFeatures(),
|
|
118
|
-
if (
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
117
|
+
let current = loadInstallFeatures(), applied = applyFeatureFlags(current, parsed);
|
|
118
|
+
if (!applied.ok)
|
|
119
|
+
return console.error(applied.error), applied.exitCode;
|
|
120
|
+
let explicitFeatures = parsed.features.length > 0 || parsed.noFeatures.length > 0 || parsed.sets.length > 0, { installBrowser } = await import("./setup-H7CCELIL.js");
|
|
121
|
+
await installBrowser(!1);
|
|
122
|
+
let next = applied.next;
|
|
123
|
+
if (!parsed.yes && !explicitFeatures)
|
|
124
|
+
await (await import("./setup-OLQ4GXWS.js")).setupGateway(), next = loadInstallFeatures();
|
|
125
|
+
else {
|
|
126
|
+
let enabled = /* @__PURE__ */ new Set([...applied.enabledIds, ...parsed.sets.map((set) => getFeatureSpec(set.id)?.id)]);
|
|
127
|
+
for (let id of enabled) {
|
|
128
|
+
if (!id)
|
|
129
|
+
continue;
|
|
130
|
+
let state = next.features[id];
|
|
131
|
+
state && (parsed.yes || await collectSecretsForFeature(id, applied.secrets), await FEATURE_HANDLERS[id].apply({
|
|
132
|
+
previous: current.features[id],
|
|
127
133
|
next: state,
|
|
128
134
|
secrets: applied.secrets,
|
|
129
|
-
nonInteractive:
|
|
130
|
-
});
|
|
135
|
+
nonInteractive: parsed.yes
|
|
136
|
+
}));
|
|
131
137
|
}
|
|
132
138
|
for (let id of applied.disabledIds)
|
|
133
139
|
await FEATURE_HANDLERS[id].disable({ purgeSecrets: !1 });
|
|
134
|
-
}
|
|
135
|
-
|
|
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(`
|
|
140
|
+
}
|
|
141
|
+
return saveInstallFeatures(next), appendInstallLog(`setup installerVersion=${VERSION}`), console.log(`Writing ${getAgentDir()}/install-features.json`), console.log(`
|
|
138
142
|
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;
|
|
139
143
|
}
|
|
140
144
|
async function runFeatures(argv) {
|
|
@@ -205,10 +209,10 @@ async function runProductUninstall(argv) {
|
|
|
205
209
|
return console.error("non-interactive --purge requires --yes"), 2;
|
|
206
210
|
if (!yes && !await askYesNo(`Also delete ${agentDir}? This cannot be undone.`, !1))
|
|
207
211
|
return console.log("aborted"), 1;
|
|
208
|
-
existsSync2(agentDir) && rmSync(agentDir, { recursive: !0, force: !0 }), console.log(`purged ${agentDir}`);
|
|
212
|
+
await (await import("./service-IHLGFLBT.js")).teardownGatewayService(), existsSync2(agentDir) && rmSync(agentDir, { recursive: !0, force: !0 }), console.log(`purged ${agentDir}`);
|
|
209
213
|
} else
|
|
210
214
|
console.log(`sessions, auth, and gateway config kept in ${agentDir}`), console.log("Add --purge to delete that directory.");
|
|
211
|
-
return appendInstallLog(
|
|
215
|
+
return purge || appendInstallLog("uninstall npm purge=false"), 0;
|
|
212
216
|
}
|
|
213
217
|
let prefix = resolveInstallPrefix();
|
|
214
218
|
if (purge && !yes) {
|
|
@@ -217,17 +221,18 @@ async function runProductUninstall(argv) {
|
|
|
217
221
|
if (!await askYesNo(`Delete ${prefix} and ${agentDir}? This cannot be undone.`, !1))
|
|
218
222
|
return console.log("aborted"), 1;
|
|
219
223
|
}
|
|
224
|
+
await (await import("./service-IHLGFLBT.js")).teardownGatewayService();
|
|
220
225
|
let versions = join2(prefix, "versions"), bin = join2(prefix, "bin");
|
|
221
226
|
if (existsSync2(versions) && rmSync(versions, { recursive: !0, force: !0 }), existsSync2(bin) && rmSync(bin, { recursive: !0, force: !0 }), console.log(`removed ${versions} and ${bin}`), purge) {
|
|
222
227
|
if (existsSync2(agentDir) && rmSync(agentDir, { recursive: !0, force: !0 }), existsSync2(prefix))
|
|
223
228
|
try {
|
|
224
|
-
|
|
229
|
+
rmdirSync(prefix);
|
|
225
230
|
} catch {
|
|
226
231
|
}
|
|
227
232
|
console.log(`purged ${agentDir}`);
|
|
228
233
|
} else
|
|
229
234
|
console.log(`sessions, auth, and gateway config kept in ${agentDir}`);
|
|
230
|
-
return console.log("Remove the PATH line from your shell profile if you added one."), appendInstallLog(
|
|
235
|
+
return console.log("Remove the PATH line from your shell profile if you added one."), purge || appendInstallLog("uninstall purge=false"), 0;
|
|
231
236
|
}
|
|
232
237
|
async function handleInstallCli(args) {
|
|
233
238
|
let [verb, ...rest] = args;
|
|
@@ -235,7 +240,7 @@ async function handleInstallCli(args) {
|
|
|
235
240
|
if (rest.length !== 1 || rest[0] !== "install")
|
|
236
241
|
console.error("Usage: lunr browser install. Browser on/off is in /settings."), process.exitCode = 2;
|
|
237
242
|
else {
|
|
238
|
-
let { installBrowser } = await import("./setup-
|
|
243
|
+
let { installBrowser } = await import("./setup-H7CCELIL.js");
|
|
239
244
|
await installBrowser();
|
|
240
245
|
}
|
|
241
246
|
return !0;
|