chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-09 16:12:42 +00:00
commit ada5b31bb0
11 changed files with 69 additions and 33 deletions

View file

@ -139,9 +139,7 @@ export const layer = Layer.effect(
const resolvePromptParts = Effect.fn("SessionPrompt.resolvePromptParts")(function* (template: string) {
const ctx = yield* InstanceState.context
const parts: Types.DeepMutable<PromptInput["parts"]> = [
{ type: "text", text: template },
]
const parts: Types.DeepMutable<PromptInput["parts"]> = [{ type: "text", text: template }]
const files = ConfigMarkdown.files(template)
const seen = new Set<string>()
yield* Effect.forEach(

View file

@ -32,23 +32,23 @@ describe("reference HttpApi", () => {
const body = await response.json()
expect(body).toMatchObject({ location: { directory: tmp.path } })
expect(body.data).toEqual([
{
name: "docs",
{
name: "docs",
path: path.join(tmp.path, "docs"),
source: {
type: "local",
path: path.join(tmp.path, "docs"),
source: {
type: "local",
path: path.join(tmp.path, "docs"),
},
},
{
name: "effect",
path: path.join(Global.Path.repos, "github.com", "Effect-TS", "effect"),
source: {
type: "git",
repository: "Effect-TS/effect",
branch: "main",
},
},
{
name: "effect",
path: path.join(Global.Path.repos, "github.com", "Effect-TS", "effect"),
source: {
type: "git",
repository: "Effect-TS/effect",
branch: "main",
},
])
},
])
})
})

View file

@ -133,5 +133,4 @@ describe("tool.glob", () => {
}
}),
)
})

View file

@ -203,5 +203,4 @@ describe("tool.grep", () => {
expect(requests.find((req) => req.permission === "external_directory")).toBeUndefined()
}),
)
})

View file

@ -254,7 +254,6 @@ describe("tool.read external_directory permission", () => {
expect(ext).toBeUndefined()
}),
)
})
describe("tool.read env file permissions", () => {