mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 16:02:50 +00:00
* Remove settled-worker automatic resume and hibernation fences * test: retirement rollback case follows the no-fence policy Case 4 seeded and asserted automaticResumeBlockedBy, which this branch deletes. A rolled-back settled worker is now an ordinary done record that wake clears as passive evidence, same as any finished agent pane. * chore(i18n): regenerate the runtime-required catalog for the contrast floor strings * test(orchestration): give the stopping-worker guard fixtures a Run
27 lines
963 B
TypeScript
27 lines
963 B
TypeScript
import type { PreloadApi } from '../../../../preload/api-types'
|
|
import { noopUnsubscribe } from './web-storage'
|
|
|
|
export function createWebAgentStatusApi(): Partial<PreloadApi> {
|
|
return {
|
|
agentStatus: {
|
|
onSet: () => noopUnsubscribe,
|
|
onClear: () => noopUnsubscribe,
|
|
getSnapshot: () => Promise.resolve([]),
|
|
inferInterrupt: () => Promise.resolve(false),
|
|
inferQuestionAnswered: () => Promise.resolve(false),
|
|
onMigrationUnsupported: () => noopUnsubscribe,
|
|
onMigrationUnsupportedClear: () => noopUnsubscribe,
|
|
onLegacyWorkerTerminalRecovery: () => noopUnsubscribe,
|
|
getMigrationUnsupportedSnapshot: () => Promise.resolve([]),
|
|
drop: () => {},
|
|
dropPersisted: () => {},
|
|
dropPersistedBatch: () => {},
|
|
reconcileEndedProcess: () => {},
|
|
dropByTabPrefix: () => {},
|
|
retirePaneAuthority: () => {},
|
|
restorePaneAuthority: () => {},
|
|
transferPaneAuthority: () => {}
|
|
}
|
|
}
|
|
}
|