feat(command): identify command sources

This commit is contained in:
Brendan Allan 2026-07-21 19:02:07 +08:00
commit 3cd894d40a
No known key found for this signature in database
GPG key ID: 41E835AEA046A32E
4 changed files with 10 additions and 3 deletions

View file

@ -16,6 +16,7 @@ export const Info = Schema.Struct({
agent: Agent.ID.pipe(optional),
model: Model.Ref.pipe(optional),
subtask: Schema.Boolean.pipe(optional),
source: Schema.Literals(["command", "mcp"]).pipe(optional),
}).annotate({ identifier: "Command.Info" })
export const Event = {