@opencode-ai/protocol 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.
@@ -394,6 +394,7 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
394
394
  create: () => string & import("effect/Brand").Brand<"SessionID">;
395
395
  descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
396
396
  }>;
397
+ readonly title: Schema.optional<Schema.String>;
397
398
  readonly agent: Schema.optional<Schema.brand<Schema.String, "Agent.ID">>;
398
399
  readonly model: Schema.optional<Schema.Struct<{
399
400
  readonly id: Schema.brand<Schema.String, "Model.ID">;
@@ -107,6 +107,7 @@ export const makeSessionGroup = (sessionLocationMiddleware) => HttpApiGroup.make
107
107
  .add(HttpApiEndpoint.post("session.create", "/api/session", {
108
108
  payload: Schema.Struct({
109
109
  id: Session.ID.pipe(Schema.optional),
110
+ title: Schema.String.pipe(Schema.optional),
110
111
  agent: Agent.ID.pipe(Schema.optional),
111
112
  model: Model.Ref.pipe(Schema.optional),
112
113
  location: Location.Ref.pipe(Schema.optional),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/protocol",
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": {
@@ -28,7 +28,7 @@
28
28
  "typecheck": "tsgo --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@opencode-ai/schema": "0.0.0-next-16614",
31
+ "@opencode-ai/schema": "0.0.0-next-16615",
32
32
  "effect": "4.0.0-beta.101"
33
33
  },
34
34
  "devDependencies": {