@opencode-ai/protocol
Advanced tools
@@ -33,5 +33,3 @@ import { Form } from "@opencode-ai/schema/form"; | ||
| error: SessionNotFoundError, | ||
| }) | ||
| .middleware(formLocationMiddleware) | ||
| .annotateMerge(OpenApi.annotations({ | ||
| }).annotateMerge(OpenApi.annotations({ | ||
| identifier: "v2.session.form.list", | ||
@@ -38,0 +36,0 @@ summary: "List session forms", |
@@ -113,3 +113,3 @@ import { Location } from "@opencode-ai/schema/location"; | ||
| }>>; | ||
| }>>, Schema.toCodecJson<typeof SessionNotFoundError>, SessionLocationId, HttpApiMiddleware.Requires<SessionLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.get", "GET", "/api/session/:sessionID/permission/:requestID", Schema.toCodecStringTree<Schema.Struct<{ | ||
| }>>, Schema.toCodecJson<typeof SessionNotFoundError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.get", "GET", "/api/session/:sessionID/permission/:requestID", Schema.toCodecStringTree<Schema.Struct<{ | ||
| sessionID: Schema.brand<Schema.String, "SessionID"> & { | ||
@@ -116,0 +116,0 @@ create: () => string & import("effect/Brand").Brand<"SessionID">; |
@@ -66,5 +66,3 @@ import { Agent } from "@opencode-ai/schema/agent"; | ||
| error: SessionNotFoundError, | ||
| }) | ||
| .middleware(sessionLocationMiddleware) | ||
| .annotateMerge(OpenApi.annotations({ | ||
| }).annotateMerge(OpenApi.annotations({ | ||
| identifier: "v2.session.permission.list", | ||
@@ -71,0 +69,0 @@ summary: "List session permission requests", |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/protocol", | ||
| "version": "0.0.0-dev-18629", | ||
| "version": "0.0.0-dev-18636", | ||
| "type": "module", | ||
@@ -35,3 +35,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-dev-18629", | ||
| "@opencode-ai/schema": "0.0.0-dev-18636", | ||
| "effect": "4.0.0-rc.112" | ||
@@ -38,0 +38,0 @@ }, |
Sorry, the diff of this file is too big to display
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.
2086147
-0.01%33469
-0.01%+ Added
- Removed