@ashx-j/lunr 0.2.21 → 0.2.22
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 +1 -1
- package/README.md +20 -4
- package/dist/builtin-extensions/index.d.ts.map +1 -1
- package/dist/builtin-extensions/index.js +1 -0
- package/dist/builtin-extensions/index.js.map +1 -1
- package/dist/builtin-extensions/lunr-browser.d.ts +3 -0
- package/dist/builtin-extensions/lunr-browser.d.ts.map +1 -0
- package/dist/builtin-extensions/lunr-browser.js +56 -0
- package/dist/builtin-extensions/lunr-browser.js.map +1 -0
- package/dist/builtin-extensions/lunr-todos.d.ts.map +1 -1
- package/dist/builtin-extensions/lunr-todos.js +15 -0
- package/dist/builtin-extensions/lunr-todos.js.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-intercom/index.js +3 -0
- package/dist/builtin-extensions/pi-intercom/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.js +5 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/control-notices.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts +2 -2
- package/dist/builtin-extensions/pi-subagents/src/extension/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js +18 -5
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.d.ts +4 -3
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/extension/tool-description.js +3 -0
- 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.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.js +4 -11
- package/dist/builtin-extensions/pi-subagents/src/intercom/intercom-bridge.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.d.ts +4 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.js +160 -51
- package/dist/builtin-extensions/pi-subagents/src/intercom/native-supervisor-channel.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js +5 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-ask.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts +2 -0
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js +3 -2
- package/dist/builtin-extensions/pi-subagents/src/intercom/supervisor-questions.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.js +2 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/auto-drain.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.js +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/background/subagent-wait.js.map +1 -1
- 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 +3 -0
- 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 +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/subagent-prompt-runtime.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/shared/types.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/types.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts +18 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js +47 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/communication.js.map +1 -0
- package/dist/builtin-extensions/pi-web-access/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/index.js +11 -7
- package/dist/builtin-extensions/pi-web-access/index.js.map +1 -1
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +2 -1
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/install-cli.d.ts.map +1 -1
- package/dist/cli/install-cli.js +15 -45
- package/dist/cli/install-cli.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts +9 -0
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +126 -29
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/agent-session.d.ts +3 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +20 -2
- 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/customize.d.ts.map +1 -1
- package/dist/core/customize.js +15 -14
- package/dist/core/customize.js.map +1 -1
- package/dist/core/export-html/index.d.ts.map +1 -1
- package/dist/core/export-html/index.js +1 -1
- package/dist/core/export-html/index.js.map +1 -1
- package/dist/core/extensions/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-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.map +1 -1
- package/dist/core/permissions.js +9 -0
- package/dist/core/permissions.js.map +1 -1
- package/dist/core/plan-mode.d.ts.map +1 -1
- package/dist/core/plan-mode.js +3 -0
- 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-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 +13 -0
- 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 +184 -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 +7 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +18 -0
- 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 +2 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +5 -2
- 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 +11 -2
- package/dist/core/tools/render-utils.d.ts.map +1 -1
- package/dist/core/tools/render-utils.js +31 -4
- 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 +112 -17
- 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 +34 -11
- package/dist/gateway/adapters/telegram.js.map +1 -1
- package/dist/gateway/agent-bridge.d.ts +14 -3
- package/dist/gateway/agent-bridge.d.ts.map +1 -1
- package/dist/gateway/agent-bridge.js +252 -60
- package/dist/gateway/agent-bridge.js.map +1 -1
- package/dist/gateway/approval.d.ts +1 -0
- package/dist/gateway/approval.d.ts.map +1 -1
- package/dist/gateway/approval.js +60 -18
- 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 +18 -3
- 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.map +1 -1
- package/dist/gateway/commands.js +18 -3
- package/dist/gateway/commands.js.map +1 -1
- package/dist/gateway/config.d.ts +5 -0
- package/dist/gateway/config.d.ts.map +1 -1
- package/dist/gateway/config.js +5 -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/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 +85 -26
- 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 +422 -0
- package/dist/gateway/mobile-commands.js.map +1 -0
- package/dist/gateway/presenter.d.ts +16 -0
- package/dist/gateway/presenter.d.ts.map +1 -0
- package/dist/gateway/presenter.js +210 -0
- package/dist/gateway/presenter.js.map +1 -0
- package/dist/gateway/router.d.ts +1 -0
- package/dist/gateway/router.d.ts.map +1 -1
- package/dist/gateway/router.js +32 -3
- 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 +395 -0
- package/dist/gateway/service.js.map +1 -0
- package/dist/gateway/setup.d.ts +4 -0
- package/dist/gateway/setup.d.ts.map +1 -0
- package/dist/gateway/setup.js +146 -0
- package/dist/gateway/setup.js.map +1 -0
- 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 +2 -1
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +11 -2
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +53 -16
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/copyable-text.d.ts +31 -0
- package/dist/modes/interactive/components/copyable-text.d.ts.map +1 -0
- package/dist/modes/interactive/components/copyable-text.js +165 -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 +5 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +38 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +3 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +151 -7
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/node-runtime/agent-session-services-NQ6GKOIK.js +49 -0
- package/dist/node-runtime/{builtin-extensions-JCOPAAB5.js → builtin-extensions-GVC6IFDU.js} +6 -5
- package/dist/node-runtime/{chunk-LTYWTR3V.js → chunk-2MI5OPMN.js} +17 -2
- package/dist/node-runtime/{chunk-W3CVH5RX.js → chunk-2TKODGBZ.js} +11 -6
- package/dist/node-runtime/chunk-4EULYYR4.js +62 -0
- package/dist/node-runtime/chunk-5BNJ4JUH.js +672 -0
- package/dist/node-runtime/{chunk-6N22HULO.js → chunk-5D7LC2ZQ.js} +7 -2
- package/dist/node-runtime/{chunk-KBKMCJDU.js → chunk-5ZQXRPMC.js} +19 -4
- package/dist/node-runtime/{chunk-6KDIOJL3.js → chunk-6427XAWG.js} +3 -3
- package/dist/node-runtime/{chunk-BOHIDQT4.js → chunk-6B2POMK7.js} +1 -1
- package/dist/node-runtime/{chunk-RNBHABBA.js → chunk-7QWNYZDI.js} +7 -0
- package/dist/node-runtime/chunk-AZJHNQKQ.js +205 -0
- package/dist/node-runtime/{chunk-A3KMVBZV.js → chunk-BBUVIEZB.js} +1 -10
- package/dist/node-runtime/chunk-BFNXONG3.js +521 -0
- package/dist/node-runtime/{chunk-IRPJXI6U.js → chunk-BX2RB477.js} +1 -1
- package/dist/node-runtime/chunk-CCCN2UCX.js +14 -0
- package/dist/node-runtime/{chunk-25I2BHAA.js → chunk-CSUZVNYE.js} +1 -1
- package/dist/node-runtime/{chunk-QZMODZQ2.js → chunk-E24EO34J.js} +2 -1
- package/dist/node-runtime/{chunk-2BUAYZ7K.js → chunk-EQ63ANHL.js} +422 -123
- package/dist/node-runtime/{chunk-GB2MGFLI.js → chunk-GJSAD4AB.js} +216 -201
- package/dist/node-runtime/{chunk-W3SILANP.js → chunk-GMHJCCEN.js} +8 -8
- package/dist/node-runtime/{chunk-DDWHZ633.js → chunk-GNN7H3B7.js} +1 -1
- package/dist/node-runtime/chunk-GS66LV4M.js +2830 -0
- package/dist/node-runtime/{chunk-6BEIBLQ3.js → chunk-H3XF4UVQ.js} +1 -1
- package/dist/node-runtime/chunk-H4K3JDRB.js +47 -0
- package/dist/node-runtime/{chunk-YMEAYRBE.js → chunk-HTFRRDSF.js} +2 -7
- package/dist/node-runtime/chunk-IMLCWLPI.js +9 -0
- package/dist/node-runtime/{chunk-Y5KOEMBH.js → chunk-IQIEU7SB.js} +9 -674
- package/dist/node-runtime/{chunk-OPEK5RRY.js → chunk-IVXYUAJE.js} +1 -1
- package/dist/node-runtime/{chunk-PDNXVXMD.js → chunk-IWOWXRWU.js} +58 -48
- package/dist/node-runtime/chunk-KKUTQQV7.js +144 -0
- package/dist/node-runtime/{chunk-AWVD5IEY.js → chunk-LMBNLFXQ.js} +23 -12
- package/dist/node-runtime/{chunk-7NBZ5P7I.js → chunk-NAY6UUQZ.js} +1 -1
- package/dist/node-runtime/chunk-OAR4TYZE.js +146 -0
- package/dist/node-runtime/{chunk-STERBGUB.js → chunk-OFKSVRV7.js} +2 -2
- package/dist/node-runtime/{chunk-JZQ7F36T.js → chunk-ORH324EP.js} +19 -3
- package/dist/node-runtime/{chunk-2SJB2AWP.js → chunk-PC2Z5TKZ.js} +3 -3
- package/dist/node-runtime/{chunk-SY2TFMLO.js → chunk-QDGKKKUM.js} +46 -151
- package/dist/node-runtime/chunk-R3K2F5GI.js +122 -0
- package/dist/node-runtime/chunk-RMQZU2YU.js +117 -0
- package/dist/node-runtime/{chunk-XI77KVKA.js → chunk-TDL7UWJ7.js} +283 -2999
- package/dist/node-runtime/{chunk-G6LRAP36.js → chunk-TQGPP4SC.js} +1 -1
- package/dist/node-runtime/chunk-UAEOTO52.js +119 -0
- package/dist/node-runtime/{chunk-VZR3NCM7.js → chunk-UAFLNHSH.js} +18 -14
- package/dist/node-runtime/{chunk-AY6CAJSL.js → chunk-UJOCPOMX.js} +6 -3
- package/dist/node-runtime/chunk-UP2XBVH5.js +40 -0
- package/dist/node-runtime/{chunk-WJVFOIB5.js → chunk-UQUCFAJ3.js} +1 -1
- package/dist/node-runtime/chunk-URD2SLIT.js +1019 -0
- package/dist/node-runtime/chunk-US544NN6.js +13 -0
- package/dist/node-runtime/chunk-UWPJL22I.js +341 -0
- package/dist/node-runtime/chunk-V2A7CEXK.js +355 -0
- package/dist/node-runtime/chunk-VJPTNWAP.js +708 -0
- package/dist/node-runtime/{chunk-WKDK4C5P.js → chunk-VSSXXL36.js} +38 -164
- package/dist/node-runtime/{chunk-4I23VTC4.js → chunk-VWCE2HSZ.js} +21 -124
- package/dist/node-runtime/{chunk-WLLDXJRT.js → chunk-WADV2VDS.js} +22 -1014
- package/dist/node-runtime/{chunk-GKLEQ3I4.js → chunk-XLTL257W.js} +126 -27
- package/dist/node-runtime/chunk-YPHAIRZT.js +10 -0
- package/dist/node-runtime/cli-runtime.js +2 -2
- package/dist/node-runtime/command-3JHHXOPX.js +45 -0
- package/dist/node-runtime/commands-2JVNFGMQ.js +36 -0
- package/dist/node-runtime/{commands-MV5KOZ64.js → commands-KAMO2T6P.js} +10 -10
- package/dist/node-runtime/config-RORQUQFG.js +20 -0
- package/dist/node-runtime/{customize-LF5VST47.js → customize-VFJV3U6A.js} +2 -1
- package/dist/node-runtime/{direct-tool-executor-BK7CLEBX.js → direct-tool-executor-YAVOLDFY.js} +8 -8
- package/dist/node-runtime/{export-html-TEXVV5RP.js → export-html-KBFVV63J.js} +4 -3
- package/dist/node-runtime/{extension-input-O4HSAEM4.js → extension-input-K24TVKVW.js} +4 -4
- package/dist/node-runtime/{extension-selector-X5FCX43D.js → extension-selector-SPNF7EDR.js} +4 -4
- package/dist/node-runtime/{extract-XLQSJN4V.js → extract-EQJE7FZZ.js} +2 -2
- package/dist/node-runtime/{gateway-BM6NLOH4.js → gateway-VFO6SFKK.js} +275 -994
- package/dist/node-runtime/{gemini-search-U7SUMPQA.js → gemini-search-35OCRFLN.js} +1 -1
- package/dist/node-runtime/{gemini-url-context-PXWCBQHK.js → gemini-url-context-UQY3PHHW.js} +2 -2
- package/dist/node-runtime/index.js +104 -65
- package/dist/node-runtime/{init-3C7Z24OI.js → init-X2LIUB2H.js} +3 -3
- package/dist/node-runtime/{install-cli-EXMJQESX.js → install-cli-C3CF7O7N.js} +21 -82
- package/dist/node-runtime/interactive-mode-LOM6AIF6.js +72 -0
- package/dist/node-runtime/{interactive-view-ILS6TAN5.js → interactive-view-IDSCPPK7.js} +8 -8
- package/dist/node-runtime/lunr-browser-YNW7FTYX.js +87 -0
- package/dist/node-runtime/{lunr-cron-4VHP4E4B.js → lunr-cron-BKHGNBKT.js} +19 -5
- package/dist/node-runtime/main.js +44 -31
- package/dist/node-runtime/{memory-cap-3S4XRLNP.js → memory-cap-EL3KL4JJ.js} +2 -1
- package/dist/node-runtime/mobile-commands-HMP25WBC.js +32 -0
- package/dist/node-runtime/model-runtime-PLQKAG4B.js +16 -0
- package/dist/node-runtime/{model-tiers-NJLHUEGK.js → model-tiers-OU3U5CZG.js} +2 -1
- package/dist/node-runtime/{package-manager-cli-N37546V5.js → package-manager-cli-VCK4E2RC.js} +22 -15
- package/dist/node-runtime/{pi-intercom-NV2LW6X7.js → pi-intercom-HBPK5HSJ.js} +4 -1
- package/dist/node-runtime/{pi-mcp-adapter-GUFZWW54.js → pi-mcp-adapter-E6WULBKF.js} +4 -4
- package/dist/node-runtime/{pi-subagents-6MUIFNDM.js → pi-subagents-FEUDLJOE.js} +201 -78
- package/dist/node-runtime/{pi-web-access-2CQGFLT2.js → pi-web-access-WTGMNZ32.js} +15 -15
- package/dist/node-runtime/process-registry-4FAKZQOL.js +31 -0
- package/dist/node-runtime/{proxy-modes-V6YVFH3C.js → proxy-modes-OSQCWRBI.js} +9 -9
- package/dist/node-runtime/rpc-entry.js +44 -31
- package/dist/node-runtime/{rpc-mode-W5ZTLTMZ.js → rpc-mode-P5ODXPEG.js} +2 -2
- package/dist/node-runtime/runtime-4VA6JKNF.js +373 -0
- package/dist/node-runtime/{runtime-bridges-2VQTLPOZ.js → runtime-bridges-3XUQ46XW.js} +6 -5
- package/dist/node-runtime/service-ISSP6VHE.js +36 -0
- package/dist/node-runtime/session-handoff-HC7R5E24.js +33 -0
- package/dist/node-runtime/{session-manager-E7AREDTV.js → session-manager-CFN4UFM2.js} +2 -1
- package/dist/node-runtime/{session-selector-FJ7M2AIX.js → session-selector-LHRMJOKT.js} +5 -4
- package/dist/node-runtime/{settings-manager-CUGAZWAB.js → settings-manager-UUZ6NUXI.js} +7 -2
- package/dist/node-runtime/setup-JBKOLJ6F.js +18 -0
- package/dist/node-runtime/setup-NRXVZBLJ.js +155 -0
- package/dist/node-runtime/{subagent-executor-MH4A7CCF.js → subagent-executor-MLUMBWCP.js} +22 -18
- package/dist/node-runtime/theme-U7IGOA7O.js +68 -0
- package/dist/node-runtime/trust-manager-MMISNCYO.js +17 -0
- package/dist/node-runtime/{update-cli-XTZMZGOL.js → update-cli-4TP25CNW.js} +7 -2
- package/dist/node-runtime/usage-service-LFB2SWYV.js +37 -0
- package/dist/node-runtime/{video-extract-OYT5WKS5.js → video-extract-OOZHR7SU.js} +2 -2
- package/dist/node-runtime/{youtube-extract-TQYKGFGS.js → youtube-extract-FNPAUNHU.js} +6 -6
- package/docs/browser.md +86 -0
- package/docs/extensions.md +2 -0
- package/docs/features.md +94 -16
- package/docs/interactive-startup.md +2 -1
- package/docs/sessions.md +10 -0
- package/docs/settings.md +1 -0
- package/docs/tui.md +2 -0
- package/docs/usage.md +16 -0
- 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/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/package.json +7 -4
- package/scripts/install-browser.mjs +20 -0
- package/dist/node-runtime/agent-session-services-C743TYQE.js +0 -37
- package/dist/node-runtime/chunk-VGYZ3APQ.js +0 -59
- package/dist/node-runtime/command-P4NYCJ2M.js +0 -13
- package/dist/node-runtime/interactive-mode-EVVBA64D.js +0 -59
- package/dist/node-runtime/{chunk-UWQYRSYQ.js → chunk-YJMMG7C6.js} +25 -25
- package/dist/node-runtime/{mcp-panel-IIGMXQGP.js → mcp-panel-KTTFXJZ4.js} +3 -3
- package/dist/node-runtime/{src-BPQFJR76.js → src-IVPNZ2BX.js} +9 -9
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
} from "./chunk-3WFAEVKS.js";
|
|
15
15
|
import {
|
|
16
16
|
extractHeadingTitle
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-UQUCFAJ3.js";
|
|
18
|
+
import "./chunk-NAY6UUQZ.js";
|
|
19
19
|
import {
|
|
20
20
|
activityMonitor
|
|
21
21
|
} from "./chunk-DAPBPCBP.js";
|
|
@@ -19,71 +19,49 @@ import {
|
|
|
19
19
|
TreeSelectorComponent,
|
|
20
20
|
UserMessageComponent,
|
|
21
21
|
UserMessageSelectorComponent
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-G6LRAP36.js";
|
|
22
|
+
} from "./chunk-EQ63ANHL.js";
|
|
24
23
|
import {
|
|
25
24
|
attachJsonlLineReader,
|
|
26
25
|
runRpcMode,
|
|
27
26
|
serializeJsonLine
|
|
28
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-IVXYUAJE.js";
|
|
29
28
|
import {
|
|
30
29
|
runPrintMode
|
|
31
30
|
} from "./chunk-OCVIXVTZ.js";
|
|
32
31
|
import "./chunk-KWA4OC2J.js";
|
|
33
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-US544NN6.js";
|
|
33
|
+
import "./chunk-TQGPP4SC.js";
|
|
34
34
|
import {
|
|
35
35
|
copyToClipboard
|
|
36
36
|
} from "./chunk-Q5ZU2VRT.js";
|
|
37
37
|
import "./chunk-NUIFPZWX.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-H3XF4UVQ.js";
|
|
39
39
|
import "./chunk-7N3YHTYF.js";
|
|
40
40
|
import {
|
|
41
41
|
main
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import
|
|
46
|
-
|
|
47
|
-
hasTrustRequiringProjectResources
|
|
48
|
-
} from "./chunk-YMEAYRBE.js";
|
|
42
|
+
} from "./chunk-IWOWXRWU.js";
|
|
43
|
+
import "./chunk-LMBNLFXQ.js";
|
|
44
|
+
import "./chunk-UAFLNHSH.js";
|
|
45
|
+
import "./chunk-YPHAIRZT.js";
|
|
46
|
+
import "./chunk-PL6JKXWI.js";
|
|
49
47
|
import "./chunk-5ZH3ZFIZ.js";
|
|
50
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-CSUZVNYE.js";
|
|
51
49
|
import {
|
|
52
50
|
AgentSession,
|
|
53
51
|
AgentSessionRuntime,
|
|
54
|
-
AuthStorage,
|
|
55
52
|
ModelRegistry,
|
|
56
|
-
ModelRuntime,
|
|
57
53
|
createAgentSession,
|
|
58
54
|
createAgentSessionFromServices,
|
|
59
55
|
createAgentSessionRuntime,
|
|
60
56
|
createAgentSessionServices,
|
|
61
57
|
parseSkillBlock,
|
|
62
|
-
readStoredCredential,
|
|
63
58
|
wrapRegisteredTool,
|
|
64
59
|
wrapRegisteredTools
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import
|
|
67
|
-
DEFAULT_COMPACTION_SETTINGS,
|
|
68
|
-
calculateContextTokens,
|
|
69
|
-
collectEntriesForBranchSummary,
|
|
70
|
-
compact,
|
|
71
|
-
estimateTokens,
|
|
72
|
-
findCutPoint,
|
|
73
|
-
findTurnStartIndex,
|
|
74
|
-
generateBranchSummary,
|
|
75
|
-
generateSummary,
|
|
76
|
-
getLastAssistantUsage,
|
|
77
|
-
prepareBranchEntries,
|
|
78
|
-
resolveCliModel,
|
|
79
|
-
resolveModelScopeWithDiagnostics,
|
|
80
|
-
serializeConversation,
|
|
81
|
-
shouldCompact
|
|
82
|
-
} from "./chunk-STERBGUB.js";
|
|
60
|
+
} from "./chunk-TDL7UWJ7.js";
|
|
61
|
+
import "./chunk-CCCN2UCX.js";
|
|
83
62
|
import {
|
|
84
63
|
DefaultPackageManager,
|
|
85
64
|
DefaultResourceLoader,
|
|
86
|
-
ExtensionRunner,
|
|
87
65
|
createEventBus,
|
|
88
66
|
createExtensionRuntime,
|
|
89
67
|
createSyntheticSourceInfo,
|
|
@@ -92,14 +70,13 @@ import {
|
|
|
92
70
|
loadProjectContextFiles,
|
|
93
71
|
loadSkills,
|
|
94
72
|
loadSkillsFromDir
|
|
95
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-IQIEU7SB.js";
|
|
96
74
|
import "./chunk-OBMWP3I5.js";
|
|
97
75
|
import "./chunk-DVGWF6A2.js";
|
|
98
76
|
import {
|
|
99
77
|
parseFrontmatter,
|
|
100
78
|
stripFrontmatter
|
|
101
79
|
} from "./chunk-QFWG2RVL.js";
|
|
102
|
-
import "./chunk-CGBXPL3E.js";
|
|
103
80
|
import {
|
|
104
81
|
createBashTool,
|
|
105
82
|
createBashToolDefinition,
|
|
@@ -123,7 +100,7 @@ import {
|
|
|
123
100
|
renderDiff,
|
|
124
101
|
truncateToVisualLines,
|
|
125
102
|
withFileMutationQueue
|
|
126
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-VSSXXL36.js";
|
|
127
104
|
import {
|
|
128
105
|
DEFAULT_MAX_BYTES,
|
|
129
106
|
DEFAULT_MAX_LINES,
|
|
@@ -132,14 +109,69 @@ import {
|
|
|
132
109
|
truncateLine,
|
|
133
110
|
truncateTail
|
|
134
111
|
} from "./chunk-53YJI7JU.js";
|
|
135
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-5ZQXRPMC.js";
|
|
136
113
|
import {
|
|
137
|
-
|
|
138
|
-
|
|
114
|
+
convertToPng,
|
|
115
|
+
formatDimensionNote,
|
|
116
|
+
resizeImage
|
|
117
|
+
} from "./chunk-AD6VXAO7.js";
|
|
118
|
+
import {
|
|
119
|
+
AuthStorage,
|
|
120
|
+
ModelRuntime,
|
|
121
|
+
readStoredCredential
|
|
122
|
+
} from "./chunk-GS66LV4M.js";
|
|
139
123
|
import {
|
|
140
124
|
SettingsManager
|
|
141
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-WADV2VDS.js";
|
|
126
|
+
import "./chunk-UP2XBVH5.js";
|
|
127
|
+
import "./chunk-VWCE2HSZ.js";
|
|
142
128
|
import "./chunk-LISUTZS3.js";
|
|
129
|
+
import "./chunk-GMHJCCEN.js";
|
|
130
|
+
import {
|
|
131
|
+
ProjectTrustStore,
|
|
132
|
+
hasTrustRequiringProjectResources
|
|
133
|
+
} from "./chunk-HTFRRDSF.js";
|
|
134
|
+
import "./chunk-URD2SLIT.js";
|
|
135
|
+
import {
|
|
136
|
+
DEFAULT_COMPACTION_SETTINGS,
|
|
137
|
+
calculateContextTokens,
|
|
138
|
+
collectEntriesForBranchSummary,
|
|
139
|
+
compact,
|
|
140
|
+
estimateTokens,
|
|
141
|
+
findCutPoint,
|
|
142
|
+
findTurnStartIndex,
|
|
143
|
+
generateBranchSummary,
|
|
144
|
+
generateSummary,
|
|
145
|
+
getLastAssistantUsage,
|
|
146
|
+
prepareBranchEntries,
|
|
147
|
+
resolveCliModel,
|
|
148
|
+
resolveModelScopeWithDiagnostics,
|
|
149
|
+
serializeConversation,
|
|
150
|
+
shouldCompact
|
|
151
|
+
} from "./chunk-OFKSVRV7.js";
|
|
152
|
+
import {
|
|
153
|
+
ExtensionRunner
|
|
154
|
+
} from "./chunk-5BNJ4JUH.js";
|
|
155
|
+
import "./chunk-CGBXPL3E.js";
|
|
156
|
+
import "./chunk-BBUVIEZB.js";
|
|
157
|
+
import "./chunk-5D7LC2ZQ.js";
|
|
158
|
+
import "./chunk-M3LZLQW2.js";
|
|
159
|
+
import "./chunk-KKUTQQV7.js";
|
|
160
|
+
import {
|
|
161
|
+
getShellConfig
|
|
162
|
+
} from "./chunk-CSFI6YXL.js";
|
|
163
|
+
import {
|
|
164
|
+
HANDOFF_DURATION_MS,
|
|
165
|
+
SessionTransferError,
|
|
166
|
+
cancelSessionHandoff,
|
|
167
|
+
latestTuiSession,
|
|
168
|
+
listHandoffCandidates,
|
|
169
|
+
listRegisteredSessionPaths,
|
|
170
|
+
markSessionHandoff,
|
|
171
|
+
recordTuiActivity,
|
|
172
|
+
registerTransferHandler,
|
|
173
|
+
requestSessionTransfer
|
|
174
|
+
} from "./chunk-AZJHNQKQ.js";
|
|
143
175
|
import {
|
|
144
176
|
CURRENT_SESSION_VERSION,
|
|
145
177
|
SessionManager,
|
|
@@ -149,26 +181,27 @@ import {
|
|
|
149
181
|
migrateSessionEntries,
|
|
150
182
|
parseSessionEntries,
|
|
151
183
|
sessionEntryToContextMessages
|
|
152
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-XLTL257W.js";
|
|
153
185
|
import {
|
|
154
186
|
convertToLlm
|
|
155
187
|
} from "./chunk-FVDOXRUD.js";
|
|
156
|
-
import "./chunk-
|
|
157
|
-
import "./chunk-
|
|
158
|
-
import "./chunk-
|
|
159
|
-
import "./chunk-
|
|
188
|
+
import "./chunk-4EULYYR4.js";
|
|
189
|
+
import "./chunk-UJOCPOMX.js";
|
|
190
|
+
import "./chunk-2TKODGBZ.js";
|
|
191
|
+
import "./chunk-2MI5OPMN.js";
|
|
192
|
+
import "./chunk-IMLCWLPI.js";
|
|
160
193
|
import {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
import "./chunk-M3LZLQW2.js";
|
|
194
|
+
SessionSelectorComponent
|
|
195
|
+
} from "./chunk-ORH324EP.js";
|
|
196
|
+
import {
|
|
197
|
+
SessionOwnershipError
|
|
198
|
+
} from "./chunk-UAEOTO52.js";
|
|
167
199
|
import "./chunk-RQ2Q5IYR.js";
|
|
168
200
|
import "./chunk-JHYKXIMM.js";
|
|
169
201
|
import {
|
|
170
202
|
CustomEditor
|
|
171
203
|
} from "./chunk-H2EOZYMP.js";
|
|
204
|
+
import "./chunk-5EFIU3OM.js";
|
|
172
205
|
import "./chunk-PVCDKGR6.js";
|
|
173
206
|
import {
|
|
174
207
|
defineTool,
|
|
@@ -181,31 +214,26 @@ import {
|
|
|
181
214
|
isToolCallEventType,
|
|
182
215
|
isWriteToolResult
|
|
183
216
|
} from "./chunk-OR4L3IB2.js";
|
|
184
|
-
import "./chunk-
|
|
185
|
-
import "./chunk-AY6CAJSL.js";
|
|
217
|
+
import "./chunk-R3K2F5GI.js";
|
|
186
218
|
import {
|
|
187
219
|
parseArgs
|
|
188
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-E24EO34J.js";
|
|
189
221
|
import "./chunk-CCZJ3PYY.js";
|
|
190
222
|
import {
|
|
191
223
|
ExtensionSelectorComponent
|
|
192
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-6427XAWG.js";
|
|
193
225
|
import {
|
|
194
226
|
ExtensionInputComponent
|
|
195
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-PC2Z5TKZ.js";
|
|
196
228
|
import "./chunk-I6R76AG7.js";
|
|
197
|
-
import {
|
|
198
|
-
SessionSelectorComponent
|
|
199
|
-
} from "./chunk-JZQ7F36T.js";
|
|
200
|
-
import "./chunk-5EFIU3OM.js";
|
|
201
229
|
import {
|
|
202
230
|
DynamicBorder
|
|
203
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-6B2POMK7.js";
|
|
204
232
|
import {
|
|
205
233
|
keyHint,
|
|
206
234
|
keyText,
|
|
207
235
|
rawKeyHint
|
|
208
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-GNN7H3B7.js";
|
|
209
237
|
import {
|
|
210
238
|
Theme,
|
|
211
239
|
getAvailableThemes,
|
|
@@ -215,7 +243,7 @@ import {
|
|
|
215
243
|
getSettingsListTheme,
|
|
216
244
|
highlightCode,
|
|
217
245
|
initTheme
|
|
218
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-7QWNYZDI.js";
|
|
219
247
|
import {
|
|
220
248
|
CONFIG_DIR_NAME,
|
|
221
249
|
VERSION,
|
|
@@ -739,6 +767,7 @@ export {
|
|
|
739
767
|
ExtensionRunner,
|
|
740
768
|
ExtensionSelectorComponent,
|
|
741
769
|
FooterComponent,
|
|
770
|
+
HANDOFF_DURATION_MS,
|
|
742
771
|
InteractiveMode,
|
|
743
772
|
LoginDialogComponent,
|
|
744
773
|
ModelRegistry,
|
|
@@ -748,7 +777,9 @@ export {
|
|
|
748
777
|
ProjectTrustStore,
|
|
749
778
|
RpcClient,
|
|
750
779
|
SessionManager,
|
|
780
|
+
SessionOwnershipError,
|
|
751
781
|
SessionSelectorComponent,
|
|
782
|
+
SessionTransferError,
|
|
752
783
|
SettingsManager,
|
|
753
784
|
SettingsSelectorComponent,
|
|
754
785
|
ShowImagesSelectorComponent,
|
|
@@ -764,6 +795,7 @@ export {
|
|
|
764
795
|
buildContextEntries,
|
|
765
796
|
buildSessionContext,
|
|
766
797
|
calculateContextTokens,
|
|
798
|
+
cancelSessionHandoff,
|
|
767
799
|
collectEntriesForBranchSummary,
|
|
768
800
|
compact,
|
|
769
801
|
convertToLlm,
|
|
@@ -830,10 +862,14 @@ export {
|
|
|
830
862
|
isWriteToolResult,
|
|
831
863
|
keyHint,
|
|
832
864
|
keyText,
|
|
865
|
+
latestTuiSession,
|
|
866
|
+
listHandoffCandidates,
|
|
867
|
+
listRegisteredSessionPaths,
|
|
833
868
|
loadProjectContextFiles,
|
|
834
869
|
loadSkills,
|
|
835
870
|
loadSkillsFromDir,
|
|
836
871
|
main,
|
|
872
|
+
markSessionHandoff,
|
|
837
873
|
migrateSessionEntries,
|
|
838
874
|
parseArgs,
|
|
839
875
|
parseFrontmatter,
|
|
@@ -842,7 +878,10 @@ export {
|
|
|
842
878
|
prepareBranchEntries,
|
|
843
879
|
rawKeyHint,
|
|
844
880
|
readStoredCredential,
|
|
881
|
+
recordTuiActivity,
|
|
882
|
+
registerTransferHandler,
|
|
845
883
|
renderDiff,
|
|
884
|
+
requestSessionTransfer,
|
|
846
885
|
resizeImage,
|
|
847
886
|
resolveCliModel,
|
|
848
887
|
resolveModelScopeWithDiagnostics,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
updateMetadataCache,
|
|
9
9
|
updateServerMetadata,
|
|
10
10
|
updateStatusBar
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-VSELYKWU.js";
|
|
11
|
+
} from "./chunk-YJMMG7C6.js";
|
|
13
12
|
import "./chunk-4TLO4PO2.js";
|
|
13
|
+
import "./chunk-VSELYKWU.js";
|
|
14
14
|
import "./chunk-4HXHDDCF.js";
|
|
15
|
-
import "./chunk-BI3DHYCN.js";
|
|
16
15
|
import "./chunk-ARC4KOTI.js";
|
|
16
|
+
import "./chunk-BI3DHYCN.js";
|
|
17
17
|
import "./chunk-Q4Q6D4IY.js";
|
|
18
18
|
import "./chunk-BRJX2PRC.js";
|
|
19
19
|
export {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
readSecret
|
|
4
|
+
} from "./chunk-H4K3JDRB.js";
|
|
2
5
|
import {
|
|
3
6
|
FEATURE_CATALOG,
|
|
4
7
|
FEATURE_HANDLERS,
|
|
@@ -6,11 +9,13 @@ import {
|
|
|
6
9
|
applyFeatureFlags,
|
|
7
10
|
getFeatureSpec,
|
|
8
11
|
isProductUninstallArgv,
|
|
9
|
-
loadGatewayConfig,
|
|
10
12
|
loadInstallFeatures,
|
|
11
13
|
parseFeatureFlags,
|
|
12
14
|
saveInstallFeatures
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VWCE2HSZ.js";
|
|
16
|
+
import {
|
|
17
|
+
loadGatewayConfig
|
|
18
|
+
} from "./chunk-R3K2F5GI.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-NRXVZBLJ.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,72 @@
|
|
|
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-EQ63ANHL.js";
|
|
7
|
+
import "./chunk-KWA4OC2J.js";
|
|
8
|
+
import "./chunk-US544NN6.js";
|
|
9
|
+
import "./chunk-TQGPP4SC.js";
|
|
10
|
+
import "./chunk-Q5ZU2VRT.js";
|
|
11
|
+
import "./chunk-NUIFPZWX.js";
|
|
12
|
+
import "./chunk-H3XF4UVQ.js";
|
|
13
|
+
import "./chunk-7N3YHTYF.js";
|
|
14
|
+
import "./chunk-YPHAIRZT.js";
|
|
15
|
+
import "./chunk-5ZH3ZFIZ.js";
|
|
16
|
+
import "./chunk-TDL7UWJ7.js";
|
|
17
|
+
import "./chunk-CCCN2UCX.js";
|
|
18
|
+
import "./chunk-IQIEU7SB.js";
|
|
19
|
+
import "./chunk-OBMWP3I5.js";
|
|
20
|
+
import "./chunk-DVGWF6A2.js";
|
|
21
|
+
import "./chunk-QFWG2RVL.js";
|
|
22
|
+
import "./chunk-VSSXXL36.js";
|
|
23
|
+
import "./chunk-53YJI7JU.js";
|
|
24
|
+
import "./chunk-5ZQXRPMC.js";
|
|
25
|
+
import "./chunk-AD6VXAO7.js";
|
|
26
|
+
import "./chunk-GS66LV4M.js";
|
|
27
|
+
import "./chunk-WADV2VDS.js";
|
|
28
|
+
import "./chunk-UP2XBVH5.js";
|
|
29
|
+
import "./chunk-VWCE2HSZ.js";
|
|
30
|
+
import "./chunk-LISUTZS3.js";
|
|
31
|
+
import "./chunk-HTFRRDSF.js";
|
|
32
|
+
import "./chunk-URD2SLIT.js";
|
|
33
|
+
import "./chunk-OFKSVRV7.js";
|
|
34
|
+
import "./chunk-5BNJ4JUH.js";
|
|
35
|
+
import "./chunk-CGBXPL3E.js";
|
|
36
|
+
import "./chunk-BBUVIEZB.js";
|
|
37
|
+
import "./chunk-5D7LC2ZQ.js";
|
|
38
|
+
import "./chunk-M3LZLQW2.js";
|
|
39
|
+
import "./chunk-KKUTQQV7.js";
|
|
40
|
+
import "./chunk-CSFI6YXL.js";
|
|
41
|
+
import "./chunk-AZJHNQKQ.js";
|
|
42
|
+
import "./chunk-XLTL257W.js";
|
|
43
|
+
import "./chunk-FVDOXRUD.js";
|
|
44
|
+
import "./chunk-4EULYYR4.js";
|
|
45
|
+
import "./chunk-UJOCPOMX.js";
|
|
46
|
+
import "./chunk-2TKODGBZ.js";
|
|
47
|
+
import "./chunk-2MI5OPMN.js";
|
|
48
|
+
import "./chunk-IMLCWLPI.js";
|
|
49
|
+
import "./chunk-ORH324EP.js";
|
|
50
|
+
import "./chunk-UAEOTO52.js";
|
|
51
|
+
import "./chunk-RQ2Q5IYR.js";
|
|
52
|
+
import "./chunk-H2EOZYMP.js";
|
|
53
|
+
import "./chunk-5EFIU3OM.js";
|
|
54
|
+
import "./chunk-PVCDKGR6.js";
|
|
55
|
+
import "./chunk-OR4L3IB2.js";
|
|
56
|
+
import "./chunk-R3K2F5GI.js";
|
|
57
|
+
import "./chunk-E24EO34J.js";
|
|
58
|
+
import "./chunk-CCZJ3PYY.js";
|
|
59
|
+
import "./chunk-6427XAWG.js";
|
|
60
|
+
import "./chunk-PC2Z5TKZ.js";
|
|
61
|
+
import "./chunk-I6R76AG7.js";
|
|
62
|
+
import "./chunk-6B2POMK7.js";
|
|
63
|
+
import "./chunk-GNN7H3B7.js";
|
|
64
|
+
import "./chunk-7QWNYZDI.js";
|
|
65
|
+
import "./chunk-FQMM2EZ2.js";
|
|
66
|
+
import "./chunk-Q4Q6D4IY.js";
|
|
67
|
+
import "./chunk-BRJX2PRC.js";
|
|
68
|
+
export {
|
|
69
|
+
InteractiveMode,
|
|
70
|
+
formatResumeCommand,
|
|
71
|
+
startInteractiveToolInstalls
|
|
72
|
+
};
|
|
@@ -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-H3XF4UVQ.js";
|
|
6
6
|
import {
|
|
7
7
|
getChatboxEditor,
|
|
8
8
|
renderStatsLine,
|
|
9
9
|
thinkingThemeToken
|
|
10
10
|
} from "./chunk-JHYKXIMM.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-5EFIU3OM.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-7QWNYZDI.js";
|
|
24
24
|
import {
|
|
25
25
|
APP_NAME,
|
|
26
26
|
VERSION,
|
|
@@ -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-SPNF7EDR.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-K24TVKVW.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-LHRMJOKT.js");
|
|
190
190
|
return new Promise((resolve) => {
|
|
191
191
|
let settled = !1, finish = (path2) => {
|
|
192
192
|
settled || (settled = !0, this.restoreLayout(), resolve(path2));
|