@opencode-ai/client
Advanced tools
@@ -39,3 +39,9 @@ // Generated by @opencode-ai/httpapi-codegen. Do not edit. | ||
| const Endpoint5_1 = (raw) => (input) => preserveEffect()(raw["session.create"]({ | ||
| payload: { id: input?.["id"], agent: input?.["agent"], model: input?.["model"], location: input?.["location"] }, | ||
| payload: { | ||
| id: input?.["id"], | ||
| title: input?.["title"], | ||
| agent: input?.["agent"], | ||
| model: input?.["model"], | ||
| location: input?.["location"], | ||
| }, | ||
| }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data))); | ||
@@ -42,0 +48,0 @@ const Endpoint5_2 = (raw) => () => preserveEffect()(raw["session.active"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data))); |
@@ -206,2 +206,3 @@ import { ClientError } from "./client-error"; | ||
| id: input?.["id"], | ||
| title: input?.["title"], | ||
| agent: input?.["agent"], | ||
@@ -208,0 +209,0 @@ model: input?.["model"], |
+4
-4
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/client", | ||
| "version": "0.0.0-next-16614", | ||
| "version": "0.0.0-next-16615", | ||
| "type": "module", | ||
@@ -56,4 +56,4 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-next-16614", | ||
| "@opencode-ai/protocol": "0.0.0-next-16614" | ||
| "@opencode-ai/schema": "0.0.0-next-16615", | ||
| "@opencode-ai/protocol": "0.0.0-next-16615" | ||
| }, | ||
@@ -70,3 +70,3 @@ "peerDependencies": { | ||
| "@effect/platform-node": "4.0.0-beta.101", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-16614", | ||
| "@opencode-ai/httpapi-codegen": "0.0.0-next-16615", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -73,0 +73,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.
585490
0.13%14317
0.18%+ Added
+ Added
- Removed
- Removed