@cortexkit/aft-pi 0.50.1 → 0.50.3
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/index.js +14 -11
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -8383,11 +8383,12 @@ function parseStatusBarCounts(value) {
|
|
|
8383
8383
|
unused_exports: num("unused_exports"),
|
|
8384
8384
|
duplicates: num("duplicates"),
|
|
8385
8385
|
todos: num("todos"),
|
|
8386
|
-
tier2_stale: record.tier2_stale === true
|
|
8386
|
+
tier2_stale: record.tier2_stale === true,
|
|
8387
|
+
...typeof record.line === "string" ? { line: record.line } : {}
|
|
8387
8388
|
};
|
|
8388
8389
|
}
|
|
8389
8390
|
function countsEqual(a, b) {
|
|
8390
|
-
return a.errors === b.errors && a.warnings === b.warnings && a.dead_code === b.dead_code && a.unused_exports === b.unused_exports && a.duplicates === b.duplicates && a.todos === b.todos && a.tier2_stale === b.tier2_stale;
|
|
8391
|
+
return a.errors === b.errors && a.warnings === b.warnings && a.dead_code === b.dead_code && a.unused_exports === b.unused_exports && a.duplicates === b.duplicates && a.todos === b.todos && a.tier2_stale === b.tier2_stale && a.line === b.line;
|
|
8391
8392
|
}
|
|
8392
8393
|
function shouldEmitStatusBar(state, next) {
|
|
8393
8394
|
const changed = state.last === undefined || !countsEqual(state.last, next);
|
|
@@ -8401,6 +8402,8 @@ function shouldEmitStatusBar(state, next) {
|
|
|
8401
8402
|
return false;
|
|
8402
8403
|
}
|
|
8403
8404
|
function formatStatusBar(counts) {
|
|
8405
|
+
if (counts.line !== undefined)
|
|
8406
|
+
return counts.line;
|
|
8404
8407
|
const staleMark = counts.tier2_stale ? "~" : "";
|
|
8405
8408
|
return `[AFT E${counts.errors} W${counts.warnings} | ` + `${staleMark}D${counts.dead_code} U${counts.unused_exports} C${counts.duplicates} | ` + `T${counts.todos}]`;
|
|
8406
8409
|
}
|
|
@@ -17878,7 +17881,7 @@ import {
|
|
|
17878
17881
|
// package.json
|
|
17879
17882
|
var package_default = {
|
|
17880
17883
|
name: "@cortexkit/aft-pi",
|
|
17881
|
-
version: "0.50.
|
|
17884
|
+
version: "0.50.3",
|
|
17882
17885
|
type: "module",
|
|
17883
17886
|
description: "Pi coding agent extension for Agent File Tools (AFT) — tree-sitter and LSP-powered code analysis",
|
|
17884
17887
|
main: "dist/index.js",
|
|
@@ -17901,19 +17904,19 @@ var package_default = {
|
|
|
17901
17904
|
"test:unit": "bun test src/__tests__ --path-ignore-patterns 'src/__tests__/e2e/**'"
|
|
17902
17905
|
},
|
|
17903
17906
|
dependencies: {
|
|
17904
|
-
"@cortexkit/aft-bridge": "0.50.
|
|
17907
|
+
"@cortexkit/aft-bridge": "0.50.3",
|
|
17905
17908
|
"comment-json": "^5.0.0",
|
|
17906
17909
|
diff: "^8.0.4",
|
|
17907
17910
|
typebox: "1.1.38",
|
|
17908
17911
|
zod: "^4.4.3"
|
|
17909
17912
|
},
|
|
17910
17913
|
optionalDependencies: {
|
|
17911
|
-
"@cortexkit/aft-darwin-arm64": "0.50.
|
|
17912
|
-
"@cortexkit/aft-darwin-x64": "0.50.
|
|
17913
|
-
"@cortexkit/aft-linux-arm64": "0.50.
|
|
17914
|
-
"@cortexkit/aft-linux-x64": "0.50.
|
|
17915
|
-
"@cortexkit/aft-win32-arm64": "0.50.
|
|
17916
|
-
"@cortexkit/aft-win32-x64": "0.50.
|
|
17914
|
+
"@cortexkit/aft-darwin-arm64": "0.50.3",
|
|
17915
|
+
"@cortexkit/aft-darwin-x64": "0.50.3",
|
|
17916
|
+
"@cortexkit/aft-linux-arm64": "0.50.3",
|
|
17917
|
+
"@cortexkit/aft-linux-x64": "0.50.3",
|
|
17918
|
+
"@cortexkit/aft-win32-arm64": "0.50.3",
|
|
17919
|
+
"@cortexkit/aft-win32-x64": "0.50.3"
|
|
17917
17920
|
},
|
|
17918
17921
|
devDependencies: {
|
|
17919
17922
|
"@earendil-works/pi-coding-agent": "^0.80.2",
|
|
@@ -39097,7 +39100,7 @@ var PLUGIN_VERSION = (() => {
|
|
|
39097
39100
|
return "0.0.0";
|
|
39098
39101
|
}
|
|
39099
39102
|
})();
|
|
39100
|
-
var ANNOUNCEMENT_VERSION = "0.50.
|
|
39103
|
+
var ANNOUNCEMENT_VERSION = "0.50.3";
|
|
39101
39104
|
var ANNOUNCEMENT_FEATURES = [
|
|
39102
39105
|
"Callgraph stays consistent under load: edits arriving mid-rebuild can no longer be silently lost from navigation results.",
|
|
39103
39106
|
"aft_zoom handles real-world .jsonc: files with comment banners above the opening brace now resolve, and not-found errors point at the segment that actually failed (thanks @iceteaSA).",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft-pi",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pi coding agent extension for Agent File Tools (AFT) — tree-sitter and LSP-powered code analysis",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"test:unit": "bun test src/__tests__ --path-ignore-patterns 'src/__tests__/e2e/**'"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@cortexkit/aft-bridge": "0.50.
|
|
26
|
+
"@cortexkit/aft-bridge": "0.50.3",
|
|
27
27
|
"comment-json": "^5.0.0",
|
|
28
28
|
"diff": "^8.0.4",
|
|
29
29
|
"typebox": "1.1.38",
|
|
30
30
|
"zod": "^4.4.3"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
|
-
"@cortexkit/aft-darwin-arm64": "0.50.
|
|
34
|
-
"@cortexkit/aft-darwin-x64": "0.50.
|
|
35
|
-
"@cortexkit/aft-linux-arm64": "0.50.
|
|
36
|
-
"@cortexkit/aft-linux-x64": "0.50.
|
|
37
|
-
"@cortexkit/aft-win32-arm64": "0.50.
|
|
38
|
-
"@cortexkit/aft-win32-x64": "0.50.
|
|
33
|
+
"@cortexkit/aft-darwin-arm64": "0.50.3",
|
|
34
|
+
"@cortexkit/aft-darwin-x64": "0.50.3",
|
|
35
|
+
"@cortexkit/aft-linux-arm64": "0.50.3",
|
|
36
|
+
"@cortexkit/aft-linux-x64": "0.50.3",
|
|
37
|
+
"@cortexkit/aft-win32-arm64": "0.50.3",
|
|
38
|
+
"@cortexkit/aft-win32-x64": "0.50.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@earendil-works/pi-coding-agent": "^0.80.2",
|