@opencode/schema 2.2.2 → 2.2.4

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.
package/dist/model.d.ts CHANGED
@@ -83,6 +83,7 @@ export declare const Ref: Schema.Struct<{
83
83
  google: string & import("effect/Brand").Brand<"Provider.ID">;
84
84
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
85
85
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
86
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
86
87
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
87
88
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
88
89
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -277,6 +278,7 @@ export declare const Info: Schema.Struct<{
277
278
  google: string & import("effect/Brand").Brand<"Provider.ID">;
278
279
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
279
280
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
281
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
280
282
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
281
283
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
282
284
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -290,6 +292,7 @@ export declare const Info: Schema.Struct<{
290
292
  google: string & import("effect/Brand").Brand<"Provider.ID">;
291
293
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
292
294
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
295
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
293
296
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
294
297
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
295
298
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -302,6 +305,7 @@ export declare const Info: Schema.Struct<{
302
305
  google: string & import("effect/Brand").Brand<"Provider.ID">;
303
306
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
304
307
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
308
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
305
309
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
306
310
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
307
311
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -15,6 +15,7 @@ export declare const Info: Schema.Struct<{
15
15
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
16
16
  create: () => string & import("effect/Brand").Brand<"SessionID">;
17
17
  };
18
+ readonly userTitle: Schema.NullOr<Schema.String>;
18
19
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
19
20
  readonly size: Schema.Struct<{
20
21
  readonly cols: Schema.Int;
@@ -53,10 +54,14 @@ export interface CreateInput extends Schema.Schema.Type<typeof CreateInput> {
53
54
  }
54
55
  export declare const UpdateInput: Schema.Struct<{
55
56
  readonly attachmentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
56
- readonly size: Schema.Struct<{
57
+ readonly size: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
57
58
  readonly cols: Schema.Int;
58
59
  readonly rows: Schema.Int;
59
- }>;
60
+ }>>>, Schema.optionalKey<Schema.Struct<{
61
+ readonly cols: Schema.Int;
62
+ readonly rows: Schema.Int;
63
+ }>>, never, never>;
64
+ readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.String>>>, Schema.optionalKey<Schema.NullOr<Schema.String>>, never, never>;
60
65
  }>;
61
66
  export interface UpdateInput extends Schema.Schema.Type<typeof UpdateInput> {
62
67
  }
@@ -76,6 +81,7 @@ export declare const Snapshot: Schema.Struct<{
76
81
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
77
82
  create: () => string & import("effect/Brand").Brand<"SessionID">;
78
83
  };
84
+ readonly userTitle: Schema.NullOr<Schema.String>;
79
85
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
80
86
  readonly size: Schema.Struct<{
81
87
  readonly cols: Schema.Int;
@@ -161,6 +167,7 @@ export declare const Added: Schema.Struct<{
161
167
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
162
168
  create: () => string & import("effect/Brand").Brand<"SessionID">;
163
169
  };
170
+ readonly userTitle: Schema.NullOr<Schema.String>;
164
171
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
165
172
  readonly size: Schema.Struct<{
166
173
  readonly cols: Schema.Int;
@@ -195,6 +202,7 @@ export declare const Added: Schema.Struct<{
195
202
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
196
203
  create: () => string & import("effect/Brand").Brand<"SessionID">;
197
204
  };
205
+ readonly userTitle: Schema.NullOr<Schema.String>;
198
206
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
199
207
  readonly size: Schema.Struct<{
200
208
  readonly cols: Schema.Int;
@@ -256,6 +264,99 @@ export declare const Removed: Schema.Struct<{
256
264
  };
257
265
  }>;
258
266
  };
267
+ export declare const Updated: Schema.Struct<{
268
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
269
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
270
+ };
271
+ readonly created: Schema.Finite;
272
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
273
+ readonly type: Schema.Literal<"persistent-pty.updated">;
274
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
275
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
276
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
277
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
278
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
279
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
280
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
281
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
282
+ }>, never, never>;
283
+ }>>>, Schema.optionalKey<Schema.Struct<{
284
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
285
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
286
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
287
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
288
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
289
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
290
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
291
+ }>, never, never>;
292
+ }>>, never, never>;
293
+ readonly data: Schema.Struct<{
294
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
295
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
296
+ };
297
+ readonly terminal: Schema.Struct<{
298
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
299
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
300
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
301
+ };
302
+ readonly title: Schema.String;
303
+ readonly command: Schema.String;
304
+ readonly args: Schema.$Array<Schema.String>;
305
+ readonly cwd: Schema.String;
306
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
307
+ readonly pid: Schema.Int;
308
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
309
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
310
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
311
+ };
312
+ readonly userTitle: Schema.NullOr<Schema.String>;
313
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
314
+ readonly size: Schema.Struct<{
315
+ readonly cols: Schema.Int;
316
+ readonly rows: Schema.Int;
317
+ }>;
318
+ readonly output: Schema.Struct<{
319
+ readonly head: Schema.Int;
320
+ readonly tail: Schema.Int;
321
+ }>;
322
+ }>;
323
+ }>;
324
+ }> & {
325
+ type: "persistent-pty.updated";
326
+ durability: "ephemeral";
327
+ durable: undefined;
328
+ data: Schema.Struct<{
329
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
330
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
331
+ };
332
+ readonly terminal: Schema.Struct<{
333
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
334
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
335
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
336
+ };
337
+ readonly title: Schema.String;
338
+ readonly command: Schema.String;
339
+ readonly args: Schema.$Array<Schema.String>;
340
+ readonly cwd: Schema.String;
341
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
342
+ readonly pid: Schema.Int;
343
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
344
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
345
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
346
+ };
347
+ readonly userTitle: Schema.NullOr<Schema.String>;
348
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
349
+ readonly size: Schema.Struct<{
350
+ readonly cols: Schema.Int;
351
+ readonly rows: Schema.Int;
352
+ }>;
353
+ readonly output: Schema.Struct<{
354
+ readonly head: Schema.Int;
355
+ readonly tail: Schema.Int;
356
+ }>;
357
+ }>;
358
+ }>;
359
+ };
259
360
  export declare const Event: {
260
361
  Added: Schema.Struct<{
261
362
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
@@ -302,6 +403,7 @@ export declare const Event: {
302
403
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
303
404
  create: () => string & import("effect/Brand").Brand<"SessionID">;
304
405
  };
406
+ readonly userTitle: Schema.NullOr<Schema.String>;
305
407
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
306
408
  readonly size: Schema.Struct<{
307
409
  readonly cols: Schema.Int;
@@ -336,6 +438,7 @@ export declare const Event: {
336
438
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
337
439
  create: () => string & import("effect/Brand").Brand<"SessionID">;
338
440
  };
441
+ readonly userTitle: Schema.NullOr<Schema.String>;
339
442
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
340
443
  readonly size: Schema.Struct<{
341
444
  readonly cols: Schema.Int;
@@ -397,6 +500,99 @@ export declare const Event: {
397
500
  };
398
501
  }>;
399
502
  };
503
+ Updated: Schema.Struct<{
504
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
505
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
506
+ };
507
+ readonly created: Schema.Finite;
508
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
509
+ readonly type: Schema.Literal<"persistent-pty.updated">;
510
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
511
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
512
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
513
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
514
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
515
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
516
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
517
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
518
+ }>, never, never>;
519
+ }>>>, Schema.optionalKey<Schema.Struct<{
520
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
521
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
522
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
523
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
524
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
525
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
526
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
527
+ }>, never, never>;
528
+ }>>, never, never>;
529
+ readonly data: Schema.Struct<{
530
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
531
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
532
+ };
533
+ readonly terminal: Schema.Struct<{
534
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
535
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
536
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
537
+ };
538
+ readonly title: Schema.String;
539
+ readonly command: Schema.String;
540
+ readonly args: Schema.$Array<Schema.String>;
541
+ readonly cwd: Schema.String;
542
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
543
+ readonly pid: Schema.Int;
544
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
545
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
546
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
547
+ };
548
+ readonly userTitle: Schema.NullOr<Schema.String>;
549
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
550
+ readonly size: Schema.Struct<{
551
+ readonly cols: Schema.Int;
552
+ readonly rows: Schema.Int;
553
+ }>;
554
+ readonly output: Schema.Struct<{
555
+ readonly head: Schema.Int;
556
+ readonly tail: Schema.Int;
557
+ }>;
558
+ }>;
559
+ }>;
560
+ }> & {
561
+ type: "persistent-pty.updated";
562
+ durability: "ephemeral";
563
+ durable: undefined;
564
+ data: Schema.Struct<{
565
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
566
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
567
+ };
568
+ readonly terminal: Schema.Struct<{
569
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
570
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
571
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
572
+ };
573
+ readonly title: Schema.String;
574
+ readonly command: Schema.String;
575
+ readonly args: Schema.$Array<Schema.String>;
576
+ readonly cwd: Schema.String;
577
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
578
+ readonly pid: Schema.Int;
579
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
580
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
581
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
582
+ };
583
+ readonly userTitle: Schema.NullOr<Schema.String>;
584
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
585
+ readonly size: Schema.Struct<{
586
+ readonly cols: Schema.Int;
587
+ readonly rows: Schema.Int;
588
+ }>;
589
+ readonly output: Schema.Struct<{
590
+ readonly head: Schema.Int;
591
+ readonly tail: Schema.Int;
592
+ }>;
593
+ }>;
594
+ }>;
595
+ };
400
596
  Definitions: readonly [Schema.Struct<{
401
597
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
402
598
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -442,6 +638,7 @@ export declare const Event: {
442
638
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
443
639
  create: () => string & import("effect/Brand").Brand<"SessionID">;
444
640
  };
641
+ readonly userTitle: Schema.NullOr<Schema.String>;
445
642
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
446
643
  readonly size: Schema.Struct<{
447
644
  readonly cols: Schema.Int;
@@ -476,6 +673,7 @@ export declare const Event: {
476
673
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
477
674
  create: () => string & import("effect/Brand").Brand<"SessionID">;
478
675
  };
676
+ readonly userTitle: Schema.NullOr<Schema.String>;
479
677
  readonly foregroundProcess: Schema.NullOr<Schema.String>;
480
678
  readonly size: Schema.Struct<{
481
679
  readonly cols: Schema.Int;
@@ -535,5 +733,97 @@ export declare const Event: {
535
733
  ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
536
734
  };
537
735
  }>;
736
+ }, Schema.Struct<{
737
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
738
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
739
+ };
740
+ readonly created: Schema.Finite;
741
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
742
+ readonly type: Schema.Literal<"persistent-pty.updated">;
743
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
744
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
745
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
746
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
747
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
748
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
749
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
750
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
751
+ }>, never, never>;
752
+ }>>>, Schema.optionalKey<Schema.Struct<{
753
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
754
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
755
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
756
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
757
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
758
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
759
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
760
+ }>, never, never>;
761
+ }>>, never, never>;
762
+ readonly data: Schema.Struct<{
763
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
764
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
765
+ };
766
+ readonly terminal: Schema.Struct<{
767
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
768
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
769
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
770
+ };
771
+ readonly title: Schema.String;
772
+ readonly command: Schema.String;
773
+ readonly args: Schema.$Array<Schema.String>;
774
+ readonly cwd: Schema.String;
775
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
776
+ readonly pid: Schema.Int;
777
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
778
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
779
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
780
+ };
781
+ readonly userTitle: Schema.NullOr<Schema.String>;
782
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
783
+ readonly size: Schema.Struct<{
784
+ readonly cols: Schema.Int;
785
+ readonly rows: Schema.Int;
786
+ }>;
787
+ readonly output: Schema.Struct<{
788
+ readonly head: Schema.Int;
789
+ readonly tail: Schema.Int;
790
+ }>;
791
+ }>;
792
+ }>;
793
+ }> & {
794
+ type: "persistent-pty.updated";
795
+ durability: "ephemeral";
796
+ durable: undefined;
797
+ data: Schema.Struct<{
798
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
799
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
800
+ };
801
+ readonly terminal: Schema.Struct<{
802
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
803
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
804
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
805
+ };
806
+ readonly title: Schema.String;
807
+ readonly command: Schema.String;
808
+ readonly args: Schema.$Array<Schema.String>;
809
+ readonly cwd: Schema.String;
810
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
811
+ readonly pid: Schema.Int;
812
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
813
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
814
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
815
+ };
816
+ readonly userTitle: Schema.NullOr<Schema.String>;
817
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
818
+ readonly size: Schema.Struct<{
819
+ readonly cols: Schema.Int;
820
+ readonly rows: Schema.Int;
821
+ }>;
822
+ readonly output: Schema.Struct<{
823
+ readonly head: Schema.Int;
824
+ readonly tail: Schema.Int;
825
+ }>;
826
+ }>;
827
+ }>;
538
828
  }];
