feat: ship isolated workspace review and navigation in 1.6.0

This commit is contained in:
Agent Workbench Dev
2026-10-29 23:45:32 +08:00
parent 7d9bfb85da
commit bb48f69f25
39 changed files with 841 additions and 35 deletions
+1
View File
@@ -17,6 +17,7 @@ function replaceControlFile(file, contents) {
test('workspace HTTP ownership, reviewed creation and reopen survive restart without changing source files', { timeout: 60000 }, async t => {
const f = fixture(t); createDeliveryProject(f); const before = captureWorkspaceSource(f); f.store.close();
const host = await launchWorkbench(t, f.data), parent = '/sessions/' + f.session.id;
assert.equal(host.bootstrap.capabilities.workspaces, 'owned-git-worktree-and-explicit-recovery');
const plan = await host.api(parent + '/workspaces', { label: 'API隔离工作区' });
assert.equal(plan.source.dirty, true); assert.equal(fs.existsSync(plan.root), false);
await assert.rejects(host.api(parent + '/workspaces/' + plan.id + '/create', {}), /指纹/);