pybao-cli 1.5.39 → 1.5.40
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/dist/REPL-Z3TOIVYD.js +51 -0
- package/dist/{acp-Z3ROU4NT.js → acp-FDHMQCWT.js} +30 -30
- package/dist/{agentsValidate-T5RRKNH7.js → agentsValidate-ELJV3BD5.js} +7 -7
- package/dist/{ask-Q5DD7Y5V.js → ask-LLSPXGGE.js} +30 -30
- package/dist/{autoUpdater-X4MGXTHY.js → autoUpdater-GPMR6GD7.js} +3 -3
- package/dist/{chunk-TPEX7GP6.js → chunk-26KSRQP4.js} +2 -2
- package/dist/{chunk-PMPJBZ4W.js → chunk-2AFJRWCO.js} +3 -3
- package/dist/{chunk-B6KK6QP2.js → chunk-3EBTDGWV.js} +1 -1
- package/dist/{chunk-JZ7UEGNN.js → chunk-3KHG4DDY.js} +1 -1
- package/dist/{chunk-M74TFPOY.js → chunk-5S5C2OHM.js} +3 -3
- package/dist/{chunk-OXMRNROM.js → chunk-6BBHJOWS.js} +2 -2
- package/dist/{chunk-N4KEHLUE.js → chunk-7W52VHCA.js} +2 -2
- package/dist/{chunk-25DI6YMP.js → chunk-BEV23CJE.js} +1 -1
- package/dist/{chunk-3YYZBLYE.js → chunk-BYLAKTEP.js} +3 -3
- package/dist/{chunk-CARZ3VV2.js → chunk-EYLCDMQQ.js} +3 -3
- package/dist/{chunk-OQV3ASGW.js → chunk-FPVESENY.js} +3 -3
- package/dist/{chunk-YGMNRXWM.js → chunk-H3NQOBUI.js} +2 -2
- package/dist/{chunk-K5F6WOED.js → chunk-H4Z2VPCJ.js} +1 -1
- package/dist/{chunk-UXJEDV2F.js → chunk-IA6MVNWV.js} +1 -1
- package/dist/{chunk-QJPGHOOD.js → chunk-INRQ5FYB.js} +3 -3
- package/dist/{chunk-J6RVV73S.js → chunk-JTF7WK7Z.js} +1 -1
- package/dist/{chunk-J6RVV73S.js.map → chunk-JTF7WK7Z.js.map} +1 -1
- package/dist/{chunk-7A7AGNEX.js → chunk-L7U4IZJ5.js} +4 -4
- package/dist/{chunk-XEZ4I2EW.js → chunk-M56ITZBW.js} +1 -1
- package/dist/{chunk-RF4TLZ2G.js → chunk-OW77PW5M.js} +1 -1
- package/dist/{chunk-XQZYIKQG.js → chunk-PMPP4Q2U.js} +1 -1
- package/dist/{chunk-YQX2PZMK.js → chunk-Q373NOSL.js} +4 -4
- package/dist/{chunk-6ZXSYUC4.js → chunk-R4FJYGPN.js} +1 -1
- package/dist/{chunk-E2O5ZNMG.js → chunk-SCVKSNWZ.js} +1 -1
- package/dist/{chunk-UIHCMY35.js → chunk-SYD52UQC.js} +2 -2
- package/dist/{chunk-C2XL4PP4.js → chunk-T2EM3K5B.js} +2 -2
- package/dist/{chunk-TNVELATG.js → chunk-TWUMAHON.js} +4 -4
- package/dist/{chunk-4L2R7COO.js → chunk-WAB6PUNL.js} +3 -3
- package/dist/{chunk-K6USRWZZ.js → chunk-WGKYEXPG.js} +48 -38
- package/dist/chunk-WGKYEXPG.js.map +7 -0
- package/dist/{chunk-IOJSVTJI.js → chunk-X2CQAFP7.js} +1 -1
- package/dist/{chunk-K6ZSF4XV.js → chunk-Y6JX7EBN.js} +4 -4
- package/dist/{chunk-WU3KYQFA.js → chunk-ZIWNCLKX.js} +3 -3
- package/dist/{cli-KXJVBKJ3.js → cli-BBHRJCTN.js} +90 -90
- package/dist/commands-PVWHGRX3.js +55 -0
- package/dist/{config-WAHXMCBU.js → config-KN2XEOY7.js} +4 -4
- package/dist/{context-F57XOU2V.js → context-BW6MJQM2.js} +6 -6
- package/dist/{conversationPersistence-AQ4ICXAB.js → conversationPersistence-RAVYY226.js} +3 -3
- package/dist/{conversationTracker-E4JUPWAN.js → conversationTracker-3IAJEIQ4.js} +4 -4
- package/dist/{customCommands-JIPCN2R2.js → customCommands-BNVGCUKP.js} +4 -4
- package/dist/{env-CQDTZSMG.js → env-LHB5NTOI.js} +2 -2
- package/dist/{file-67TG46SO.js → file-CJ3PREEJ.js} +4 -4
- package/dist/index.js +3 -3
- package/dist/{llm-S4UIKFEI.js → llm-VJ5SXQHW.js} +31 -31
- package/dist/{llmLazy-C4LTCDFH.js → llmLazy-UUS3WEHK.js} +1 -1
- package/dist/{loader-TEMIJTXY.js → loader-5VRUVNER.js} +4 -4
- package/dist/{lsp-NRIYSZQ4.js → lsp-BIIABO6H.js} +6 -6
- package/dist/{lspAnchor-FM5VJH4Y.js → lspAnchor-TT3FWLUS.js} +6 -6
- package/dist/{mcp-TCYAGRRL.js → mcp-R4ZYR3JP.js} +7 -7
- package/dist/{mentionProcessor-I3NLABF6.js → mentionProcessor-QYWCQUIV.js} +5 -5
- package/dist/{messages-RI367EVZ.js → messages-MA74RJER.js} +1 -1
- package/dist/{model-NJI57V4I.js → model-POXLU7ZR.js} +5 -5
- package/dist/{openai-CD6FJTQW.js → openai-I7BLJUQS.js} +5 -5
- package/dist/{outputStyles-DTQLGYLI.js → outputStyles-75MN6KTI.js} +4 -4
- package/dist/{pluginRuntime-HAYCLP4K.js → pluginRuntime-3WFVQ6S7.js} +6 -6
- package/dist/{pluginValidation-EXHNDUOT.js → pluginValidation-L3SGXFFT.js} +6 -6
- package/dist/prompts-MDTDDW3N.js +57 -0
- package/dist/{pybAgentSessionLoad-WRYHVHEJ.js → pybAgentSessionLoad-U64JCPNS.js} +4 -4
- package/dist/{pybAgentSessionResume-UWLIZORC.js → pybAgentSessionResume-DTB7UOFX.js} +4 -4
- package/dist/{pybAgentStreamJsonSession-IPKXSPWK.js → pybAgentStreamJsonSession-ZSEACSHS.js} +1 -1
- package/dist/{pybHooks-GMZAQ3EO.js → pybHooks-IZIY2IGK.js} +4 -4
- package/dist/query-TKK5CM7T.js +55 -0
- package/dist/{registry-63DZ2LVO.js → registry-74CB6VIJ.js} +5 -5
- package/dist/{ripgrep-XTOLMKN5.js → ripgrep-JJE36CNN.js} +3 -3
- package/dist/{skillMarketplace-BY4UWKWZ.js → skillMarketplace-ARREBOGZ.js} +3 -3
- package/dist/{state-34X5ECUL.js → state-WZ4UJAH7.js} +2 -2
- package/dist/{theme-CDSY27SJ.js → theme-57UJPEQK.js} +5 -5
- package/dist/{toolPermissionSettings-RCPBRGPK.js → toolPermissionSettings-4236ZJBP.js} +6 -6
- package/dist/tools-KTJEXUUE.js +55 -0
- package/dist/{userInput-4FVP4WYV.js → userInput-VIXNIZP3.js} +32 -32
- package/package.json +1 -1
- package/dist/REPL-QXWIXDPD.js +0 -51
- package/dist/chunk-K6USRWZZ.js.map +0 -7
- package/dist/commands-ESZSE6NV.js +0 -55
- package/dist/prompts-UGQX7FG5.js +0 -57
- package/dist/query-LBWLTCLG.js +0 -55
- package/dist/tools-53UXDJ64.js +0 -55
- /package/dist/{REPL-QXWIXDPD.js.map → REPL-Z3TOIVYD.js.map} +0 -0
- /package/dist/{acp-Z3ROU4NT.js.map → acp-FDHMQCWT.js.map} +0 -0
- /package/dist/{agentsValidate-T5RRKNH7.js.map → agentsValidate-ELJV3BD5.js.map} +0 -0
- /package/dist/{ask-Q5DD7Y5V.js.map → ask-LLSPXGGE.js.map} +0 -0
- /package/dist/{autoUpdater-X4MGXTHY.js.map → autoUpdater-GPMR6GD7.js.map} +0 -0
- /package/dist/{chunk-TPEX7GP6.js.map → chunk-26KSRQP4.js.map} +0 -0
- /package/dist/{chunk-PMPJBZ4W.js.map → chunk-2AFJRWCO.js.map} +0 -0
- /package/dist/{chunk-B6KK6QP2.js.map → chunk-3EBTDGWV.js.map} +0 -0
- /package/dist/{chunk-JZ7UEGNN.js.map → chunk-3KHG4DDY.js.map} +0 -0
- /package/dist/{chunk-M74TFPOY.js.map → chunk-5S5C2OHM.js.map} +0 -0
- /package/dist/{chunk-OXMRNROM.js.map → chunk-6BBHJOWS.js.map} +0 -0
- /package/dist/{chunk-N4KEHLUE.js.map → chunk-7W52VHCA.js.map} +0 -0
- /package/dist/{chunk-25DI6YMP.js.map → chunk-BEV23CJE.js.map} +0 -0
- /package/dist/{chunk-3YYZBLYE.js.map → chunk-BYLAKTEP.js.map} +0 -0
- /package/dist/{chunk-CARZ3VV2.js.map → chunk-EYLCDMQQ.js.map} +0 -0
- /package/dist/{chunk-OQV3ASGW.js.map → chunk-FPVESENY.js.map} +0 -0
- /package/dist/{chunk-YGMNRXWM.js.map → chunk-H3NQOBUI.js.map} +0 -0
- /package/dist/{chunk-K5F6WOED.js.map → chunk-H4Z2VPCJ.js.map} +0 -0
- /package/dist/{chunk-UXJEDV2F.js.map → chunk-IA6MVNWV.js.map} +0 -0
- /package/dist/{chunk-QJPGHOOD.js.map → chunk-INRQ5FYB.js.map} +0 -0
- /package/dist/{chunk-7A7AGNEX.js.map → chunk-L7U4IZJ5.js.map} +0 -0
- /package/dist/{chunk-XEZ4I2EW.js.map → chunk-M56ITZBW.js.map} +0 -0
- /package/dist/{chunk-RF4TLZ2G.js.map → chunk-OW77PW5M.js.map} +0 -0
- /package/dist/{chunk-XQZYIKQG.js.map → chunk-PMPP4Q2U.js.map} +0 -0
- /package/dist/{chunk-YQX2PZMK.js.map → chunk-Q373NOSL.js.map} +0 -0
- /package/dist/{chunk-6ZXSYUC4.js.map → chunk-R4FJYGPN.js.map} +0 -0
- /package/dist/{chunk-E2O5ZNMG.js.map → chunk-SCVKSNWZ.js.map} +0 -0
- /package/dist/{chunk-UIHCMY35.js.map → chunk-SYD52UQC.js.map} +0 -0
- /package/dist/{chunk-C2XL4PP4.js.map → chunk-T2EM3K5B.js.map} +0 -0
- /package/dist/{chunk-TNVELATG.js.map → chunk-TWUMAHON.js.map} +0 -0
- /package/dist/{chunk-4L2R7COO.js.map → chunk-WAB6PUNL.js.map} +0 -0
- /package/dist/{chunk-IOJSVTJI.js.map → chunk-X2CQAFP7.js.map} +0 -0
- /package/dist/{chunk-K6ZSF4XV.js.map → chunk-Y6JX7EBN.js.map} +0 -0
- /package/dist/{chunk-WU3KYQFA.js.map → chunk-ZIWNCLKX.js.map} +0 -0
- /package/dist/{cli-KXJVBKJ3.js.map → cli-BBHRJCTN.js.map} +0 -0
- /package/dist/{commands-ESZSE6NV.js.map → commands-PVWHGRX3.js.map} +0 -0
- /package/dist/{config-WAHXMCBU.js.map → config-KN2XEOY7.js.map} +0 -0
- /package/dist/{context-F57XOU2V.js.map → context-BW6MJQM2.js.map} +0 -0
- /package/dist/{conversationPersistence-AQ4ICXAB.js.map → conversationPersistence-RAVYY226.js.map} +0 -0
- /package/dist/{conversationTracker-E4JUPWAN.js.map → conversationTracker-3IAJEIQ4.js.map} +0 -0
- /package/dist/{customCommands-JIPCN2R2.js.map → customCommands-BNVGCUKP.js.map} +0 -0
- /package/dist/{env-CQDTZSMG.js.map → env-LHB5NTOI.js.map} +0 -0
- /package/dist/{file-67TG46SO.js.map → file-CJ3PREEJ.js.map} +0 -0
- /package/dist/{llm-S4UIKFEI.js.map → llm-VJ5SXQHW.js.map} +0 -0
- /package/dist/{llmLazy-C4LTCDFH.js.map → llmLazy-UUS3WEHK.js.map} +0 -0
- /package/dist/{loader-TEMIJTXY.js.map → loader-5VRUVNER.js.map} +0 -0
- /package/dist/{lsp-NRIYSZQ4.js.map → lsp-BIIABO6H.js.map} +0 -0
- /package/dist/{lspAnchor-FM5VJH4Y.js.map → lspAnchor-TT3FWLUS.js.map} +0 -0
- /package/dist/{mcp-TCYAGRRL.js.map → mcp-R4ZYR3JP.js.map} +0 -0
- /package/dist/{mentionProcessor-I3NLABF6.js.map → mentionProcessor-QYWCQUIV.js.map} +0 -0
- /package/dist/{messages-RI367EVZ.js.map → messages-MA74RJER.js.map} +0 -0
- /package/dist/{model-NJI57V4I.js.map → model-POXLU7ZR.js.map} +0 -0
- /package/dist/{openai-CD6FJTQW.js.map → openai-I7BLJUQS.js.map} +0 -0
- /package/dist/{outputStyles-DTQLGYLI.js.map → outputStyles-75MN6KTI.js.map} +0 -0
- /package/dist/{pluginRuntime-HAYCLP4K.js.map → pluginRuntime-3WFVQ6S7.js.map} +0 -0
- /package/dist/{pluginValidation-EXHNDUOT.js.map → pluginValidation-L3SGXFFT.js.map} +0 -0
- /package/dist/{prompts-UGQX7FG5.js.map → prompts-MDTDDW3N.js.map} +0 -0
- /package/dist/{pybAgentSessionLoad-WRYHVHEJ.js.map → pybAgentSessionLoad-U64JCPNS.js.map} +0 -0
- /package/dist/{pybAgentSessionResume-UWLIZORC.js.map → pybAgentSessionResume-DTB7UOFX.js.map} +0 -0
- /package/dist/{pybAgentStreamJsonSession-IPKXSPWK.js.map → pybAgentStreamJsonSession-ZSEACSHS.js.map} +0 -0
- /package/dist/{pybHooks-GMZAQ3EO.js.map → pybHooks-IZIY2IGK.js.map} +0 -0
- /package/dist/{query-LBWLTCLG.js.map → query-TKK5CM7T.js.map} +0 -0
- /package/dist/{registry-63DZ2LVO.js.map → registry-74CB6VIJ.js.map} +0 -0
- /package/dist/{ripgrep-XTOLMKN5.js.map → ripgrep-JJE36CNN.js.map} +0 -0
- /package/dist/{skillMarketplace-BY4UWKWZ.js.map → skillMarketplace-ARREBOGZ.js.map} +0 -0
- /package/dist/{state-34X5ECUL.js.map → state-WZ4UJAH7.js.map} +0 -0
- /package/dist/{theme-CDSY27SJ.js.map → theme-57UJPEQK.js.map} +0 -0
- /package/dist/{toolPermissionSettings-RCPBRGPK.js.map → toolPermissionSettings-4236ZJBP.js.map} +0 -0
- /package/dist/{tools-53UXDJ64.js.map → tools-KTJEXUUE.js.map} +0 -0
- /package/dist/{userInput-4FVP4WYV.js.map → userInput-VIXNIZP3.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../package.json", "../src/constants/macros.ts"],
|
|
4
|
-
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.5.39\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"dev:server\": \"bun run ./src/entrypoints/cli.tsx serve --port 4096\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:sdk\": \"npm --prefix ./packages/sdk run build\",\n \"generate:sdk\": \"node scripts/sdk-generate.mjs\",\n \"check:sdk-generated\": \"node scripts/sdk-check-generated.mjs\",\n \"check:compat-window\": \"node scripts/sdk-compat-window-gate.mjs\",\n \"generate:legacy-mapping\": \"node scripts/sdk-legacy-mapping-report.mjs\",\n \"check:legacy-usage\": \"node scripts/sdk-legacy-usage-gate.mjs\",\n \"report:legacy-usage-trend\": \"node scripts/sdk-legacy-usage-trend-report.mjs\",\n \"check:legacy-window\": \"node scripts/sdk-legacy-window-gate.mjs\",\n \"check:docs-consistency\": \"node scripts/sdk-docs-consistency-gate.mjs\",\n \"check:major-cutover\": \"node scripts/sdk-major-cutover-gate.mjs\",\n \"check:facade-closeout\": \"node scripts/sdk-facade-closeout-gate.mjs\",\n \"check:sdk-consistency\": \"node scripts/sdk-consistency-gate.mjs\",\n \"check:sdk-contract-consistency\": \"node scripts/sdk-contract-consistency-gate.mjs\",\n \"check:sdk-legacy-semantics\": \"node scripts/sdk-legacy-semantics-gate.mjs\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"build:native-lock\": \"node scripts/build-native-lock.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"test:server\": \"bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.mjs\",\n \"preflight:runtime-assets\": \"node scripts/runtime-assets-preflight.mjs\",\n \"verify:runtime-assets\": \"node scripts/runtime-assets-verify.mjs\",\n \"validate:runtime-assets-contract\": \"node scripts/runtime-assets-schema-validate.mjs\",\n \"gate:runtime-assets-threshold\": \"node scripts/runtime-assets-threshold-gate.mjs\",\n \"gate:runtime-assets-trend-store\": \"node scripts/runtime-assets-trend-store.mjs\",\n \"gate:runtime-assets-trend\": \"node scripts/runtime-assets-trend-gate.mjs\",\n \"report:runtime-assets-trend\": \"node scripts/runtime-assets-trend-report.mjs\",\n \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"release:gate\": \"npm run generate:sdk && npm run check:sdk-generated && npm run generate:legacy-mapping && npm run check:legacy-usage && npm run report:legacy-usage-trend && npm run check:legacy-window && npm run check:docs-consistency && npm run check:major-cutover && npm run check:facade-closeout && npm run check:sdk-consistency && npm run check:sdk-contract-consistency && npm run check:sdk-legacy-semantics && npm run check:compat-window && npm run build:sdk && npm run test:server && npm run lint && npm run typecheck\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\",\n \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\n ]\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
|
|
4
|
+
"sourcesContent": ["{\n \"name\": \"pybao-cli\",\n \"version\": \"1.5.40\",\n \"bin\": {\n \"pyb\": \"cli.js\",\n \"pyb-acp\": \"cli-acp.js\"\n },\n \"engines\": {\n \"node\": \">=20.18.1\"\n },\n \"main\": \"cli.js\",\n \"author\": \"PYB-XC\",\n \"license\": \"MIT\",\n \"description\": \"PYB-CLI - Minimal AI Agent with multi-model support and CLI interface\",\n \"keywords\": [\n \"ai\",\n \"agent\",\n \"minimal\",\n \"claude\"\n ],\n \"homepage\": \"https://github.com/pyb-xc/pyb-ts\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pyb-xc/pyb-ts.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/pyb-xc/pyb-ts/issues\"\n },\n \"files\": [\n \"cli.js\",\n \"cli-acp.js\",\n \"yoga.wasm\",\n \"dist/**/*\",\n \"scripts/binary-utils.cjs\",\n \"scripts/cli-wrapper.cjs\",\n \"scripts/cli-acp-wrapper.cjs\",\n \"scripts/postinstall.js\",\n \"scripts/typed-sql-release-gate.mjs\",\n \"scripts/typed-sql-schema-guard.mjs\",\n \"scripts/typed-sql-install-smoke.mjs\",\n \"scripts/typed-sql-no-fallback-gate.mjs\",\n \"scripts/typed-part-baseline-benchmark.mjs\",\n \"scripts/typed-part-performance-gate.mjs\",\n \"scripts/session-contract-gate.mjs\",\n \"scripts/session-behavior-invariant-gate.mjs\",\n \"scripts/session-project-gate.mjs\",\n \"scripts/protected-tool-names-gate.mjs\",\n \".npmrc\",\n \"resources/**/*\"\n ],\n \"scripts\": {\n \"dev\": \"bun run ./src/entrypoints/cli.tsx --verbose\",\n \"dev:server\": \"bun run ./src/entrypoints/cli.tsx serve --port 4096\",\n \"build:npm\": \"bun scripts/build.mjs\",\n \"build\": \"npm run build:npm\",\n \"build:sdk\": \"npm --prefix ./packages/sdk run build\",\n \"generate:sdk\": \"node scripts/sdk-generate.mjs\",\n \"check:sdk-generated\": \"node scripts/sdk-check-generated.mjs\",\n \"check:compat-window\": \"node scripts/sdk-compat-window-gate.mjs\",\n \"generate:legacy-mapping\": \"node scripts/sdk-legacy-mapping-report.mjs\",\n \"check:legacy-usage\": \"node scripts/sdk-legacy-usage-gate.mjs\",\n \"report:legacy-usage-trend\": \"node scripts/sdk-legacy-usage-trend-report.mjs\",\n \"check:legacy-window\": \"node scripts/sdk-legacy-window-gate.mjs\",\n \"check:docs-consistency\": \"node scripts/sdk-docs-consistency-gate.mjs\",\n \"check:major-cutover\": \"node scripts/sdk-major-cutover-gate.mjs\",\n \"check:facade-closeout\": \"node scripts/sdk-facade-closeout-gate.mjs\",\n \"check:sdk-consistency\": \"node scripts/sdk-consistency-gate.mjs\",\n \"check:sdk-contract-consistency\": \"node scripts/sdk-contract-consistency-gate.mjs\",\n \"check:sdk-legacy-semantics\": \"node scripts/sdk-legacy-semantics-gate.mjs\",\n \"build:binary\": \"node scripts/build-binary.mjs\",\n \"build:native-lock\": \"node scripts/build-native-lock.mjs\",\n \"clean\": \"node scripts/clean.mjs\",\n \"prepublishOnly\": \"npm run build:npm && node scripts/prepublish-check.js\",\n \"postinstall\": \"node scripts/postinstall.js || true\",\n \"format\": \"prettier --write \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"format:check\": \"prettier --check \\\"src/**/*.{ts,tsx,js,jsx,json}\\\" \\\"tests/**/*.{ts,tsx,js,jsx,json}\\\"\",\n \"lint\": \"eslint . --ext .ts,.tsx,.js --max-warnings 0\",\n \"lint:fix\": \"eslint . --ext .ts,.tsx,.js --fix\",\n \"test\": \"bun test\",\n \"test:unit\": \"bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit\",\n \"test:integration\": \"bun test tests/integration\",\n \"test:e2e\": \"bun test tests/e2e\",\n \"test:server\": \"bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts\",\n \"gate:runtime-assets\": \"bun run scripts/runtime-assets-gate-check.mjs\",\n \"preflight:runtime-assets\": \"node scripts/runtime-assets-preflight.mjs\",\n \"verify:runtime-assets\": \"node scripts/runtime-assets-verify.mjs\",\n \"validate:runtime-assets-contract\": \"node scripts/runtime-assets-schema-validate.mjs\",\n \"gate:runtime-assets-threshold\": \"node scripts/runtime-assets-threshold-gate.mjs\",\n \"gate:runtime-assets-trend-store\": \"node scripts/runtime-assets-trend-store.mjs\",\n \"gate:runtime-assets-trend\": \"node scripts/runtime-assets-trend-gate.mjs\",\n \"report:runtime-assets-trend\": \"node scripts/runtime-assets-trend-report.mjs\",\n \"gate:typed-compat-retirement\": \"node scripts/typed-compat-retirement-gate.mjs\",\n \"gate:query-adapter-boundary\": \"node scripts/query-adapter-boundary-gate.mjs\",\n \"gate:session-contract\": \"node scripts/session-contract-gate.mjs\",\n \"gate:session-behavior-invariant\": \"node scripts/session-behavior-invariant-gate.mjs\",\n \"gate:session-project\": \"node scripts/session-project-gate.mjs\",\n \"gate:protected-tool-names\": \"node scripts/protected-tool-names-gate.mjs\",\n \"plan:typed-compat-retirement\": \"node scripts/typed-compat-retirement-plan.mjs\",\n \"enforce:typed-compat-retirement\": \"node scripts/typed-compat-retirement-enforce.mjs\",\n \"gate:typed-sql-release\": \"node scripts/typed-sql-release-gate.mjs\",\n \"gate:typed-sql-schema\": \"node scripts/typed-sql-schema-guard.mjs\",\n \"smoke:typed-sql-install\": \"node scripts/typed-sql-install-smoke.mjs\",\n \"gate:typed-sql-no-fallback\": \"node scripts/typed-sql-no-fallback-gate.mjs\",\n \"benchmark:typed-part-baseline\": \"bun scripts/typed-part-baseline-benchmark.mjs\",\n \"gate:typed-part-performance\": \"node scripts/typed-part-performance-gate.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"release:gate\": \"npm run generate:sdk && npm run check:sdk-generated && npm run generate:legacy-mapping && npm run check:legacy-usage && npm run report:legacy-usage-trend && npm run check:legacy-window && npm run check:docs-consistency && npm run check:major-cutover && npm run check:facade-closeout && npm run check:sdk-consistency && npm run check:sdk-contract-consistency && npm run check:sdk-legacy-semantics && npm run check:compat-window && npm run build:sdk && npm run test:server && npm run lint && npm run typecheck\",\n \"prepare\": \"bun run scripts/install-hooks.mjs\",\n \"sync:native-lock\": \"node scripts/sync-native-lock-versions.mjs\",\n \"publish:native-lock\": \"node scripts/publish-native-lock.mjs\",\n \"verify:native-lock\": \"node scripts/verify-native-lock.mjs\",\n \"publish:dev\": \"bun run scripts/publish-dev.js\",\n \"publish:release\": \"bun run scripts/publish-release.js\"\n },\n \"dependencies\": {\n \"@anthropic-ai/bedrock-sdk\": \"^0.12.6\",\n \"@anthropic-ai/sdk\": \"^0.39.0\",\n \"@anthropic-ai/vertex-sdk\": \"^0.7.0\",\n \"@astrojs/language-server\": \"2.16.2\",\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@commander-js/extra-typings\": \"^13.1.0\",\n \"@inkjs/ui\": \"^2.0.0\",\n \"@modelcontextprotocol/sdk\": \"^1.15.1\",\n \"@prisma/language-server\": \"31.3.4\",\n \"@types/lodash-es\": \"^4.17.12\",\n \"@types/react\": \"^19.1.8\",\n \"@vscode/ripgrep\": \"^1.17.0\",\n \"@vue/language-server\": \"3.2.2\",\n \"ajv\": \"^8.17.1\",\n \"ansi-escapes\": \"^7.0.0\",\n \"bash-language-server\": \"5.6.0\",\n \"chalk\": \"^5.4.1\",\n \"cli-highlight\": \"^2.1.11\",\n \"cli-table3\": \"^0.6.5\",\n \"commander\": \"^13.1.0\",\n \"debug\": \"^4.4.1\",\n \"diff\": \"^7.0.0\",\n \"dockerfile-language-server-nodejs\": \"0.15.0\",\n \"dotenv\": \"^16.6.1\",\n \"env-paths\": \"^3.0.0\",\n \"fflate\": \"^0.8.2\",\n \"figures\": \"^6.1.0\",\n \"glob\": \"^11.0.3\",\n \"graphql-language-service-cli\": \"3.5.0\",\n \"gray-matter\": \"^4.0.3\",\n \"highlight.js\": \"^11.11.1\",\n \"ignore\": \"^7.0.5\",\n \"ink\": \"5.2.1\",\n \"ink-link\": \"^4.1.0\",\n \"ink-select-input\": \"^6.2.0\",\n \"ink-text-input\": \"^6.0.0\",\n \"intelephense\": \"1.16.3\",\n \"js-yaml\": \"^4.1.1\",\n \"lodash-es\": \"^4.17.21\",\n \"lru-cache\": \"^11.1.0\",\n \"marked\": \"^15.0.12\",\n \"minimatch\": \"^10.1.1\",\n \"nanoid\": \"^5.1.5\",\n \"node-html-parser\": \"^7.0.1\",\n \"openai\": \"4.104.0\",\n \"pyright\": \"1.1.408\",\n \"react\": \"18.3.1\",\n \"semver\": \"^7.7.2\",\n \"shell-quote\": \"1.8.3\",\n \"spawn-rx\": \"^5.1.2\",\n \"string-width\": \"^7.2.0\",\n \"strip-ansi\": \"^7.1.0\",\n \"svelte-language-server\": \"0.17.23\",\n \"tsx\": \"^4.20.3\",\n \"typescript-language-server\": \"5.1.3\",\n \"undici\": \"^7.11.0\",\n \"vscode-jsonrpc\": \"8.2.1\",\n \"vscode-langservers-extracted\": \"4.10.0\",\n \"web-tree-sitter\": \"0.25.10\",\n \"which\": \"^6.0.0\",\n \"wrap-ansi\": \"^9.0.0\",\n \"yaml-language-server\": \"1.19.2\",\n \"zod\": \"^3.25.76\",\n \"zod-to-json-schema\": \"^3.24.6\"\n },\n \"devDependencies\": {\n \"@types/bun\": \"latest\",\n \"@types/jest\": \"^30.0.0\",\n \"@types/node\": \"^24.1.0\",\n \"@types/which\": \"^3.0.4\",\n \"@typescript-eslint/eslint-plugin\": \"^8.50.1\",\n \"@typescript-eslint/parser\": \"^8.50.1\",\n \"abort-controller\": \"3.0.0\",\n \"bun-types\": \"latest\",\n \"cheerio\": \"1.1.2\",\n \"esbuild\": \"^0.25.9\",\n \"eslint\": \"8.57.0\",\n \"eslint-plugin-react-hooks\": \"^7.0.1\",\n \"ink-testing-library\": \"4.0.0\",\n \"node-fetch\": \"3.3.2\",\n \"prettier\": \"^3.6.2\",\n \"react-devtools-core\": \"^7.0.1\",\n \"tree-sitter-bash\": \"0.25.1\",\n \"tree-sitter-c-sharp\": \"0.23.1\",\n \"tree-sitter-clojure\": \"0.4.0\",\n \"tree-sitter-cpp\": \"0.23.4\",\n \"tree-sitter-go\": \"0.25.0\",\n \"tree-sitter-haskell\": \"0.23.1\",\n \"tree-sitter-java\": \"0.23.5\",\n \"tree-sitter-julia\": \"0.23.1\",\n \"tree-sitter-nix\": \"0.0.2\",\n \"tree-sitter-ocaml\": \"0.24.2\",\n \"tree-sitter-python\": \"0.25.0\",\n \"tree-sitter-rust\": \"0.24.0\",\n \"tree-sitter-scala\": \"0.24.0\",\n \"tree-sitter-swift\": \"0.7.1\",\n \"tree-sitter-typescript\": \"0.23.2\",\n \"turndown\": \"7.2.2\",\n \"typescript\": \"^5.9.2\"\n },\n \"overrides\": {\n \"@aws-sdk/client-bedrock-runtime\": \"3.797.0\",\n \"@smithy/smithy-client\": \"2.5.1\",\n \"parse5-htmlparser2-tree-adapter\": \"6.0.1\"\n },\n \"optionalDependencies\": {\n \"@puyib-cli/lock-win32-x64-msvc\": \"1.4.55\",\n \"@puyib-cli/lock-win32-arm64-msvc\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-x64-musl\": \"1.4.56\",\n \"@puyib-cli/lock-linux-arm64-gnu\": \"1.4.56\",\n \"@puyib-cli/lock-linux-armv7-gnueabihf\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-x64\": \"1.4.56\",\n \"@puyib-cli/lock-darwin-arm64\": \"1.4.56\"\n },\n \"pybNativeLockPlatforms\": [\n \"win32-x64-msvc\",\n \"win32-arm64-msvc\",\n \"linux-x64-gnu\",\n \"linux-x64-musl\",\n \"linux-arm64-gnu\",\n \"linux-armv7-gnueabihf\",\n \"darwin-x64\",\n \"darwin-arm64\"\n ]\n}\n", "import pkg from '../../package.json'\n\nexport const MACRO = {\n VERSION: pkg.version,\n README_URL: 'https://github.com/pyb-xc/pyb-ts#readme',\n PACKAGE_URL: 'pybao-cli',\n ISSUES_EXPLAINER:\n 'report the issue at https://github.com/pyb-xc/pyb-ts/issues',\n}\n"],
|
|
5
5
|
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-KFEHHKZ2.js";
|
|
9
9
|
import {
|
|
10
10
|
ripGrepWithStatus
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X2CQAFP7.js";
|
|
12
12
|
import {
|
|
13
13
|
getCurrentProjectConfig,
|
|
14
14
|
getGlobalConfig,
|
|
15
15
|
getOrCreateUserID,
|
|
16
16
|
saveCurrentProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EYLCDMQQ.js";
|
|
18
18
|
import {
|
|
19
19
|
SESSION_ID,
|
|
20
20
|
env,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
getCwd,
|
|
23
23
|
isContextScanDisabled,
|
|
24
24
|
logError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-R4FJYGPN.js";
|
|
26
26
|
import {
|
|
27
27
|
MACRO
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JTF7WK7Z.js";
|
|
29
29
|
import {
|
|
30
30
|
__require
|
|
31
31
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -952,7 +952,7 @@ function getLastAssistantMessageId(messages) {
|
|
|
952
952
|
|
|
953
953
|
// src/utils/messages/index.ts
|
|
954
954
|
async function processUserInput(input, mode, setToolJSX, context, pastedImages) {
|
|
955
|
-
const impl = await import("./userInput-
|
|
955
|
+
const impl = await import("./userInput-VIXNIZP3.js");
|
|
956
956
|
return impl.processUserInput(input, mode, setToolJSX, context, pastedImages);
|
|
957
957
|
}
|
|
958
958
|
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LspServerRegistry,
|
|
5
5
|
findNearestRoot,
|
|
6
6
|
getInstallNotices
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-INRQ5FYB.js";
|
|
8
8
|
import {
|
|
9
9
|
levenshtein
|
|
10
10
|
} from "./chunk-UZ34JEUK.js";
|
|
11
11
|
import {
|
|
12
12
|
debug
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IA6MVNWV.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getSessionRoot
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R4FJYGPN.js";
|
|
18
18
|
|
|
19
19
|
// src/lsp/index.ts
|
|
20
20
|
import { extname as extname2 } from "path";
|
|
@@ -565,7 +565,7 @@ var LspClientManager = class _LspClientManager {
|
|
|
565
565
|
const safeCwd = /[^\x00-\x7F]/.test(resolvedRoot) ? process.cwd() : resolvedRoot;
|
|
566
566
|
let initOpts = serverInfo.initializationOptions;
|
|
567
567
|
if (serverInfo.id === "pyright" || serverInfo.id === "ty") {
|
|
568
|
-
const { detectPythonVenv } = await import("./registry-
|
|
568
|
+
const { detectPythonVenv } = await import("./registry-74CB6VIJ.js");
|
|
569
569
|
const pythonPath = detectPythonVenv(resolvedRoot);
|
|
570
570
|
if (pythonPath) {
|
|
571
571
|
initOpts = { ...initOpts ?? {}, pythonPath };
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
MACRO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JTF7WK7Z.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/state/index.ts
|
|
8
8
|
import { cwd } from "process";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createSessionSqlStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-M56ITZBW.js";
|
|
6
6
|
|
|
7
7
|
// src/utils/protocol/pybAgentSessionLoad.ts
|
|
8
8
|
function loadPybAgentSessionLogData(args) {
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-BJSWTHRM.js";
|
|
6
6
|
import {
|
|
7
7
|
debug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IA6MVNWV.js";
|
|
9
9
|
import {
|
|
10
10
|
getCwd,
|
|
11
11
|
logError,
|
|
12
12
|
resolveXdgDataPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-R4FJYGPN.js";
|
|
14
14
|
|
|
15
15
|
// src/services/plugins/customCommands.ts
|
|
16
16
|
import { existsSync, readFileSync, readdirSync, statSync } from "fs";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
getSettingsFileCandidates,
|
|
8
8
|
loadSettingsWithLegacyFallback,
|
|
9
9
|
saveSettingsToPrimaryAndSyncLegacy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BEV23CJE.js";
|
|
11
11
|
import {
|
|
12
12
|
getSessionPlugins
|
|
13
13
|
} from "./chunk-BJSWTHRM.js";
|
|
14
14
|
import {
|
|
15
15
|
getCwd,
|
|
16
16
|
getXdgConfigDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-R4FJYGPN.js";
|
|
18
18
|
|
|
19
19
|
// src/services/ui/outputStyles.ts
|
|
20
20
|
import figures from "figures";
|
|
@@ -3,7 +3,7 @@ const require = __pybCreateRequire(import.meta.url);
|
|
|
3
3
|
|
|
4
4
|
// src/services/ai/llmLazy.ts
|
|
5
5
|
async function queryLLM(messages, systemPrompt, maxThinkingTokens, tools, signal, options) {
|
|
6
|
-
const { queryLLM: inner } = await import("./llm-
|
|
6
|
+
const { queryLLM: inner } = await import("./llm-VJ5SXQHW.js");
|
|
7
7
|
return inner(
|
|
8
8
|
messages,
|
|
9
9
|
systemPrompt,
|
|
@@ -14,15 +14,15 @@ async function queryLLM(messages, systemPrompt, maxThinkingTokens, tools, signal
|
|
|
14
14
|
);
|
|
15
15
|
}
|
|
16
16
|
async function queryQuick(args) {
|
|
17
|
-
const { queryQuick: inner } = await import("./llm-
|
|
17
|
+
const { queryQuick: inner } = await import("./llm-VJ5SXQHW.js");
|
|
18
18
|
return inner(args);
|
|
19
19
|
}
|
|
20
20
|
async function verifyApiKey(apiKey, baseURL, provider) {
|
|
21
|
-
const { verifyApiKey: inner } = await import("./llm-
|
|
21
|
+
const { verifyApiKey: inner } = await import("./llm-VJ5SXQHW.js");
|
|
22
22
|
return inner(apiKey, baseURL, provider);
|
|
23
23
|
}
|
|
24
24
|
async function fetchAnthropicModels(apiKey, baseURL) {
|
|
25
|
-
const { fetchAnthropicModels: inner } = await import("./llm-
|
|
25
|
+
const { fetchAnthropicModels: inner } = await import("./llm-VJ5SXQHW.js");
|
|
26
26
|
return inner(apiKey, baseURL);
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-B6IMQJZM.js";
|
|
6
6
|
import {
|
|
7
7
|
loadSettingsWithLegacyFallback
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BEV23CJE.js";
|
|
9
9
|
import {
|
|
10
10
|
getSessionPlugins
|
|
11
11
|
} from "./chunk-BJSWTHRM.js";
|
|
12
12
|
import {
|
|
13
13
|
getCwd,
|
|
14
14
|
logError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-R4FJYGPN.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/session/pybHooks.ts
|
|
18
18
|
import { spawn } from "child_process";
|
|
@@ -496,7 +496,7 @@ async function runPromptHook(args) {
|
|
|
496
496
|
fallbackTimeoutMs: args.fallbackTimeoutMs
|
|
497
497
|
});
|
|
498
498
|
try {
|
|
499
|
-
const { queryQuick } = await import("./llmLazy-
|
|
499
|
+
const { queryQuick } = await import("./llmLazy-UUS3WEHK.js");
|
|
500
500
|
const systemPrompt = [
|
|
501
501
|
"You are executing a Pyb prompt hook.",
|
|
502
502
|
"Return a single JSON object only (no markdown, no prose).",
|
|
@@ -2,17 +2,17 @@ import { createRequire as __pybCreateRequire } from "node:module";
|
|
|
2
2
|
const require = __pybCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadPybAgentSessionMessages
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SCVKSNWZ.js";
|
|
6
6
|
import {
|
|
7
7
|
appendSessionCustomTitleRecord,
|
|
8
8
|
appendSessionJsonlFromMessage,
|
|
9
9
|
appendSessionTagRecord,
|
|
10
10
|
listPybAgentSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZIWNCLKX.js";
|
|
12
12
|
import {
|
|
13
13
|
formatValidationResult,
|
|
14
14
|
validatePluginOrMarketplacePath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FPVESENY.js";
|
|
16
16
|
import {
|
|
17
17
|
ConversationTracker,
|
|
18
18
|
appendFinishState,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
getConversationTrackerForContext,
|
|
21
21
|
isFinishComplete,
|
|
22
22
|
mapFinishReason
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3KHG4DDY.js";
|
|
24
24
|
import {
|
|
25
25
|
FileSystemConversationPersistence
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3EBTDGWV.js";
|
|
27
27
|
import {
|
|
28
28
|
beginReplSessionScope
|
|
29
29
|
} from "./chunk-F4AXICO7.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runStopHooks,
|
|
39
39
|
runUserPromptSubmitHooks,
|
|
40
40
|
updateHookTranscriptForMessages
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WAB6PUNL.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_OUTPUT_STYLE,
|
|
44
44
|
getAvailableOutputStyles,
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
getOutputStyleSystemPromptAdditions,
|
|
48
48
|
resolveOutputStyleName,
|
|
49
49
|
setCurrentOutputStyle
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-T2EM3K5B.js";
|
|
51
51
|
import {
|
|
52
52
|
fetchCustomModels,
|
|
53
53
|
getModelFeatures
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-H3NQOBUI.js";
|
|
55
55
|
import {
|
|
56
56
|
getCurrentSessionId,
|
|
57
57
|
getSessionState
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
queryLLM,
|
|
61
61
|
queryQuick,
|
|
62
62
|
verifyApiKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-TWUMAHON.js";
|
|
64
64
|
import {
|
|
65
65
|
DEFAULT_TIMEOUT_MS,
|
|
66
66
|
FallbackToolUseRejectedMessage,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
listMCPServers,
|
|
76
76
|
loadMergedSettings,
|
|
77
77
|
normalizeSandboxRuntimeConfigFromSettings
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-Y6JX7EBN.js";
|
|
79
79
|
import {
|
|
80
80
|
addMarketplace,
|
|
81
81
|
disableSkillPlugin,
|
|
@@ -88,11 +88,11 @@ import {
|
|
|
88
88
|
refreshMarketplaceAsync,
|
|
89
89
|
removeMarketplace,
|
|
90
90
|
uninstallSkillPlugin
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-H4Z2VPCJ.js";
|
|
92
92
|
import {
|
|
93
93
|
loadToolPermissionContextFromDisk,
|
|
94
94
|
persistToolPermissionUpdateToDisk
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-5S5C2OHM.js";
|
|
96
96
|
import {
|
|
97
97
|
applyToolPermissionContextUpdate,
|
|
98
98
|
applyToolPermissionContextUpdates,
|
|
@@ -103,14 +103,14 @@ import {
|
|
|
103
103
|
generateSystemReminders,
|
|
104
104
|
resetReminderSession,
|
|
105
105
|
systemReminderService
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-26KSRQP4.js";
|
|
107
107
|
import {
|
|
108
108
|
clearAgentCache,
|
|
109
109
|
getActiveAgents,
|
|
110
110
|
getAgentByType,
|
|
111
111
|
getAllAgents,
|
|
112
112
|
getAvailableAgentTypes
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-7W52VHCA.js";
|
|
114
114
|
import {
|
|
115
115
|
API_ERROR_MESSAGE_PREFIX,
|
|
116
116
|
CANCEL_MESSAGE,
|
|
@@ -147,7 +147,7 @@ import {
|
|
|
147
147
|
reorderMessages,
|
|
148
148
|
resetAutoCompactTelemetry,
|
|
149
149
|
stripSystemMessages
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-OW77PW5M.js";
|
|
151
151
|
import {
|
|
152
152
|
getRequestStatus,
|
|
153
153
|
setRequestStatus,
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
normalizeFilePath,
|
|
180
180
|
readTextContent,
|
|
181
181
|
writeTextContent
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-6BBHJOWS.js";
|
|
183
183
|
import {
|
|
184
184
|
parseBlockEdits
|
|
185
185
|
} from "./chunk-QWIBSCDN.js";
|
|
@@ -190,18 +190,18 @@ import {
|
|
|
190
190
|
formatDiagnosticsPretty,
|
|
191
191
|
initParser,
|
|
192
192
|
loadLanguage
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-Q373NOSL.js";
|
|
194
194
|
import {
|
|
195
195
|
getSettingsFileCandidates,
|
|
196
196
|
loadSettingsWithLegacyFallback,
|
|
197
197
|
readSettingsFile
|
|
198
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-BEV23CJE.js";
|
|
199
199
|
import {
|
|
200
200
|
getCustomCommandDirectories,
|
|
201
201
|
hasCustomCommands,
|
|
202
202
|
loadCustomCommands,
|
|
203
203
|
reloadCustomCommands
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-SYD52UQC.js";
|
|
205
205
|
import {
|
|
206
206
|
getSessionPlugins
|
|
207
207
|
} from "./chunk-BJSWTHRM.js";
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
buildModelProfileKey,
|
|
211
211
|
getModelManager,
|
|
212
212
|
isDefaultSlowAndCapableModel
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-BYLAKTEP.js";
|
|
214
214
|
import {
|
|
215
215
|
getCodeStyle,
|
|
216
216
|
getContext,
|
|
@@ -218,16 +218,16 @@ import {
|
|
|
218
218
|
getIsGit,
|
|
219
219
|
getProjectDocs,
|
|
220
220
|
getProjectStructureStatisticsBlock
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-L7U4IZJ5.js";
|
|
222
222
|
import {
|
|
223
223
|
getRipgrepPath,
|
|
224
224
|
getRipgrepPolicyMode,
|
|
225
225
|
resolveRipgrepPolicy,
|
|
226
226
|
ripGrep
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-X2CQAFP7.js";
|
|
228
228
|
import {
|
|
229
229
|
getTheme
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-PMPP4Q2U.js";
|
|
231
231
|
import {
|
|
232
232
|
DEFAULT_GLOBAL_CONFIG,
|
|
233
233
|
enableConfigs,
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
saveGlobalConfig,
|
|
241
241
|
setAllPointersToModel,
|
|
242
242
|
setModelPointer
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-EYLCDMQQ.js";
|
|
244
244
|
import {
|
|
245
245
|
AbortError
|
|
246
246
|
} from "./chunk-RQVLBMP7.js";
|
|
@@ -249,7 +249,7 @@ import {
|
|
|
249
249
|
getCurrentRequest,
|
|
250
250
|
logUserFriendly,
|
|
251
251
|
markPhase
|
|
252
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-IA6MVNWV.js";
|
|
253
253
|
import {
|
|
254
254
|
ASCII_LOGO,
|
|
255
255
|
BunShell,
|
|
@@ -293,10 +293,10 @@ import {
|
|
|
293
293
|
setCwd,
|
|
294
294
|
shouldApplyToolOutputTruncation,
|
|
295
295
|
truncateToolOutput
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-R4FJYGPN.js";
|
|
297
297
|
import {
|
|
298
298
|
MACRO
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-JTF7WK7Z.js";
|
|
300
300
|
import {
|
|
301
301
|
__export
|
|
302
302
|
} from "./chunk-I3J4JYES.js";
|
|
@@ -477,7 +477,7 @@ var getCommandSubcommandPrefix = memoize(
|
|
|
477
477
|
var getCommandPrefix = memoize(
|
|
478
478
|
async (command4, abortSignal) => {
|
|
479
479
|
const { systemPrompt, userPrompt } = buildBashCommandPrefixDetectionPrompt(command4);
|
|
480
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-
|
|
480
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryQuick: queryQuick2 } = await import("./llm-VJ5SXQHW.js");
|
|
481
481
|
const response = await queryQuick2({
|
|
482
482
|
systemPrompt,
|
|
483
483
|
userPrompt,
|
|
@@ -4279,7 +4279,7 @@ function formatParseError(error) {
|
|
|
4279
4279
|
return error instanceof Error ? error.message : String(error);
|
|
4280
4280
|
}
|
|
4281
4281
|
async function defaultGateQuery(args) {
|
|
4282
|
-
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-
|
|
4282
|
+
const { API_ERROR_MESSAGE_PREFIX: API_ERROR_MESSAGE_PREFIX2, queryLLM: queryLLM2 } = await import("./llm-VJ5SXQHW.js");
|
|
4283
4283
|
const queryLLMFn = args.queryLLMOverride ?? queryLLM2;
|
|
4284
4284
|
const messages = [
|
|
4285
4285
|
{
|
|
@@ -6672,7 +6672,7 @@ var FileEditTool = {
|
|
|
6672
6672
|
const originalFileContent = currentFileContent;
|
|
6673
6673
|
let totalPatch = [];
|
|
6674
6674
|
const { SmartEdit } = await import("./smart-edit-AWHJDSU6.js");
|
|
6675
|
-
const { findLspAnchor } = await import("./lspAnchor-
|
|
6675
|
+
const { findLspAnchor } = await import("./lspAnchor-TT3FWLUS.js");
|
|
6676
6676
|
for (const op of editOperations) {
|
|
6677
6677
|
const normalizedSearch = normalizeLineEndings(op.search);
|
|
6678
6678
|
const normalizedReplace = normalizeLineEndings(op.replace);
|
|
@@ -6803,6 +6803,8 @@ var PROMPT3 = `Reads a file or directory from the local filesystem. You can acce
|
|
|
6803
6803
|
- In file mode, offset/limit are 1-based line pagination; offset=1 starts from the first line shown in cat -n output
|
|
6804
6804
|
- By default, file mode reads up to ${MAX_LINES_TO_READ} lines starting from the beginning of the file
|
|
6805
6805
|
- You can optionally specify a line offset and limit (especially handy for long files). **Smart Truncation is active**: If your limit cuts a function or class in the middle, the tool will automatically extend the read range to include the full semantic block (up to 500 extra lines).
|
|
6806
|
+
- symbol_name enables LSP-assisted symbol read: provide an exact symbol name to resolve the symbol range and read that block directly
|
|
6807
|
+
- Use symbol_name only after file path is confirmed and when you need a specific class/function definition; if symbol is missing or unresolved, fallback to offset/limit or use LspTool for semantic discovery
|
|
6806
6808
|
- Directory mode returns a one-level tree structure using \u251C\u2500\u2500/\u2514\u2500\u2500 and supports pagination continuation hints
|
|
6807
6809
|
- For large files, iterate in chunks: offset=1 limit=200, then offset=201 limit=200, and so on until the needed region is covered
|
|
6808
6810
|
- File text truncation is capped at 50KB per result and 2000 lines; 50KB is file text truncation and not a directory access gate
|
|
@@ -6840,6 +6842,14 @@ var PROMPT3 = `Reads a file or directory from the local filesystem. You can acce
|
|
|
6840
6842
|
[reads the confirmed api directory path to get one-level tree structure with Read]
|
|
6841
6843
|
[reads the router file path found in that directory tree]
|
|
6842
6844
|
</example>
|
|
6845
|
+
|
|
6846
|
+
### Example 4: LSP-Assisted Symbol Read
|
|
6847
|
+
<example>
|
|
6848
|
+
user: Open the FileReadTool call implementation directly
|
|
6849
|
+
assistant: [uses Glob/Grep to confirm FileReadTool file path]
|
|
6850
|
+
[uses Read with file_path="<absolute path>/FileReadTool.tsx" symbol_name="call"]
|
|
6851
|
+
[if symbol is not found, retries with offset/limit or uses LspTool to inspect symbol names first]
|
|
6852
|
+
</example>
|
|
6843
6853
|
`.trim();
|
|
6844
6854
|
|
|
6845
6855
|
// src/utils/fs/secureFile.ts
|
|
@@ -12435,7 +12445,7 @@ async function createAndStoreApiKey(accessToken) {
|
|
|
12435
12445
|
}
|
|
12436
12446
|
saveGlobalConfig(config2);
|
|
12437
12447
|
try {
|
|
12438
|
-
const { resetAnthropicClient } = await import("./llm-
|
|
12448
|
+
const { resetAnthropicClient } = await import("./llm-VJ5SXQHW.js");
|
|
12439
12449
|
resetAnthropicClient();
|
|
12440
12450
|
} catch {
|
|
12441
12451
|
}
|
|
@@ -16859,7 +16869,7 @@ async function refreshPluginRuntimeFromInstalls() {
|
|
|
16859
16869
|
const existingRoots = getSessionPlugins().map((p) => p.rootDir);
|
|
16860
16870
|
const dirs = Array.from(/* @__PURE__ */ new Set([...existingRoots, ...installedRoots]));
|
|
16861
16871
|
if (dirs.length === 0) return [];
|
|
16862
|
-
const { configureSessionPlugins } = await import("./pluginRuntime-
|
|
16872
|
+
const { configureSessionPlugins } = await import("./pluginRuntime-3WFVQ6S7.js");
|
|
16863
16873
|
const { errors } = await configureSessionPlugins({ pluginDirs: dirs });
|
|
16864
16874
|
return errors;
|
|
16865
16875
|
}
|
|
@@ -17534,7 +17544,7 @@ async function call(onDone, context) {
|
|
|
17534
17544
|
ModelConfig,
|
|
17535
17545
|
{
|
|
17536
17546
|
onClose: () => {
|
|
17537
|
-
import("./model-
|
|
17547
|
+
import("./model-POXLU7ZR.js").then(({ reloadModelManager: reloadModelManager2 }) => {
|
|
17538
17548
|
reloadModelManager2();
|
|
17539
17549
|
triggerModelConfigChange();
|
|
17540
17550
|
onDone();
|
|
@@ -27445,7 +27455,7 @@ async function analyzeOutputWithLsp(output, exitCode) {
|
|
|
27445
27455
|
if (exitCode !== 0 || errorCount > 0 || warningCount > 0) {
|
|
27446
27456
|
try {
|
|
27447
27457
|
const { isAbsolute: isAbsolute11, resolve: resolve16 } = await import("path");
|
|
27448
|
-
const { getSessionRoot: getSessionRoot2 } = await import("./state-
|
|
27458
|
+
const { getSessionRoot: getSessionRoot2 } = await import("./state-WZ4UJAH7.js");
|
|
27449
27459
|
const lines = output.split("\n");
|
|
27450
27460
|
const uniqueFiles = /* @__PURE__ */ new Set();
|
|
27451
27461
|
const lspSuggestions = [];
|
|
@@ -27815,7 +27825,7 @@ var DeleteTool = {
|
|
|
27815
27825
|
}
|
|
27816
27826
|
if (!force) {
|
|
27817
27827
|
try {
|
|
27818
|
-
const { LspFacade: LspFacade2 } = await import("./lsp-
|
|
27828
|
+
const { LspFacade: LspFacade2 } = await import("./lsp-BIIABO6H.js");
|
|
27819
27829
|
const referenceDetail = await LspFacade2.checkFileReferences(fullPath);
|
|
27820
27830
|
if (referenceDetail) {
|
|
27821
27831
|
failedItems.push(
|
|
@@ -38217,7 +38227,7 @@ function useStatusLine() {
|
|
|
38217
38227
|
// src/ui/components/PromptInput.tsx
|
|
38218
38228
|
async function interpretHashCommand(input) {
|
|
38219
38229
|
try {
|
|
38220
|
-
const { queryQuick: queryQuick2 } = await import("./llm-
|
|
38230
|
+
const { queryQuick: queryQuick2 } = await import("./llm-VJ5SXQHW.js");
|
|
38221
38231
|
const systemPrompt = [
|
|
38222
38232
|
"You're helping the user structure notes that will be added to their PYB.md file.",
|
|
38223
38233
|
"Format the user's input into a well-structured note that will be useful for later reference.",
|
|
@@ -38530,7 +38540,7 @@ function PromptInput({
|
|
|
38530
38540
|
if (messages2.length) {
|
|
38531
38541
|
if (mode === "bash") {
|
|
38532
38542
|
onQuery(messages2, newAbortController).then(async () => {
|
|
38533
|
-
const { getCwd: getCwd2 } = await import("./state-
|
|
38543
|
+
const { getCwd: getCwd2 } = await import("./state-WZ4UJAH7.js");
|
|
38534
38544
|
setCurrentPwd(getCwd2());
|
|
38535
38545
|
});
|
|
38536
38546
|
} else {
|
|
@@ -40160,7 +40170,7 @@ import { homedir as homedir8 } from "os";
|
|
|
40160
40170
|
// src/commands/agents/generation.ts
|
|
40161
40171
|
import { randomUUID as randomUUID9 } from "crypto";
|
|
40162
40172
|
async function generateAgentWithClaude(prompt) {
|
|
40163
|
-
const { queryModel } = await import("./llm-
|
|
40173
|
+
const { queryModel } = await import("./llm-VJ5SXQHW.js");
|
|
40164
40174
|
const systemPrompt = `You are an expert at creating AI agent configurations. Based on the user's description, generate a specialized agent configuration.
|
|
40165
40175
|
|
|
40166
40176
|
Return your response as a JSON object with exactly these fields:
|