chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-26 15:13:18 +00:00
parent aa5999b188
commit 854d4b7a53
3 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ Use raw Effect HTTP routes where `HttpApi` does not fit. The goal is deleting Ho
## Current Route Status ## Current Route Status
| Area | Status | Notes | | Area | Status | Notes |
| ------------------------- | ----------------- | ---------------------------------------------------------------------------------------- | | ------------------------- | ----------------- | -------------------------------------------------------------------------- |
| `question` | `bridged` | `GET /question`, reply, reject | | `question` | `bridged` | `GET /question`, reply, reject |
| `permission` | `bridged` | list and reply | | `permission` | `bridged` | list and reply |
| `provider` | `bridged` | list, auth, OAuth authorize/callback | | `provider` | `bridged` | list, auth, OAuth authorize/callback |
@@ -11,7 +11,9 @@ const root = "/experimental/workspace"
const CreatePayload = Schema.Struct(Struct.omit(Workspace.CreateInput.fields, ["projectID"])).annotate({ const CreatePayload = Schema.Struct(Struct.omit(Workspace.CreateInput.fields, ["projectID"])).annotate({
identifier: "WorkspaceCreateInput", identifier: "WorkspaceCreateInput",
}) })
const SessionRestorePayload = Schema.Struct(Struct.omit(Workspace.SessionRestoreInput.fields, ["workspaceID"])).annotate({ const SessionRestorePayload = Schema.Struct(
Struct.omit(Workspace.SessionRestoreInput.fields, ["workspaceID"]),
).annotate({
identifier: "WorkspaceSessionRestoreInput", identifier: "WorkspaceSessionRestoreInput",
}) })
const SessionRestoreResponse = Schema.Struct({ const SessionRestoreResponse = Schema.Struct({
@@ -96,7 +96,8 @@ describe("workspace HttpApi", () => {
await using tmp = await tmpdir({ git: true }) await using tmp = await tmpdir({ git: true })
await Instance.provide({ await Instance.provide({
directory: tmp.path, directory: tmp.path,
fn: async () => registerAdaptor(Instance.project.id, "local-test", localAdaptor(path.join(tmp.path, ".workspace"))), fn: async () =>
registerAdaptor(Instance.project.id, "local-test", localAdaptor(path.join(tmp.path, ".workspace"))),
}) })
const created = await request(WorkspacePaths.list, tmp.path, { const created = await request(WorkspacePaths.list, tmp.path, {