feat(command): identify command sources
This commit is contained in:
parent
0e705e2a05
commit
3cd894d40a
4 changed files with 10 additions and 3 deletions
|
|
@ -59,6 +59,7 @@ describe("CommandV2", () => {
|
|||
providerID: ProviderV2.ID.make("anthropic"),
|
||||
variant: ModelV2.VariantID.make("high"),
|
||||
},
|
||||
source: "command",
|
||||
}),
|
||||
])
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -95,9 +95,10 @@ Review files`,
|
|||
variant: ModelV2.VariantID.make("high"),
|
||||
},
|
||||
subtask: true,
|
||||
source: "command",
|
||||
}),
|
||||
CommandV2.Info.make({ name: "empty", template: "" }),
|
||||
CommandV2.Info.make({ name: "nested/docs", template: "Write docs" }),
|
||||
CommandV2.Info.make({ name: "empty", template: "", source: "command" }),
|
||||
CommandV2.Info.make({ name: "nested/docs", template: "Write docs", source: "command" }),
|
||||
])
|
||||
|
||||
yield* Effect.promise(() => fs.writeFile(path.join(tmp.path, "commands", "review.md"), "Review again"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue