@cortexkit/aft-pi 0.28.2 → 0.29.1
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 +12 -10
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -31087,6 +31087,7 @@ import { chmodSync as chmodSync2, copyFileSync, existsSync as existsSync2, mkdir
|
|
|
31087
31087
|
import { createRequire as createRequire2 } from "node:module";
|
|
31088
31088
|
import { homedir as homedir3 } from "node:os";
|
|
31089
31089
|
import { join as join3 } from "node:path";
|
|
31090
|
+
var ensureBinaryForResolver = ensureBinary;
|
|
31090
31091
|
function readBinaryVersion(binaryPath) {
|
|
31091
31092
|
try {
|
|
31092
31093
|
const result = spawnSync(binaryPath, ["--version"], {
|
|
@@ -31227,7 +31228,7 @@ async function findBinary(expectedVersion) {
|
|
|
31227
31228
|
return syncResult;
|
|
31228
31229
|
}
|
|
31229
31230
|
log("Binary not found locally, attempting auto-download...");
|
|
31230
|
-
const downloaded = await
|
|
31231
|
+
const downloaded = await ensureBinaryForResolver(expectedVersion);
|
|
31231
31232
|
if (downloaded)
|
|
31232
31233
|
return downloaded;
|
|
31233
31234
|
throw new Error([
|
|
@@ -31251,6 +31252,7 @@ async function findBinary(expectedVersion) {
|
|
|
31251
31252
|
}
|
|
31252
31253
|
|
|
31253
31254
|
// ../aft-bridge/dist/migration.js
|
|
31255
|
+
var spawnSyncForMigration = spawnSync2;
|
|
31254
31256
|
var TARGET_MARKER = ".migrated_from_legacy";
|
|
31255
31257
|
var DEFAULT_TIMEOUT_MS = 30 * 60 * 1000;
|
|
31256
31258
|
function dataHome() {
|
|
@@ -31322,7 +31324,7 @@ async function ensureStorageMigrated(opts) {
|
|
|
31322
31324
|
|
|
31323
31325
|
`);
|
|
31324
31326
|
} catch {}
|
|
31325
|
-
const result =
|
|
31327
|
+
const result = spawnSyncForMigration(binaryPath, [
|
|
31326
31328
|
"migrate-storage",
|
|
31327
31329
|
"--from",
|
|
31328
31330
|
legacyRoot,
|
|
@@ -32993,7 +32995,7 @@ import {
|
|
|
32993
32995
|
// package.json
|
|
32994
32996
|
var package_default = {
|
|
32995
32997
|
name: "@cortexkit/aft-pi",
|
|
32996
|
-
version: "0.
|
|
32998
|
+
version: "0.29.1",
|
|
32997
32999
|
type: "module",
|
|
32998
33000
|
description: "Pi coding agent extension for Agent File Tools (AFT) — tree-sitter and LSP-powered code analysis",
|
|
32999
33001
|
main: "dist/index.js",
|
|
@@ -33015,19 +33017,19 @@ var package_default = {
|
|
|
33015
33017
|
prepublishOnly: "bun run build"
|
|
33016
33018
|
},
|
|
33017
33019
|
dependencies: {
|
|
33018
|
-
"@cortexkit/aft-bridge": "0.
|
|
33020
|
+
"@cortexkit/aft-bridge": "0.29.1",
|
|
33019
33021
|
typebox: "^1.1.24",
|
|
33020
33022
|
"comment-json": "^5.0.0",
|
|
33021
33023
|
diff: "^8.0.4",
|
|
33022
33024
|
zod: "^4.1.8"
|
|
33023
33025
|
},
|
|
33024
33026
|
optionalDependencies: {
|
|
33025
|
-
"@cortexkit/aft-darwin-arm64": "0.
|
|
33026
|
-
"@cortexkit/aft-darwin-x64": "0.
|
|
33027
|
-
"@cortexkit/aft-linux-arm64": "0.
|
|
33028
|
-
"@cortexkit/aft-linux-x64": "0.
|
|
33029
|
-
"@cortexkit/aft-win32-arm64": "0.
|
|
33030
|
-
"@cortexkit/aft-win32-x64": "0.
|
|
33027
|
+
"@cortexkit/aft-darwin-arm64": "0.29.1",
|
|
33028
|
+
"@cortexkit/aft-darwin-x64": "0.29.1",
|
|
33029
|
+
"@cortexkit/aft-linux-arm64": "0.29.1",
|
|
33030
|
+
"@cortexkit/aft-linux-x64": "0.29.1",
|
|
33031
|
+
"@cortexkit/aft-win32-arm64": "0.29.1",
|
|
33032
|
+
"@cortexkit/aft-win32-x64": "0.29.1"
|
|
33031
33033
|
},
|
|
33032
33034
|
devDependencies: {
|
|
33033
33035
|
"@earendil-works/pi-coding-agent": "*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft-pi",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.1",
|
|
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,19 +22,19 @@
|
|
|
22
22
|
"prepublishOnly": "bun run build"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cortexkit/aft-bridge": "0.
|
|
25
|
+
"@cortexkit/aft-bridge": "0.29.1",
|
|
26
26
|
"typebox": "^1.1.24",
|
|
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.
|
|
33
|
-
"@cortexkit/aft-darwin-x64": "0.
|
|
34
|
-
"@cortexkit/aft-linux-arm64": "0.
|
|
35
|
-
"@cortexkit/aft-linux-x64": "0.
|
|
36
|
-
"@cortexkit/aft-win32-arm64": "0.
|
|
37
|
-
"@cortexkit/aft-win32-x64": "0.
|
|
32
|
+
"@cortexkit/aft-darwin-arm64": "0.29.1",
|
|
33
|
+
"@cortexkit/aft-darwin-x64": "0.29.1",
|
|
34
|
+
"@cortexkit/aft-linux-arm64": "0.29.1",
|
|
35
|
+
"@cortexkit/aft-linux-x64": "0.29.1",
|
|
36
|
+
"@cortexkit/aft-win32-arm64": "0.29.1",
|
|
37
|
+
"@cortexkit/aft-win32-x64": "0.29.1"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@earendil-works/pi-coding-agent": "*",
|