@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
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
measureFunction
|
|
4
|
+
} from "./chunk-ZD4KVFXI.js";
|
|
2
5
|
import {
|
|
3
6
|
extractFactsFromTree
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TOE2RRCS.js";
|
|
5
8
|
import {
|
|
6
9
|
findOwnerName
|
|
7
10
|
} from "./chunk-5W3R6LFT.js";
|
|
8
11
|
import {
|
|
9
12
|
firstChildOfType,
|
|
10
13
|
walk
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZZSJAR76.js";
|
|
12
15
|
import {
|
|
13
16
|
isJstsFactFile
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CZCAZVTD.js";
|
|
15
18
|
|
|
16
19
|
// dist/clients/dispatch/facts/function-facts.js
|
|
17
20
|
var BOUNDARY_PREFIXES = [
|
|
@@ -30,28 +33,6 @@ var FUNCTION_TYPES = /* @__PURE__ */ new Set([
|
|
|
30
33
|
"function_expression",
|
|
31
34
|
"arrow_function"
|
|
32
35
|
]);
|
|
33
|
-
var COMPLEXITY_TYPES = /* @__PURE__ */ new Set([
|
|
34
|
-
"if_statement",
|
|
35
|
-
"for_statement",
|
|
36
|
-
"for_in_statement",
|
|
37
|
-
// for…of and for…in both parse to for_in_statement
|
|
38
|
-
"while_statement",
|
|
39
|
-
"do_statement",
|
|
40
|
-
"switch_case",
|
|
41
|
-
// `case` only — `default` (switch_default) is not counted
|
|
42
|
-
"catch_clause",
|
|
43
|
-
"ternary_expression"
|
|
44
|
-
]);
|
|
45
|
-
var NESTING_TYPES = /* @__PURE__ */ new Set([
|
|
46
|
-
"if_statement",
|
|
47
|
-
"for_statement",
|
|
48
|
-
"for_in_statement",
|
|
49
|
-
"while_statement",
|
|
50
|
-
"do_statement",
|
|
51
|
-
"switch_statement",
|
|
52
|
-
"try_statement"
|
|
53
|
-
]);
|
|
54
|
-
var LOGICAL_OPERATORS = /* @__PURE__ */ new Set(["&&", "||", "??"]);
|
|
55
36
|
function namedChildren(node) {
|
|
56
37
|
return (node.children ?? []).filter((c) => c && c.isNamed && c.type !== "comment");
|
|
57
38
|
}
|
|
@@ -123,19 +104,6 @@ function isCallPassThrough(stmt, paramNames) {
|
|
|
123
104
|
}
|
|
124
105
|
return { pass: true, target: (expr.children ?? [])[0]?.text };
|
|
125
106
|
}
|
|
126
|
-
function isDecisionPoint(type, children) {
|
|
127
|
-
if (COMPLEXITY_TYPES.has(type))
|
|
128
|
-
return true;
|
|
129
|
-
return type === "binary_expression" && children.some((c) => LOGICAL_OPERATORS.has(c?.type));
|
|
130
|
-
}
|
|
131
|
-
function calcCyclomaticComplexity(body) {
|
|
132
|
-
let cc = 1;
|
|
133
|
-
walk(body, (node) => {
|
|
134
|
-
if (isDecisionPoint(node.type, node.children ?? []))
|
|
135
|
-
cc++;
|
|
136
|
-
});
|
|
137
|
-
return cc;
|
|
138
|
-
}
|
|
139
107
|
function memberCallSite(callee) {
|
|
140
108
|
if (callee?.type !== "member_expression")
|
|
141
109
|
return void 0;
|
|
@@ -177,21 +145,13 @@ function addNewReceiverType(children, receiverTypes) {
|
|
|
177
145
|
if (id && ctor?.type === "identifier")
|
|
178
146
|
receiverTypes[id.text] = ctor.text;
|
|
179
147
|
}
|
|
180
|
-
function summarizeBody(
|
|
148
|
+
function summarizeBody(fn, params) {
|
|
181
149
|
let hasAwait = false;
|
|
182
150
|
let hasReturnAwaitCall = false;
|
|
183
|
-
let cyclomaticComplexity = 1;
|
|
184
|
-
let maxNestingDepth = 0;
|
|
185
151
|
const calls = /* @__PURE__ */ new Set();
|
|
186
152
|
const memberCallSites = [];
|
|
187
153
|
const receiverTypes = parameterReceiverTypes(params);
|
|
188
|
-
const
|
|
189
|
-
const type = node.type;
|
|
190
|
-
const children = node.children ?? [];
|
|
191
|
-
if (depth > maxNestingDepth)
|
|
192
|
-
maxNestingDepth = depth;
|
|
193
|
-
if (isDecisionPoint(type, children))
|
|
194
|
-
cyclomaticComplexity++;
|
|
154
|
+
const metrics = measureFunction(fn, "typescript", (node, type, children) => {
|
|
195
155
|
if (type === "await_expression") {
|
|
196
156
|
hasAwait = true;
|
|
197
157
|
} else if (type === "return_statement") {
|
|
@@ -202,18 +162,13 @@ function summarizeBody(body, params) {
|
|
|
202
162
|
} else if (type === "variable_declarator") {
|
|
203
163
|
addNewReceiverType(children, receiverTypes);
|
|
204
164
|
}
|
|
205
|
-
|
|
206
|
-
for (const child of children) {
|
|
207
|
-
if (child)
|
|
208
|
-
visit(child, next);
|
|
209
|
-
}
|
|
210
|
-
};
|
|
211
|
-
visit(body, 0);
|
|
165
|
+
});
|
|
212
166
|
return {
|
|
213
167
|
hasAwait,
|
|
214
168
|
hasReturnAwaitCall,
|
|
215
|
-
cyclomaticComplexity,
|
|
216
|
-
maxNestingDepth,
|
|
169
|
+
cyclomaticComplexity: metrics.cyclomatic,
|
|
170
|
+
maxNestingDepth: metrics.nesting,
|
|
171
|
+
parameterCount: metrics.parameters,
|
|
217
172
|
outgoingCalls: [...calls],
|
|
218
173
|
memberCallSites,
|
|
219
174
|
receiverTypes
|
|
@@ -248,7 +203,7 @@ var functionFactProvider = {
|
|
|
248
203
|
const target = passThrough.target ?? "";
|
|
249
204
|
const lowerTarget = target.toLowerCase();
|
|
250
205
|
const isBoundaryWrapper = BOUNDARY_PREFIXES.some((prefix) => lowerTarget.startsWith(prefix));
|
|
251
|
-
const bodySummary = summarizeBody(
|
|
206
|
+
const bodySummary = summarizeBody(node, params);
|
|
252
207
|
summaries.push({
|
|
253
208
|
name: getFunctionName(node),
|
|
254
209
|
line: node.startPosition.row + 1,
|
|
@@ -258,7 +213,7 @@ var functionFactProvider = {
|
|
|
258
213
|
hasAwait: bodySummary.hasAwait,
|
|
259
214
|
hasReturnAwaitCall: bodySummary.hasReturnAwaitCall,
|
|
260
215
|
statementCount,
|
|
261
|
-
parameterCount:
|
|
216
|
+
parameterCount: bodySummary.parameterCount,
|
|
262
217
|
isPassThroughWrapper: passThrough.pass,
|
|
263
218
|
passThroughTarget: passThrough.target,
|
|
264
219
|
isBoundaryWrapper,
|
|
@@ -296,6 +251,5 @@ var functionFactProvider = {
|
|
|
296
251
|
};
|
|
297
252
|
|
|
298
253
|
export {
|
|
299
|
-
calcCyclomaticComplexity,
|
|
300
254
|
functionFactProvider
|
|
301
255
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
findNearestDirWithMarker
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NL5LSKVD.js";
|
|
5
5
|
import {
|
|
6
6
|
isWindowsPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
8
8
|
|
|
9
9
|
// dist/clients/file-kinds.js
|
|
10
10
|
import { basename, extname, win32 } from "node:path";
|
|
@@ -60,6 +60,7 @@ var KIND_EXTENSIONS = {
|
|
|
60
60
|
fsharp: [".fs", ".fsi", ".fsx"],
|
|
61
61
|
gleam: [".gleam"],
|
|
62
62
|
go: [".go"],
|
|
63
|
+
groovy: [".groovy", ".gvy", ".gy", ".gsh"],
|
|
63
64
|
haskell: [".hs", ".lhs"],
|
|
64
65
|
"helm-template": [".tpl"],
|
|
65
66
|
html: [".htm", ".html"],
|
|
@@ -136,6 +137,11 @@ var DOTNET_FSHARP_ROOT_MARKERS = [
|
|
|
136
137
|
"*.fsproj",
|
|
137
138
|
"*.sln"
|
|
138
139
|
];
|
|
140
|
+
var GROOVY_FILENAMES = [
|
|
141
|
+
"Jenkinsfile",
|
|
142
|
+
"build.gradle",
|
|
143
|
+
"settings.gradle"
|
|
144
|
+
];
|
|
139
145
|
var TERRAGRUNT_FILENAMES = [
|
|
140
146
|
"terragrunt.hcl",
|
|
141
147
|
"root.hcl"
|
|
@@ -158,6 +164,10 @@ var SPECIAL_FILENAMES = [
|
|
|
158
164
|
...TERRAGRUNT_FILENAMES.map((name) => ({
|
|
159
165
|
pattern: new RegExp(`^${name.replaceAll(".", "\\.")}$`, "i"),
|
|
160
166
|
kind: "terragrunt"
|
|
167
|
+
})),
|
|
168
|
+
...GROOVY_FILENAMES.map((name) => ({
|
|
169
|
+
pattern: new RegExp(`^${name.replaceAll(".", "\\.")}$`, "i"),
|
|
170
|
+
kind: "groovy"
|
|
161
171
|
}))
|
|
162
172
|
];
|
|
163
173
|
function isHelmYamlTemplatePath(filePath) {
|
|
@@ -211,6 +221,7 @@ var CODE_KINDS = /* @__PURE__ */ new Set([
|
|
|
211
221
|
"fsharp",
|
|
212
222
|
"gleam",
|
|
213
223
|
"go",
|
|
224
|
+
"groovy",
|
|
214
225
|
"haskell",
|
|
215
226
|
"helm-template",
|
|
216
227
|
"java",
|
|
@@ -250,6 +261,7 @@ function getFileKindLabel(kind) {
|
|
|
250
261
|
jsts: "JavaScript/TypeScript",
|
|
251
262
|
python: "Python",
|
|
252
263
|
go: "Go",
|
|
264
|
+
groovy: "Groovy",
|
|
253
265
|
rust: "Rust",
|
|
254
266
|
cxx: "C/C++",
|
|
255
267
|
cmake: "CMake",
|
|
@@ -294,6 +306,7 @@ function getLanguageId(kind) {
|
|
|
294
306
|
jsts: "typescript",
|
|
295
307
|
python: "python",
|
|
296
308
|
go: "go",
|
|
309
|
+
groovy: "groovy",
|
|
297
310
|
rust: "rust",
|
|
298
311
|
cxx: "cpp",
|
|
299
312
|
cmake: "cmake",
|
|
@@ -343,6 +356,7 @@ export {
|
|
|
343
356
|
DOTNET_CSHARP_SOLUTION_MARKERS,
|
|
344
357
|
DOTNET_CSHARP_ROOT_MARKERS,
|
|
345
358
|
DOTNET_FSHARP_ROOT_MARKERS,
|
|
359
|
+
GROOVY_FILENAMES,
|
|
346
360
|
TERRAGRUNT_FILENAMES,
|
|
347
361
|
SPECIAL_FILENAMES,
|
|
348
362
|
isHelmYamlTemplatePath,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
getSourceFiles,
|
|
4
|
+
getSourceFilesAsync
|
|
5
|
+
} from "./chunk-CDFJF5YD.js";
|
|
6
|
+
import "./chunk-RNXOWDM6.js";
|
|
7
|
+
import "./chunk-ZCQBNPRH.js";
|
|
8
|
+
import "./chunk-TMNUTMT5.js";
|
|
9
|
+
import "./chunk-QYF5S6P6.js";
|
|
10
|
+
import "./chunk-CZCAZVTD.js";
|
|
11
|
+
import "./chunk-X5BJ3G2P.js";
|
|
12
|
+
import "./chunk-NL5LSKVD.js";
|
|
13
|
+
import "./chunk-PIIUNJIT.js";
|
|
14
|
+
import "./chunk-W5E72HJA.js";
|
|
15
|
+
import "./chunk-S26LC76R.js";
|
|
16
|
+
import "./chunk-VCRVNLE7.js";
|
|
17
|
+
import "./chunk-LJDODBBZ.js";
|
|
18
|
+
import "./chunk-CB7PEVOJ.js";
|
|
19
|
+
import "./chunk-NXL4FFQQ.js";
|
|
20
|
+
export {
|
|
21
|
+
getSourceFiles,
|
|
22
|
+
getSourceFilesAsync
|
|
23
|
+
};
|
|
@@ -2,14 +2,14 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
createAvailabilityProbeFlight,
|
|
4
4
|
probeToolAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-L6WBJGQS.js";
|
|
6
6
|
import {
|
|
7
7
|
classifyProbeFailure,
|
|
8
8
|
createAvailabilityLatch,
|
|
9
9
|
isTransientDecision,
|
|
10
10
|
logAvailabilityDecision,
|
|
11
11
|
startHostStallSampler
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AACN5GNE.js";
|
|
13
13
|
import {
|
|
14
14
|
NODE_MODULES_BIN_DIRS,
|
|
15
15
|
createGenerationSource,
|
|
@@ -17,22 +17,20 @@ import {
|
|
|
17
17
|
projectLocalBinDirs,
|
|
18
18
|
recordProjectCommandRefusal,
|
|
19
19
|
safeSpawnAsync
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TMNUTMT5.js";
|
|
21
21
|
import {
|
|
22
22
|
getProjectTrustState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PIIUNJIT.js";
|
|
24
24
|
import {
|
|
25
|
+
logExtension,
|
|
25
26
|
recordDegradationOnce
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import {
|
|
28
|
-
logExtension
|
|
29
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
27
|
+
} from "./chunk-W5E72HJA.js";
|
|
30
28
|
import {
|
|
31
29
|
isAtOrAboveHomeDir,
|
|
32
30
|
isUnderDir,
|
|
33
31
|
realpathOrResolve,
|
|
34
32
|
walkUpDirs
|
|
35
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
36
34
|
|
|
37
35
|
// dist/clients/package-manager.js
|
|
38
36
|
import * as fs from "node:fs";
|
|
@@ -7,19 +7,17 @@ import {
|
|
|
7
7
|
loadCallGraph,
|
|
8
8
|
parseSymbolKey,
|
|
9
9
|
saveCallGraph
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6GPB3JLL.js";
|
|
11
11
|
import "./chunk-3MED75HT.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-WQV6BI4Q.js";
|
|
12
|
+
import "./chunk-TMNUTMT5.js";
|
|
13
|
+
import "./chunk-X5BJ3G2P.js";
|
|
14
|
+
import "./chunk-NL5LSKVD.js";
|
|
15
|
+
import "./chunk-PIIUNJIT.js";
|
|
16
|
+
import "./chunk-W5E72HJA.js";
|
|
18
17
|
import "./chunk-S26LC76R.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-VLQ7UKZH.js";
|
|
18
|
+
import "./chunk-VCRVNLE7.js";
|
|
21
19
|
import "./chunk-LJDODBBZ.js";
|
|
22
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-CB7PEVOJ.js";
|
|
23
21
|
import "./chunk-NXL4FFQQ.js";
|
|
24
22
|
export {
|
|
25
23
|
CALL_GRAPH_CACHE_VERSION,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
tryLazyInstallForFormatter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F6BEQWAK.js";
|
|
5
5
|
import {
|
|
6
6
|
OXFMT_SUPPORTED_EXTENSIONS,
|
|
7
7
|
findPSScriptAnalyzerConfigPath,
|
|
@@ -43,64 +43,62 @@ import {
|
|
|
43
43
|
hasTerraformConfig,
|
|
44
44
|
hasVitePlusConfig,
|
|
45
45
|
stripGradleCommentsAndStrings
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7R5GZIA6.js";
|
|
47
47
|
import {
|
|
48
48
|
readTextFileOrUndefined,
|
|
49
49
|
resolveCargoPackageEdition
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-J3Q2NYJR.js";
|
|
51
51
|
import {
|
|
52
52
|
load
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-QGITU23N.js";
|
|
54
54
|
import {
|
|
55
55
|
stripAnsi
|
|
56
56
|
} from "./chunk-6HWVI6MI.js";
|
|
57
57
|
import {
|
|
58
58
|
getToolPath
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-MQ4PPCJB.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveToolCwd
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-RNJFRXEN.js";
|
|
63
63
|
import {
|
|
64
64
|
findGlobalBinary,
|
|
65
65
|
findLocalBinUpwards,
|
|
66
66
|
localBinPath
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-E65WJVI5.js";
|
|
68
68
|
import {
|
|
69
69
|
getIsolatedNpxSpawnOptions,
|
|
70
70
|
probeToolAsync
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-L6WBJGQS.js";
|
|
72
72
|
import {
|
|
73
73
|
classifyProbeFailure,
|
|
74
74
|
createAvailabilityLatch,
|
|
75
75
|
logAvailabilityDecision,
|
|
76
76
|
startHostStallSampler
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-AACN5GNE.js";
|
|
78
78
|
import {
|
|
79
79
|
VENDOR_BIN_DIRS,
|
|
80
80
|
VENV_BIN_DIRS,
|
|
81
81
|
admittedLookupAnswer,
|
|
82
82
|
createGenerationSource,
|
|
83
83
|
safeSpawnAsync
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-TMNUTMT5.js";
|
|
85
85
|
import {
|
|
86
86
|
TERRAGRUNT_FILENAMES
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-CZCAZVTD.js";
|
|
88
88
|
import {
|
|
89
89
|
assertInstallAllowed,
|
|
90
90
|
getProjectTrustGeneration
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-PIIUNJIT.js";
|
|
92
92
|
import {
|
|
93
93
|
compareOrdinal,
|
|
94
94
|
getDegradationLedgerGeneration,
|
|
95
95
|
incrementDegradationCount,
|
|
96
|
+
logExtension,
|
|
96
97
|
recordDegradationOnce
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import {
|
|
99
|
-
logExtension
|
|
100
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
98
|
+
} from "./chunk-W5E72HJA.js";
|
|
101
99
|
import {
|
|
102
100
|
logLatency
|
|
103
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-VCRVNLE7.js";
|
|
104
102
|
import {
|
|
105
103
|
BoundedFifoMap,
|
|
106
104
|
BoundedLruCache,
|
|
@@ -110,7 +108,7 @@ import {
|
|
|
110
108
|
realpathOrResolve,
|
|
111
109
|
toPosix,
|
|
112
110
|
walkUpDirs
|
|
113
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
114
112
|
|
|
115
113
|
// dist/clients/formatters.js
|
|
116
114
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -2,16 +2,20 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
classifyProbeFailure,
|
|
4
4
|
installRetryDelayMs
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AACN5GNE.js";
|
|
6
6
|
import {
|
|
7
7
|
safeSpawnAsync
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TMNUTMT5.js";
|
|
9
9
|
import {
|
|
10
10
|
assertInstallAllowed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PIIUNJIT.js";
|
|
12
12
|
import {
|
|
13
|
-
logExtension
|
|
14
|
-
|
|
13
|
+
logExtension,
|
|
14
|
+
recordDegradationOnce
|
|
15
|
+
} from "./chunk-W5E72HJA.js";
|
|
16
|
+
import {
|
|
17
|
+
isToolInstallDisabled
|
|
18
|
+
} from "./chunk-VCRVNLE7.js";
|
|
15
19
|
|
|
16
20
|
// dist/clients/dispatch/runners/utils/lazy-installer.js
|
|
17
21
|
var LAZY_INSTALL_SPECS = {
|
|
@@ -42,6 +46,14 @@ function suppressionFor(state) {
|
|
|
42
46
|
}
|
|
43
47
|
var inFlight = /* @__PURE__ */ new Map();
|
|
44
48
|
async function runLazyInstall(tool, cwd, spec) {
|
|
49
|
+
if (isToolInstallDisabled()) {
|
|
50
|
+
recordDegradationOnce({
|
|
51
|
+
kind: "install-disabled",
|
|
52
|
+
subject: tool,
|
|
53
|
+
reason: "installation disabled by PI_LENS_DISABLE_TOOL_INSTALL=1"
|
|
54
|
+
});
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
45
57
|
const k = key(cwd, tool);
|
|
46
58
|
const running = inFlight.get(k);
|
|
47
59
|
if (running)
|
|
@@ -8,23 +8,21 @@ import {
|
|
|
8
8
|
getDefaultStartupTools,
|
|
9
9
|
resolveLanguageRootForFile,
|
|
10
10
|
rootMarkersForFile
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3HTZDY3C.js";
|
|
12
|
+
import "./chunk-CDFJF5YD.js";
|
|
13
|
+
import "./chunk-RNXOWDM6.js";
|
|
14
|
+
import "./chunk-ZCQBNPRH.js";
|
|
15
|
+
import "./chunk-TMNUTMT5.js";
|
|
16
16
|
import "./chunk-QYF5S6P6.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-WQV6BI4Q.js";
|
|
17
|
+
import "./chunk-CZCAZVTD.js";
|
|
18
|
+
import "./chunk-X5BJ3G2P.js";
|
|
19
|
+
import "./chunk-NL5LSKVD.js";
|
|
20
|
+
import "./chunk-PIIUNJIT.js";
|
|
21
|
+
import "./chunk-W5E72HJA.js";
|
|
23
22
|
import "./chunk-S26LC76R.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-VLQ7UKZH.js";
|
|
23
|
+
import "./chunk-VCRVNLE7.js";
|
|
26
24
|
import "./chunk-LJDODBBZ.js";
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-CB7PEVOJ.js";
|
|
28
26
|
import "./chunk-NXL4FFQQ.js";
|
|
29
27
|
export {
|
|
30
28
|
SUPPORTED_FILE_KINDS,
|
|
@@ -5,76 +5,74 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
formatToolFailure,
|
|
7
7
|
spawnFailedWithNoOutput
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZZN74OGD.js";
|
|
9
9
|
import {
|
|
10
10
|
createAvailabilityChecker,
|
|
11
11
|
findManagedNodeToolBinary,
|
|
12
12
|
getManagedToolEnvironment,
|
|
13
13
|
resolveAvailableOrInstall
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NCLO6E6N.js";
|
|
15
|
+
import "./chunk-7R5GZIA6.js";
|
|
16
|
+
import "./chunk-YOXCCJDF.js";
|
|
17
|
+
import "./chunk-7YTRG6YW.js";
|
|
18
|
+
import "./chunk-V67D6TMU.js";
|
|
19
|
+
import "./chunk-LT62P654.js";
|
|
20
|
+
import "./chunk-PRHYIA6X.js";
|
|
21
|
+
import "./chunk-ACRJ2GZ5.js";
|
|
22
|
+
import "./chunk-J3Q2NYJR.js";
|
|
23
|
+
import "./chunk-5YSEQHJN.js";
|
|
24
|
+
import "./chunk-QGITU23N.js";
|
|
25
|
+
import "./chunk-WTB4GKMH.js";
|
|
26
|
+
import "./chunk-RTFMDIKV.js";
|
|
26
27
|
import "./chunk-CKEQFGLT.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-KXMJLOZF.js";
|
|
29
|
+
import "./chunk-MRLH4MYU.js";
|
|
30
|
+
import "./chunk-MKPDIAZH.js";
|
|
30
31
|
import "./chunk-2BEMIWEW.js";
|
|
31
32
|
import "./chunk-IJYGIDF4.js";
|
|
32
33
|
import {
|
|
33
34
|
logSessionStart
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-MQ4PPCJB.js";
|
|
36
|
+
import "./chunk-RNJFRXEN.js";
|
|
36
37
|
import {
|
|
37
38
|
findLocalBinUpwards,
|
|
38
39
|
localBinPath
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-E65WJVI5.js";
|
|
41
|
+
import "./chunk-L6WBJGQS.js";
|
|
41
42
|
import "./chunk-UYXV5NIS.js";
|
|
42
43
|
import {
|
|
43
44
|
createAvailabilityLatch,
|
|
44
45
|
describeUnavailability
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-AACN5GNE.js";
|
|
47
|
+
import "./chunk-3HTZDY3C.js";
|
|
48
|
+
import "./chunk-CDFJF5YD.js";
|
|
49
|
+
import "./chunk-RNXOWDM6.js";
|
|
50
|
+
import "./chunk-ZCQBNPRH.js";
|
|
50
51
|
import {
|
|
51
52
|
canonicalDirectory,
|
|
52
53
|
getProjectDataDir,
|
|
53
54
|
listNestedLinkedWorktreeRoots,
|
|
54
55
|
safeSpawnAsync
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-TMNUTMT5.js";
|
|
56
57
|
import "./chunk-AWQWXSW4.js";
|
|
57
58
|
import "./chunk-QYF5S6P6.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-CZCAZVTD.js";
|
|
60
|
+
import "./chunk-X5BJ3G2P.js";
|
|
61
|
+
import "./chunk-NL5LSKVD.js";
|
|
62
|
+
import "./chunk-PIIUNJIT.js";
|
|
62
63
|
import {
|
|
64
|
+
createSubsystemLogger,
|
|
63
65
|
incrementDegradationCount
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
createSubsystemLogger
|
|
67
|
-
} from "./chunk-WQV6BI4Q.js";
|
|
66
|
+
} from "./chunk-W5E72HJA.js";
|
|
68
67
|
import "./chunk-S26LC76R.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-VLQ7UKZH.js";
|
|
68
|
+
import "./chunk-VCRVNLE7.js";
|
|
71
69
|
import "./chunk-LJDODBBZ.js";
|
|
72
70
|
import {
|
|
73
71
|
findNearestMarkerRoot,
|
|
74
72
|
isUnderDir,
|
|
75
73
|
normalizeEphemeralMapKey,
|
|
76
74
|
normalizeFilePath
|
|
77
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-CB7PEVOJ.js";
|
|
78
76
|
import "./chunk-NXL4FFQQ.js";
|
|
79
77
|
|
|
80
78
|
// dist/clients/knip-client.js
|
|
@@ -7,25 +7,23 @@ import {
|
|
|
7
7
|
hasGitleaksSignal,
|
|
8
8
|
parseGitleaksReport,
|
|
9
9
|
writeScopedGitleaksConfig
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-IICERRFF.js";
|
|
11
|
+
import "./chunk-VO4JFPTV.js";
|
|
12
|
+
import "./chunk-PBZNYHMM.js";
|
|
13
|
+
import "./chunk-ZZN74OGD.js";
|
|
14
|
+
import "./chunk-LT62P654.js";
|
|
15
|
+
import "./chunk-L6WBJGQS.js";
|
|
16
|
+
import "./chunk-AACN5GNE.js";
|
|
17
|
+
import "./chunk-TMNUTMT5.js";
|
|
18
18
|
import "./chunk-AWQWXSW4.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-WQV6BI4Q.js";
|
|
19
|
+
import "./chunk-X5BJ3G2P.js";
|
|
20
|
+
import "./chunk-NL5LSKVD.js";
|
|
21
|
+
import "./chunk-PIIUNJIT.js";
|
|
22
|
+
import "./chunk-W5E72HJA.js";
|
|
24
23
|
import "./chunk-S26LC76R.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-VLQ7UKZH.js";
|
|
24
|
+
import "./chunk-VCRVNLE7.js";
|
|
27
25
|
import "./chunk-LJDODBBZ.js";
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CB7PEVOJ.js";
|
|
29
27
|
import "./chunk-NXL4FFQQ.js";
|
|
30
28
|
export {
|
|
31
29
|
GitleaksClient,
|