@cortexkit/aft-pi 0.19.1 → 0.19.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.d.ts.map +1 -1
- package/dist/index.js +93 -34
- package/package.json +7 -7
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAaH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAQlE,OAAO,EACL,aAAa,EAGd,MAAM,aAAa,CAAC;AAoFrB,iBAAe,iCAAiC,CAAC,OAAO,EAAE;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAyBhB;AAQD;;;;;;;;GAQG;AACH,iBAAS,kBAAkB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,GAAG;IACrE,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAiEA;AAED;;;;GAIG;AACH,yBAA+B,EAAE,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CA4X9D;AAED,eAAO,MAAM,QAAQ;;;CAA4D,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -30475,7 +30475,7 @@ var require_src2 = __commonJS((exports, module) => {
|
|
|
30475
30475
|
|
|
30476
30476
|
// src/index.ts
|
|
30477
30477
|
import { createRequire as createRequire3 } from "node:module";
|
|
30478
|
-
import { homedir as
|
|
30478
|
+
import { homedir as homedir9 } from "node:os";
|
|
30479
30479
|
import { join as join12 } from "node:path";
|
|
30480
30480
|
|
|
30481
30481
|
// ../aft-bridge/dist/active-logger.js
|
|
@@ -30507,9 +30507,15 @@ function error(message, meta) {
|
|
|
30507
30507
|
console.error(`[aft-bridge] ERROR: ${message}`);
|
|
30508
30508
|
}
|
|
30509
30509
|
}
|
|
30510
|
+
function sessionLog(sessionId, message) {
|
|
30511
|
+
log(message, sessionId ? { sessionId } : undefined);
|
|
30512
|
+
}
|
|
30510
30513
|
function sessionWarn(sessionId, message) {
|
|
30511
30514
|
warn(message, sessionId ? { sessionId } : undefined);
|
|
30512
30515
|
}
|
|
30516
|
+
function sessionError(sessionId, message) {
|
|
30517
|
+
error(message, sessionId ? { sessionId } : undefined);
|
|
30518
|
+
}
|
|
30513
30519
|
// ../aft-bridge/dist/bridge.js
|
|
30514
30520
|
import { spawn } from "node:child_process";
|
|
30515
30521
|
import { homedir } from "node:os";
|
|
@@ -30637,8 +30643,8 @@ class BinaryBridge {
|
|
|
30637
30643
|
if (Object.hasOwn(params, "id")) {
|
|
30638
30644
|
throw new Error("params cannot contain reserved key 'id'");
|
|
30639
30645
|
}
|
|
30640
|
-
this.ensureSpawned();
|
|
30641
30646
|
const requestSessionId = typeof params.session_id === "string" && params.session_id.length > 0 ? params.session_id : undefined;
|
|
30647
|
+
this.ensureSpawned(requestSessionId);
|
|
30642
30648
|
if (requestSessionId && options?.configureWarningClient !== undefined) {
|
|
30643
30649
|
this.configureWarningClients.set(requestSessionId, options.configureWarningClient);
|
|
30644
30650
|
}
|
|
@@ -30701,7 +30707,7 @@ class BinaryBridge {
|
|
|
30701
30707
|
}
|
|
30702
30708
|
reject(new Error(`${this.errorPrefix} Request "${command}" (id=${id}) timed out after ${effectiveTimeoutMs}ms`));
|
|
30703
30709
|
if (!keepBridgeOnTimeout) {
|
|
30704
|
-
this.handleTimeout();
|
|
30710
|
+
this.handleTimeout(requestSessionId);
|
|
30705
30711
|
}
|
|
30706
30712
|
}, effectiveTimeoutMs);
|
|
30707
30713
|
this.pending.set(id, { resolve, reject, timer, onProgress: options?.onProgress });
|
|
@@ -30796,13 +30802,17 @@ class BinaryBridge {
|
|
|
30796
30802
|
warn(`Version check failed: ${err.message}`);
|
|
30797
30803
|
}
|
|
30798
30804
|
}
|
|
30799
|
-
ensureSpawned() {
|
|
30805
|
+
ensureSpawned(triggeringSessionId) {
|
|
30800
30806
|
if (this.isAlive())
|
|
30801
30807
|
return;
|
|
30802
|
-
this.spawnProcess();
|
|
30808
|
+
this.spawnProcess(triggeringSessionId);
|
|
30803
30809
|
}
|
|
30804
|
-
spawnProcess() {
|
|
30805
|
-
|
|
30810
|
+
spawnProcess(triggeringSessionId) {
|
|
30811
|
+
if (triggeringSessionId) {
|
|
30812
|
+
sessionLog(triggeringSessionId, `Spawning binary: ${this.binaryPath} (cwd: ${this.cwd})`);
|
|
30813
|
+
} else {
|
|
30814
|
+
log(`Spawning binary: ${this.binaryPath} (cwd: ${this.cwd})`);
|
|
30815
|
+
}
|
|
30806
30816
|
const semantic = this.configOverrides.semantic;
|
|
30807
30817
|
const semanticBackend = (() => {
|
|
30808
30818
|
if (semantic && typeof semantic === "object" && !Array.isArray(semantic)) {
|
|
@@ -30950,7 +30960,7 @@ class BinaryBridge {
|
|
|
30950
30960
|
}
|
|
30951
30961
|
}
|
|
30952
30962
|
}
|
|
30953
|
-
handleTimeout() {
|
|
30963
|
+
handleTimeout(triggeringSessionId) {
|
|
30954
30964
|
if (this.process) {
|
|
30955
30965
|
this.process.kill("SIGKILL");
|
|
30956
30966
|
this.process = null;
|
|
@@ -30959,10 +30969,17 @@ class BinaryBridge {
|
|
|
30959
30969
|
this.configured = false;
|
|
30960
30970
|
const tail = this.formatStderrTail();
|
|
30961
30971
|
this.stderrTail = [];
|
|
30972
|
+
const killedMsg = tail ? `Bridge killed after timeout.${tail}` : `Bridge killed after timeout (see ${getLogFilePath()})`;
|
|
30962
30973
|
if (tail) {
|
|
30963
|
-
|
|
30974
|
+
if (triggeringSessionId) {
|
|
30975
|
+
sessionError(triggeringSessionId, killedMsg);
|
|
30976
|
+
} else {
|
|
30977
|
+
error(killedMsg);
|
|
30978
|
+
}
|
|
30979
|
+
} else if (triggeringSessionId) {
|
|
30980
|
+
sessionWarn(triggeringSessionId, killedMsg);
|
|
30964
30981
|
} else {
|
|
30965
|
-
warn(
|
|
30982
|
+
warn(killedMsg);
|
|
30966
30983
|
}
|
|
30967
30984
|
}
|
|
30968
30985
|
handleCrash(cause) {
|
|
@@ -31027,7 +31044,7 @@ import { join as join2 } from "node:path";
|
|
|
31027
31044
|
var PLATFORM_ARCH_MAP = {
|
|
31028
31045
|
darwin: { arm64: "darwin-arm64", x64: "darwin-x64" },
|
|
31029
31046
|
linux: { arm64: "linux-arm64", x64: "linux-x64" },
|
|
31030
|
-
win32: { x64: "win32-x64" }
|
|
31047
|
+
win32: { arm64: "win32-x64", x64: "win32-x64" }
|
|
31031
31048
|
};
|
|
31032
31049
|
var PLATFORM_ASSET_MAP = {
|
|
31033
31050
|
"darwin-arm64": "aft-darwin-arm64",
|
|
@@ -31058,10 +31075,11 @@ function getCachedBinaryPath(version) {
|
|
|
31058
31075
|
return existsSync(binaryPath) ? binaryPath : null;
|
|
31059
31076
|
}
|
|
31060
31077
|
async function downloadBinary(version) {
|
|
31061
|
-
const
|
|
31062
|
-
const
|
|
31063
|
-
|
|
31064
|
-
|
|
31078
|
+
const archMap = PLATFORM_ARCH_MAP[process.platform] ?? {};
|
|
31079
|
+
const platformKey = archMap[process.arch];
|
|
31080
|
+
const assetName = platformKey ? PLATFORM_ASSET_MAP[platformKey] : undefined;
|
|
31081
|
+
if (!platformKey || !assetName) {
|
|
31082
|
+
error(`Unsupported platform: ${process.platform}-${process.arch}`);
|
|
31065
31083
|
return null;
|
|
31066
31084
|
}
|
|
31067
31085
|
const tag = version ?? await fetchLatestTag();
|
|
@@ -31218,7 +31236,10 @@ function getPlatformInfo() {
|
|
|
31218
31236
|
const platformMap = ORT_PLATFORM_MAP[process.platform];
|
|
31219
31237
|
if (!platformMap)
|
|
31220
31238
|
return null;
|
|
31221
|
-
|
|
31239
|
+
const archMap = PLATFORM_ARCH_MAP[process.platform] ?? {};
|
|
31240
|
+
const platformKey = archMap[process.arch];
|
|
31241
|
+
const ortArch = platformKey ? platformKey.split("-")[1] : process.arch;
|
|
31242
|
+
return platformMap[ortArch] || null;
|
|
31222
31243
|
}
|
|
31223
31244
|
function getManualInstallHint() {
|
|
31224
31245
|
if (process.platform === "darwin" && process.arch === "x64") {
|
|
@@ -31640,10 +31661,40 @@ function isProcessAlive(pid) {
|
|
|
31640
31661
|
}
|
|
31641
31662
|
// ../aft-bridge/dist/pool.js
|
|
31642
31663
|
import { realpathSync as realpathSync2 } from "node:fs";
|
|
31664
|
+
import { homedir as homedir3 } from "node:os";
|
|
31643
31665
|
var DEFAULT_IDLE_TIMEOUT_MS = Infinity;
|
|
31644
31666
|
var DEFAULT_MAX_POOL_SIZE = 8;
|
|
31645
31667
|
var CLEANUP_INTERVAL_MS = 60 * 1000;
|
|
31646
31668
|
|
|
31669
|
+
class HomeProjectRootError extends Error {
|
|
31670
|
+
projectRoot;
|
|
31671
|
+
constructor(projectRoot) {
|
|
31672
|
+
super(`aft refuses to spawn a bridge with project_root=${projectRoot} (user home directory). ` + `Open OpenCode/Pi from a project subdirectory instead, or set the session's ` + `directory to a real project root.`);
|
|
31673
|
+
this.projectRoot = projectRoot;
|
|
31674
|
+
this.name = "HomeProjectRootError";
|
|
31675
|
+
}
|
|
31676
|
+
}
|
|
31677
|
+
function canonicalHomeDir() {
|
|
31678
|
+
try {
|
|
31679
|
+
const home = homedir3();
|
|
31680
|
+
if (!home)
|
|
31681
|
+
return null;
|
|
31682
|
+
try {
|
|
31683
|
+
return realpathSync2(home);
|
|
31684
|
+
} catch {
|
|
31685
|
+
return home.replace(/[/\\]+$/, "");
|
|
31686
|
+
}
|
|
31687
|
+
} catch {
|
|
31688
|
+
return null;
|
|
31689
|
+
}
|
|
31690
|
+
}
|
|
31691
|
+
function isHomeDirectoryRoot(normalizedKey) {
|
|
31692
|
+
const home = canonicalHomeDir();
|
|
31693
|
+
if (!home)
|
|
31694
|
+
return false;
|
|
31695
|
+
return normalizedKey === home;
|
|
31696
|
+
}
|
|
31697
|
+
|
|
31647
31698
|
class BridgePool {
|
|
31648
31699
|
bridges = new Map;
|
|
31649
31700
|
binaryPath;
|
|
@@ -31680,6 +31731,9 @@ class BridgePool {
|
|
|
31680
31731
|
}
|
|
31681
31732
|
getBridge(projectRoot) {
|
|
31682
31733
|
const key = normalizeKey(projectRoot);
|
|
31734
|
+
if (isHomeDirectoryRoot(key)) {
|
|
31735
|
+
throw new HomeProjectRootError(key);
|
|
31736
|
+
}
|
|
31683
31737
|
const existing = this.bridges.get(key);
|
|
31684
31738
|
if (existing) {
|
|
31685
31739
|
existing.lastUsed = Date.now();
|
|
@@ -31758,7 +31812,7 @@ function normalizeKey(projectRoot) {
|
|
|
31758
31812
|
import { execSync, spawnSync } from "node:child_process";
|
|
31759
31813
|
import { chmodSync as chmodSync3, copyFileSync as copyFileSync2, existsSync as existsSync3, mkdirSync as mkdirSync3, renameSync } from "node:fs";
|
|
31760
31814
|
import { createRequire as createRequire2 } from "node:module";
|
|
31761
|
-
import { homedir as
|
|
31815
|
+
import { homedir as homedir4 } from "node:os";
|
|
31762
31816
|
import { join as join4 } from "node:path";
|
|
31763
31817
|
function copyToVersionedCache(npmBinaryPath) {
|
|
31764
31818
|
try {
|
|
@@ -31838,7 +31892,7 @@ function findBinarySync(expectedVersion) {
|
|
|
31838
31892
|
if (result)
|
|
31839
31893
|
return result;
|
|
31840
31894
|
} catch {}
|
|
31841
|
-
const cargoPath = join4(
|
|
31895
|
+
const cargoPath = join4(homedir4(), ".cargo", "bin", `aft${ext}`);
|
|
31842
31896
|
if (existsSync3(cargoPath))
|
|
31843
31897
|
return cargoPath;
|
|
31844
31898
|
return null;
|
|
@@ -32415,19 +32469,19 @@ function warn2(message, data) {
|
|
|
32415
32469
|
function error2(message, data) {
|
|
32416
32470
|
write("ERROR", message, data);
|
|
32417
32471
|
}
|
|
32418
|
-
function
|
|
32472
|
+
function sessionLog2(sessionId, message, data) {
|
|
32419
32473
|
write("INFO", message, data, sessionId);
|
|
32420
32474
|
}
|
|
32421
32475
|
function sessionWarn2(sessionId, message, data) {
|
|
32422
32476
|
write("WARN", message, data, sessionId);
|
|
32423
32477
|
}
|
|
32424
|
-
function
|
|
32478
|
+
function sessionError2(sessionId, message, data) {
|
|
32425
32479
|
write("ERROR", message, data, sessionId);
|
|
32426
32480
|
}
|
|
32427
32481
|
var bridgeLogger = {
|
|
32428
32482
|
log(message, meta) {
|
|
32429
32483
|
if (meta?.sessionId)
|
|
32430
|
-
|
|
32484
|
+
sessionLog2(meta.sessionId, message);
|
|
32431
32485
|
else
|
|
32432
32486
|
write("INFO", message);
|
|
32433
32487
|
},
|
|
@@ -32439,7 +32493,7 @@ var bridgeLogger = {
|
|
|
32439
32493
|
},
|
|
32440
32494
|
error(message, meta) {
|
|
32441
32495
|
if (meta?.sessionId)
|
|
32442
|
-
|
|
32496
|
+
sessionError2(meta.sessionId, message);
|
|
32443
32497
|
else
|
|
32444
32498
|
write("ERROR", message);
|
|
32445
32499
|
},
|
|
@@ -32903,7 +32957,7 @@ function registerStatusCommand(pi, ctx) {
|
|
|
32903
32957
|
// src/config.ts
|
|
32904
32958
|
var import_comment_json = __toESM(require_src2(), 1);
|
|
32905
32959
|
import { existsSync as existsSync5, readFileSync as readFileSync3, renameSync as renameSync2, unlinkSync as unlinkSync4, writeFileSync as writeFileSync3 } from "node:fs";
|
|
32906
|
-
import { homedir as
|
|
32960
|
+
import { homedir as homedir5 } from "node:os";
|
|
32907
32961
|
import { join as join7 } from "node:path";
|
|
32908
32962
|
|
|
32909
32963
|
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
@@ -46850,7 +46904,7 @@ function mergeConfigs(base, override) {
|
|
|
46850
46904
|
};
|
|
46851
46905
|
}
|
|
46852
46906
|
function getGlobalPiDir() {
|
|
46853
|
-
return join7(
|
|
46907
|
+
return join7(homedir5(), ".pi", "agent");
|
|
46854
46908
|
}
|
|
46855
46909
|
function loadAftConfig(projectDirectory) {
|
|
46856
46910
|
const userBasePath = join7(getGlobalPiDir(), "aft");
|
|
@@ -46897,7 +46951,7 @@ import {
|
|
|
46897
46951
|
unlinkSync as unlinkSync5,
|
|
46898
46952
|
writeFileSync as writeFileSync4
|
|
46899
46953
|
} from "node:fs";
|
|
46900
|
-
import { homedir as
|
|
46954
|
+
import { homedir as homedir6 } from "node:os";
|
|
46901
46955
|
import { join as join8 } from "node:path";
|
|
46902
46956
|
function aftCacheBase() {
|
|
46903
46957
|
const override = process.env.AFT_CACHE_DIR;
|
|
@@ -46905,10 +46959,10 @@ function aftCacheBase() {
|
|
|
46905
46959
|
return override;
|
|
46906
46960
|
if (process.platform === "win32") {
|
|
46907
46961
|
const localAppData = process.env.LOCALAPPDATA || process.env.APPDATA;
|
|
46908
|
-
const base2 = localAppData || join8(
|
|
46962
|
+
const base2 = localAppData || join8(homedir6(), "AppData", "Local");
|
|
46909
46963
|
return join8(base2, "aft");
|
|
46910
46964
|
}
|
|
46911
|
-
const base = process.env.XDG_CACHE_HOME || join8(
|
|
46965
|
+
const base = process.env.XDG_CACHE_HOME || join8(homedir6(), ".cache");
|
|
46912
46966
|
return join8(base, "aft");
|
|
46913
46967
|
}
|
|
46914
46968
|
function lspCacheRoot() {
|
|
@@ -48310,7 +48364,7 @@ function sendIgnoredMessage(client, sessionId, text) {
|
|
|
48310
48364
|
typedClient.ui.notify(text, "warning");
|
|
48311
48365
|
return true;
|
|
48312
48366
|
} catch (err) {
|
|
48313
|
-
|
|
48367
|
+
sessionLog2(sessionId, `[aft-pi] notification send failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
48314
48368
|
return false;
|
|
48315
48369
|
}
|
|
48316
48370
|
}
|
|
@@ -48469,7 +48523,7 @@ import { StringEnum } from "@mariozechner/pi-ai";
|
|
|
48469
48523
|
import { Type } from "@sinclair/typebox";
|
|
48470
48524
|
|
|
48471
48525
|
// src/tools/render-helpers.ts
|
|
48472
|
-
import { homedir as
|
|
48526
|
+
import { homedir as homedir7 } from "node:os";
|
|
48473
48527
|
import { renderDiff } from "@mariozechner/pi-coding-agent";
|
|
48474
48528
|
import { Container, Spacer, Text } from "@mariozechner/pi-tui";
|
|
48475
48529
|
function reuseText(last) {
|
|
@@ -48479,7 +48533,7 @@ function reuseContainer(last) {
|
|
|
48479
48533
|
return last instanceof Container ? last : new Container;
|
|
48480
48534
|
}
|
|
48481
48535
|
function shortenPath(path2) {
|
|
48482
|
-
const home =
|
|
48536
|
+
const home = homedir7();
|
|
48483
48537
|
if (path2.startsWith(home))
|
|
48484
48538
|
return `~${path2.slice(home.length)}`;
|
|
48485
48539
|
return path2;
|
|
@@ -49308,7 +49362,7 @@ function registerFsTools(pi, ctx, surface) {
|
|
|
49308
49362
|
|
|
49309
49363
|
// src/tools/hoisted.ts
|
|
49310
49364
|
import { stat } from "node:fs/promises";
|
|
49311
|
-
import { homedir as
|
|
49365
|
+
import { homedir as homedir8 } from "node:os";
|
|
49312
49366
|
import { resolve as resolve3 } from "node:path";
|
|
49313
49367
|
import {
|
|
49314
49368
|
renderDiff as renderDiff2
|
|
@@ -49718,7 +49772,7 @@ ${summary}${suffix}`);
|
|
|
49718
49772
|
return container;
|
|
49719
49773
|
}
|
|
49720
49774
|
function shortenPath2(path2) {
|
|
49721
|
-
const home =
|
|
49775
|
+
const home = homedir8();
|
|
49722
49776
|
if (path2.startsWith(home))
|
|
49723
49777
|
return `~${path2.slice(home.length)}`;
|
|
49724
49778
|
return path2;
|
|
@@ -50984,7 +51038,7 @@ async function handleConfigureWarningsForSession(context) {
|
|
|
50984
51038
|
}, validWarnings);
|
|
50985
51039
|
}
|
|
50986
51040
|
function resolveStorageDir() {
|
|
50987
|
-
return join12(
|
|
51041
|
+
return join12(homedir9(), ".pi", "agent", "aft");
|
|
50988
51042
|
}
|
|
50989
51043
|
function resolveToolSurface(config2) {
|
|
50990
51044
|
const surface = config2.tool_surface ?? "recommended";
|
|
@@ -51191,7 +51245,12 @@ ${lines}
|
|
|
51191
51245
|
}
|
|
51192
51246
|
(async () => {
|
|
51193
51247
|
try {
|
|
51194
|
-
const
|
|
51248
|
+
const cwd = process.cwd();
|
|
51249
|
+
if (isHomeDirectoryRoot(cwd)) {
|
|
51250
|
+
log2(`Eager configure skipped: cwd=${cwd} is the user home directory. ` + `The first real tool call will warm the correct project bridge.`);
|
|
51251
|
+
return;
|
|
51252
|
+
}
|
|
51253
|
+
const bridge = pool.getBridge(cwd);
|
|
51195
51254
|
await bridge.send("status", {});
|
|
51196
51255
|
} catch (err) {
|
|
51197
51256
|
log2(`eager configure failed: ${err instanceof Error ? err.message : String(err)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft-pi",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.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",
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"prepublishOnly": "bun run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cortexkit/aft-bridge": "0.19.
|
|
25
|
+
"@cortexkit/aft-bridge": "0.19.3",
|
|
26
26
|
"@sinclair/typebox": "^0.34.33",
|
|
27
27
|
"comment-json": "^5.0.0",
|
|
28
28
|
"diff": "^8.0.4",
|
|
29
29
|
"zod": "^4.1.8"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
|
-
"@cortexkit/aft-darwin-arm64": "0.19.
|
|
33
|
-
"@cortexkit/aft-darwin-x64": "0.19.
|
|
34
|
-
"@cortexkit/aft-linux-arm64": "0.19.
|
|
35
|
-
"@cortexkit/aft-linux-x64": "0.19.
|
|
36
|
-
"@cortexkit/aft-win32-x64": "0.19.
|
|
32
|
+
"@cortexkit/aft-darwin-arm64": "0.19.3",
|
|
33
|
+
"@cortexkit/aft-darwin-x64": "0.19.3",
|
|
34
|
+
"@cortexkit/aft-linux-arm64": "0.19.3",
|
|
35
|
+
"@cortexkit/aft-linux-x64": "0.19.3",
|
|
36
|
+
"@cortexkit/aft-win32-x64": "0.19.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@mariozechner/pi-coding-agent": "*",
|