feat: show runtime checklists and support remote Continue
Display native OpenCode and Continue checklists alongside scheduled tasks, preserving request ownership, explicit clears and saved progress. Bundle both remote runtimes and support managed Continue installation, model routing, cancellation and restart continuation. Validation: real local and Linux remote model checks, full Electron remote Continue flows, typecheck and lint passed. Full suite: 4707 passed, 67 skipped, one OpenCode compaction failure passed targeted rerun. Release note: Display native execution checklists above conversations and support managed remote Continue projects with saved progress and cancellation recovery.
This commit is contained in:
@@ -277,19 +277,25 @@ describe('createManagedRemoteAcpRuntime', () => {
|
||||
await runtime.dispose()
|
||||
})
|
||||
|
||||
it('rejects non-OpenCode providers before acquiring remote resources', async () => {
|
||||
it('rejects unsupported providers before acquiring remote resources', async () => {
|
||||
const fixture = harness({
|
||||
selection: { provider: 'continue' }
|
||||
selection: { provider: 'model', profileId: '00000000-0000-4000-8000-000000000001' }
|
||||
})
|
||||
|
||||
await expect(
|
||||
createManagedRemoteAcpRuntime(fixture.options)
|
||||
).rejects.toThrow(/OpenCode Runtime/iu)
|
||||
).rejects.toThrow(/OpenCode or Continue/iu)
|
||||
expect(
|
||||
fixture.options.agentServices.connectionManager.acquire
|
||||
).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('rejects an installed Runtime that differs from the selected Continue provider', async () => {
|
||||
const fixture = harness({ selection: { provider: 'continue' } })
|
||||
await expect(createManagedRemoteAcpRuntime(fixture.options)).rejects.toThrow(/selected provider/iu)
|
||||
expect(fixture.releaseConnection).toHaveBeenCalledOnce()
|
||||
})
|
||||
|
||||
it('binds the current Agent and Runtime and owns its connection lease', async () => {
|
||||
const fixture = harness()
|
||||
const runtime = await createManagedRemoteAcpRuntime(
|
||||
@@ -307,6 +313,7 @@ describe('createManagedRemoteAcpRuntime', () => {
|
||||
expect(
|
||||
fixture.options.runtimeInstallationManager.activateInstalled
|
||||
).toHaveBeenCalledWith('host-1', {
|
||||
runtimeId: 'opencode',
|
||||
agentInstallationId: 'agent-1'
|
||||
})
|
||||
expect(
|
||||
|
||||
Reference in New Issue
Block a user