We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e84417 commit 243bb6fCopy full SHA for 243bb6f
1 file changed
packages/opencode/test/acp/agent-interface.test.ts
@@ -20,8 +20,7 @@ const _typeCheck: _AssertAgentImplementsACPAgent = true
20
* The SDK's router checks `if (!agent.methodName)` and throws MethodNotFound if missing.
21
*/
22
describe("acp.agent interface compliance", () => {
23
- // Extract method names from the ACPAgent interface type
24
- type ACPAgentMethods = keyof ACPAgent
+ type ACPAgentMethods = keyof InstanceType<typeof ACP.Agent>
25
26
// Methods that the SDK's router explicitly checks for at runtime
27
const sdkCheckedMethods: ACPAgentMethods[] = [
0 commit comments