@cortexkit/aft-opencode 0.50.1 → 0.50.2
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 +6 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -8302,11 +8302,12 @@ function parseStatusBarCounts(value) {
|
|
|
8302
8302
|
unused_exports: num("unused_exports"),
|
|
8303
8303
|
duplicates: num("duplicates"),
|
|
8304
8304
|
todos: num("todos"),
|
|
8305
|
-
tier2_stale: record.tier2_stale === true
|
|
8305
|
+
tier2_stale: record.tier2_stale === true,
|
|
8306
|
+
...typeof record.line === "string" ? { line: record.line } : {}
|
|
8306
8307
|
};
|
|
8307
8308
|
}
|
|
8308
8309
|
function countsEqual(a, b) {
|
|
8309
|
-
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;
|
|
8310
|
+
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;
|
|
8310
8311
|
}
|
|
8311
8312
|
function shouldEmitStatusBar(state, next) {
|
|
8312
8313
|
const changed = state.last === undefined || !countsEqual(state.last, next);
|
|
@@ -8320,6 +8321,8 @@ function shouldEmitStatusBar(state, next) {
|
|
|
8320
8321
|
return false;
|
|
8321
8322
|
}
|
|
8322
8323
|
function formatStatusBar(counts) {
|
|
8324
|
+
if (counts.line !== undefined)
|
|
8325
|
+
return counts.line;
|
|
8323
8326
|
const staleMark = counts.tier2_stale ? "~" : "";
|
|
8324
8327
|
return `[AFT E${counts.errors} W${counts.warnings} | ` + `${staleMark}D${counts.dead_code} U${counts.unused_exports} C${counts.duplicates} | ` + `T${counts.todos}]`;
|
|
8325
8328
|
}
|
|
@@ -39940,7 +39943,7 @@ var PLUGIN_VERSION = (() => {
|
|
|
39940
39943
|
return "0.0.0";
|
|
39941
39944
|
}
|
|
39942
39945
|
})();
|
|
39943
|
-
var ANNOUNCEMENT_VERSION = "0.50.
|
|
39946
|
+
var ANNOUNCEMENT_VERSION = "0.50.2";
|
|
39944
39947
|
var ANNOUNCEMENT_FEATURES = [
|
|
39945
39948
|
"Callgraph stays consistent under load: edits arriving mid-rebuild can no longer be silently lost from navigation results.",
|
|
39946
39949
|
"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-opencode",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenCode plugin for Agent File Tools (AFT) — tree-sitter and lsp powered code analysis",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@clack/prompts": "^1.6.0",
|
|
37
|
-
"@cortexkit/aft-bridge": "0.50.
|
|
37
|
+
"@cortexkit/aft-bridge": "0.50.2",
|
|
38
38
|
"@opentui/core": "0.4.3",
|
|
39
39
|
"@opentui/solid": "0.4.3",
|
|
40
40
|
"comment-json": "^4.6.2",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"zod": "^4.4.3"
|
|
44
44
|
},
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@cortexkit/aft-darwin-arm64": "0.50.
|
|
47
|
-
"@cortexkit/aft-darwin-x64": "0.50.
|
|
48
|
-
"@cortexkit/aft-linux-arm64": "0.50.
|
|
49
|
-
"@cortexkit/aft-linux-x64": "0.50.
|
|
50
|
-
"@cortexkit/aft-win32-arm64": "0.50.
|
|
51
|
-
"@cortexkit/aft-win32-x64": "0.50.
|
|
46
|
+
"@cortexkit/aft-darwin-arm64": "0.50.2",
|
|
47
|
+
"@cortexkit/aft-darwin-x64": "0.50.2",
|
|
48
|
+
"@cortexkit/aft-linux-arm64": "0.50.2",
|
|
49
|
+
"@cortexkit/aft-linux-x64": "0.50.2",
|
|
50
|
+
"@cortexkit/aft-win32-arm64": "0.50.2",
|
|
51
|
+
"@cortexkit/aft-win32-x64": "0.50.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@opencode-ai/plugin": "^1.17.11",
|