Skip to content

Commit 946a8ed

Browse files
0xmrpeterclaude
andcommitted
fix(plugin-sdk): add notify() stub to TestPluginContext
ctx.notify() was added to PluginContext in the identity/notifications feature but TestPluginContext was not updated, causing SDK build failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 256b91a commit 946a8ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/plugin-sdk/src/testing/test-context.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export function createTestContext(opts: TestContextOpts): TestPluginContext {
154154
async sendMessage(sessionId: string, content: OutgoingMessage): Promise<void> {
155155
sentMessages.push({ sessionId, content })
156156
},
157+
notify(_target: any, _message: any, _options?: any): void {},
157158
defineHook(_name: string): void {},
158159
async emitHook<T extends Record<string, unknown>>(_name: string, payload: T): Promise<T | null> {
159160
return payload

0 commit comments

Comments
 (0)