@ashx-j/lunr-dev 0.2.13-dev.7.1 → 0.2.16-dev.9.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 +29 -1
- package/dist/builtin-extensions/ashxj-tui.d.ts +14 -0
- package/dist/builtin-extensions/ashxj-tui.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-tui.js +37 -3
- package/dist/builtin-extensions/ashxj-tui.js.map +1 -1
- package/dist/builtin-extensions/index.d.ts +1 -15
- package/dist/builtin-extensions/index.d.ts.map +1 -1
- package/dist/builtin-extensions/index.js +7 -21
- package/dist/builtin-extensions/index.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 +6 -2
- package/dist/builtin-extensions/narumiruna-pi-goal/src/goal.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/index.d.ts +4 -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 +163 -169
- package/dist/builtin-extensions/pi-lsp-extension/src/index.js.map +1 -1
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.d.ts +46 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.js +109 -0
- package/dist/builtin-extensions/pi-lsp-extension/src/runtime.js.map +1 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.d.ts +7 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.js +211 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tool-executor.js.map +1 -0
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.d.ts +0 -5
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.js +0 -202
- package/dist/builtin-extensions/pi-mcp-adapter/direct-tools.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/index.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/index.js +251 -94
- package/dist/builtin-extensions/pi-mcp-adapter/index.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.d.ts +4 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/init.js +10 -3
- package/dist/builtin-extensions/pi-mcp-adapter/init.js.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/metadata-cache.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-mcp-adapter/metadata-cache.js +6 -1
- package/dist/builtin-extensions/pi-mcp-adapter/metadata-cache.js.map +1 -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 +2 -1
- 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 +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 +1 -1
- 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 +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 +38 -14
- package/dist/builtin-extensions/pi-subagents/src/extension/index.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/fork-context.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/fork-context.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/shared/fork-context.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.d.ts +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.js +1 -1
- package/dist/builtin-extensions/pi-subagents/src/slash/slash-commands.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.d.ts +1 -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 +2 -1
- package/dist/builtin-extensions/pi-subagents/src/tui/render.js.map +1 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/review.d.ts +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 +2 -1
- package/dist/builtin-extensions/pi-subagents/src/watchdog/review.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/extract.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/extract.js +105 -54
- package/dist/builtin-extensions/pi-web-access/extract.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/gemini-search.d.ts +1 -1
- package/dist/builtin-extensions/pi-web-access/gemini-search.d.ts.map +1 -1
- package/dist/builtin-extensions/pi-web-access/gemini-search.js +82 -65
- package/dist/builtin-extensions/pi-web-access/gemini-search.js.map +1 -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 +2 -0
- 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 +167 -77
- package/dist/builtin-extensions/pi-web-access/index.js.map +1 -1
- package/dist/builtin-extensions/pi-web-access/lazy.d.ts +18 -0
- package/dist/builtin-extensions/pi-web-access/lazy.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-web-access/lazy.js +19 -0
- package/dist/builtin-extensions/pi-web-access/lazy.js.map +1 -0
- package/dist/builtin-extensions/pi-web-access/session-cleanup.d.ts +6 -0
- package/dist/builtin-extensions/pi-web-access/session-cleanup.d.ts.map +1 -0
- package/dist/builtin-extensions/pi-web-access/session-cleanup.js +17 -0
- package/dist/builtin-extensions/pi-web-access/session-cleanup.js.map +1 -0
- package/dist/catalog/models.json +1 -1
- package/dist/catalog/providers/amazon-bedrock.json +1 -1
- package/dist/catalog/providers/azure-openai-responses.json +1 -1
- package/dist/catalog/providers/fireworks.json +1 -1
- package/dist/catalog/providers/github-copilot.json +1 -1
- package/dist/catalog/providers/openai-codex.json +1 -1
- package/dist/catalog/providers/openai.json +1 -1
- package/dist/catalog/providers/opencode.json +1 -1
- package/dist/catalog/providers/openrouter.json +1 -1
- package/dist/catalog/providers/vercel-ai-gateway.json +1 -1
- package/dist/catalog/publication.json +131 -3
- package/dist/cli/list-models.d.ts.map +1 -1
- package/dist/cli/list-models.js +1 -0
- package/dist/cli/list-models.js.map +1 -1
- package/dist/cli-runtime.d.ts +3 -0
- package/dist/cli-runtime.d.ts.map +1 -0
- package/dist/cli-runtime.js +73 -0
- package/dist/cli-runtime.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -53
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -0
- package/dist/config.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 +56 -12
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/catalog-cache-scope.d.ts +3 -0
- package/dist/core/catalog-cache-scope.d.ts.map +1 -0
- package/dist/core/catalog-cache-scope.js +12 -0
- package/dist/core/catalog-cache-scope.js.map +1 -0
- package/dist/core/catalog-merge.d.ts +2 -0
- package/dist/core/catalog-merge.d.ts.map +1 -1
- package/dist/core/catalog-merge.js +29 -2
- package/dist/core/catalog-merge.js.map +1 -1
- package/dist/core/catalog-refresh-polling.d.ts +8 -0
- package/dist/core/catalog-refresh-polling.d.ts.map +1 -0
- package/dist/core/catalog-refresh-polling.js +30 -0
- package/dist/core/catalog-refresh-polling.js.map +1 -0
- package/dist/core/codex-catalog.d.ts +3 -0
- package/dist/core/codex-catalog.d.ts.map +1 -0
- package/dist/core/codex-catalog.js +15 -0
- package/dist/core/codex-catalog.js.map +1 -0
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +10 -5
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/extensions/host-static.d.ts.map +1 -1
- package/dist/core/extensions/host-static.js +34 -12
- package/dist/core/extensions/host-static.js.map +1 -1
- package/dist/core/extensions/loader.d.ts +1 -2
- package/dist/core/extensions/loader.d.ts.map +1 -1
- package/dist/core/extensions/loader.js +10 -64
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/extensions/types.d.ts +2 -2
- 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.map +1 -1
- package/dist/core/footer-data-provider.js +2 -0
- package/dist/core/footer-data-provider.js.map +1 -1
- package/dist/core/live-catalog.d.ts +5 -2
- package/dist/core/live-catalog.d.ts.map +1 -1
- package/dist/core/live-catalog.js +108 -27
- package/dist/core/live-catalog.js.map +1 -1
- package/dist/core/model-runtime.d.ts +8 -0
- package/dist/core/model-runtime.d.ts.map +1 -1
- package/dist/core/model-runtime.js +64 -12
- package/dist/core/model-runtime.js.map +1 -1
- package/dist/core/official-catalog.d.ts +4 -0
- package/dist/core/official-catalog.d.ts.map +1 -1
- package/dist/core/official-catalog.js +86 -21
- package/dist/core/official-catalog.js.map +1 -1
- package/dist/core/permissions.d.ts +0 -2
- package/dist/core/permissions.d.ts.map +1 -1
- package/dist/core/permissions.js +10 -18
- package/dist/core/permissions.js.map +1 -1
- package/dist/core/sdk.d.ts +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +1 -1
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +0 -1
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/timings.d.ts +2 -1
- package/dist/core/timings.d.ts.map +1 -1
- package/dist/core/timings.js +17 -2
- package/dist/core/timings.js.map +1 -1
- package/dist/gateway/commands.d.ts +1 -1
- package/dist/gateway/commands.d.ts.map +1 -1
- package/dist/gateway/commands.js +1 -18
- package/dist/gateway/commands.js.map +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +66 -48
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +4 -1
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +13 -22
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +141 -207
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +95 -84
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/node-runtime/agent-session-services-IFJMSX7Z.js +36 -0
- package/dist/node-runtime/benchmark-request-UC7PD3V3.js +57 -0
- package/dist/node-runtime/brave-UWDA3I22.js +143 -0
- package/dist/node-runtime/builtin-extensions-LYZ3BFWQ.js +28 -0
- package/dist/node-runtime/chunk-2QKLKMKC.js +173 -0
- package/dist/node-runtime/chunk-3GHXVUAK.js +21 -0
- package/dist/node-runtime/chunk-3RCWXWAY.js +466 -0
- package/dist/node-runtime/chunk-3WFAEVKS.js +115 -0
- package/dist/node-runtime/chunk-3X3KZKMI.js +49 -0
- package/dist/node-runtime/chunk-4HXHDDCF.js +16 -0
- package/dist/node-runtime/chunk-4TLO4PO2.js +3427 -0
- package/dist/node-runtime/chunk-4ZWGEEAS.js +69 -0
- package/dist/node-runtime/chunk-53YJI7JU.js +137 -0
- package/dist/node-runtime/chunk-5P7PZMRU.js +610 -0
- package/dist/node-runtime/chunk-7N3YHTYF.js +26 -0
- package/dist/node-runtime/chunk-7NBZ5P7I.js +24 -0
- package/dist/node-runtime/chunk-A2KQXUJD.js +105 -0
- package/dist/node-runtime/chunk-AD6VXAO7.js +342 -0
- package/dist/node-runtime/chunk-AHSTJBIB.js +64 -0
- package/dist/node-runtime/chunk-AJX357CL.js +20211 -0
- package/dist/node-runtime/chunk-ARC4KOTI.js +11178 -0
- package/dist/node-runtime/chunk-AUXVGBO4.js +19 -0
- package/dist/node-runtime/chunk-AY6CAJSL.js +30 -0
- package/dist/node-runtime/chunk-BHO7O6E5.js +296 -0
- package/dist/node-runtime/chunk-BI3DHYCN.js +8845 -0
- package/dist/node-runtime/chunk-BR7YDUKA.js +109 -0
- package/dist/node-runtime/chunk-BRJX2PRC.js +53 -0
- package/dist/node-runtime/chunk-C4O2RSQQ.js +37 -0
- package/dist/node-runtime/chunk-CCZJ3PYY.js +17 -0
- package/dist/node-runtime/chunk-CDFZEWPU.js +8388 -0
- package/dist/node-runtime/chunk-CGBXPL3E.js +1171 -0
- package/dist/node-runtime/chunk-CJECDQKP.js +19 -0
- package/dist/node-runtime/chunk-DAPBPCBP.js +53 -0
- package/dist/node-runtime/chunk-DDGMHUOW.js +305 -0
- package/dist/node-runtime/chunk-DMMTJQMQ.js +43 -0
- package/dist/node-runtime/chunk-DVGWF6A2.js +1180 -0
- package/dist/node-runtime/chunk-ECD5L7YI.js +1369 -0
- package/dist/node-runtime/chunk-EDBJNRSM.js +46 -0
- package/dist/node-runtime/chunk-F4VQFJI2.js +1269 -0
- package/dist/node-runtime/chunk-FVDOXRUD.js +96 -0
- package/dist/node-runtime/chunk-GZQHMEWL.js +126 -0
- package/dist/node-runtime/chunk-H2EOZYMP.js +57 -0
- package/dist/node-runtime/chunk-HQCKFM2O.js +56 -0
- package/dist/node-runtime/chunk-HYHJIRDW.js +19 -0
- package/dist/node-runtime/chunk-I6R76AG7.js +22 -0
- package/dist/node-runtime/chunk-IPA627GP.js +296 -0
- package/dist/node-runtime/chunk-JHYKXIMM.js +378 -0
- package/dist/node-runtime/chunk-KKSIVROT.js +88 -0
- package/dist/node-runtime/chunk-LZAW4ZX3.js +633 -0
- package/dist/node-runtime/chunk-M3LZLQW2.js +98 -0
- package/dist/node-runtime/chunk-MGWCVY6Y.js +47 -0
- package/dist/node-runtime/chunk-MJQDX3BA.js +72 -0
- package/dist/node-runtime/chunk-MKKH27PH.js +8956 -0
- package/dist/node-runtime/chunk-MX3GJNXJ.js +986 -0
- package/dist/node-runtime/chunk-N77MY65L.js +966 -0
- package/dist/node-runtime/chunk-NUIFPZWX.js +209 -0
- package/dist/node-runtime/chunk-OBMWP3I5.js +68 -0
- package/dist/node-runtime/chunk-OR4L3IB2.js +42 -0
- package/dist/node-runtime/chunk-PBC2Y6GS.js +903 -0
- package/dist/node-runtime/chunk-PCGNAY2O.js +1324 -0
- package/dist/node-runtime/chunk-PCIGF2XK.js +250 -0
- package/dist/node-runtime/chunk-PGAJ5MO5.js +7558 -0
- package/dist/node-runtime/chunk-PL6JKXWI.js +3622 -0
- package/dist/node-runtime/chunk-PVCDKGR6.js +55 -0
- package/dist/node-runtime/chunk-Q4Q6D4IY.js +364 -0
- package/dist/node-runtime/chunk-Q5ZU2VRT.js +83 -0
- package/dist/node-runtime/chunk-QFWG2RVL.js +5477 -0
- package/dist/node-runtime/chunk-QH42CDX3.js +9451 -0
- package/dist/node-runtime/chunk-RQ2Q5IYR.js +72 -0
- package/dist/node-runtime/chunk-RQ5DNUNG.js +429 -0
- package/dist/node-runtime/chunk-RRIZE6QQ.js +17 -0
- package/dist/node-runtime/chunk-SN6G4OU6.js +4753 -0
- package/dist/node-runtime/chunk-SWSN6HAB.js +53 -0
- package/dist/node-runtime/chunk-TQNSPERU.js +949 -0
- package/dist/node-runtime/chunk-VRB2IYGG.js +53 -0
- package/dist/node-runtime/chunk-VSELYKWU.js +772 -0
- package/dist/node-runtime/chunk-W3CVH5RX.js +62 -0
- package/dist/node-runtime/chunk-WJVFOIB5.js +24921 -0
- package/dist/node-runtime/chunk-WOVTOV5P.js +5653 -0
- package/dist/node-runtime/chunk-XBWPBZBN.js +125 -0
- package/dist/node-runtime/chunk-XTHQ7XR7.js +509 -0
- package/dist/node-runtime/chunk-YF63P5ZT.js +864 -0
- package/dist/node-runtime/chunk-YSKSB3BJ.js +295 -0
- package/dist/node-runtime/chunk-ZCHMJ34K.js +130 -0
- package/dist/node-runtime/chunk-ZKMFUD3Q.js +2834 -0
- package/dist/node-runtime/cli-runtime.js +81 -0
- package/dist/node-runtime/clipboard-OZ63BBC6.js +12 -0
- package/dist/node-runtime/clipboard-image-7QR6GXVA.js +13 -0
- package/dist/node-runtime/command-L3LAHDIH.js +13 -0
- package/dist/node-runtime/commands-RL5YBW5I.js +291 -0
- package/dist/node-runtime/config-FMEOZSWE.js +77 -0
- package/dist/node-runtime/curator-server-XCM43VEF.js +3816 -0
- package/dist/node-runtime/customize-XEXL2DGQ.js +12 -0
- package/dist/node-runtime/direct-tool-executor-JVDXTO7A.js +188 -0
- package/dist/node-runtime/exa-LL64QZR2.js +329 -0
- package/dist/node-runtime/export-html-KR26FOUZ.js +150 -0
- package/dist/node-runtime/extension-input-RV5N6APL.js +14 -0
- package/dist/node-runtime/extension-selector-CPD5LWDD.js +14 -0
- package/dist/node-runtime/extract-XLQSJN4V.js +17 -0
- package/dist/node-runtime/file-sync-HCOP2QVF.js +117 -0
- package/dist/node-runtime/gateway-X2TI5X7F.js +2484 -0
- package/dist/node-runtime/gemini-api-QE7ANVDZ.js +29 -0
- package/dist/node-runtime/gemini-search-U7SUMPQA.js +330 -0
- package/dist/node-runtime/gemini-url-context-PXWCBQHK.js +103 -0
- package/dist/node-runtime/gemini-web-MM446SEH.js +14 -0
- package/dist/node-runtime/github-extract-F64RZOEA.js +619 -0
- package/dist/node-runtime/goal-CZQ7FFQJ.js +1831 -0
- package/dist/node-runtime/index.js +859 -0
- package/dist/node-runtime/init-NJV2T55N.js +28 -0
- package/dist/node-runtime/install-cli-TH7IJJQQ.js +308 -0
- package/dist/node-runtime/interactive-mode-KOM35YF2.js +56 -0
- package/dist/node-runtime/interactive-view-U6OILKF3.js +249 -0
- package/dist/node-runtime/lsp-manager-3ASUSO4T.js +1104 -0
- package/dist/node-runtime/lunr-cron-YJ5UHYRD.js +268 -0
- package/dist/node-runtime/main.js +54 -0
- package/dist/node-runtime/mcp-auth-flow-QIXHW6QN.js +32 -0
- package/dist/node-runtime/mcp-panel-IIGMXQGP.js +501 -0
- package/dist/node-runtime/mcp-setup-panel-FEK7663I.js +355 -0
- package/dist/node-runtime/memory-cap-3S4XRLNP.js +20 -0
- package/dist/node-runtime/model-tiers-NJLHUEGK.js +20 -0
- package/dist/node-runtime/openai-search-B3MSNCQA.js +288 -0
- package/dist/node-runtime/package-manager-cli-TZZHJCVI.js +749 -0
- package/dist/node-runtime/parallel-AI2MNSCU.js +265 -0
- package/dist/node-runtime/parser-manager-TQHWYDH7.js +152 -0
- package/dist/node-runtime/pdf-extract-IPE6H4HP.js +57 -0
- package/dist/node-runtime/perplexity-QVJW3I35.js +12 -0
- package/dist/node-runtime/pi-intercom-EEMBGQID.js +2215 -0
- package/dist/node-runtime/pi-mcp-adapter-QFB37AVN.js +422 -0
- package/dist/node-runtime/pi-ollama-cloud-4VZRMULP.js +1440 -0
- package/dist/node-runtime/pi-prompt-template-model-4QT4LLXF.js +3946 -0
- package/dist/node-runtime/pi-subagents-7XJ4H53P.js +6023 -0
- package/dist/node-runtime/pi-web-access-DPGAVKOA.js +1864 -0
- package/dist/node-runtime/print-mode-VWIRFDAC.js +12 -0
- package/dist/node-runtime/proxy-modes-HEEFK4KC.js +685 -0
- package/dist/node-runtime/rpc-entry.js +62 -0
- package/dist/node-runtime/rpc-mode-SJNSOA4G.js +13 -0
- package/dist/node-runtime/runtime-bridges-PPHNBFWL.js +14 -0
- package/dist/node-runtime/session-manager-MQNBYACL.js +35 -0
- package/dist/node-runtime/session-selector-5AZLJS6U.js +14 -0
- package/dist/node-runtime/settings-manager-5LF2VQWC.js +21 -0
- package/dist/node-runtime/src-Y7JSCK64.js +2407 -0
- package/dist/node-runtime/subagent-executor-5RNDEPIJ.js +8483 -0
- package/dist/node-runtime/summary-review-YSMXKITO.js +228 -0
- package/dist/node-runtime/tavily-WEZFVFP7.js +154 -0
- package/dist/node-runtime/timings-UAD5BEAS.js +16 -0
- package/dist/node-runtime/tool-renderer-MV5O452K.js +204 -0
- package/dist/node-runtime/update-cli-A253SZ7P.js +73 -0
- package/dist/node-runtime/v4-5MNC3H7G.js +424 -0
- package/dist/node-runtime/video-extract-OYT5WKS5.js +304 -0
- package/dist/node-runtime/workspace-index-6DBXSTJ6.js +163 -0
- package/dist/node-runtime/youtube-extract-TQYKGFGS.js +264 -0
- package/dist/startup/benchmark-request.d.ts +3 -0
- package/dist/startup/benchmark-request.d.ts.map +1 -0
- package/dist/startup/benchmark-request.js +65 -0
- package/dist/startup/benchmark-request.js.map +1 -0
- package/dist/startup/interactive-view.d.ts +55 -0
- package/dist/startup/interactive-view.d.ts.map +1 -0
- package/dist/startup/interactive-view.js +332 -0
- package/dist/startup/interactive-view.js.map +1 -0
- package/dist/startup/launch-routing.d.ts.map +1 -1
- package/dist/startup/launch-routing.js +9 -10
- package/dist/startup/launch-routing.js.map +1 -1
- package/dist/startup/startup-milestones.d.ts +1 -1
- package/dist/startup/startup-milestones.d.ts.map +1 -1
- package/dist/startup/startup-milestones.js +3 -2
- package/dist/startup/startup-milestones.js.map +1 -1
- package/dist/utils/await-with-abort.d.ts +2 -0
- package/dist/utils/await-with-abort.d.ts.map +1 -0
- package/dist/utils/await-with-abort.js +19 -0
- package/dist/utils/await-with-abort.js.map +1 -0
- package/dist/utils/syntax-highlight.d.ts.map +1 -1
- package/dist/utils/syntax-highlight.js +10 -4
- package/dist/utils/syntax-highlight.js.map +1 -1
- package/docs/compaction.md +5 -3
- package/docs/development.md +5 -1
- package/docs/features.md +0 -1
- package/docs/interactive-startup.md +98 -0
- package/docs/model-catalog.md +29 -0
- package/docs/usage.md +0 -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/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 +20 -20
- package/dist/core/swarm.d.ts +0 -23
- package/dist/core/swarm.d.ts.map +0 -1
- package/dist/core/swarm.js +0 -45
- package/dist/core/swarm.js.map +0 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
activityMonitor
|
|
4
|
+
} from "./chunk-DAPBPCBP.js";
|
|
5
|
+
import {
|
|
6
|
+
getWebSearchConfigPath
|
|
7
|
+
} from "./chunk-VRB2IYGG.js";
|
|
8
|
+
import "./chunk-BRJX2PRC.js";
|
|
9
|
+
|
|
10
|
+
// packages/coding-agent/dist/builtin-extensions/pi-web-access/brave.js
|
|
11
|
+
import { existsSync, readFileSync } from "node:fs";
|
|
12
|
+
var BRAVE_API_URL = "https://api.search.brave.com/res/v1/web/search", CONFIG_PATH = getWebSearchConfigPath(), SEARCH_TIMEOUT_MS = 3e4, cachedConfig = null;
|
|
13
|
+
function loadConfig() {
|
|
14
|
+
if (cachedConfig)
|
|
15
|
+
return cachedConfig;
|
|
16
|
+
if (!existsSync(CONFIG_PATH))
|
|
17
|
+
return cachedConfig = {}, cachedConfig;
|
|
18
|
+
let raw = readFileSync(CONFIG_PATH, "utf-8");
|
|
19
|
+
try {
|
|
20
|
+
return cachedConfig = JSON.parse(raw), cachedConfig;
|
|
21
|
+
} catch (err) {
|
|
22
|
+
let message = err instanceof Error ? err.message : String(err);
|
|
23
|
+
throw new Error(`Failed to parse ${CONFIG_PATH}: ${message}`);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function normalizeApiKey(value) {
|
|
27
|
+
if (typeof value != "string")
|
|
28
|
+
return null;
|
|
29
|
+
let normalized = value.trim();
|
|
30
|
+
return normalized.length > 0 ? normalized : null;
|
|
31
|
+
}
|
|
32
|
+
function getApiKey() {
|
|
33
|
+
return normalizeApiKey(process.env.BRAVE_API_KEY) ?? normalizeApiKey(loadConfig().braveApiKey);
|
|
34
|
+
}
|
|
35
|
+
function normalizeCount(value) {
|
|
36
|
+
return typeof value != "number" || !Number.isFinite(value) ? 5 : Math.max(1, Math.min(Math.floor(value), 20));
|
|
37
|
+
}
|
|
38
|
+
function normalizeDomain(value) {
|
|
39
|
+
let input = value.trim().toLowerCase();
|
|
40
|
+
if (!input || (input.startsWith("-") && (input = input.slice(1).trim()), !input))
|
|
41
|
+
return null;
|
|
42
|
+
try {
|
|
43
|
+
input = (input.includes("://") ? new URL(input) : new URL(`https://${input}`)).hostname;
|
|
44
|
+
} catch {
|
|
45
|
+
input = input.split("/")[0]?.split(":")[0] ?? "";
|
|
46
|
+
}
|
|
47
|
+
return input = input.replace(/^\.+|\.+$/g, ""), /^[a-z0-9][a-z0-9.-]*\.[a-z]{2,}$/i.test(input) ? input : null;
|
|
48
|
+
}
|
|
49
|
+
function normalizeDomainFilters(domainFilter) {
|
|
50
|
+
let filters = { allowed: [], blocked: [] };
|
|
51
|
+
if (!domainFilter?.length)
|
|
52
|
+
return filters;
|
|
53
|
+
for (let raw of domainFilter) {
|
|
54
|
+
let domain = normalizeDomain(raw);
|
|
55
|
+
if (!domain)
|
|
56
|
+
continue;
|
|
57
|
+
let target = raw.trim().startsWith("-") ? filters.blocked : filters.allowed;
|
|
58
|
+
target.includes(domain) || target.push(domain);
|
|
59
|
+
}
|
|
60
|
+
return filters;
|
|
61
|
+
}
|
|
62
|
+
function buildBraveQuery(query, domainFilter) {
|
|
63
|
+
let filters = normalizeDomainFilters(domainFilter), parts = [query];
|
|
64
|
+
filters.allowed.length === 1 ? parts.push(`site:${filters.allowed[0]}`) : filters.allowed.length > 1 && parts.push(filters.allowed.map((domain) => `site:${domain}`).join(" OR "));
|
|
65
|
+
for (let domain of filters.blocked)
|
|
66
|
+
parts.push(`NOT site:${domain}`);
|
|
67
|
+
return parts.join(" ");
|
|
68
|
+
}
|
|
69
|
+
function hostMatchesDomain(hostname, domain) {
|
|
70
|
+
return hostname === domain || hostname.endsWith(`.${domain}`);
|
|
71
|
+
}
|
|
72
|
+
function matchesDomainFilters(url, filters) {
|
|
73
|
+
if (filters.allowed.length === 0 && filters.blocked.length === 0)
|
|
74
|
+
return !0;
|
|
75
|
+
let hostname = "";
|
|
76
|
+
try {
|
|
77
|
+
hostname = new URL(url).hostname.toLowerCase();
|
|
78
|
+
} catch {
|
|
79
|
+
return !1;
|
|
80
|
+
}
|
|
81
|
+
return filters.allowed.length > 0 && !filters.allowed.some((domain) => hostMatchesDomain(hostname, domain)) ? !1 : !filters.blocked.some((domain) => hostMatchesDomain(hostname, domain));
|
|
82
|
+
}
|
|
83
|
+
function isBraveAvailable() {
|
|
84
|
+
return !!getApiKey();
|
|
85
|
+
}
|
|
86
|
+
async function searchWithBrave(query, options = {}) {
|
|
87
|
+
let apiKey = getApiKey();
|
|
88
|
+
if (!apiKey)
|
|
89
|
+
throw new Error(`Brave Search API key not found. Either:
|
|
90
|
+
1. Create ${CONFIG_PATH} with { "braveApiKey": "your-key" }
|
|
91
|
+
2. Set BRAVE_API_KEY environment variable
|
|
92
|
+
Get a key at https://brave.com/search/api/`);
|
|
93
|
+
let numResults = normalizeCount(options.numResults), domainFilters = normalizeDomainFilters(options.domainFilter), searchQuery = buildBraveQuery(query, options.domainFilter), activityId = activityMonitor.logStart({ type: "api", query: searchQuery }), params = new URLSearchParams({
|
|
94
|
+
q: searchQuery,
|
|
95
|
+
count: String(options.domainFilter?.length ? 20 : numResults)
|
|
96
|
+
});
|
|
97
|
+
if (options.recencyFilter) {
|
|
98
|
+
let freshness = {
|
|
99
|
+
day: "pd",
|
|
100
|
+
week: "pw",
|
|
101
|
+
month: "pm",
|
|
102
|
+
year: "py"
|
|
103
|
+
}[options.recencyFilter];
|
|
104
|
+
freshness && params.set("freshness", freshness);
|
|
105
|
+
}
|
|
106
|
+
try {
|
|
107
|
+
let response = await fetch(`${BRAVE_API_URL}?${params.toString()}`, {
|
|
108
|
+
method: "GET",
|
|
109
|
+
headers: {
|
|
110
|
+
"X-Subscription-Token": apiKey,
|
|
111
|
+
Accept: "application/json",
|
|
112
|
+
"Accept-Encoding": "gzip"
|
|
113
|
+
},
|
|
114
|
+
signal: options.signal ? AbortSignal.any([AbortSignal.timeout(SEARCH_TIMEOUT_MS), options.signal]) : AbortSignal.timeout(SEARCH_TIMEOUT_MS)
|
|
115
|
+
});
|
|
116
|
+
if (!response.ok) {
|
|
117
|
+
activityMonitor.logError(activityId, `HTTP ${response.status}`);
|
|
118
|
+
let errorText = await response.text();
|
|
119
|
+
throw new Error(`Brave Search API error ${response.status}: ${errorText.slice(0, 300)}`);
|
|
120
|
+
}
|
|
121
|
+
let data = await response.json();
|
|
122
|
+
activityMonitor.logComplete(activityId, response.status);
|
|
123
|
+
let results = [];
|
|
124
|
+
for (let item of data.web?.results ?? [])
|
|
125
|
+
if (!(!item.url || !matchesDomainFilters(item.url, domainFilters)) && (results.push({
|
|
126
|
+
title: item.title || item.url,
|
|
127
|
+
url: item.url,
|
|
128
|
+
snippet: item.description || ""
|
|
129
|
+
}), results.length >= numResults))
|
|
130
|
+
break;
|
|
131
|
+
return { answer: results.map((result) => result.snippet ? `${result.snippet}
|
|
132
|
+
Source: ${result.title} (${result.url})` : `Source: ${result.title} (${result.url})`).join(`
|
|
133
|
+
|
|
134
|
+
`), results };
|
|
135
|
+
} catch (err) {
|
|
136
|
+
let message = err instanceof Error ? err.message : String(err);
|
|
137
|
+
throw message.toLowerCase().includes("abort") ? activityMonitor.logComplete(activityId, 0) : activityMonitor.logError(activityId, message), err;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
export {
|
|
141
|
+
isBraveAvailable,
|
|
142
|
+
searchWithBrave
|
|
143
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DEFERRED_BUILTIN_EXTENSION_NAMES,
|
|
4
|
+
DEFERRED_BUILTIN_FLAGS,
|
|
5
|
+
builtinExtensions,
|
|
6
|
+
lightBuiltinExtensions,
|
|
7
|
+
loadAllBuiltinExtensions,
|
|
8
|
+
loadDeferredBuiltinExtensions
|
|
9
|
+
} from "./chunk-PCGNAY2O.js";
|
|
10
|
+
import "./chunk-LZAW4ZX3.js";
|
|
11
|
+
import "./chunk-M3LZLQW2.js";
|
|
12
|
+
import "./chunk-PL6JKXWI.js";
|
|
13
|
+
import "./chunk-JHYKXIMM.js";
|
|
14
|
+
import "./chunk-H2EOZYMP.js";
|
|
15
|
+
import "./chunk-PVCDKGR6.js";
|
|
16
|
+
import "./chunk-C4O2RSQQ.js";
|
|
17
|
+
import "./chunk-MX3GJNXJ.js";
|
|
18
|
+
import "./chunk-PCIGF2XK.js";
|
|
19
|
+
import "./chunk-Q4Q6D4IY.js";
|
|
20
|
+
import "./chunk-BRJX2PRC.js";
|
|
21
|
+
export {
|
|
22
|
+
DEFERRED_BUILTIN_EXTENSION_NAMES,
|
|
23
|
+
DEFERRED_BUILTIN_FLAGS,
|
|
24
|
+
builtinExtensions,
|
|
25
|
+
lightBuiltinExtensions,
|
|
26
|
+
loadAllBuiltinExtensions,
|
|
27
|
+
loadDeferredBuiltinExtensions
|
|
28
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
require_proper_lockfile
|
|
4
|
+
} from "./chunk-AJX357CL.js";
|
|
5
|
+
import {
|
|
6
|
+
CONFIG_DIR_NAME,
|
|
7
|
+
canonicalizePath,
|
|
8
|
+
resolvePath
|
|
9
|
+
} from "./chunk-PCIGF2XK.js";
|
|
10
|
+
import {
|
|
11
|
+
__toESM
|
|
12
|
+
} from "./chunk-BRJX2PRC.js";
|
|
13
|
+
|
|
14
|
+
// packages/coding-agent/dist/core/trust-manager.js
|
|
15
|
+
var import_proper_lockfile = __toESM(require_proper_lockfile(), 1);
|
|
16
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
17
|
+
import { homedir } from "node:os";
|
|
18
|
+
import { dirname, join } from "node:path";
|
|
19
|
+
var TRUST_REQUIRING_PROJECT_CONFIG_RESOURCES = [
|
|
20
|
+
"settings.json",
|
|
21
|
+
"extensions",
|
|
22
|
+
"skills",
|
|
23
|
+
"prompts",
|
|
24
|
+
"themes",
|
|
25
|
+
"SYSTEM.md",
|
|
26
|
+
"APPEND_SYSTEM.md"
|
|
27
|
+
];
|
|
28
|
+
function normalizeCwd(cwd) {
|
|
29
|
+
return canonicalizePath(resolvePath(cwd));
|
|
30
|
+
}
|
|
31
|
+
function findNearestTrustEntry(data, cwd) {
|
|
32
|
+
let currentDir = normalizeCwd(cwd);
|
|
33
|
+
for (; ; ) {
|
|
34
|
+
let value = data[currentDir];
|
|
35
|
+
if (value === !0 || value === !1)
|
|
36
|
+
return { path: currentDir, decision: value };
|
|
37
|
+
let parentDir = dirname(currentDir);
|
|
38
|
+
if (parentDir === currentDir)
|
|
39
|
+
return null;
|
|
40
|
+
currentDir = parentDir;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function getProjectTrustParentPath(cwd) {
|
|
44
|
+
let trustPath = normalizeCwd(cwd), parentDir = dirname(trustPath);
|
|
45
|
+
return parentDir === trustPath ? void 0 : parentDir;
|
|
46
|
+
}
|
|
47
|
+
function getProjectTrustOptions(cwd, options) {
|
|
48
|
+
let trustPath = normalizeCwd(cwd), trustOptions = [
|
|
49
|
+
{ label: "Trust", trusted: !0, updates: [{ path: trustPath, decision: !0 }], savedPath: trustPath }
|
|
50
|
+
], parentPath = getProjectTrustParentPath(cwd);
|
|
51
|
+
return parentPath !== void 0 && trustOptions.push({
|
|
52
|
+
label: `Trust parent folder (${parentPath})`,
|
|
53
|
+
trusted: !0,
|
|
54
|
+
updates: [
|
|
55
|
+
{ path: parentPath, decision: !0 },
|
|
56
|
+
{ path: trustPath, decision: null }
|
|
57
|
+
],
|
|
58
|
+
savedPath: parentPath
|
|
59
|
+
}), options?.includeSessionOnly && trustOptions.push({ label: "Trust (this session only)", trusted: !0, updates: [] }), trustOptions.push({
|
|
60
|
+
label: "Do not trust",
|
|
61
|
+
trusted: !1,
|
|
62
|
+
updates: [{ path: trustPath, decision: !1 }],
|
|
63
|
+
savedPath: trustPath
|
|
64
|
+
}), options?.includeSessionOnly && trustOptions.push({ label: "Do not trust (this session only)", trusted: !1, updates: [] }), trustOptions;
|
|
65
|
+
}
|
|
66
|
+
function readTrustFile(path) {
|
|
67
|
+
if (!existsSync(path))
|
|
68
|
+
return {};
|
|
69
|
+
let parsed;
|
|
70
|
+
try {
|
|
71
|
+
parsed = JSON.parse(readFileSync(path, "utf-8"));
|
|
72
|
+
} catch (error) {
|
|
73
|
+
let message = error instanceof Error ? error.message : String(error);
|
|
74
|
+
throw new Error(`Failed to read trust store ${path}: ${message}`);
|
|
75
|
+
}
|
|
76
|
+
if (typeof parsed != "object" || parsed === null || Array.isArray(parsed))
|
|
77
|
+
throw new Error(`Invalid trust store ${path}: expected an object`);
|
|
78
|
+
let data = {};
|
|
79
|
+
for (let [key, value] of Object.entries(parsed)) {
|
|
80
|
+
if (value !== !0 && value !== !1 && value !== null)
|
|
81
|
+
throw new Error(`Invalid trust store ${path}: value for ${JSON.stringify(key)} must be true, false, or null`);
|
|
82
|
+
data[key] = value;
|
|
83
|
+
}
|
|
84
|
+
return data;
|
|
85
|
+
}
|
|
86
|
+
function writeTrustFile(path, data) {
|
|
87
|
+
let sorted = {};
|
|
88
|
+
for (let key of Object.keys(data).sort()) {
|
|
89
|
+
let value = data[key];
|
|
90
|
+
(value === !0 || value === !1 || value === null) && (sorted[key] = value);
|
|
91
|
+
}
|
|
92
|
+
mkdirSync(dirname(path), { recursive: !0 }), writeFileSync(path, `${JSON.stringify(sorted, null, 2)}
|
|
93
|
+
`, "utf-8");
|
|
94
|
+
}
|
|
95
|
+
function acquireTrustLockSync(path) {
|
|
96
|
+
let trustDir = dirname(path);
|
|
97
|
+
mkdirSync(trustDir, { recursive: !0 });
|
|
98
|
+
let maxAttempts = 10, delayMs = 20, lastError;
|
|
99
|
+
for (let attempt = 1; attempt <= maxAttempts; attempt++)
|
|
100
|
+
try {
|
|
101
|
+
return import_proper_lockfile.default.lockSync(trustDir, { realpath: !1, lockfilePath: `${path}.lock` });
|
|
102
|
+
} catch (error) {
|
|
103
|
+
if ((typeof error == "object" && error !== null && "code" in error ? String(error.code) : void 0) !== "ELOCKED" || attempt === maxAttempts)
|
|
104
|
+
throw error;
|
|
105
|
+
lastError = error;
|
|
106
|
+
let start = Date.now();
|
|
107
|
+
for (; Date.now() - start < delayMs; )
|
|
108
|
+
;
|
|
109
|
+
}
|
|
110
|
+
throw lastError instanceof Error ? lastError : new Error("Failed to acquire trust store lock");
|
|
111
|
+
}
|
|
112
|
+
function withTrustFileLock(path, fn) {
|
|
113
|
+
let release = acquireTrustLockSync(path);
|
|
114
|
+
try {
|
|
115
|
+
return fn();
|
|
116
|
+
} finally {
|
|
117
|
+
release();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function hasTrustRequiringProjectResources(cwd) {
|
|
121
|
+
let homeDir = canonicalizePath(resolvePath(process.env.HOME || homedir())), userAgentsSkillsDir = join(homeDir, ".agents", "skills"), currentDir = canonicalizePath(resolvePath(cwd)), configDir = join(currentDir, CONFIG_DIR_NAME);
|
|
122
|
+
if (TRUST_REQUIRING_PROJECT_CONFIG_RESOURCES.some((entry) => existsSync(join(configDir, entry))))
|
|
123
|
+
return !0;
|
|
124
|
+
for (; ; ) {
|
|
125
|
+
let agentsSkillsDir = join(currentDir, ".agents", "skills");
|
|
126
|
+
if (agentsSkillsDir !== userAgentsSkillsDir && existsSync(agentsSkillsDir))
|
|
127
|
+
return !0;
|
|
128
|
+
let parentDir = dirname(currentDir);
|
|
129
|
+
if (parentDir === currentDir)
|
|
130
|
+
return !1;
|
|
131
|
+
currentDir = parentDir;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
var ProjectTrustStore = class {
|
|
135
|
+
trustPath;
|
|
136
|
+
constructor(agentDir) {
|
|
137
|
+
this.trustPath = join(resolvePath(agentDir), "trust.json");
|
|
138
|
+
}
|
|
139
|
+
get(cwd) {
|
|
140
|
+
return this.getEntry(cwd)?.decision ?? null;
|
|
141
|
+
}
|
|
142
|
+
getEntry(cwd) {
|
|
143
|
+
return withTrustFileLock(this.trustPath, () => {
|
|
144
|
+
let data = readTrustFile(this.trustPath);
|
|
145
|
+
return findNearestTrustEntry(data, cwd);
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
set(cwd, decision) {
|
|
149
|
+
this.setMany([{ path: cwd, decision }]);
|
|
150
|
+
}
|
|
151
|
+
setMany(decisions) {
|
|
152
|
+
withTrustFileLock(this.trustPath, () => {
|
|
153
|
+
let data = readTrustFile(this.trustPath);
|
|
154
|
+
for (let { path, decision } of decisions) {
|
|
155
|
+
let key = normalizeCwd(path);
|
|
156
|
+
decision === null ? delete data[key] : data[key] = decision;
|
|
157
|
+
}
|
|
158
|
+
writeTrustFile(this.trustPath, data);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
// packages/coding-agent/dist/core/experimental.js
|
|
164
|
+
function areExperimentalFeaturesEnabled() {
|
|
165
|
+
return process.env.PI_EXPERIMENTAL === "1";
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export {
|
|
169
|
+
areExperimentalFeaturesEnabled,
|
|
170
|
+
getProjectTrustOptions,
|
|
171
|
+
hasTrustRequiringProjectResources,
|
|
172
|
+
ProjectTrustStore
|
|
173
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
theme
|
|
4
|
+
} from "./chunk-MX3GJNXJ.js";
|
|
5
|
+
|
|
6
|
+
// packages/coding-agent/dist/modes/interactive/components/dynamic-border.js
|
|
7
|
+
var DynamicBorder = class {
|
|
8
|
+
color;
|
|
9
|
+
constructor(color = (str) => theme.fg("border", str)) {
|
|
10
|
+
this.color = color;
|
|
11
|
+
}
|
|
12
|
+
invalidate() {
|
|
13
|
+
}
|
|
14
|
+
render(width) {
|
|
15
|
+
return [this.color("\u2500".repeat(Math.max(1, width)))];
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
DynamicBorder
|
|
21
|
+
};
|