chore(integration): snapshot local main worktree

This commit is contained in:
inman committed 2026-08-31 10:23:21 +08:00
1 parent 48a9189939
commit 33fb31fb28
116 files changed
+8108 -3026

No files matched your search

+19
View File
@@ -55,6 +55,25 @@ describe('managed Pi extension bridge', () => {
await Promise.all(registrations.map(({ dispose }) => dispose()));
});
it('passes the project root to the managed extension', async () => {
const root = await mkdtemp(path.join(tmpdir(), 'makelore-pi-extension-project-'));
roots.push(root);
const projectPath = path.join(root, 'project');
const host = new PiManagedExtensionHost();
hosts.push(host);
const registration = await host.registerWorker({
conversationId: 'conversation-project',
generation: 1,
projectId: 'project-a',
projectPath,
extensionsDir: root,
});
expect(registration.env.MAKELORE_PI_PROJECT_PATH).toBe(projectPath);
await registration.dispose();
});
it('finishes a queued HTTP request while closing a holder and waiter', async () => {
const root = await mkdtemp(path.join(tmpdir(), 'makelore-pi-extension-close-'));
roots.push(root);