Constrain BusEvent.define to ZodObject instead of ZodType so TS knows
event properties are always a record. Type GlobalBus payload as
{ type: string; properties: Record<string, unknown> } instead of any.
Refactor watcher test to use Bus.subscribe instead of raw GlobalBus
listener, removing hand-rolled event types and unnecessary casts.
|
||
|---|---|---|
| .. | ||
| account | ||
| acp | ||
| agent | ||
| auth | ||
| cli | ||
| config | ||
| control-plane | ||
| file | ||
| filesystem | ||
| fixture | ||
| format | ||
| ide | ||
| installation | ||
| lib | ||
| lsp | ||
| mcp | ||
| memory | ||
| patch | ||
| permission | ||
| plugin | ||
| project | ||
| provider | ||
| pty | ||
| question | ||
| server | ||
| session | ||
| share | ||
| skill | ||
| snapshot | ||
| storage | ||
| tool | ||
| util | ||
| AGENTS.md | ||
| bun.test.ts | ||
| keybind.test.ts | ||
| permission-task.test.ts | ||
| preload.ts | ||