fix: revert delegate-task to string category schema, fix mock isolation and restore UB7 originals
This commit is contained in:
@@ -8,9 +8,11 @@ import type { PluginInput } from "@opencode-ai/plugin"
|
||||
import { createOpencodeClient, type Project } from "@opencode-ai/sdk"
|
||||
|
||||
const isCallerOrchestratorMock = mock(async () => true)
|
||||
const collectGitDiffStatsMock = mock(() => {
|
||||
throw new Error("background launches should not trigger verification")
|
||||
})
|
||||
const collectGitDiffStatsMock = mock(() => ({
|
||||
filesChanged: 0,
|
||||
insertions: 0,
|
||||
deletions: 0,
|
||||
}))
|
||||
|
||||
mock.module("../../shared/session-utils", () => ({
|
||||
isCallerOrchestrator: isCallerOrchestratorMock,
|
||||
|
||||
Reference in New Issue
Block a user