@cortexkit/aft-pi 0.47.1 → 0.47.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 +78 -50
- package/dist/shared/status.d.ts +5 -0
- package/dist/shared/status.d.ts.map +1 -1
- package/dist/tools/bash.d.ts +1 -0
- package/dist/tools/bash.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -9526,10 +9526,11 @@ function formatCallgraphSections(op, response, theme = PLAIN_CALLGRAPH_THEME, op
|
|
|
9526
9526
|
const warning = depthWarning(record, theme, "max_depth_reached", "truncated_paths");
|
|
9527
9527
|
const hubSummary = hubSummaryLine(record, theme);
|
|
9528
9528
|
const totalPaths = asNumber(record.total_paths) ?? paths.length;
|
|
9529
|
+
const totalPathsIsLowerBound = asBoolean(record.total_paths_is_lower_bound) ?? false;
|
|
9529
9530
|
const entryPoints = asNumber(record.entry_points_found) ?? 0;
|
|
9530
9531
|
const sections2 = [
|
|
9531
9532
|
joinNonEmpty([
|
|
9532
|
-
theme.fg("success", `${totalPaths} path${totalPaths === 1 ? "" : "s"}`),
|
|
9533
|
+
theme.fg("success", `${totalPathsIsLowerBound ? "at least " : ""}${totalPaths} path${totalPaths === 1 ? "" : "s"}`),
|
|
9533
9534
|
theme.fg("muted", `${entryPoints} entry point${entryPoints === 1 ? "" : "s"}`),
|
|
9534
9535
|
warning
|
|
9535
9536
|
])
|
|
@@ -15791,7 +15792,7 @@ import {
|
|
|
15791
15792
|
// package.json
|
|
15792
15793
|
var package_default = {
|
|
15793
15794
|
name: "@cortexkit/aft-pi",
|
|
15794
|
-
version: "0.47.
|
|
15795
|
+
version: "0.47.2",
|
|
15795
15796
|
type: "module",
|
|
15796
15797
|
description: "Pi coding agent extension for Agent File Tools (AFT) — tree-sitter and LSP-powered code analysis",
|
|
15797
15798
|
main: "dist/index.js",
|
|
@@ -15814,19 +15815,19 @@ var package_default = {
|
|
|
15814
15815
|
"test:unit": "bun test src/__tests__ --path-ignore-patterns 'src/__tests__/e2e/**'"
|
|
15815
15816
|
},
|
|
15816
15817
|
dependencies: {
|
|
15817
|
-
"@cortexkit/aft-bridge": "0.47.
|
|
15818
|
+
"@cortexkit/aft-bridge": "0.47.2",
|
|
15818
15819
|
"comment-json": "^5.0.0",
|
|
15819
15820
|
diff: "^8.0.4",
|
|
15820
15821
|
typebox: "1.1.38",
|
|
15821
15822
|
zod: "^4.4.3"
|
|
15822
15823
|
},
|
|
15823
15824
|
optionalDependencies: {
|
|
15824
|
-
"@cortexkit/aft-darwin-arm64": "0.47.
|
|
15825
|
-
"@cortexkit/aft-darwin-x64": "0.47.
|
|
15826
|
-
"@cortexkit/aft-linux-arm64": "0.47.
|
|
15827
|
-
"@cortexkit/aft-linux-x64": "0.47.
|
|
15828
|
-
"@cortexkit/aft-win32-arm64": "0.47.
|
|
15829
|
-
"@cortexkit/aft-win32-x64": "0.47.
|
|
15825
|
+
"@cortexkit/aft-darwin-arm64": "0.47.2",
|
|
15826
|
+
"@cortexkit/aft-darwin-x64": "0.47.2",
|
|
15827
|
+
"@cortexkit/aft-linux-arm64": "0.47.2",
|
|
15828
|
+
"@cortexkit/aft-linux-x64": "0.47.2",
|
|
15829
|
+
"@cortexkit/aft-win32-arm64": "0.47.2",
|
|
15830
|
+
"@cortexkit/aft-win32-x64": "0.47.2"
|
|
15830
15831
|
},
|
|
15831
15832
|
devDependencies: {
|
|
15832
15833
|
"@earendil-works/pi-coding-agent": "^0.80.2",
|
|
@@ -15945,6 +15946,7 @@ function coerceAftStatus(response) {
|
|
|
15945
15946
|
};
|
|
15946
15947
|
const disk = asRecord2(response.disk);
|
|
15947
15948
|
const symbolCache = asRecord2(response.symbol_cache);
|
|
15949
|
+
const runtime = asRecord2(response.runtime);
|
|
15948
15950
|
const session = asRecord2(response.session);
|
|
15949
15951
|
return {
|
|
15950
15952
|
version: readString(response.version, "unknown"),
|
|
@@ -15983,6 +15985,11 @@ function coerceAftStatus(response) {
|
|
|
15983
15985
|
semantic_disk_bytes: readNumber(disk.semantic_disk_bytes)
|
|
15984
15986
|
},
|
|
15985
15987
|
lsp_servers: readNumber(response.lsp_servers),
|
|
15988
|
+
runtime: {
|
|
15989
|
+
live_watchers: readNumber(runtime.live_watchers),
|
|
15990
|
+
live_actor_roots: readNumber(runtime.live_actor_roots),
|
|
15991
|
+
open_routes: readNumber(runtime.open_routes)
|
|
15992
|
+
},
|
|
15986
15993
|
symbol_cache: {
|
|
15987
15994
|
local_entries: readNumber(symbolCache.local_entries),
|
|
15988
15995
|
warm_entries: readNumber(symbolCache.warm_entries)
|
|
@@ -34768,9 +34775,11 @@ async function bashStatusSnapshot(bridge, extCtx, taskId, outputMode, options) {
|
|
|
34768
34775
|
async function waitForBashStatus(ctx, bridge, extCtx, taskId, outputMode, waitFor, waitForExit, effectiveWaitMs) {
|
|
34769
34776
|
const startedAt = Date.now();
|
|
34770
34777
|
const deadline = startedAt + effectiveWaitMs;
|
|
34771
|
-
let spillCursor = { output: 0, stderr: 0
|
|
34772
|
-
|
|
34773
|
-
|
|
34778
|
+
let spillCursor = { output: 0, stderr: 0 };
|
|
34779
|
+
const scanState = {
|
|
34780
|
+
output: { text: "", baseOffset: 0 },
|
|
34781
|
+
stderr: { text: "", baseOffset: 0 }
|
|
34782
|
+
};
|
|
34774
34783
|
const bridgeOptions = {
|
|
34775
34784
|
keepBridgeOnTimeout: true,
|
|
34776
34785
|
transportTimeoutMs: BASH_TRANSPORT_TIMEOUT_MS2
|
|
@@ -34813,32 +34822,37 @@ async function waitForBashStatus(ctx, bridge, extCtx, taskId, outputMode, waitFo
|
|
|
34813
34822
|
const scan = await readNewTaskOutput(data, spillCursor);
|
|
34814
34823
|
if (scan) {
|
|
34815
34824
|
spillCursor = scan.nextCursor;
|
|
34816
|
-
|
|
34817
|
-
|
|
34818
|
-
|
|
34819
|
-
|
|
34820
|
-
|
|
34821
|
-
|
|
34822
|
-
|
|
34823
|
-
|
|
34824
|
-
|
|
34825
|
-
|
|
34826
|
-
|
|
34827
|
-
|
|
34828
|
-
|
|
34829
|
-
|
|
34830
|
-
|
|
34831
|
-
|
|
34832
|
-
|
|
34833
|
-
|
|
34834
|
-
|
|
34835
|
-
|
|
34836
|
-
|
|
34837
|
-
|
|
34838
|
-
|
|
34839
|
-
|
|
34840
|
-
|
|
34841
|
-
|
|
34825
|
+
for (const chunk of scan.chunks) {
|
|
34826
|
+
const state = scanState[chunk.stream];
|
|
34827
|
+
if (state.text.length === 0)
|
|
34828
|
+
state.baseOffset = chunk.baseOffset;
|
|
34829
|
+
state.text += chunk.text;
|
|
34830
|
+
if (waitFor.kind === "regex") {
|
|
34831
|
+
const trimmed = trimWaitScanBuffer(state.text, state.baseOffset, waitFor);
|
|
34832
|
+
state.text = trimmed.text;
|
|
34833
|
+
state.baseOffset = trimmed.baseOffset;
|
|
34834
|
+
}
|
|
34835
|
+
const match = await findWaitMatch(bridge, extCtx, state.text, waitFor);
|
|
34836
|
+
if (match) {
|
|
34837
|
+
if (waitForExit && terminal) {
|
|
34838
|
+
sawTerminal = true;
|
|
34839
|
+
consumeBgCompletion(sessionId, taskId);
|
|
34840
|
+
await markBgCompletionDelivered({ ctx, directory: extCtx.cwd, sessionID: sessionId }, taskId);
|
|
34841
|
+
}
|
|
34842
|
+
const matchStream = data.mode === "pty" ? undefined : chunk.stream === "output" ? "stdout" : "stderr";
|
|
34843
|
+
return withWaited(data, {
|
|
34844
|
+
reason: "matched",
|
|
34845
|
+
elapsed_ms: Date.now() - startedAt,
|
|
34846
|
+
match: match.text,
|
|
34847
|
+
match_offset: state.baseOffset + match.byteOffset,
|
|
34848
|
+
match_stream: matchStream
|
|
34849
|
+
});
|
|
34850
|
+
}
|
|
34851
|
+
if (waitFor.kind === "substring") {
|
|
34852
|
+
const trimmed = trimWaitScanBuffer(state.text, state.baseOffset, waitFor);
|
|
34853
|
+
state.text = trimmed.text;
|
|
34854
|
+
state.baseOffset = trimmed.baseOffset;
|
|
34855
|
+
}
|
|
34842
34856
|
}
|
|
34843
34857
|
}
|
|
34844
34858
|
}
|
|
@@ -34873,13 +34887,26 @@ async function readNewTaskOutput(data, cursor) {
|
|
|
34873
34887
|
const bytesRead = stdoutBytes.length + stderrBytes.length;
|
|
34874
34888
|
if (bytesRead === 0)
|
|
34875
34889
|
return;
|
|
34890
|
+
const chunks = [];
|
|
34891
|
+
if (stdoutBytes.length > 0) {
|
|
34892
|
+
chunks.push({
|
|
34893
|
+
stream: "output",
|
|
34894
|
+
text: stdoutBytes.toString("utf8"),
|
|
34895
|
+
baseOffset: cursor.output
|
|
34896
|
+
});
|
|
34897
|
+
}
|
|
34898
|
+
if (stderrBytes.length > 0) {
|
|
34899
|
+
chunks.push({
|
|
34900
|
+
stream: "stderr",
|
|
34901
|
+
text: stderrBytes.toString("utf8"),
|
|
34902
|
+
baseOffset: cursor.stderr
|
|
34903
|
+
});
|
|
34904
|
+
}
|
|
34876
34905
|
return {
|
|
34877
|
-
|
|
34878
|
-
baseOffset: cursor.combined,
|
|
34906
|
+
chunks,
|
|
34879
34907
|
nextCursor: {
|
|
34880
34908
|
output: cursor.output + stdoutBytes.length,
|
|
34881
|
-
stderr: cursor.stderr + stderrBytes.length
|
|
34882
|
-
combined: cursor.combined + bytesRead
|
|
34909
|
+
stderr: cursor.stderr + stderrBytes.length
|
|
34883
34910
|
}
|
|
34884
34911
|
};
|
|
34885
34912
|
}
|
|
@@ -34976,7 +35003,8 @@ function withWaited(data, waited) {
|
|
|
34976
35003
|
}
|
|
34977
35004
|
function formatWaitSummary(waited, details) {
|
|
34978
35005
|
if (waited.reason === "matched") {
|
|
34979
|
-
|
|
35006
|
+
const stream = waited.match_stream ? ` in ${waited.match_stream}` : "";
|
|
35007
|
+
return `Waited ${waited.elapsed_ms}ms; matched ${JSON.stringify(waited.match ?? "")}${stream} at offset ${waited.match_offset ?? 0}.`;
|
|
34980
35008
|
}
|
|
34981
35009
|
if (waited.reason === "timeout") {
|
|
34982
35010
|
return `Waited ${waited.elapsed_ms}ms; timeout reached without match.`;
|
|
@@ -36780,14 +36808,14 @@ var PLUGIN_VERSION = (() => {
|
|
|
36780
36808
|
return "0.0.0";
|
|
36781
36809
|
}
|
|
36782
36810
|
})();
|
|
36783
|
-
var ANNOUNCEMENT_VERSION = "0.47.
|
|
36811
|
+
var ANNOUNCEMENT_VERSION = "0.47.2";
|
|
36784
36812
|
var ANNOUNCEMENT_FEATURES = [
|
|
36785
|
-
"Fixed: apply_patch
|
|
36786
|
-
"Fixed:
|
|
36787
|
-
"Fixed: a
|
|
36788
|
-
"Fixed: a
|
|
36789
|
-
"
|
|
36790
|
-
"
|
|
36813
|
+
"Fixed: apply_patch wrote mixed line endings when editing CRLF (Windows) files; the file's dominant line ending is now preserved.",
|
|
36814
|
+
"Fixed: inlining a function argument like twice(1 + 2) could change operator precedence; non-atomic arguments are now parenthesized.",
|
|
36815
|
+
"Fixed: removing one name from a Python import with an aliased sibling (from m import a, b as c) could delete the whole line.",
|
|
36816
|
+
"Fixed: bash_watch could report a match that spanned the stdout/stderr seam; streams are now scanned independently.",
|
|
36817
|
+
"GitHub and GitLab file links (…/blob/…) now read raw file content in aft_outline/aft_zoom, and documentation heading lookups tolerate numeric prefixes, link labels, emoji, and anchor slugs.",
|
|
36818
|
+
"bash now finds tools on a PATH exported from your shell rc (e.g. zsh .zshrc), and several warm hot paths got faster."
|
|
36791
36819
|
];
|
|
36792
36820
|
var ANNOUNCEMENT_FOOTER = "Join us on Discord: https://discord.gg/DSa65w8wuf";
|
|
36793
36821
|
var ALL_ONLY_TOOLS = new Set(["aft_callgraph", "aft_delete", "aft_move", "aft_refactor"]);
|
package/dist/shared/status.d.ts
CHANGED
|
@@ -61,6 +61,11 @@ export interface AftStatusSnapshot {
|
|
|
61
61
|
semantic_disk_bytes: number;
|
|
62
62
|
};
|
|
63
63
|
lsp_servers: number;
|
|
64
|
+
runtime: {
|
|
65
|
+
live_watchers: number;
|
|
66
|
+
live_actor_roots: number;
|
|
67
|
+
open_routes: number;
|
|
68
|
+
};
|
|
64
69
|
symbol_cache: {
|
|
65
70
|
local_entries: number;
|
|
66
71
|
warm_entries: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/shared/status.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,0BAA0B,CAAC;IACpC,OAAO,EAAE,0BAA0B,CAAC;CACrC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE;QACR,cAAc,EAAE,OAAO,CAAC;QACxB,gBAAgB,EAAE,MAAM,CAAC;QACzB,wBAAwB,EAAE,OAAO,CAAC;QAClC,YAAY,EAAE,OAAO,CAAC;QACtB,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;IACF,YAAY,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;IACF,cAAc,EAAE;QACd,MAAM,EAAE,MAAM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,WAAW,GAAG,SAAS,aACrB,CAAC,CAAC,MAAM,EAAE,eAAe,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,UACnE,gBAAgB;EAc7B;AAuCD,KAAK,eAAe,GAAG;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAgOhG,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,SAAS,CAEtF;AAoGD,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,eAAe,GACvB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAEtC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft-pi",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.2",
|
|
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.47.
|
|
26
|
+
"@cortexkit/aft-bridge": "0.47.2",
|
|
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.47.
|
|
34
|
-
"@cortexkit/aft-darwin-x64": "0.47.
|
|
35
|
-
"@cortexkit/aft-linux-arm64": "0.47.
|
|
36
|
-
"@cortexkit/aft-linux-x64": "0.47.
|
|
37
|
-
"@cortexkit/aft-win32-arm64": "0.47.
|
|
38
|
-
"@cortexkit/aft-win32-x64": "0.47.
|
|
33
|
+
"@cortexkit/aft-darwin-arm64": "0.47.2",
|
|
34
|
+
"@cortexkit/aft-darwin-x64": "0.47.2",
|
|
35
|
+
"@cortexkit/aft-linux-arm64": "0.47.2",
|
|
36
|
+
"@cortexkit/aft-linux-x64": "0.47.2",
|
|
37
|
+
"@cortexkit/aft-win32-arm64": "0.47.2",
|
|
38
|
+
"@cortexkit/aft-win32-x64": "0.47.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@earendil-works/pi-coding-agent": "^0.80.2",
|