539
829
  };
@@ -7,6 +7,7 @@ import { Session } from "./session.js";
7
7
  export const Info = Schema.Struct({
8
8
  ...Pty.Info.fields,
9
9
  sessionID: Session.ID,
10
+ userTitle: Schema.NullOr(Schema.String),
10
11
  foregroundProcess: Schema.NullOr(Schema.String),
11
12
  size: Schema.Struct({ cols: PositiveInt, rows: PositiveInt }),
12
13
  output: Schema.Struct({ head: NonNegativeInt, tail: NonNegativeInt }),
@@ -27,7 +28,8 @@ export const CreateInput = Schema.Struct({
27
28
  }).annotate({ identifier: "PersistentPty.CreateInput" });
28
29
  export const UpdateInput = Schema.Struct({
29
30
  attachmentID: optional(Schema.String),
30
- size: Schema.Struct({ cols: PositiveInt, rows: PositiveInt }),
31
+ size: optional(Schema.Struct({ cols: PositiveInt, rows: PositiveInt })),
32
+ title: optional(Schema.NullOr(Schema.String)),
31
33
  }).annotate({ identifier: "PersistentPty.UpdateInput" });
32
34
  export const Snapshot = Schema.Struct({
33
35
  info: Info,
@@ -52,4 +54,5 @@ export const ReadResult = Schema.Struct({
52
54
  }).annotate({ identifier: "PersistentPty.ReadResult" });
53
55
  export const Added = ephemeral({ type: "persistent-pty.added", schema: { sessionID: Session.ID, terminal: Info } });
54
56
  export const Removed = ephemeral({ type: "persistent-pty.removed", schema: { sessionID: Session.ID, ptyID: Pty.ID } });
55
- export const Event = { Added, Removed, Definitions: inventory(Added, Removed) };
57
+ export const Updated = ephemeral({ type: "persistent-pty.updated", schema: { sessionID: Session.ID, terminal: Info } });
58
+ export const Event = { Added, Removed, Updated, Definitions: inventory(Added, Removed, Updated) };
@@ -7,6 +7,7 @@ export declare const ID: Schema.brand<Schema.String, "Provider.ID"> & {
7
7
  google: string & import("effect/Brand").Brand<"Provider.ID">;
8
8
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
9
9
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
10
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
10
11
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
11
12
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
12
13
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -253,6 +254,7 @@ export declare const Info: Schema.Struct<{
253
254
  google: string & import("effect/Brand").Brand<"Provider.ID">;
254
255
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
255
256
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
257
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
256
258
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
257
259
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
258
260
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -266,6 +268,7 @@ export declare const Info: Schema.Struct<{
266
268
  google: string & import("effect/Brand").Brand<"Provider.ID">;
267
269
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
268
270
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
271
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
269
272
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
270
273
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
271
274
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
@@ -278,6 +281,7 @@ export declare const Info: Schema.Struct<{
278
281
  google: string & import("effect/Brand").Brand<"Provider.ID">;
279
282
  googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
280
283
  githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
284
+ claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
281
285
  amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
282
286
  azure: string & import("effect/Brand").Brand<"Provider.ID">;
283
287
  openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
package/dist/provider.js CHANGED
@@ -11,6 +11,7 @@ export const ID = Schema.String.pipe(Schema.brand("Provider.ID"), Schema.annotat
11
11
  google: schema.make("google"),
12
12
  googleVertex: schema.make("google-vertex"),
13
13
  githubCopilot: schema.make("github-copilot"),
14
+ claudeAgent: schema.make("claude-agent"),
14
15
  amazonBedrock: schema.make("amazon-bedrock"),
15
16
  azure: schema.make("azure"),
16
17
  openrouter: schema.make("openrouter"),