@opencode-ai/client
Advanced tools
@@ -144,2 +144,3 @@ import type { Effect, Stream } from "effect"; | ||
| readonly metadata?: Endpoint4_12Request["payload"]["metadata"]; | ||
| readonly resume?: Endpoint4_12Request["payload"]["resume"]; | ||
| }; | ||
@@ -146,0 +147,0 @@ export type Endpoint4_12Output = EffectValue<ReturnType<RawClient["server.session"]["session.synthetic"]>>; |
@@ -66,3 +66,8 @@ // Generated by @opencode-ai/httpapi-codegen. Do not edit. | ||
| params: { sessionID: input["sessionID"] }, | ||
| payload: { text: input["text"], description: input["description"], metadata: input["metadata"] }, | ||
| payload: { | ||
| text: input["text"], | ||
| description: input["description"], | ||
| metadata: input["metadata"], | ||
| resume: input["resume"], | ||
| }, | ||
| }).pipe(Effect.mapError(mapClientError)); | ||
@@ -69,0 +74,0 @@ const Endpoint4_13 = (raw) => (input) => raw["session.shell"]({ |
@@ -284,3 +284,8 @@ import { ClientError } from "./client-error"; | ||
| path: `/api/session/${encodeURIComponent(input.sessionID)}/synthetic`, | ||
| body: { text: input["text"], description: input["description"], metadata: input["metadata"] }, | ||
| body: { | ||
| text: input["text"], | ||
| description: input["description"], | ||
| metadata: input["metadata"], | ||
| resume: input["resume"], | ||
| }, | ||
| successStatus: 204, | ||
@@ -287,0 +292,0 @@ declaredStatuses: [404, 400, 401], |
+4
-4
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/client", | ||
| "version": "0.0.0-next-15074", | ||
| "version": "0.0.0-next-15075", | ||
| "type": "module", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-next-15074", | ||
| "@opencode-ai/protocol": "0.0.0-next-15074" | ||
| "@opencode-ai/schema": "0.0.0-next-15075", | ||
| "@opencode-ai/protocol": "0.0.0-next-15075" | ||
| }, | ||
@@ -58,3 +58,3 @@ "peerDependencies": { | ||
| "@effect/platform-node": "4.0.0-beta.83", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-15074", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-15075", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -61,0 +61,0 @@ "@types/bun": "1.3.13", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
814132
0.08%18972
0.12%+ Added
+ Added
- Removed
- Removed