@opencode-ai/client 0.0.0-next-16614 → 0.0.0-next-16615

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,6 +134,7 @@ export type Endpoint5_0Output = {
134
134
  export type SessionListOperation<E = never> = (input?: Endpoint5_0Input) => Effect.Effect<Endpoint5_0Output, E>;
135
135
  export type Endpoint5_1Input = {
136
136
  readonly id?: Session.ID | undefined;
137
+ readonly title?: string | undefined;
137
138
  readonly agent?: Agent.ID | undefined;
138
139
  readonly model?: Model.Ref | undefined;
139
140
  readonly location?: Location.Ref | undefined;
@@ -36,7 +36,13 @@ const Endpoint5_0 = (raw) => (input) => preserveEffect()(raw["session.list"]({
36
36
  },
37
37
  }).pipe(Effect.mapError(mapClientError)));
38
38
  const Endpoint5_1 = (raw) => (input) => preserveEffect()(raw["session.create"]({
39
- payload: { id: input?.["id"], agent: input?.["agent"], model: input?.["model"], location: input?.["location"] },
39
+ payload: {
40
+ id: input?.["id"],
41
+ title: input?.["title"],
42
+ agent: input?.["agent"],
43
+ model: input?.["model"],
44
+ location: input?.["location"],
45
+ },
40
46
  }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
41
47
  const Endpoint5_2 = (raw) => () => preserveEffect()(raw["session.active"]({}).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
42
48
  const Endpoint5_3 = (raw) => (input) => preserveEffect()(raw["session.get"]({ params: { sessionID: input["sessionID"] } }).pipe(Effect.mapError(mapClientError), Effect.map((value) => value.data)));
@@ -203,6 +203,7 @@ export function make(options) {
203
203
  path: `/api/session`,
204
204
  body: {
205
205
  id: input?.["id"],
206
+ title: input?.["title"],
206
207
  agent: input?.["agent"],
207
208
  model: input?.["model"],
208
209
  location: input?.["location"],
@@ -3378,6 +3378,7 @@ export type SessionListOutput = SessionsResponse;
3378
3378
  export type SessionCreateInput = {
3379
3379
  readonly id?: {
3380
3380
  readonly id?: string | null;
3381
+ readonly title?: string | null;
3381
3382
  readonly agent?: string | null;
3382
3383
  readonly model?: {
3383
3384
  readonly id: string;
@@ -3389,8 +3390,23 @@ export type SessionCreateInput = {
3389
3390
  readonly workspaceID?: string;
3390
3391
  } | null;
3391
3392
  }["id"];
3393
+ readonly title?: {
3394
+ readonly id?: string | null;
3395
+ readonly title?: string | null;
3396
+ readonly agent?: string | null;
3397
+ readonly model?: {
3398
+ readonly id: string;
3399
+ readonly providerID: string;
3400
+ readonly variant?: string;
3401
+ } | null;
3402
+ readonly location?: {
3403
+ readonly directory: string;
3404
+ readonly workspaceID?: string;
3405
+ } | null;
3406
+ }["title"];
3392
3407
  readonly agent?: {
3393
3408
  readonly id?: string | null;
3409
+ readonly title?: string | null;
3394
3410
  readonly agent?: string | null;
3395
3411
  readonly model?: {
3396
3412
  readonly id: string;
@@ -3404,6 +3420,7 @@ export type SessionCreateInput = {
3404
3420
  }["agent"];
3405
3421
  readonly model?: {
3406
3422
  readonly id?: string | null;
3423
+ readonly title?: string | null;
3407
3424
  readonly agent?: string | null;
3408
3425
  readonly model?: {
3409
3426
  readonly id: string;
@@ -3417,6 +3434,7 @@ export type SessionCreateInput = {
3417
3434
  }["model"];
3418
3435
  readonly location?: {
3419
3436
  readonly id?: string | null;
3437
+ readonly title?: string | null;
3420
3438
  readonly agent?: string | null;
3421
3439
  readonly model?: {
3422
3440
  readonly id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/client",
4
- "version": "0.0.0-next-16614",
4
+ "version": "0.0.0-next-16615",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -53,8 +53,8 @@
53
53
  "typecheck": "tsgo --noEmit"
54
54
  },
55
55
  "dependencies": {
56
- "@opencode-ai/schema": "0.0.0-next-16614",
57
- "@opencode-ai/protocol": "0.0.0-next-16614"
56
+ "@opencode-ai/schema": "0.0.0-next-16615",
57
+ "@opencode-ai/protocol": "0.0.0-next-16615"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "effect": "4.0.0-beta.101"
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "@effect/platform-node": "4.0.0-beta.101",
69
- "@opencode-ai/httpapi-codegen": "0.0.0-next-16614",
69
+ "@opencode-ai/httpapi-codegen": "0.0.0-next-16615",
70
70
  "@tsconfig/bun": "1.0.9",
71
71
  "@types/bun": "1.3.13",
72
72
  "@typescript/native-preview": "7.0.0-dev.20251207.1",