@opencode-ai/protocol
Advanced tools
@@ -12,3 +12,3 @@ import { Schema } from "effect"; | ||
| } | ||
| export declare const ProjectCopyGroup: HttpApiGroup.HttpApiGroup<"server.projectCopy", HttpApiEndpoint.HttpApiEndpoint<"projectCopy.create", "POST", "/experimental/project/:projectID/copy", Schema.toCodecStringTree<Schema.Struct<{ | ||
| export declare const ProjectCopyGroup: HttpApiGroup.HttpApiGroup<"server.projectCopy", HttpApiEndpoint.HttpApiEndpoint<"projectCopy.create", "POST", "/api/experimental/project/:projectID/copy", Schema.toCodecStringTree<Schema.Struct<{ | ||
| projectID: Schema.brand<Schema.String, "Project.ID"> & { | ||
@@ -28,3 +28,3 @@ global: string & import("effect/Brand").Brand<"Project.ID">; | ||
| readonly directory: Schema.brand<Schema.String, "AbsolutePath">; | ||
| }>>, Schema.toCodecJson<typeof ProjectCopyError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"projectCopy.remove", "DELETE", "/experimental/project/:projectID/copy", Schema.toCodecStringTree<Schema.Struct<{ | ||
| }>>, Schema.toCodecJson<typeof ProjectCopyError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"projectCopy.remove", "DELETE", "/api/experimental/project/:projectID/copy", Schema.toCodecStringTree<Schema.Struct<{ | ||
| projectID: Schema.brand<Schema.String, "Project.ID"> & { | ||
@@ -41,3 +41,3 @@ global: string & import("effect/Brand").Brand<"Project.ID">; | ||
| readonly force: Schema.Boolean; | ||
| }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ProjectCopyError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"projectCopy.refresh", "POST", "/experimental/project/:projectID/copy/refresh", Schema.toCodecStringTree<Schema.Struct<{ | ||
| }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof ProjectCopyError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"projectCopy.refresh", "POST", "/api/experimental/project/:projectID/copy/refresh", Schema.toCodecStringTree<Schema.Struct<{ | ||
| projectID: Schema.brand<Schema.String, "Project.ID"> & { | ||
@@ -44,0 +44,0 @@ global: string & import("effect/Brand").Brand<"Project.ID">; |
@@ -6,3 +6,3 @@ import { ProjectCopy } from "@opencode-ai/schema/project-copy"; | ||
| import { LocationQuery, locationQueryOpenApi } from "./location.js"; | ||
| const root = "/experimental/project/:projectID/copy"; | ||
| const root = "/api/experimental/project/:projectID/copy"; | ||
| export class ProjectCopyError extends Schema.ErrorClass("ProjectCopyError")({ | ||
@@ -9,0 +9,0 @@ name: Schema.Literal("ProjectCopyError"), |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/protocol", | ||
| "version": "0.0.0-next-17229", | ||
| "version": "0.0.0-next-17232", | ||
| "type": "module", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-next-17229", | ||
| "@opencode-ai/schema": "0.0.0-next-17232", | ||
| "effect": "4.0.0-beta.101" | ||
@@ -34,0 +34,0 @@ }, |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1826730
0+ Added
- Removed