@ashx-j/lunr-dev 0.2.16-dev.9.1 → 0.2.19-dev.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -1
- package/README.md +7 -1
- package/dist/builtin-extensions/ashxj-thinking.d.ts +1 -0
- package/dist/builtin-extensions/ashxj-thinking.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-thinking.js +44 -19
- package/dist/builtin-extensions/ashxj-thinking.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 +157 -0
- package/dist/builtin-extensions/lunr-computer-use.js.map +1 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js +10 -3
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.d.ts +5 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.js +26 -4
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.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 +37 -27
- package/dist/builtin-extensions/pi-mcp-adapter/index.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/server-manager.d.ts +6 -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 +33 -8
- package/dist/builtin-extensions/pi-mcp-adapter/server-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 +52 -23
- 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 +6 -2
- package/dist/builtin-extensions/pi-subagents/src/extension/schemas.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.js +5 -2
- package/dist/builtin-extensions/pi-subagents/src/runs/background/wait-tool.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/request-params.d.ts +10 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/request-params.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/request-params.js +38 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/request-params.js.map +1 -0
- 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 +3 -16
- package/dist/builtin-extensions/pi-subagents/src/runs/foreground/subagent-executor.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.js +2 -0
- package/dist/builtin-extensions/pi-subagents/src/runs/shared/child-tools.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts +1 -0
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js +70 -30
- package/dist/builtin-extensions/pi-subagents/src/tui/render.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 +103 -102
- package/dist/builtin-extensions/pi-web-access/index.js.map +1 -1
- package/dist/core/agent-session-services.d.ts.map +1 -1
- package/dist/core/agent-session-services.js +1 -1
- package/dist/core/agent-session-services.js.map +1 -1
- package/dist/core/computer-use/adapter.d.ts +23 -0
- package/dist/core/computer-use/adapter.d.ts.map +1 -0
- package/dist/core/computer-use/adapter.js +116 -0
- package/dist/core/computer-use/adapter.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 +66 -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 +88 -0
- package/dist/core/computer-use/schemas.d.ts.map +1 -0
- package/dist/core/computer-use/schemas.js +80 -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 +24 -0
- package/dist/core/computer-use/workflow.d.ts.map +1 -0
- package/dist/core/computer-use/workflow.js +330 -0
- package/dist/core/computer-use/workflow.js.map +1 -0
- package/dist/core/keybindings.d.ts +2 -2
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +2 -2
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/model-runtime.d.ts +0 -3
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +1 -10
- 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 +1 -1
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/permissions.d.ts +1 -1
- package/dist/core/permissions.d.ts.map +1 -1
- package/dist/core/permissions.js +23 -7
- package/dist/core/permissions.js.map +1 -1
- package/dist/core/plan-mode.d.ts.map +1 -1
- package/dist/core/plan-mode.js +9 -0
- package/dist/core/plan-mode.js.map +1 -1
- package/dist/core/rollback.d.ts.map +1 -1
- package/dist/core/rollback.js +13 -90
- package/dist/core/rollback.js.map +1 -1
- package/dist/core/session-manager.d.ts +0 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +21 -79
- package/dist/core/session-manager.js.map +1 -1
- 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/dev-cli.js +0 -0
- package/dist/gateway/agent-bridge.d.ts +6 -1
- package/dist/gateway/agent-bridge.d.ts.map +1 -1
- package/dist/gateway/agent-bridge.js +23 -6
- package/dist/gateway/agent-bridge.js.map +1 -1
- package/dist/gateway/cron.d.ts +1 -1
- package/dist/gateway/cron.d.ts.map +1 -1
- package/dist/gateway/cron.js +23 -7
- package/dist/gateway/cron.js.map +1 -1
- package/dist/modes/interactive/components/footer.d.ts +4 -2
- package/dist/modes/interactive/components/footer.d.ts.map +1 -1
- package/dist/modes/interactive/components/footer.js +23 -32
- package/dist/modes/interactive/components/footer.js.map +1 -1
- package/dist/modes/interactive/components/processes-selector.d.ts +2 -3
- package/dist/modes/interactive/components/processes-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/processes-selector.js +5 -10
- package/dist/modes/interactive/components/processes-selector.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.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +18 -8
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/thinking-level-slash.d.ts +4 -0
- package/dist/modes/interactive/thinking-level-slash.d.ts.map +1 -0
- package/dist/modes/interactive/thinking-level-slash.js +23 -0
- package/dist/modes/interactive/thinking-level-slash.js.map +1 -0
- package/dist/node-runtime/adapter-AZMY335J.js +279 -0
- package/dist/node-runtime/{agent-session-services-IFJMSX7Z.js → agent-session-services-RSGP5GDN.js} +15 -12
- package/dist/node-runtime/{builtin-extensions-LYZ3BFWQ.js → builtin-extensions-7STLFW3A.js} +4 -3
- package/dist/node-runtime/chunk-2IDTZAG5.js +1415 -0
- package/dist/node-runtime/{chunk-7NBZ5P7I.js → chunk-4SJWFTUP.js} +1 -1
- package/dist/node-runtime/{chunk-AJX357CL.js → chunk-5NWQCSKR.js} +20 -1013
- package/dist/node-runtime/chunk-5OLJGVCB.js +68 -0
- package/dist/node-runtime/chunk-5Q45AVQG.js +108 -0
- package/dist/node-runtime/{chunk-TQNSPERU.js → chunk-5SQDLSZJ.js} +1 -1
- package/dist/node-runtime/{chunk-F4VQFJI2.js → chunk-6SPPH4FY.js} +4 -4
- package/dist/node-runtime/{chunk-PBC2Y6GS.js → chunk-6UB6NKA3.js} +29 -72
- package/dist/node-runtime/{chunk-A2KQXUJD.js → chunk-7AFOFSDY.js} +1 -1
- package/dist/node-runtime/chunk-BKAZ6BKX.js +2185 -0
- package/dist/node-runtime/{chunk-AHSTJBIB.js → chunk-EH2LJQPM.js} +4 -4
- package/dist/node-runtime/{chunk-N77MY65L.js → chunk-FLYMHKCS.js} +25 -25
- package/dist/node-runtime/{chunk-5P7PZMRU.js → chunk-HRS4HMDX.js} +1 -1
- package/dist/node-runtime/{chunk-IPA627GP.js → chunk-ISQDQIZN.js} +4 -4
- package/dist/node-runtime/{chunk-WJVFOIB5.js → chunk-J7QGQD45.js} +1 -1
- package/dist/node-runtime/{chunk-WOVTOV5P.js → chunk-JT6YCS5B.js} +29 -34
- package/dist/node-runtime/chunk-JZHEUQRL.js +180 -0
- package/dist/node-runtime/{chunk-ZKMFUD3Q.js → chunk-K72NVGUB.js} +3 -3
- package/dist/node-runtime/{chunk-ECD5L7YI.js → chunk-LCACDWHJ.js} +389 -15
- package/dist/node-runtime/{chunk-2QKLKMKC.js → chunk-LTXUQJI4.js} +1 -1
- package/dist/node-runtime/{chunk-MKKH27PH.js → chunk-LWJXTA6Z.js} +274 -2416
- package/dist/node-runtime/{chunk-EDBJNRSM.js → chunk-MGSB2C3M.js} +1 -1
- package/dist/node-runtime/{chunk-CDFZEWPU.js → chunk-MUMMMTW4.js} +6 -2
- package/dist/node-runtime/{chunk-YF63P5ZT.js → chunk-OTT6JMPU.js} +10 -67
- package/dist/node-runtime/{chunk-PGAJ5MO5.js → chunk-T5GM5BFH.js} +1 -1
- package/dist/node-runtime/{chunk-PCGNAY2O.js → chunk-TAP7QTUT.js} +38 -16
- package/dist/node-runtime/{chunk-4TLO4PO2.js → chunk-U6C7VTR5.js} +7 -1401
- package/dist/node-runtime/chunk-URD2SLIT.js +1019 -0
- package/dist/node-runtime/{chunk-QH42CDX3.js → chunk-W7S2REEG.js} +111 -84
- package/dist/node-runtime/{chunk-LZAW4ZX3.js → chunk-ZRDIMBEQ.js} +27 -9
- package/dist/node-runtime/{chunk-AD6VXAO7.js → chunk-ZSEZY3II.js} +5 -100
- package/dist/node-runtime/cli-runtime.js +1 -1
- package/dist/node-runtime/{command-L3LAHDIH.js → command-6UXQ6XZN.js} +1 -1
- package/dist/node-runtime/{commands-RL5YBW5I.js → commands-LGR5VT5X.js} +6 -4
- package/dist/node-runtime/{direct-tool-executor-JVDXTO7A.js → direct-tool-executor-TDJS7TBD.js} +9 -6
- package/dist/node-runtime/{export-html-KR26FOUZ.js → export-html-E4DT6ZJQ.js} +1 -1
- package/dist/node-runtime/{extract-XLQSJN4V.js → extract-IUCVZCWC.js} +2 -2
- package/dist/node-runtime/{gateway-X2TI5X7F.js → gateway-3OLC4GQN.js} +22 -367
- package/dist/node-runtime/{gemini-search-U7SUMPQA.js → gemini-search-NCIDF7NE.js} +1 -1
- package/dist/node-runtime/{gemini-url-context-PXWCBQHK.js → gemini-url-context-OKIN7AIP.js} +2 -2
- package/dist/node-runtime/image-resize-6ZPBFMWW.js +11 -0
- package/dist/node-runtime/index.js +53 -49
- package/dist/node-runtime/{init-NJV2T55N.js → init-EKE277AG.js} +6 -4
- package/dist/node-runtime/{interactive-mode-KOM35YF2.js → interactive-mode-S5M26CQ7.js} +20 -17
- package/dist/node-runtime/{interactive-view-U6OILKF3.js → interactive-view-N6F4KUIT.js} +3 -5
- package/dist/node-runtime/lunr-computer-use-4X3KUNF4.js +206 -0
- package/dist/node-runtime/{lunr-cron-YJ5UHYRD.js → lunr-cron-KKBOGAEF.js} +7 -1
- package/dist/node-runtime/main.js +24 -21
- package/dist/node-runtime/{mcp-auth-flow-QIXHW6QN.js → mcp-auth-flow-YL6RWPYG.js} +2 -1
- package/dist/node-runtime/{package-manager-cli-TZZHJCVI.js → package-manager-cli-C4EJOO5Q.js} +8 -6
- package/dist/node-runtime/{pi-mcp-adapter-QFB37AVN.js → pi-mcp-adapter-DPTJGAAL.js} +33 -27
- package/dist/node-runtime/{pi-subagents-7XJ4H53P.js → pi-subagents-VKCLYIBY.js} +103 -76
- package/dist/node-runtime/{pi-web-access-DPGAVKOA.js → pi-web-access-BV6DSZOP.js} +72 -69
- package/dist/node-runtime/{proxy-modes-HEEFK4KC.js → proxy-modes-R64LU6WZ.js} +12 -9
- package/dist/node-runtime/rpc-entry.js +24 -21
- package/dist/node-runtime/runtime-3SB5ATHQ.js +21 -0
- package/dist/node-runtime/{runtime-bridges-PPHNBFWL.js → runtime-bridges-UJ5WJJLN.js} +3 -3
- package/dist/node-runtime/{session-manager-MQNBYACL.js → session-manager-QEMZBMTM.js} +3 -5
- package/dist/node-runtime/{session-selector-5AZLJS6U.js → session-selector-URVJLOTK.js} +2 -2
- package/dist/node-runtime/{settings-manager-5LF2VQWC.js → settings-manager-K6IPIQTI.js} +3 -1
- package/dist/node-runtime/{src-Y7JSCK64.js → src-GPFAU3N6.js} +30 -10
- package/dist/node-runtime/{subagent-executor-5RNDEPIJ.js → subagent-executor-EFLTO32A.js} +39 -21
- package/dist/node-runtime/{update-cli-A253SZ7P.js → update-cli-I6OVDRPL.js} +3 -1
- package/dist/node-runtime/{video-extract-OYT5WKS5.js → video-extract-ETA5RA7U.js} +2 -2
- package/dist/node-runtime/workflow-SA34S4VX.js +325 -0
- package/dist/node-runtime/{youtube-extract-TQYKGFGS.js → youtube-extract-SRVGNN26.js} +2 -2
- package/dist/rpc.d.ts +3 -0
- package/dist/rpc.d.ts.map +1 -0
- package/dist/rpc.js +18 -0
- package/dist/rpc.js.map +1 -0
- package/dist/startup/interactive-view.d.ts.map +1 -1
- package/dist/startup/interactive-view.js +1 -2
- package/dist/startup/interactive-view.js.map +1 -1
- package/docs/computer-use.md +277 -0
- package/docs/development.md +0 -32
- package/docs/features.md +2 -2
- package/docs/interactive-startup.md +10 -3
- package/docs/keybindings.md +2 -2
- package/docs/terminal-setup.md +1 -1
- package/docs/usage.md +1 -1
- 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/hidden-thinking-label.ts +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/install-lock/package-lock.json +3827 -0
- package/install-lock/package.json +18 -0
- package/native/computer-use/LICENSE.md +21 -0
- package/npm-shrinkwrap.json +3808 -0
- package/package.json +16 -10
- package/dist/startup/interactive-shell.d.ts +0 -55
- package/dist/startup/interactive-shell.d.ts.map +0 -1
- package/dist/startup/interactive-shell.js +0 -264
- package/dist/startup/interactive-shell.js.map +0 -1
- package/dist/node-runtime/{chunk-YSKSB3BJ.js → chunk-CH6OL6P2.js} +2 -2
- package/dist/node-runtime/{chunk-VSELYKWU.js → chunk-EHMBW7FA.js} +3 -3
|
@@ -2,48 +2,51 @@
|
|
|
2
2
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
main
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-FLYMHKCS.js";
|
|
6
|
+
import "./chunk-TAP7QTUT.js";
|
|
7
|
+
import "./chunk-ISQDQIZN.js";
|
|
8
|
+
import "./chunk-LTXUQJI4.js";
|
|
9
|
+
import "./chunk-PL6JKXWI.js";
|
|
10
|
+
import "./chunk-MGSB2C3M.js";
|
|
11
|
+
import "./chunk-JT6YCS5B.js";
|
|
12
|
+
import "./chunk-T5GM5BFH.js";
|
|
13
13
|
import "./chunk-OBMWP3I5.js";
|
|
14
14
|
import "./chunk-DVGWF6A2.js";
|
|
15
|
+
import "./chunk-5SQDLSZJ.js";
|
|
15
16
|
import "./chunk-QFWG2RVL.js";
|
|
16
17
|
import "./chunk-CGBXPL3E.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-AD6VXAO7.js";
|
|
19
|
-
import "./chunk-LZAW4ZX3.js";
|
|
20
|
-
import "./chunk-M3LZLQW2.js";
|
|
18
|
+
import "./chunk-K72NVGUB.js";
|
|
21
19
|
import "./chunk-53YJI7JU.js";
|
|
22
20
|
import "./chunk-GZQHMEWL.js";
|
|
23
21
|
import "./chunk-ZCHMJ34K.js";
|
|
22
|
+
import "./chunk-5Q45AVQG.js";
|
|
23
|
+
import "./chunk-ZRDIMBEQ.js";
|
|
24
|
+
import "./chunk-M3LZLQW2.js";
|
|
24
25
|
import {
|
|
25
26
|
configureHttpDispatcher
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-5NWQCSKR.js";
|
|
28
|
+
import "./chunk-URD2SLIT.js";
|
|
29
|
+
import "./chunk-5OLJGVCB.js";
|
|
30
|
+
import "./chunk-6UB6NKA3.js";
|
|
28
31
|
import "./chunk-FVDOXRUD.js";
|
|
29
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-EH2LJQPM.js";
|
|
30
33
|
import "./chunk-W3CVH5RX.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-RQ2Q5IYR.js";
|
|
34
|
+
import "./chunk-OTT6JMPU.js";
|
|
35
|
+
import "./chunk-AY6CAJSL.js";
|
|
34
36
|
import "./chunk-JHYKXIMM.js";
|
|
35
37
|
import "./chunk-H2EOZYMP.js";
|
|
36
38
|
import "./chunk-PVCDKGR6.js";
|
|
37
39
|
import "./chunk-OR4L3IB2.js";
|
|
40
|
+
import "./chunk-ZSEZY3II.js";
|
|
41
|
+
import "./chunk-RQ2Q5IYR.js";
|
|
38
42
|
import "./chunk-HQCKFM2O.js";
|
|
39
|
-
import "./chunk-AY6CAJSL.js";
|
|
40
43
|
import "./chunk-DDGMHUOW.js";
|
|
41
44
|
import "./chunk-CCZJ3PYY.js";
|
|
42
45
|
import "./chunk-MJQDX3BA.js";
|
|
43
46
|
import "./chunk-MGWCVY6Y.js";
|
|
44
47
|
import "./chunk-I6R76AG7.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-HRS4HMDX.js";
|
|
49
|
+
import "./chunk-CH6OL6P2.js";
|
|
47
50
|
import "./chunk-3GHXVUAK.js";
|
|
48
51
|
import "./chunk-C4O2RSQQ.js";
|
|
49
52
|
import "./chunk-MX3GJNXJ.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
CUA_VERSION,
|
|
4
|
+
assertOwnedPath,
|
|
5
|
+
installRuntime,
|
|
6
|
+
resolveRuntimeArchive,
|
|
7
|
+
runtimeEnvironment,
|
|
8
|
+
runtimeInventory
|
|
9
|
+
} from "./chunk-JZHEUQRL.js";
|
|
10
|
+
import "./chunk-URD2SLIT.js";
|
|
11
|
+
import "./chunk-PCIGF2XK.js";
|
|
12
|
+
import "./chunk-Q4Q6D4IY.js";
|
|
13
|
+
import "./chunk-BRJX2PRC.js";
|
|
14
|
+
export {
|
|
15
|
+
CUA_VERSION,
|
|
16
|
+
assertOwnedPath,
|
|
17
|
+
installRuntime,
|
|
18
|
+
resolveRuntimeArchive,
|
|
19
|
+
runtimeEnvironment,
|
|
20
|
+
runtimeInventory
|
|
21
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
bindRuntimeBridges
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EH2LJQPM.js";
|
|
5
5
|
import "./chunk-W3CVH5RX.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-HQCKFM2O.js";
|
|
6
|
+
import "./chunk-OTT6JMPU.js";
|
|
8
7
|
import "./chunk-AY6CAJSL.js";
|
|
8
|
+
import "./chunk-HQCKFM2O.js";
|
|
9
9
|
import "./chunk-PCIGF2XK.js";
|
|
10
10
|
import "./chunk-Q4Q6D4IY.js";
|
|
11
11
|
import "./chunk-BRJX2PRC.js";
|
|
@@ -11,9 +11,8 @@ import {
|
|
|
11
11
|
loadEntriesFromFile,
|
|
12
12
|
migrateSessionEntries,
|
|
13
13
|
parseSessionEntries,
|
|
14
|
-
sessionEntryToContextMessages
|
|
15
|
-
|
|
16
|
-
} from "./chunk-PBC2Y6GS.js";
|
|
14
|
+
sessionEntryToContextMessages
|
|
15
|
+
} from "./chunk-6UB6NKA3.js";
|
|
17
16
|
import "./chunk-FVDOXRUD.js";
|
|
18
17
|
import "./chunk-PCIGF2XK.js";
|
|
19
18
|
import "./chunk-Q4Q6D4IY.js";
|
|
@@ -30,6 +29,5 @@ export {
|
|
|
30
29
|
loadEntriesFromFile,
|
|
31
30
|
migrateSessionEntries,
|
|
32
31
|
parseSessionEntries,
|
|
33
|
-
sessionEntryToContextMessages
|
|
34
|
-
validateSessionGraph
|
|
32
|
+
sessionEntryToContextMessages
|
|
35
33
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
SessionSelectorComponent
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HRS4HMDX.js";
|
|
5
|
+
import "./chunk-CH6OL6P2.js";
|
|
6
6
|
import "./chunk-3GHXVUAK.js";
|
|
7
7
|
import "./chunk-C4O2RSQQ.js";
|
|
8
8
|
import "./chunk-MX3GJNXJ.js";
|
|
@@ -6,7 +6,9 @@ import {
|
|
|
6
6
|
SKILL_TAG_CHARACTERS,
|
|
7
7
|
SettingsManager,
|
|
8
8
|
parseSkillTagCharacter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5NWQCSKR.js";
|
|
10
|
+
import "./chunk-URD2SLIT.js";
|
|
11
|
+
import "./chunk-5OLJGVCB.js";
|
|
10
12
|
import "./chunk-AY6CAJSL.js";
|
|
11
13
|
import "./chunk-PCIGF2XK.js";
|
|
12
14
|
import "./chunk-Q4Q6D4IY.js";
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
awaitWithAbort
|
|
21
21
|
} from "./chunk-RRIZE6QQ.js";
|
|
22
|
+
import {
|
|
23
|
+
typebox_exports
|
|
24
|
+
} from "./chunk-PL6JKXWI.js";
|
|
22
25
|
import {
|
|
23
26
|
DEFAULT_MAX_BYTES,
|
|
24
27
|
DEFAULT_MAX_LINES,
|
|
25
28
|
truncateHead
|
|
26
29
|
} from "./chunk-53YJI7JU.js";
|
|
27
|
-
import {
|
|
28
|
-
typebox_exports
|
|
29
|
-
} from "./chunk-PL6JKXWI.js";
|
|
30
30
|
import {
|
|
31
31
|
isEditToolResult,
|
|
32
32
|
isReadToolResult,
|
|
@@ -50,6 +50,7 @@ var defaultLoaders = {
|
|
|
50
50
|
services = null;
|
|
51
51
|
initPromise = null;
|
|
52
52
|
bindOptions = null;
|
|
53
|
+
shutdownTail = Promise.resolve();
|
|
53
54
|
loaders;
|
|
54
55
|
constructor(loaders) {
|
|
55
56
|
this.loaders = { ...defaultLoaders, ...loaders };
|
|
@@ -66,10 +67,13 @@ var defaultLoaders = {
|
|
|
66
67
|
getBindOptions() {
|
|
67
68
|
return this.bindOptions;
|
|
68
69
|
}
|
|
70
|
+
isInitializing() {
|
|
71
|
+
return this.initPromise !== null;
|
|
72
|
+
}
|
|
69
73
|
bindSession(options) {
|
|
70
74
|
this.generation++;
|
|
71
75
|
let previous = this.services;
|
|
72
|
-
this.services = null, this.initPromise = null, this.bindOptions = options, previous && this.
|
|
76
|
+
return this.services = null, this.initPromise = null, this.bindOptions = options, previous && this.enqueueShutdown(previous), this.shutdownTail;
|
|
73
77
|
}
|
|
74
78
|
setPendingProvider(provider) {
|
|
75
79
|
this.bindOptions && (this.bindOptions = { ...this.bindOptions, pendingProvider: provider }), this.services && provider && this.services.manager.setWorkspaceProvider(provider);
|
|
@@ -84,7 +88,7 @@ var defaultLoaders = {
|
|
|
84
88
|
throw new Error("LSP runtime is not bound to a session");
|
|
85
89
|
this.bindOptions = fallbackOptions;
|
|
86
90
|
}
|
|
87
|
-
let gen = this.generation, pending = this.
|
|
91
|
+
let gen = this.generation, pending = this.loadServicesAfterShutdown(gen);
|
|
88
92
|
this.initPromise = pending;
|
|
89
93
|
try {
|
|
90
94
|
return await pending;
|
|
@@ -95,7 +99,17 @@ var defaultLoaders = {
|
|
|
95
99
|
async shutdown() {
|
|
96
100
|
this.generation++;
|
|
97
101
|
let previous = this.services;
|
|
98
|
-
this.services = null, this.initPromise = null, this.bindOptions = null, previous &&
|
|
102
|
+
this.services = null, this.initPromise = null, this.bindOptions = null, previous && this.enqueueShutdown(previous), await this.shutdownTail;
|
|
103
|
+
}
|
|
104
|
+
enqueueShutdown(services) {
|
|
105
|
+
this.shutdownTail = this.shutdownTail.catch(() => {
|
|
106
|
+
}).then(() => this.shutdownServices(services)).catch(() => {
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
async loadServicesAfterShutdown(gen) {
|
|
110
|
+
if (await this.shutdownTail, gen !== this.generation || !this.bindOptions)
|
|
111
|
+
throw new Error("LSP runtime initialization aborted: session replaced");
|
|
112
|
+
return this.loadServices(gen);
|
|
99
113
|
}
|
|
100
114
|
async loadServices(gen) {
|
|
101
115
|
let [managerMod, fileSyncMod, treeSitterMod, workspaceIndexMod] = await Promise.all([
|
|
@@ -121,7 +135,11 @@ var defaultLoaders = {
|
|
|
121
135
|
}
|
|
122
136
|
async shutdownServices(services) {
|
|
123
137
|
await services.manager.shutdownAll().catch(() => {
|
|
124
|
-
})
|
|
138
|
+
});
|
|
139
|
+
try {
|
|
140
|
+
services.treeSitter.shutdown();
|
|
141
|
+
} catch {
|
|
142
|
+
}
|
|
125
143
|
}
|
|
126
144
|
};
|
|
127
145
|
|
|
@@ -2201,7 +2219,7 @@ function lspExtension(pi) {
|
|
|
2201
2219
|
}
|
|
2202
2220
|
}), ensureRuntime = async () => host.ensureServices(buildBindOptions(sessionCwd || process.cwd()));
|
|
2203
2221
|
pi.on("session_start", async (_event, ctx) => {
|
|
2204
|
-
latestCtx = ctx, sessionCwd = ctx.cwd, projectConfig = loadProjectConfig(ctx.cwd), host.bindSession(buildBindOptions(ctx.cwd));
|
|
2222
|
+
latestCtx = ctx, sessionCwd = ctx.cwd, projectConfig = loadProjectConfig(ctx.cwd), await host.bindSession(buildBindOptions(ctx.cwd));
|
|
2205
2223
|
let statusText = pendingProvider?.getStatusText?.() ?? "";
|
|
2206
2224
|
if (statusText ? ctx.ui.setStatus("lsp", ctx.ui.theme.fg("accent", `LSP: ${statusText}`)) : ctx.ui.setStatus("lsp", ctx.ui.theme.fg("dim", "LSP: idle")), projectConfig?.autoStart && projectConfig.autoStart.length > 0) {
|
|
2207
2225
|
let langs = projectConfig.autoStart, generation = host.getGeneration();
|
|
@@ -2311,7 +2329,7 @@ ${lines.join(`
|
|
|
2311
2329
|
handler: async (_args, ctx) => {
|
|
2312
2330
|
let services = host.getServicesIfReady();
|
|
2313
2331
|
if (!services) {
|
|
2314
|
-
ctx.ui.notify("LSP
|
|
2332
|
+
ctx.ui.notify(host.isInitializing() ? "LSP runtime is starting" : "LSP runtime is idle (not started)", "info");
|
|
2315
2333
|
return;
|
|
2316
2334
|
}
|
|
2317
2335
|
let statuses = services.manager.getStatus();
|
|
@@ -2331,7 +2349,9 @@ ${lines.join(`
|
|
|
2331
2349
|
handler: async (args, ctx) => {
|
|
2332
2350
|
let services = host.getServicesIfReady();
|
|
2333
2351
|
if (!services) {
|
|
2334
|
-
ctx.ui.notify("LSP
|
|
2352
|
+
args?.trim() ? ctx.ui.notify(host.isInitializing() ? "LSP runtime is starting" : "LSP runtime is idle. Run an LSP tool before restarting a server.", "info") : ctx.ui.notify(`No LSP servers are running.
|
|
2353
|
+
|
|
2354
|
+
Usage: /lsp-restart <language>`, "info");
|
|
2335
2355
|
return;
|
|
2336
2356
|
}
|
|
2337
2357
|
let languageId = args?.trim().toLowerCase();
|
|
@@ -188,23 +188,25 @@ import {
|
|
|
188
188
|
writeNestedEvent,
|
|
189
189
|
writePrivateAtomicJson,
|
|
190
190
|
writeWatchdogModelSettings
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-MUMMMTW4.js";
|
|
192
192
|
import {
|
|
193
193
|
PLAN_MODE_WRITE_SPAWN_ERROR,
|
|
194
194
|
resolveChildPermissions,
|
|
195
195
|
snapshotParentPermissionMode
|
|
196
|
-
} from "./chunk-
|
|
197
|
-
import "./chunk-
|
|
198
|
-
import "./chunk-AD6VXAO7.js";
|
|
199
|
-
import "./chunk-LZAW4ZX3.js";
|
|
200
|
-
import "./chunk-M3LZLQW2.js";
|
|
196
|
+
} from "./chunk-MGSB2C3M.js";
|
|
197
|
+
import "./chunk-K72NVGUB.js";
|
|
201
198
|
import "./chunk-53YJI7JU.js";
|
|
202
199
|
import "./chunk-GZQHMEWL.js";
|
|
203
200
|
import "./chunk-ZCHMJ34K.js";
|
|
201
|
+
import "./chunk-5Q45AVQG.js";
|
|
202
|
+
import "./chunk-ZRDIMBEQ.js";
|
|
203
|
+
import "./chunk-M3LZLQW2.js";
|
|
204
|
+
import "./chunk-5OLJGVCB.js";
|
|
204
205
|
import {
|
|
205
206
|
SessionManager
|
|
206
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-6UB6NKA3.js";
|
|
207
208
|
import "./chunk-FVDOXRUD.js";
|
|
209
|
+
import "./chunk-ZSEZY3II.js";
|
|
208
210
|
import "./chunk-RQ2Q5IYR.js";
|
|
209
211
|
import "./chunk-C4O2RSQQ.js";
|
|
210
212
|
import "./chunk-MX3GJNXJ.js";
|
|
@@ -898,6 +900,34 @@ var ChainClarifyComponent = class {
|
|
|
898
900
|
}
|
|
899
901
|
};
|
|
900
902
|
|
|
903
|
+
// packages/coding-agent/dist/builtin-extensions/pi-subagents/src/runs/foreground/request-params.js
|
|
904
|
+
var LAUNCH_COMPATIBLE_ACTIONS = /* @__PURE__ */ new Set(["schedule", "append-step", "resume", "steer"]);
|
|
905
|
+
function omitExecutionModeActionAlias(params) {
|
|
906
|
+
let action = params.action?.toLowerCase();
|
|
907
|
+
if (action === "single" && params.task !== void 0) {
|
|
908
|
+
let rest = { ...params };
|
|
909
|
+
return delete rest.action, rest;
|
|
910
|
+
}
|
|
911
|
+
if ((action === "parallel" || action === "tasks") && (params.tasks?.length ?? 0) > 0) {
|
|
912
|
+
let rest = { ...params };
|
|
913
|
+
return delete rest.action, rest;
|
|
914
|
+
}
|
|
915
|
+
return params;
|
|
916
|
+
}
|
|
917
|
+
function hasLaunchFields(params) {
|
|
918
|
+
return params.task !== void 0 || Array.isArray(params.tasks) && params.tasks.length > 0 || Array.isArray(params.chain) && params.chain.length > 0;
|
|
919
|
+
}
|
|
920
|
+
function omitConflictingControlAction(params) {
|
|
921
|
+
let action = params.action?.toLowerCase();
|
|
922
|
+
if (!action || LAUNCH_COMPATIBLE_ACTIONS.has(action) || !hasLaunchFields(params))
|
|
923
|
+
return params;
|
|
924
|
+
let rest = { ...params };
|
|
925
|
+
return delete rest.action, typeof rest.task == "string" && rest.task.length > 0 && (delete rest.tasks, delete rest.chain), rest;
|
|
926
|
+
}
|
|
927
|
+
function resolveSubagentRequestParams(params) {
|
|
928
|
+
return omitConflictingControlAction(omitExecutionModeActionAlias(params));
|
|
929
|
+
}
|
|
930
|
+
|
|
901
931
|
// packages/coding-agent/dist/builtin-extensions/pi-subagents/src/runs/foreground/chain-execution.js
|
|
902
932
|
import * as fs7 from "node:fs";
|
|
903
933
|
import * as path6 from "node:path";
|
|
@@ -8062,22 +8092,10 @@ function foregroundCapacityResult(params, inFlight, limit) {
|
|
|
8062
8092
|
details: { mode: inferExecutionMode(params), results: [] }
|
|
8063
8093
|
};
|
|
8064
8094
|
}
|
|
8065
|
-
function omitExecutionModeActionAlias(params) {
|
|
8066
|
-
let action = params.action?.toLowerCase();
|
|
8067
|
-
if (action === "single" && params.task !== void 0) {
|
|
8068
|
-
let rest = { ...params };
|
|
8069
|
-
return delete rest.action, rest;
|
|
8070
|
-
}
|
|
8071
|
-
if ((action === "parallel" || action === "tasks") && (params.tasks?.length ?? 0) > 0) {
|
|
8072
|
-
let rest = { ...params };
|
|
8073
|
-
return delete rest.action, rest;
|
|
8074
|
-
}
|
|
8075
|
-
return params;
|
|
8076
|
-
}
|
|
8077
8095
|
function createSubagentExecutor(deps) {
|
|
8078
8096
|
let execute = async (_id, params, signal, onUpdate, ctx) => {
|
|
8079
8097
|
deps.state.baseCwd = ctx.cwd, deps.state.foregroundRuns ??= /* @__PURE__ */ new Map(), deps.state.foregroundControls ??= /* @__PURE__ */ new Map(), deps.state.lastForegroundControlId ??= null;
|
|
8080
|
-
let requestParams =
|
|
8098
|
+
let requestParams = resolveSubagentRequestParams(params), requestCwd = resolveRequestedCwd(ctx.cwd, requestParams.cwd), paramsWithResolvedCwd = requestParams.cwd === void 0 ? requestParams : { ...requestParams, cwd: requestCwd }, action = paramsWithResolvedCwd.action;
|
|
8081
8099
|
if (action) {
|
|
8082
8100
|
if (WATCHDOG_TOOL_ACTIONS.includes(action))
|
|
8083
8101
|
return deps.allowMutatingManagementActions === !1 && MUTATING_MANAGEMENT_ACTIONS.has(action) ? {
|
|
@@ -8461,7 +8479,7 @@ function createSubagentExecutor(deps) {
|
|
|
8461
8479
|
}, effectiveParams.context);
|
|
8462
8480
|
};
|
|
8463
8481
|
return { execute: async (id, params, signal, onUpdate, ctx) => {
|
|
8464
|
-
let requestParams =
|
|
8482
|
+
let requestParams = resolveSubagentRequestParams(params);
|
|
8465
8483
|
if (requestParams.action)
|
|
8466
8484
|
return execute(id, requestParams, signal, onUpdate, ctx);
|
|
8467
8485
|
let { depth } = checkSubagentDepth(deps.config.maxSubagentDepth), dispatchParams = applyForceTopLevelAsyncOverride(requestParams, depth, deps.config.forceTopLevelAsync === !0);
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
} from "./chunk-3WFAEVKS.js";
|
|
12
12
|
import {
|
|
13
13
|
extractHeadingTitle
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-J7QGQD45.js";
|
|
15
|
+
import "./chunk-4SJWFTUP.js";
|
|
16
16
|
import {
|
|
17
17
|
activityMonitor
|
|
18
18
|
} from "./chunk-DAPBPCBP.js";
|