feat: add project index and exact patch review

This commit is contained in:
Agent Workbench Dev
2026-10-29 17:59:35 +08:00
parent 5ec85b0319
commit 14ce622028
45 changed files with 1290 additions and 82 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { createHash } from 'node:crypto';
const url = process.env.AGENT_WORKBENCH_URL || 'http://127.0.0.1:4318';
const sessionId = process.env.AGENT_WORKBENCH_SESSION || '569c9457-d399-46e6-b53e-4b1fdbb02109';
const bootstrap = await (await fetch(url + '/api/bootstrap')).json();
assert.ok(['1.0.0', '1.1.0', '1.2.0'].includes(bootstrap.version));
assert.ok(['1.0.0', '1.1.0', '1.2.0', '1.3.0'].includes(bootstrap.version));
assert.equal(bootstrap.config.mode, 'compatible');
assert.ok(bootstrap.config.hasKey, 'The existing in-memory connection must be present.');
const api = async (route, input) => {