@cortexkit/aft-opencode 0.15.0 → 0.15.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/bridge.d.ts +3 -1
- package/dist/bridge.d.ts.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +54 -10
- package/dist/tools/_shared.d.ts +11 -0
- package/dist/tools/_shared.d.ts.map +1 -1
- package/dist/tools/hoisted.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/bridge.d.ts
CHANGED
|
@@ -44,7 +44,9 @@ export declare class BinaryBridge {
|
|
|
44
44
|
* Send a command to the binary and return the parsed response.
|
|
45
45
|
* Lazy-spawns the binary on first call.
|
|
46
46
|
*/
|
|
47
|
-
send(command: string, params?: Record<string, unknown
|
|
47
|
+
send(command: string, params?: Record<string, unknown>, options?: {
|
|
48
|
+
timeoutMs?: number;
|
|
49
|
+
}): Promise<Record<string, unknown>>;
|
|
48
50
|
/** Kill the child process and reject all pending requests. */
|
|
49
51
|
shutdown(): Promise<void>;
|
|
50
52
|
/** Query binary version and compare against minVersion. Calls onVersionMismatch if outdated. */
|
package/dist/bridge.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../src/bridge.ts"],"names":[],"mappings":"AA0EA,MAAM,WAAW,aAAa;IAC5B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qGAAqG;IACrG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;CACzE;AAED;;;;GAIG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAA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A;KAAE,GAC/B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAgGnC,8DAA8D;IACxD,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IA4B/B,gGAAgG;YAClF,YAAY;IAoB1B,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,YAAY;IA+GpB,OAAO,CAAC,cAAc;IAOtB;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAMxB,OAAO,CAAC,YAAY;IA4BpB,OAAO,CAAC,aAAa;IAoBrB,OAAO,CAAC,WAAW;IAsCnB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,yBAAyB;IAQjC,OAAO,CAAC,sBAAsB;CAM/B"}
|
package/dist/config.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const AftConfigSchema: z.ZodObject<{
|
|
|
48
48
|
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
49
49
|
max_batch_size: z.ZodOptional<z.ZodNumber>;
|
|
50
50
|
}, z.core.$strip>>;
|
|
51
|
+
max_callgraph_files: z.ZodOptional<z.ZodNumber>;
|
|
51
52
|
}, z.core.$strip>;
|
|
52
53
|
export type AftConfig = z.infer<typeof AftConfigSchema>;
|
|
53
54
|
/**
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+CxB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+CxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiD1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AA2KxD;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAiCjE"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA8GlD;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA8GlD;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,MAAM,EAAE,MAkXb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -21454,7 +21454,8 @@ var AftConfigSchema = exports_external.object({
|
|
|
21454
21454
|
restrict_to_project_root: exports_external.boolean().optional(),
|
|
21455
21455
|
experimental_search_index: exports_external.boolean().optional(),
|
|
21456
21456
|
experimental_semantic_search: exports_external.boolean().optional(),
|
|
21457
|
-
semantic: SemanticConfigSchema.optional()
|
|
21457
|
+
semantic: SemanticConfigSchema.optional(),
|
|
21458
|
+
max_callgraph_files: exports_external.number().int().positive().optional()
|
|
21458
21459
|
});
|
|
21459
21460
|
function detectConfigFile(basePath) {
|
|
21460
21461
|
const jsoncPath = `${basePath}.jsonc`;
|
|
@@ -22266,7 +22267,7 @@ class BinaryBridge {
|
|
|
22266
22267
|
isAlive() {
|
|
22267
22268
|
return this.process !== null && this.process.exitCode === null && !this.process.killed;
|
|
22268
22269
|
}
|
|
22269
|
-
async send(command, params = {}) {
|
|
22270
|
+
async send(command, params = {}, options) {
|
|
22270
22271
|
if (this._shuttingDown) {
|
|
22271
22272
|
throw new Error(`[aft-plugin] Bridge is shutting down, cannot send "${command}"`);
|
|
22272
22273
|
}
|
|
@@ -22300,13 +22301,14 @@ class BinaryBridge {
|
|
|
22300
22301
|
const request = { id, command, ...params };
|
|
22301
22302
|
const line = `${JSON.stringify(request)}
|
|
22302
22303
|
`;
|
|
22304
|
+
const effectiveTimeoutMs = options?.timeoutMs ?? this.timeoutMs;
|
|
22303
22305
|
return new Promise((resolve, reject) => {
|
|
22304
22306
|
const timer = setTimeout(() => {
|
|
22305
22307
|
this.pending.delete(id);
|
|
22306
|
-
warn(`Request "${command}" (id=${id}) timed out after ${
|
|
22307
|
-
reject(new Error(`[aft-plugin] Request "${command}" (id=${id}) timed out after ${
|
|
22308
|
+
warn(`Request "${command}" (id=${id}) timed out after ${effectiveTimeoutMs}ms \u2014 restarting bridge`);
|
|
22309
|
+
reject(new Error(`[aft-plugin] Request "${command}" (id=${id}) timed out after ${effectiveTimeoutMs}ms`));
|
|
22308
22310
|
this.handleTimeout();
|
|
22309
|
-
},
|
|
22311
|
+
}, effectiveTimeoutMs);
|
|
22310
22312
|
this.pending.set(id, { resolve, reject, timer });
|
|
22311
22313
|
if (!this.process?.stdin?.writable) {
|
|
22312
22314
|
this.pending.delete(id);
|
|
@@ -23337,6 +23339,18 @@ import { tool as tool2 } from "@opencode-ai/plugin";
|
|
|
23337
23339
|
// src/tools/_shared.ts
|
|
23338
23340
|
import * as fs2 from "fs";
|
|
23339
23341
|
import * as path2 from "path";
|
|
23342
|
+
var LONG_RUNNING_COMMAND_TIMEOUT_MS = {
|
|
23343
|
+
callers: 60000,
|
|
23344
|
+
trace_to: 60000,
|
|
23345
|
+
trace_data: 60000,
|
|
23346
|
+
impact: 60000,
|
|
23347
|
+
grep: 60000,
|
|
23348
|
+
glob: 60000,
|
|
23349
|
+
semantic_search: 45000
|
|
23350
|
+
};
|
|
23351
|
+
function timeoutForCommand(command) {
|
|
23352
|
+
return LONG_RUNNING_COMMAND_TIMEOUT_MS[command];
|
|
23353
|
+
}
|
|
23340
23354
|
function projectRootFor(runtime) {
|
|
23341
23355
|
const raw = runtime.worktree ?? runtime.directory;
|
|
23342
23356
|
const trimmed = raw.replace(/[/\\]+$/, "");
|
|
@@ -23354,7 +23368,8 @@ function callBridge(ctx, runtime, command, params = {}) {
|
|
|
23354
23368
|
if (runtime.sessionID) {
|
|
23355
23369
|
merged.session_id = runtime.sessionID;
|
|
23356
23370
|
}
|
|
23357
|
-
|
|
23371
|
+
const timeoutMs = timeoutForCommand(command);
|
|
23372
|
+
return bridgeFor(ctx, runtime).send(command, merged, timeoutMs !== undefined ? { timeoutMs } : undefined);
|
|
23358
23373
|
}
|
|
23359
23374
|
|
|
23360
23375
|
// src/tools/permissions.ts
|
|
@@ -24472,12 +24487,39 @@ ${diagLines}`);
|
|
|
24472
24487
|
}
|
|
24473
24488
|
const callID = getCallID(context);
|
|
24474
24489
|
if (callID) {
|
|
24490
|
+
const diffByPath = new Map(perFileDiffs.map((d) => [d.filePath, d]));
|
|
24491
|
+
const countAddDel = (patch) => {
|
|
24492
|
+
let additions = 0;
|
|
24493
|
+
let deletions = 0;
|
|
24494
|
+
for (const line of patch.split(`
|
|
24495
|
+
`)) {
|
|
24496
|
+
if (line.startsWith("---") || line.startsWith("+++"))
|
|
24497
|
+
continue;
|
|
24498
|
+
if (line.startsWith("+"))
|
|
24499
|
+
additions++;
|
|
24500
|
+
else if (line.startsWith("-"))
|
|
24501
|
+
deletions++;
|
|
24502
|
+
}
|
|
24503
|
+
return { additions, deletions };
|
|
24504
|
+
};
|
|
24475
24505
|
const files = hunks.map((h) => {
|
|
24476
|
-
const
|
|
24506
|
+
const filePath = path4.resolve(context.directory, h.path);
|
|
24507
|
+
const rawMovePath = h.type === "update" ? h.move_path : undefined;
|
|
24508
|
+
const movePath = rawMovePath ? path4.resolve(context.directory, rawMovePath) : undefined;
|
|
24509
|
+
const displayPath = movePath ?? filePath;
|
|
24510
|
+
const relPath = path4.relative(context.worktree, displayPath);
|
|
24511
|
+
const diffEntry = diffByPath.get(filePath);
|
|
24512
|
+
const patch = diffEntry ? buildUnifiedDiff(displayPath, diffEntry.before, diffEntry.after) : "";
|
|
24513
|
+
const { additions, deletions } = countAddDel(patch);
|
|
24514
|
+
const uiType = h.type === "update" && rawMovePath ? "move" : h.type;
|
|
24477
24515
|
return {
|
|
24478
|
-
filePath
|
|
24516
|
+
filePath,
|
|
24479
24517
|
relativePath: relPath,
|
|
24480
|
-
type:
|
|
24518
|
+
type: uiType,
|
|
24519
|
+
patch,
|
|
24520
|
+
additions,
|
|
24521
|
+
deletions,
|
|
24522
|
+
...movePath ? { movePath } : {}
|
|
24481
24523
|
};
|
|
24482
24524
|
});
|
|
24483
24525
|
const fileList = files.map((f) => {
|
|
@@ -24487,7 +24529,7 @@ ${diagLines}`);
|
|
|
24487
24529
|
`);
|
|
24488
24530
|
const title = `Success. Updated the following files:
|
|
24489
24531
|
${fileList}`;
|
|
24490
|
-
const diffText =
|
|
24532
|
+
const diffText = files.map((f) => f.patch).filter(Boolean).join(`
|
|
24491
24533
|
`);
|
|
24492
24534
|
storeToolMetadata(context.sessionID, callID, {
|
|
24493
24535
|
title,
|
|
@@ -25490,6 +25532,8 @@ var plugin = async (input) => {
|
|
|
25490
25532
|
configOverrides.experimental_semantic_search = aftConfig.experimental_semantic_search;
|
|
25491
25533
|
if (aftConfig.semantic !== undefined)
|
|
25492
25534
|
configOverrides.semantic = aftConfig.semantic;
|
|
25535
|
+
if (aftConfig.max_callgraph_files !== undefined)
|
|
25536
|
+
configOverrides.max_callgraph_files = aftConfig.max_callgraph_files;
|
|
25493
25537
|
const isFastembedSemanticBackend = (aftConfig.semantic?.backend ?? "fastembed") === "fastembed";
|
|
25494
25538
|
const dataHome = process.env.XDG_DATA_HOME || join13(homedir7(), ".local", "share");
|
|
25495
25539
|
configOverrides.storage_dir = join13(dataHome, "opencode", "storage", "plugin", "aft");
|
package/dist/tools/_shared.d.ts
CHANGED
|
@@ -17,6 +17,17 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import type { BinaryBridge } from "../bridge.js";
|
|
19
19
|
import type { PluginContext } from "../types.js";
|
|
20
|
+
/**
|
|
21
|
+
* Per-command timeout overrides (milliseconds).
|
|
22
|
+
*
|
|
23
|
+
* Commands not listed fall back to the bridge-wide default (30s). Only
|
|
24
|
+
* extend budgets for operations that legitimately walk the project
|
|
25
|
+
* file tree or wait on external I/O (embedding API, index build). The
|
|
26
|
+
* goal is to absorb slow first-call spikes without masking real hangs.
|
|
27
|
+
*/
|
|
28
|
+
export declare const LONG_RUNNING_COMMAND_TIMEOUT_MS: Record<string, number>;
|
|
29
|
+
/** Returns the per-command timeout override, or undefined to use the bridge default. */
|
|
30
|
+
export declare function timeoutForCommand(command: string): number | undefined;
|
|
20
31
|
/**
|
|
21
32
|
* Minimum shape of the per-tool-call context provided by the OpenCode SDK.
|
|
22
33
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../src/tools/_shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAa3D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,GAAG,YAAY,CAEhF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACnC,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"_shared.d.ts","sourceRoot":"","sources":["../../src/tools/_shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;;;;;;GAOG;AACH,eAAO,MAAM,+BAA+B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQlE,CAAC;AAEF,wFAAwF;AACxF,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAErE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAa3D;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,GAAG,YAAY,CAEhF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,aAAa,EAClB,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GACnC,UAAU,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAWlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hoisted.d.ts","sourceRoot":"","sources":["../../src/tools/hoisted.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA6EjD;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,cAAc,CA4IjE;
|
|
1
|
+
{"version":3,"file":"hoisted.d.ts","sourceRoot":"","sources":["../../src/tools/hoisted.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA6EjD;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,cAAc,CA4IjE;AAutBD;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAS/E;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAuBnF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cortexkit/aft-opencode",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
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",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"zod": "^4.1.8"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@cortexkit/aft-darwin-arm64": "0.15.
|
|
36
|
-
"@cortexkit/aft-darwin-x64": "0.15.
|
|
37
|
-
"@cortexkit/aft-linux-arm64": "0.15.
|
|
38
|
-
"@cortexkit/aft-linux-x64": "0.15.
|
|
39
|
-
"@cortexkit/aft-win32-x64": "0.15.
|
|
35
|
+
"@cortexkit/aft-darwin-arm64": "0.15.3",
|
|
36
|
+
"@cortexkit/aft-darwin-x64": "0.15.3",
|
|
37
|
+
"@cortexkit/aft-linux-arm64": "0.15.3",
|
|
38
|
+
"@cortexkit/aft-linux-x64": "0.15.3",
|
|
39
|
+
"@cortexkit/aft-win32-x64": "0.15.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^22.0.0",
|