@herbertgao/pi-extensions 2026.11.3 → 2026.11.4
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 +9 -0
- package/README.md +7 -7
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-cc-extensions/README.en.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/README.md +2 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +33 -5
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/ccstyle-tool.ts +72 -17
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +10 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/tool-io.ts +16 -7
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +7 -5
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-dark-hc.json +92 -0
- package/node_modules/@herbertgao/pi-cc-extensions/themes/cc-light-hc.json +92 -0
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +27 -0
- package/node_modules/pi-commandcode-provider/CONTRIBUTING.md +64 -5
- package/node_modules/pi-commandcode-provider/README.md +40 -26
- package/node_modules/pi-commandcode-provider/RELEASE.md +25 -0
- package/node_modules/pi-commandcode-provider/index.ts +212 -38
- package/node_modules/pi-commandcode-provider/package.json +9 -8
- package/node_modules/pi-commandcode-provider/scripts/live-e2e-profile.mjs +6 -13
- package/node_modules/pi-commandcode-provider/scripts/typecheck-entrypoint.mjs +88 -0
- package/node_modules/pi-commandcode-provider/src/api-key.ts +43 -2
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog-overrides.ts +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +9 -2
- package/node_modules/pi-commandcode-provider/src/cost.ts +3 -37
- package/node_modules/pi-commandcode-provider/src/diagnostics.ts +215 -0
- package/node_modules/pi-commandcode-provider/src/oauth.ts +1 -1
- package/node_modules/pi-commandcode-provider/src/quota-command.ts +1 -1
- package/node_modules/pi-commandcode-provider/src/routing.ts +166 -0
- package/node_modules/pi-commandcode-provider/src/runtime.ts +15 -9
- package/node_modules/pi-commandcode-provider/src/transport.ts +79 -85
- package/node_modules/pi-commandcode-provider/src/types.ts +20 -39
- package/node_modules/pi-commandcode-provider/src/usage.ts +1 -1
- package/node_modules/pi-lens/CHANGELOG-USER.md +31 -0
- package/node_modules/pi-lens/CHANGELOG.md +178 -0
- package/node_modules/pi-lens/README.md +2 -1
- package/node_modules/pi-lens/config/dependency-cruiser-eager-allowlist.json +1 -1
- package/node_modules/pi-lens/dist/{chunk-3O5EII3W.js → chunk-2VZ3VN3N.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-SDFKOLSF.js → chunk-3HTZDY3C.js} +8 -6
- package/node_modules/pi-lens/dist/{chunk-A5GRLYPZ.js → chunk-3NPWO5UO.js} +7 -13
- package/node_modules/pi-lens/dist/{chunk-AGGUWKRK.js → chunk-47UCC4MM.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-4ENEJHF4.js +198 -0
- package/node_modules/pi-lens/dist/{chunk-WXUDRAG6.js → chunk-5GEYJJHG.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-HHR7WGCI.js → chunk-5YSEQHJN.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-L3CLUGDY.js → chunk-6GPB3JLL.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-5F3XF3SX.js → chunk-7R5GZIA6.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-CUDD35TW.js → chunk-7UTSNTWM.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-DYRZGUMA.js → chunk-7YTRG6YW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-JZRP4DGP.js → chunk-AACN5GNE.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7ANZ7XDD.js → chunk-ACRJ2GZ5.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-6FIRFP6A.js → chunk-C3YRO3EU.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-GMROJJRN.js → chunk-CB7PEVOJ.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-BBET6HD6.js → chunk-CDFJF5YD.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-NSPVR3FN.js → chunk-CJS6WE66.js} +17 -19
- package/node_modules/pi-lens/dist/{chunk-6YUNI7B5.js → chunk-CM6BDY4E.js} +14 -60
- package/node_modules/pi-lens/dist/{chunk-G5GV2Q7K.js → chunk-CZCAZVTD.js} +16 -2
- package/node_modules/pi-lens/dist/chunk-DGKFWQK4.js +23 -0
- package/node_modules/pi-lens/dist/{chunk-VOP4PJKA.js → chunk-E65WJVI5.js} +7 -9
- package/node_modules/pi-lens/dist/{chunk-TV6RXRYH.js → chunk-EKNYSXFB.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-4LL2VRNY.js → chunk-EY6LY2HO.js} +16 -18
- package/node_modules/pi-lens/dist/{chunk-MC6VB2E5.js → chunk-F6BEQWAK.js} +17 -5
- package/node_modules/pi-lens/dist/{chunk-R2QQC33W.js → chunk-FGNSESAC.js} +12 -14
- package/node_modules/pi-lens/dist/{chunk-OC7VWJBZ.js → chunk-FRUBVFXV.js} +35 -37
- package/node_modules/pi-lens/dist/{chunk-7CGIDRIK.js → chunk-G22UNQID.js} +14 -16
- package/node_modules/pi-lens/dist/{chunk-L4NEVZ4T.js → chunk-GQTQUNCG.js} +25 -27
- package/node_modules/pi-lens/dist/{chunk-ZKLTNLAW.js → chunk-H3BVMK47.js} +6 -6
- package/node_modules/pi-lens/dist/chunk-H6FLQ5NW.js +28 -0
- package/node_modules/pi-lens/dist/{chunk-2ZE3AUJQ.js → chunk-HEA3EM23.js} +13 -15
- package/node_modules/pi-lens/dist/{chunk-CZL44WFN.js → chunk-HSOBIN22.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PKSUMEPT.js → chunk-HYSKJMZK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-VN3L2JWZ.js → chunk-IICERRFF.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-O4N5BQ3T.js → chunk-IILEH3ZC.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-WC6WRNQT.js → chunk-J3Q2NYJR.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-SFLHSL5R.js → chunk-JUZ67QZQ.js} +18 -7
- package/node_modules/pi-lens/dist/chunk-KR5VGMVT.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-UHHLR2VY.js → chunk-KV6GQOGN.js} +38 -41
- package/node_modules/pi-lens/dist/{chunk-HUAM7QG3.js → chunk-KXMJLOZF.js} +25 -23
- package/node_modules/pi-lens/dist/{chunk-BUZIQDFS.js → chunk-L4Y3ROKQ.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-JBP7KESM.js → chunk-L6WBJGQS.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-35WKJWO5.js → chunk-L7O774U7.js} +14 -14
- package/node_modules/pi-lens/dist/{chunk-BOPDQ7AZ.js → chunk-LAHHGNAY.js} +19 -21
- package/node_modules/pi-lens/dist/{chunk-RGGH6M34.js → chunk-LT62P654.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-5T5A6YAJ.js → chunk-LWOM6LVS.js} +33 -34
- package/node_modules/pi-lens/dist/{chunk-JYLOYTZD.js → chunk-MKPDIAZH.js} +5 -1
- package/node_modules/pi-lens/dist/{chunk-CM73PPGD.js → chunk-MN635QYA.js} +3 -4
- package/node_modules/pi-lens/dist/{chunk-BQG2QFVO.js → chunk-MQ4PPCJB.js} +21 -29
- package/node_modules/pi-lens/dist/{chunk-HXFUTMX2.js → chunk-MRLH4MYU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XOMGO63G.js → chunk-N56BNAA6.js} +19 -21
- package/node_modules/pi-lens/dist/{chunk-7MAD5ZAY.js → chunk-N5CEGQPG.js} +14 -16
- package/node_modules/pi-lens/dist/{chunk-ZFORSIED.js → chunk-NCLO6E6N.js} +13 -33
- package/node_modules/pi-lens/dist/{chunk-SQC7K3SP.js → chunk-NL5LSKVD.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-I22THIHI.js → chunk-NMUSOZ2D.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-4NBWFYWW.js → chunk-NOWH2VA2.js} +8 -33
- package/node_modules/pi-lens/dist/{chunk-NM2NWH55.js → chunk-NUSXS6YB.js} +6 -5
- package/node_modules/pi-lens/dist/{chunk-OZWXLJMX.js → chunk-OSEKJEUU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-2BKUFQKR.js → chunk-OUYAUXAT.js} +405 -181
- package/node_modules/pi-lens/dist/{chunk-JPRDTY5S.js → chunk-PBZNYHMM.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-JE6HKLC7.js → chunk-PIIUNJIT.js} +2 -4
- package/node_modules/pi-lens/dist/{chunk-ZZDIOAAJ.js → chunk-PRHYIA6X.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-4W52ZKZX.js → chunk-PXQ45SGD.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-Q6JQKWPK.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-PIQQM32Y.js → chunk-QB7T2PHK.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HKIL6DCL.js → chunk-QGITU23N.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-QJJKOHLH.js +57 -0
- package/node_modules/pi-lens/dist/{chunk-6LJOJ6EO.js → chunk-QP33NKYC.js} +14 -16
- package/node_modules/pi-lens/dist/{chunk-DIWK3LBC.js → chunk-QVBOXT3L.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-IYVYZQRL.js → chunk-RNJFRXEN.js} +5 -7
- package/node_modules/pi-lens/dist/{chunk-G6JKM4O7.js → chunk-RNXOWDM6.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-5RNB4HVK.js → chunk-RTFMDIKV.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-XWIME22V.js → chunk-SIQHOB6P.js} +11 -13
- package/node_modules/pi-lens/dist/{chunk-T2S3FNNJ.js → chunk-SLSMJPEF.js} +41 -42
- package/node_modules/pi-lens/dist/chunk-T5QSLSMM.js +50 -0
- package/node_modules/pi-lens/dist/chunk-TGQDAG4B.js +88 -0
- package/node_modules/pi-lens/dist/{chunk-6GMGEKQN.js → chunk-THYHUIDR.js} +39 -12
- package/node_modules/pi-lens/dist/{chunk-WMDUT4KH.js → chunk-TMNUTMT5.js} +72 -89
- package/node_modules/pi-lens/dist/{chunk-7TNILKGY.js → chunk-TOE2RRCS.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-TYHPVE5H.js +25 -0
- package/node_modules/pi-lens/dist/chunk-UAKO2M6B.js +73 -0
- package/node_modules/pi-lens/dist/chunk-UC5AXW5Z.js +20 -0
- package/node_modules/pi-lens/dist/chunk-UTJP6WOS.js +28 -0
- package/node_modules/pi-lens/dist/{chunk-FRLAUP2B.js → chunk-UXTQ3QPD.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-4QG55RRC.js → chunk-V2WDBOLZ.js} +10 -12
- package/node_modules/pi-lens/dist/{chunk-FHEV6T4L.js → chunk-V67D6TMU.js} +8 -10
- package/node_modules/pi-lens/dist/{chunk-VLQ7UKZH.js → chunk-VCRVNLE7.js} +135 -2
- package/node_modules/pi-lens/dist/{chunk-KZ4ALBCH.js → chunk-VO4JFPTV.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-GIRBSBGL.js → chunk-VWLSU3XV.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-2453RRJ2.js → chunk-W5E72HJA.js} +59 -22
- package/node_modules/pi-lens/dist/{chunk-VPLBLWFO.js → chunk-W7TY6HYX.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-SP4TFY5F.js → chunk-WSSLVMDA.js} +11 -13
- package/node_modules/pi-lens/dist/{chunk-PPKECBPP.js → chunk-WTB4GKMH.js} +10 -1
- package/node_modules/pi-lens/dist/{chunk-X35S7HSB.js → chunk-X5BJ3G2P.js} +41 -30
- package/node_modules/pi-lens/dist/{chunk-X66YJ2SS.js → chunk-XKFO2SZV.js} +33 -34
- package/node_modules/pi-lens/dist/{chunk-OWTG6UMO.js → chunk-XLAI7UYY.js} +75 -22
- package/node_modules/pi-lens/dist/{chunk-4B2YFN4U.js → chunk-XO756WE5.js} +45 -33
- package/node_modules/pi-lens/dist/{chunk-VOXTCULR.js → chunk-XVB3Q2PG.js} +2 -4
- package/node_modules/pi-lens/dist/{chunk-XYLC35E4.js → chunk-YOXCCJDF.js} +517 -308
- package/node_modules/pi-lens/dist/{chunk-O2ARHQKF.js → chunk-ZCQBNPRH.js} +2 -2
- package/node_modules/pi-lens/dist/chunk-ZD4KVFXI.js +234 -0
- package/node_modules/pi-lens/dist/{chunk-LSFXZLPW.js → chunk-ZDMFGACN.js} +184 -235
- package/node_modules/pi-lens/dist/{chunk-4BKU7PV3.js → chunk-ZMMHHXSW.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-OY7WZI7Q.js → chunk-ZPM7ZIFL.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-R4QWJQ2H.js → chunk-ZVCDHYWZ.js} +9 -11
- package/node_modules/pi-lens/dist/{chunk-RZG472YW.js → chunk-ZZN74OGD.js} +83 -46
- package/node_modules/pi-lens/dist/{chunk-BHWW6FAX.js → chunk-ZZSJAR76.js} +37 -19
- package/node_modules/pi-lens/dist/index.js +4910 -4218
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +12 -17
- package/node_modules/pi-lens/dist/mcp/cli.js +41 -42
- package/node_modules/pi-lens/dist/mcp/server.js +1451 -648
- package/node_modules/pi-lens/dist/mcp/worker.js +59 -60
- package/node_modules/pi-lens/dist/probes/installer.js +17 -19
- package/node_modules/pi-lens/docs/agent-tools.md +40 -8
- package/node_modules/pi-lens/docs/analysisall.md +1 -1
- package/node_modules/pi-lens/docs/ci-bot-pr-checks.md +7 -5
- package/node_modules/pi-lens/docs/configuration.md +51 -9
- package/node_modules/pi-lens/docs/defect-shapes.md +52 -3
- package/node_modules/pi-lens/docs/environment-variables.md +18 -1
- package/node_modules/pi-lens/docs/features.md +12 -5
- package/node_modules/pi-lens/docs/globalconfig.md +11 -3
- package/node_modules/pi-lens/docs/invariants/lsp-trust-exec.md +9 -2
- package/node_modules/pi-lens/docs/invariants/session-telemetry.md +2 -2
- package/node_modules/pi-lens/docs/language-coverage.md +1 -0
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +57 -35
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +4 -1
- package/node_modules/pi-lens/docs/merge-queue-rollout.md +10 -8
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +34 -23
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +11 -1
- package/node_modules/pi-lens/docs/pi-lens-investigator.md +3 -0
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +15 -7
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +1 -1
- package/node_modules/pi-lens/docs/pi-lens-subagent.md +13 -0
- package/node_modules/pi-lens/docs/public-api-stability.md +39 -5
- package/node_modules/pi-lens/docs/release-qa-baseline.md +7 -4
- package/node_modules/pi-lens/docs/schema/pi-lens-config-v1.json +11 -2
- package/node_modules/pi-lens/docs/servercapabilities.md +3 -1
- package/node_modules/pi-lens/docs/settings.md +2 -2
- package/node_modules/pi-lens/docs/word-index.md +3 -2
- package/node_modules/pi-lens/package.json +8 -3
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute-js.yml +1 -2
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-sql-in-code-execute.yml +1 -2
- package/node_modules/pi-lens/scripts/download-grammars.js +3 -2
- package/node_modules/pi-lens/skills/pi-lens-lsp-navigation/SKILL.md +5 -1
- package/node_modules/pi-provider-qoder/dist/index.js +473 -62
- package/node_modules/pi-provider-qoder/package.json +1 -1
- package/package.json +10 -8
- package/node_modules/pi-commandcode-provider/src/converters.ts +0 -419
- package/node_modules/pi-commandcode-provider/src/core.ts +0 -861
- package/node_modules/pi-commandcode-provider/src/json-schema.ts +0 -417
- package/node_modules/pi-commandcode-provider/src/transcript.ts +0 -56
- package/node_modules/pi-lens/dist/chunk-2TS4GLOJ.js +0 -31
- package/node_modules/pi-lens/dist/chunk-3JAHQBSY.js +0 -27
- package/node_modules/pi-lens/dist/chunk-447YZL4S.js +0 -25
- package/node_modules/pi-lens/dist/chunk-565VRUP4.js +0 -136
- package/node_modules/pi-lens/dist/chunk-57X2CDRX.js +0 -49
- package/node_modules/pi-lens/dist/chunk-GGYOZWHW.js +0 -27
- package/node_modules/pi-lens/dist/chunk-IE5D3RA5.js +0 -58
- package/node_modules/pi-lens/dist/chunk-LPYTPNOJ.js +0 -22
- package/node_modules/pi-lens/dist/chunk-OFNMHPBT.js +0 -89
- package/node_modules/pi-lens/dist/chunk-U3AS2FR6.js +0 -106
- package/node_modules/pi-lens/dist/chunk-W3BGKBBK.js +0 -27
- package/node_modules/pi-lens/dist/chunk-WQV6BI4Q.js +0 -48
- package/node_modules/pi-lens/dist/chunk-YHGYAEFH.js +0 -443
- package/node_modules/pi-lens/dist/chunk-ZONZ6YY3.js +0 -74
- package/node_modules/pi-lens/dist/chunk-ZSM35JF4.js +0 -30
|
@@ -2,16 +2,16 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getToolCommandSpec,
|
|
4
4
|
shouldAutoInstallTool
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7R5GZIA6.js";
|
|
6
6
|
import {
|
|
7
7
|
BUILTIN_SERVER_RUNNER_COVERS,
|
|
8
8
|
getServersForFileWithConfig,
|
|
9
9
|
isAuxiliary,
|
|
10
10
|
resolveAnalysisRootPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YOXCCJDF.js";
|
|
12
12
|
import {
|
|
13
13
|
emitBounded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V67D6TMU.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureTool,
|
|
17
17
|
findManagedToolBinary,
|
|
@@ -21,20 +21,20 @@ import {
|
|
|
21
21
|
isSpawnableCommand,
|
|
22
22
|
logSessionStart,
|
|
23
23
|
resetPathWalkMemo
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MQ4PPCJB.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveToolCwd
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RNJFRXEN.js";
|
|
28
28
|
import {
|
|
29
29
|
findGlobalBinary,
|
|
30
30
|
findLocalBinAt,
|
|
31
31
|
findLocalBinUpwards,
|
|
32
32
|
localBinPath
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-E65WJVI5.js";
|
|
34
34
|
import {
|
|
35
35
|
createAvailabilityProbeFlight,
|
|
36
36
|
probeToolAsync
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-L6WBJGQS.js";
|
|
38
38
|
import {
|
|
39
39
|
classifyProbeFailure,
|
|
40
40
|
createAvailabilityLatch,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
logAvailabilityDecision,
|
|
45
45
|
startHostStallSampler,
|
|
46
46
|
transientRetryDelayMs
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-AACN5GNE.js";
|
|
48
48
|
import {
|
|
49
49
|
VENDOR_BIN_DIRS,
|
|
50
50
|
VENV_BIN_DIRS,
|
|
@@ -53,22 +53,22 @@ import {
|
|
|
53
53
|
isInSpawnTimeoutCooldown,
|
|
54
54
|
resolveWindowsCommandForEnvironment,
|
|
55
55
|
safeSpawnAsync
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-TMNUTMT5.js";
|
|
57
57
|
import {
|
|
58
58
|
PathKeyedMap
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-X5BJ3G2P.js";
|
|
60
60
|
import {
|
|
61
61
|
getProjectTrustState
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PIIUNJIT.js";
|
|
63
63
|
import {
|
|
64
64
|
compareOrdinal,
|
|
65
65
|
incrementDegradationCount
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-W5E72HJA.js";
|
|
67
67
|
import {
|
|
68
68
|
isUnderDir,
|
|
69
69
|
normalizeEphemeralMapKey,
|
|
70
70
|
normalizeMapKey
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
72
72
|
|
|
73
73
|
// dist/clients/dispatch/runners/utils/runner-helpers.js
|
|
74
74
|
import * as fs from "node:fs";
|
|
@@ -987,26 +987,7 @@ function resolveAvailableOrInstall(checker, toolId, cwd) {
|
|
|
987
987
|
return promise;
|
|
988
988
|
}
|
|
989
989
|
var sgLatch = createAvailabilityLatch();
|
|
990
|
-
var sgCmd = null;
|
|
991
|
-
var sgCmdArgs = [];
|
|
992
|
-
var sgAvailableInFlight = null;
|
|
993
990
|
var sgAvailabilityGeneration = availabilityGeneration.current();
|
|
994
|
-
function ensureCurrentSgGeneration() {
|
|
995
|
-
if (sgAvailabilityGeneration === availabilityGeneration.current())
|
|
996
|
-
return;
|
|
997
|
-
sgLatch.reset();
|
|
998
|
-
sgCmd = null;
|
|
999
|
-
sgCmdArgs = [];
|
|
1000
|
-
sgAvailableInFlight = null;
|
|
1001
|
-
sgAvailabilityGeneration = availabilityGeneration.current();
|
|
1002
|
-
}
|
|
1003
|
-
function getSgCommand() {
|
|
1004
|
-
ensureCurrentSgGeneration();
|
|
1005
|
-
return {
|
|
1006
|
-
cmd: sgCmd ?? "npx",
|
|
1007
|
-
args: sgCmdArgs.length ? sgCmdArgs : ["--no", "--package", "@ast-grep/cli", "--", "ast-grep"]
|
|
1008
|
-
};
|
|
1009
|
-
}
|
|
1010
991
|
async function resolveLocalFirstAsync(toolName, cwd, windowsExt = ".cmd") {
|
|
1011
992
|
const local = localBinPath(findLocalBinAt(toolName, cwd, { windowsExt }));
|
|
1012
993
|
if (local)
|
|
@@ -1047,7 +1028,6 @@ export {
|
|
|
1047
1028
|
resolveToolCommandWithInstallFallback,
|
|
1048
1029
|
resolveCommandArgsWithInstallFallback,
|
|
1049
1030
|
resolveAvailableOrInstall,
|
|
1050
|
-
getSgCommand,
|
|
1051
1031
|
resolveLocalFirstAsync,
|
|
1052
1032
|
resolveRunnerCwd
|
|
1053
1033
|
};
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-S26LC76R.js";
|
|
7
7
|
import {
|
|
8
8
|
logLatency
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VCRVNLE7.js";
|
|
10
10
|
import {
|
|
11
11
|
isWindowsPath,
|
|
12
12
|
nameMatchesMarkerGlob,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
realpathOrResolve,
|
|
15
15
|
toPosix,
|
|
16
16
|
walkUpDirs
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
18
18
|
|
|
19
19
|
// dist/clients/workspace-topology.js
|
|
20
20
|
import * as fs2 from "node:fs";
|
|
@@ -15,21 +15,19 @@ import {
|
|
|
15
15
|
getFilterStats,
|
|
16
16
|
isBuildArtifact,
|
|
17
17
|
sourceTwinCandidates
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-RNXOWDM6.js";
|
|
19
|
+
import "./chunk-ZCQBNPRH.js";
|
|
20
|
+
import "./chunk-TMNUTMT5.js";
|
|
21
21
|
import "./chunk-QYF5S6P6.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-WQV6BI4Q.js";
|
|
22
|
+
import "./chunk-CZCAZVTD.js";
|
|
23
|
+
import "./chunk-X5BJ3G2P.js";
|
|
24
|
+
import "./chunk-NL5LSKVD.js";
|
|
25
|
+
import "./chunk-PIIUNJIT.js";
|
|
26
|
+
import "./chunk-W5E72HJA.js";
|
|
28
27
|
import "./chunk-S26LC76R.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-VLQ7UKZH.js";
|
|
28
|
+
import "./chunk-VCRVNLE7.js";
|
|
31
29
|
import "./chunk-LJDODBBZ.js";
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-CB7PEVOJ.js";
|
|
33
31
|
import "./chunk-NXL4FFQQ.js";
|
|
34
32
|
export {
|
|
35
33
|
ALL_SCANNABLE_EXTENSIONS,
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getProjectDataDir
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-WQV6BI4Q.js";
|
|
4
|
+
} from "./chunk-TMNUTMT5.js";
|
|
5
|
+
import "./chunk-X5BJ3G2P.js";
|
|
6
|
+
import "./chunk-NL5LSKVD.js";
|
|
7
|
+
import "./chunk-PIIUNJIT.js";
|
|
8
|
+
import "./chunk-W5E72HJA.js";
|
|
10
9
|
import "./chunk-S26LC76R.js";
|
|
11
|
-
import "./chunk-565VRUP4.js";
|
|
12
10
|
import {
|
|
13
11
|
redactSecrets
|
|
14
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VCRVNLE7.js";
|
|
15
13
|
import "./chunk-LJDODBBZ.js";
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-CB7PEVOJ.js";
|
|
17
15
|
import "./chunk-NXL4FFQQ.js";
|
|
18
16
|
|
|
19
17
|
// dist/clients/fix-worklog.js
|
|
@@ -67,31 +65,8 @@ function readWorklog(cwd) {
|
|
|
67
65
|
return [];
|
|
68
66
|
}
|
|
69
67
|
}
|
|
70
|
-
function summarizeWorklog(cwd) {
|
|
71
|
-
const entries = readWorklog(cwd);
|
|
72
|
-
const byRule = /* @__PURE__ */ new Map();
|
|
73
|
-
let totalAutoFixed = 0;
|
|
74
|
-
let totalFixable = 0;
|
|
75
|
-
for (const e of entries) {
|
|
76
|
-
const r = byRule.get(e.rule) ?? { count: 0, autoFixed: 0 };
|
|
77
|
-
r.count++;
|
|
78
|
-
if (e.autoFixed) {
|
|
79
|
-
r.autoFixed++;
|
|
80
|
-
totalAutoFixed++;
|
|
81
|
-
}
|
|
82
|
-
if (e.fixable)
|
|
83
|
-
totalFixable++;
|
|
84
|
-
byRule.set(e.rule, r);
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
totalAutoFixed,
|
|
88
|
-
totalFixable,
|
|
89
|
-
byRule: [...byRule.entries()].map(([rule, v]) => ({ rule, ...v })).sort((a, b) => b.count - a.count)
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
68
|
export {
|
|
93
69
|
appendToWorklog,
|
|
94
70
|
getWorklogPath,
|
|
95
|
-
readWorklog
|
|
96
|
-
summarizeWorklog
|
|
71
|
+
readWorklog
|
|
97
72
|
};
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
DOTNET_CSHARP_ROOT_MARKERS,
|
|
6
6
|
DOTNET_CSHARP_SOLUTION_MARKERS,
|
|
7
7
|
DOTNET_FSHARP_ROOT_MARKERS,
|
|
8
|
+
GROOVY_FILENAMES,
|
|
8
9
|
KIND_EXTENSIONS,
|
|
9
10
|
LEAN_ROOT_MARKERS,
|
|
10
11
|
NON_CODE_KINDS,
|
|
@@ -19,12 +20,11 @@ import {
|
|
|
19
20
|
isHelmYamlTemplatePath,
|
|
20
21
|
isJstsFactFile,
|
|
21
22
|
isReadableSourceFile
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-CZCAZVTD.js";
|
|
24
|
+
import "./chunk-NL5LSKVD.js";
|
|
24
25
|
import "./chunk-S26LC76R.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-GMROJJRN.js";
|
|
26
|
+
import "./chunk-VCRVNLE7.js";
|
|
27
|
+
import "./chunk-CB7PEVOJ.js";
|
|
28
28
|
import "./chunk-NXL4FFQQ.js";
|
|
29
29
|
export {
|
|
30
30
|
CODE_KINDS,
|
|
@@ -32,6 +32,7 @@ export {
|
|
|
32
32
|
DOTNET_CSHARP_ROOT_MARKERS,
|
|
33
33
|
DOTNET_CSHARP_SOLUTION_MARKERS,
|
|
34
34
|
DOTNET_FSHARP_ROOT_MARKERS,
|
|
35
|
+
GROOVY_FILENAMES,
|
|
35
36
|
KIND_EXTENSIONS,
|
|
36
37
|
LEAN_ROOT_MARKERS,
|
|
37
38
|
NON_CODE_KINDS,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
isMutatingToolName
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VWLSU3XV.js";
|
|
5
5
|
import {
|
|
6
6
|
normalizeMapKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/agent-behavior-client.js
|
|
10
10
|
var READ_OPS = /* @__PURE__ */ new Set(["read", "bash", "grep", "glob", "find", "rg"]);
|