chore: generate

This commit is contained in:
opencode-agent[bot] 2026-07-06 05:53:41 +00:00
commit e12cb7fb6b
5 changed files with 26 additions and 40 deletions

View file

@ -533,7 +533,8 @@ describe("CodeMode public contract", () => {
{
path: "tools.orders.lookup",
description: "Look up an order by ID",
signature: "tools.orders.lookup(input: {\n id: string,\n}): Promise<{\n id: string,\n status: string,\n}>",
signature:
"tools.orders.lookup(input: {\n id: string,\n}): Promise<{\n id: string,\n status: string,\n}>",
},
],
remaining: 0,

View file

@ -146,13 +146,7 @@ describe("for...in", () => {
}
return names
`),
).toEqual([
"github.list_issues",
"github.get_issue",
"memory.search",
"playwright.navigate",
"$codemode.search",
])
).toEqual(["github.list_issues", "github.get_issue", "memory.search", "playwright.navigate", "$codemode.search"])
})
test("unsupported values fail with a hint at for...of and Object.keys", async () => {

View file

@ -83,9 +83,15 @@ describe("pretty signature rendering", () => {
true,
)
expect(pretty).toBe(
["{", " /** Search filter */", " filter?: {", " /** Issue state */", " state?: string,", " },", "}"].join(
"\n",
),
[
"{",
" /** Search filter */",
" filter?: {",
" /** Issue state */",
" state?: string,",
" },",
"}",
].join("\n"),
)
})