@opencode-ai/schema 0.0.0-beta-18155 → 0.0.0-beta-18230

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.
@@ -41,7 +41,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
41
41
  };
42
42
  readonly created: Schema.Finite;
43
43
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
44
- readonly type: Schema.Literal<"integration.updated">;
44
+ readonly type: Schema.Literal<"credential.updated">;
45
45
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
46
46
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
47
47
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -63,7 +63,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
63
63
  }>>, never, never>;
64
64
  readonly data: Schema.Struct<{}>;
65
65
  }> & {
66
- type: "integration.updated";
66
+ type: "credential.updated";
67
67
  durability: "ephemeral";
68
68
  durable: undefined;
69
69
  data: Schema.Struct<{}>;
@@ -73,7 +73,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
73
73
  };
74
74
  readonly created: Schema.Finite;
75
75
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
76
- readonly type: Schema.Literal<"integration.connection.updated">;
76
+ readonly type: Schema.Literal<"credential.switched">;
77
77
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
78
78
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
79
79
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -95,14 +95,52 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
95
95
  }>>, never, never>;
96
96
  readonly data: Schema.Struct<{
97
97
  readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
98
+ readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
99
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
100
+ }>;
98
101
  }>;
99
102
  }> & {
100
- type: "integration.connection.updated";
103
+ type: "credential.switched";
101
104
  durability: "ephemeral";
102
105
  durable: undefined;
103
106
  data: Schema.Struct<{
104
107
  readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
108
+ readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
109
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
110
+ }>;
105
111
  }>;
112
+ }, Schema.Struct<{
113
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
114
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
115
+ };
116
+ readonly created: Schema.Finite;
117
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
118
+ readonly type: Schema.Literal<"integration.updated">;
119
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
120
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
121
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
122
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
123
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
124
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
125
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
126
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
127
+ }>, never, never>;
128
+ }>>>, Schema.optionalKey<Schema.Struct<{
129
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
130
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
131
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
132
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
133
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
134
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
135
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
136
+ }>, never, never>;
137
+ }>>, never, never>;
138
+ readonly data: Schema.Struct<{}>;
139
+ }> & {
140
+ type: "integration.updated";
141
+ durability: "ephemeral";
142
+ durable: undefined;
143
+ data: Schema.Struct<{}>;
106
144
  }, Schema.Struct<{
107
145
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
108
146
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -3925,6 +3963,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3925
3963
  readonly messageID: Schema.String;
3926
3964
  readonly id: Schema.String;
3927
3965
  }>]>>, never, never>;
3966
+ readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3928
3967
  readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
3929
3968
  create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
3930
3969
  };
@@ -3951,6 +3990,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
3951
3990
  readonly messageID: Schema.String;
3952
3991
  readonly id: Schema.String;
3953
3992
  }>]>>, never, never>;
3993
+ readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
3954
3994
  readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
3955
3995
  create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
3956
3996
  };
@@ -4073,6 +4113,92 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4073
4113
  durability: "ephemeral";
4074
4114
  durable: undefined;
4075
4115
  data: Schema.Struct<{}>;
4116
+ }, Schema.Struct<{
4117
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
4118
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
4119
+ };
4120
+ readonly created: Schema.Finite;
4121
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
4122
+ readonly type: Schema.Literal<"project.updated">;
4123
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4124
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4125
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4126
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4127
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4128
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4129
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4130
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4131
+ }>, never, never>;
4132
+ }>>>, Schema.optionalKey<Schema.Struct<{
4133
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4134
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4135
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4136
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4137
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4138
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4139
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4140
+ }>, never, never>;
4141
+ }>>, never, never>;
4142
+ readonly data: Schema.Struct<{
4143
+ readonly id: Schema.brand<Schema.String, "Project.ID"> & {
4144
+ global: string & import("effect/Brand").Brand<"Project.ID">;
4145
+ };
4146
+ readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
4147
+ readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
4148
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4149
+ readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4150
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4151
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4152
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4153
+ }>>>, Schema.optionalKey<Schema.Struct<{
4154
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4155
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4156
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4157
+ }>>, never, never>;
4158
+ readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4159
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4160
+ }>>>, Schema.optionalKey<Schema.Struct<{
4161
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4162
+ }>>, never, never>;
4163
+ readonly time: Schema.Struct<{
4164
+ readonly created: Schema.Int;
4165
+ readonly updated: Schema.Int;
4166
+ readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4167
+ }>;
4168
+ readonly sandboxes: Schema.$Array<Schema.String>;
4169
+ }>;
4170
+ }> & {
4171
+ type: "project.updated";
4172
+ durability: "ephemeral";
4173
+ durable: undefined;
4174
+ data: Schema.Struct<{
4175
+ readonly id: Schema.brand<Schema.String, "Project.ID"> & {
4176
+ global: string & import("effect/Brand").Brand<"Project.ID">;
4177
+ };
4178
+ readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
4179
+ readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
4180
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4181
+ readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4182
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4183
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4184
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4185
+ }>>>, Schema.optionalKey<Schema.Struct<{
4186
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4187
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4188
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4189
+ }>>, never, never>;
4190
+ readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4191
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4192
+ }>>>, Schema.optionalKey<Schema.Struct<{
4193
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
4194
+ }>>, never, never>;
4195
+ readonly time: Schema.Struct<{
4196
+ readonly created: Schema.Int;
4197
+ readonly updated: Schema.Int;
4198
+ readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4199
+ }>;
4200
+ readonly sandboxes: Schema.$Array<Schema.String>;
4201
+ }>;
4076
4202
  }, Schema.Struct<{
4077
4203
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
4078
4204
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -4471,6 +4597,150 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
4471
4597
  ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
4472
4598
  };
4473
4599
  }>;
4600
+ }, Schema.Struct<{
4601
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
4602
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
4603
+ };
4604
+ readonly created: Schema.Finite;
4605
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
4606
+ readonly type: Schema.Literal<"persistent-pty.added">;
4607
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4608
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4609
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4610
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4611
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4612
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4613
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4614
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4615
+ }>, never, never>;
4616
+ }>>>, Schema.optionalKey<Schema.Struct<{
4617
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4618
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4619
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4620
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4621
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4622
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4623
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4624
+ }>, never, never>;
4625
+ }>>, never, never>;
4626
+ readonly data: Schema.Struct<{
4627
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4628
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4629
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4630
+ };
4631
+ readonly terminal: Schema.Struct<{
4632
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4633
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4634
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4635
+ };
4636
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
4637
+ readonly size: Schema.Struct<{
4638
+ readonly cols: Schema.Int;
4639
+ readonly rows: Schema.Int;
4640
+ }>;
4641
+ readonly output: Schema.Struct<{
4642
+ readonly head: Schema.Int;
4643
+ readonly tail: Schema.Int;
4644
+ }>;
4645
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
4646
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
4647
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
4648
+ };
4649
+ readonly title: Schema.String;
4650
+ readonly command: Schema.String;
4651
+ readonly args: Schema.$Array<Schema.String>;
4652
+ readonly cwd: Schema.String;
4653
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
4654
+ readonly pid: Schema.Int;
4655
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4656
+ }>;
4657
+ }>;
4658
+ }> & {
4659
+ type: "persistent-pty.added";
4660
+ durability: "ephemeral";
4661
+ durable: undefined;
4662
+ data: Schema.Struct<{
4663
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4664
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4665
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4666
+ };
4667
+ readonly terminal: Schema.Struct<{
4668
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4669
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4670
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4671
+ };
4672
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
4673
+ readonly size: Schema.Struct<{
4674
+ readonly cols: Schema.Int;
4675
+ readonly rows: Schema.Int;
4676
+ }>;
4677
+ readonly output: Schema.Struct<{
4678
+ readonly head: Schema.Int;
4679
+ readonly tail: Schema.Int;
4680
+ }>;
4681
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
4682
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
4683
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
4684
+ };
4685
+ readonly title: Schema.String;
4686
+ readonly command: Schema.String;
4687
+ readonly args: Schema.$Array<Schema.String>;
4688
+ readonly cwd: Schema.String;
4689
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
4690
+ readonly pid: Schema.Int;
4691
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
4692
+ }>;
4693
+ }>;
4694
+ }, Schema.Struct<{
4695
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
4696
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
4697
+ };
4698
+ readonly created: Schema.Finite;
4699
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
4700
+ readonly type: Schema.Literal<"persistent-pty.removed">;
4701
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
4702
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4703
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4704
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4705
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4706
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4707
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4708
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4709
+ }>, never, never>;
4710
+ }>>>, Schema.optionalKey<Schema.Struct<{
4711
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
4712
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
4713
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4714
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4715
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
4716
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
4717
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
4718
+ }>, never, never>;
4719
+ }>>, never, never>;
4720
+ readonly data: Schema.Struct<{
4721
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4722
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4723
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4724
+ };
4725
+ readonly ptyID: Schema.brand<Schema.String, "PtyID"> & {
4726
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
4727
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
4728
+ };
4729
+ }>;
4730
+ }> & {
4731
+ type: "persistent-pty.removed";
4732
+ durability: "ephemeral";
4733
+ durable: undefined;
4734
+ data: Schema.Struct<{
4735
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
4736
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
4737
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
4738
+ };
4739
+ readonly ptyID: Schema.brand<Schema.String, "PtyID"> & {
4740
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
4741
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
4742
+ };
4743
+ }>;
4474
4744
  }, Schema.Struct<{
4475
4745
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
4476
4746
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -5533,7 +5803,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5533
5803
  };
5534
5804
  readonly created: Schema.Finite;
5535
5805
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5536
- readonly type: Schema.Literal<"integration.updated">;
5806
+ readonly type: Schema.Literal<"credential.updated">;
5537
5807
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5538
5808
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5539
5809
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -5555,7 +5825,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5555
5825
  }>>, never, never>;
5556
5826
  readonly data: Schema.Struct<{}>;
5557
5827
  }> & {
5558
- type: "integration.updated";
5828
+ type: "credential.updated";
5559
5829
  durability: "ephemeral";
5560
5830
  durable: undefined;
5561
5831
  data: Schema.Struct<{}>;
@@ -5565,7 +5835,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5565
5835
  };
5566
5836
  readonly created: Schema.Finite;
5567
5837
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5568
- readonly type: Schema.Literal<"integration.connection.updated">;
5838
+ readonly type: Schema.Literal<"credential.switched">;
5569
5839
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5570
5840
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5571
5841
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -5587,13 +5857,19 @@ export declare const Definitions: readonly [Schema.Struct<{
5587
5857
  }>>, never, never>;
5588
5858
  readonly data: Schema.Struct<{
5589
5859
  readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
5860
+ readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
5861
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
5862
+ }>;
5590
5863
  }>;
5591
5864
  }> & {
5592
- type: "integration.connection.updated";
5865
+ type: "credential.switched";
5593
5866
  durability: "ephemeral";
5594
5867
  durable: undefined;
5595
5868
  data: Schema.Struct<{
5596
5869
  readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
5870
+ readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
5871
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
5872
+ }>;
5597
5873
  }>;
5598
5874
  }, Schema.Struct<{
5599
5875
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
@@ -5601,7 +5877,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5601
5877
  };
5602
5878
  readonly created: Schema.Finite;
5603
5879
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5604
- readonly type: Schema.Literal<"catalog.updated">;
5880
+ readonly type: Schema.Literal<"integration.updated">;
5605
5881
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5606
5882
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5607
5883
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -5623,7 +5899,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5623
5899
  }>>, never, never>;
5624
5900
  readonly data: Schema.Struct<{}>;
5625
5901
  }> & {
5626
- type: "catalog.updated";
5902
+ type: "integration.updated";
5627
5903
  durability: "ephemeral";
5628
5904
  durable: undefined;
5629
5905
  data: Schema.Struct<{}>;
@@ -5633,7 +5909,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5633
5909
  };
5634
5910
  readonly created: Schema.Finite;
5635
5911
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5636
- readonly type: Schema.Literal<"agent.updated">;
5912
+ readonly type: Schema.Literal<"catalog.updated">;
5637
5913
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5638
5914
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5639
5915
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -5655,7 +5931,7 @@ export declare const Definitions: readonly [Schema.Struct<{
5655
5931
  }>>, never, never>;
5656
5932
  readonly data: Schema.Struct<{}>;
5657
5933
  }> & {
5658
- type: "agent.updated";
5934
+ type: "catalog.updated";
5659
5935
  durability: "ephemeral";
5660
5936
  durable: undefined;
5661
5937
  data: Schema.Struct<{}>;
@@ -5665,12 +5941,44 @@ export declare const Definitions: readonly [Schema.Struct<{
5665
5941
  };
5666
5942
  readonly created: Schema.Finite;
5667
5943
  readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5668
- readonly type: Schema.Literal<"session.created">;
5669
- readonly durable: Schema.Struct<{
5670
- readonly aggregateID: Schema.String;
5671
- readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5672
- readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
5673
- }>;
5944
+ readonly type: Schema.Literal<"agent.updated">;
5945
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5946
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5947
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
5948
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
5949
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
5950
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
5951
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
5952
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
5953
+ }>, never, never>;
5954
+ }>>>, Schema.optionalKey<Schema.Struct<{
5955
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5956
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
5957
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
5958
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
5959
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
5960
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
5961
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
5962
+ }>, never, never>;
5963
+ }>>, never, never>;
5964
+ readonly data: Schema.Struct<{}>;
5965
+ }> & {
5966
+ type: "agent.updated";
5967
+ durability: "ephemeral";
5968
+ durable: undefined;
5969
+ data: Schema.Struct<{}>;
5970
+ }, Schema.Struct<{
5971
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
5972
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
5973
+ };
5974
+ readonly created: Schema.Finite;
5975
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
5976
+ readonly type: Schema.Literal<"session.created">;
5977
+ readonly durable: Schema.Struct<{
5978
+ readonly aggregateID: Schema.String;
5979
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
5980
+ readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
5981
+ }>;
5674
5982
  readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
5675
5983
  readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
5676
5984
  readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
@@ -9489,6 +9797,7 @@ export declare const Definitions: readonly [Schema.Struct<{
9489
9797
  readonly messageID: Schema.String;
9490
9798
  readonly id: Schema.String;
9491
9799
  }>]>>, never, never>;
9800
+ readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9492
9801
  readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
9493
9802
  create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
9494
9803
  };
@@ -9515,6 +9824,7 @@ export declare const Definitions: readonly [Schema.Struct<{
9515
9824
  readonly messageID: Schema.String;
9516
9825
  readonly id: Schema.String;
9517
9826
  }>]>>, never, never>;
9827
+ readonly message: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9518
9828
  readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
9519
9829
  create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
9520
9830
  };
@@ -9637,6 +9947,92 @@ export declare const Definitions: readonly [Schema.Struct<{
9637
9947
  durability: "ephemeral";
9638
9948
  durable: undefined;
9639
9949
  data: Schema.Struct<{}>;
9950
+ }, Schema.Struct<{
9951
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
9952
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
9953
+ };
9954
+ readonly created: Schema.Finite;
9955
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
9956
+ readonly type: Schema.Literal<"project.updated">;
9957
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
9958
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
9959
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
9960
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9961
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9962
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
9963
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9964
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9965
+ }>, never, never>;
9966
+ }>>>, Schema.optionalKey<Schema.Struct<{
9967
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
9968
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
9969
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9970
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9971
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
9972
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9973
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9974
+ }>, never, never>;
9975
+ }>>, never, never>;
9976
+ readonly data: Schema.Struct<{
9977
+ readonly id: Schema.brand<Schema.String, "Project.ID"> & {
9978
+ global: string & import("effect/Brand").Brand<"Project.ID">;
9979
+ };
9980
+ readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
9981
+ readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
9982
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9983
+ readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
9984
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9985
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9986
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9987
+ }>>>, Schema.optionalKey<Schema.Struct<{
9988
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9989
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9990
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9991
+ }>>, never, never>;
9992
+ readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
9993
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9994
+ }>>>, Schema.optionalKey<Schema.Struct<{
9995
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
9996
+ }>>, never, never>;
9997
+ readonly time: Schema.Struct<{
9998
+ readonly created: Schema.Int;
9999
+ readonly updated: Schema.Int;
10000
+ readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10001
+ }>;
10002
+ readonly sandboxes: Schema.$Array<Schema.String>;
10003
+ }>;
10004
+ }> & {
10005
+ type: "project.updated";
10006
+ durability: "ephemeral";
10007
+ durable: undefined;
10008
+ data: Schema.Struct<{
10009
+ readonly id: Schema.brand<Schema.String, "Project.ID"> & {
10010
+ global: string & import("effect/Brand").Brand<"Project.ID">;
10011
+ };
10012
+ readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
10013
+ readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
10014
+ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10015
+ readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10016
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10017
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10018
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10019
+ }>>>, Schema.optionalKey<Schema.Struct<{
10020
+ readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10021
+ readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10022
+ readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10023
+ }>>, never, never>;
10024
+ readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10025
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10026
+ }>>>, Schema.optionalKey<Schema.Struct<{
10027
+ readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
10028
+ }>>, never, never>;
10029
+ readonly time: Schema.Struct<{
10030
+ readonly created: Schema.Int;
10031
+ readonly updated: Schema.Int;
10032
+ readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10033
+ }>;
10034
+ readonly sandboxes: Schema.$Array<Schema.String>;
10035
+ }>;
9640
10036
  }, Schema.Struct<{
9641
10037
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
9642
10038
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -10035,6 +10431,150 @@ export declare const Definitions: readonly [Schema.Struct<{
10035
10431
  ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
10036
10432
  };
10037
10433
  }>;
10434
+ }, Schema.Struct<{
10435
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
10436
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
10437
+ };
10438
+ readonly created: Schema.Finite;
10439
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
10440
+ readonly type: Schema.Literal<"persistent-pty.added">;
10441
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10442
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10443
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10444
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10445
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10446
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10447
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10448
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10449
+ }>, never, never>;
10450
+ }>>>, Schema.optionalKey<Schema.Struct<{
10451
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10452
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10453
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10454
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10455
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10456
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10457
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10458
+ }>, never, never>;
10459
+ }>>, never, never>;
10460
+ readonly data: Schema.Struct<{
10461
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10462
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10463
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10464
+ };
10465
+ readonly terminal: Schema.Struct<{
10466
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10467
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10468
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10469
+ };
10470
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
10471
+ readonly size: Schema.Struct<{
10472
+ readonly cols: Schema.Int;
10473
+ readonly rows: Schema.Int;
10474
+ }>;
10475
+ readonly output: Schema.Struct<{
10476
+ readonly head: Schema.Int;
10477
+ readonly tail: Schema.Int;
10478
+ }>;
10479
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
10480
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
10481
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
10482
+ };
10483
+ readonly title: Schema.String;
10484
+ readonly command: Schema.String;
10485
+ readonly args: Schema.$Array<Schema.String>;
10486
+ readonly cwd: Schema.String;
10487
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
10488
+ readonly pid: Schema.Int;
10489
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10490
+ }>;
10491
+ }>;
10492
+ }> & {
10493
+ type: "persistent-pty.added";
10494
+ durability: "ephemeral";
10495
+ durable: undefined;
10496
+ data: Schema.Struct<{
10497
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10498
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10499
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10500
+ };
10501
+ readonly terminal: Schema.Struct<{
10502
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10503
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10504
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10505
+ };
10506
+ readonly foregroundProcess: Schema.NullOr<Schema.String>;
10507
+ readonly size: Schema.Struct<{
10508
+ readonly cols: Schema.Int;
10509
+ readonly rows: Schema.Int;
10510
+ }>;
10511
+ readonly output: Schema.Struct<{
10512
+ readonly head: Schema.Int;
10513
+ readonly tail: Schema.Int;
10514
+ }>;
10515
+ readonly id: Schema.brand<Schema.String, "PtyID"> & {
10516
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
10517
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
10518
+ };
10519
+ readonly title: Schema.String;
10520
+ readonly command: Schema.String;
10521
+ readonly args: Schema.$Array<Schema.String>;
10522
+ readonly cwd: Schema.String;
10523
+ readonly status: Schema.Literals<readonly ["running", "exited"]>;
10524
+ readonly pid: Schema.Int;
10525
+ readonly exitCode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
10526
+ }>;
10527
+ }>;
10528
+ }, Schema.Struct<{
10529
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
10530
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
10531
+ };
10532
+ readonly created: Schema.Finite;
10533
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
10534
+ readonly type: Schema.Literal<"persistent-pty.removed">;
10535
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10536
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10537
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10538
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10539
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10540
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10541
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10542
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10543
+ }>, never, never>;
10544
+ }>>>, Schema.optionalKey<Schema.Struct<{
10545
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10546
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10547
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10548
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10549
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10550
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10551
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10552
+ }>, never, never>;
10553
+ }>>, never, never>;
10554
+ readonly data: Schema.Struct<{
10555
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10556
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10557
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10558
+ };
10559
+ readonly ptyID: Schema.brand<Schema.String, "PtyID"> & {
10560
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
10561
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
10562
+ };
10563
+ }>;
10564
+ }> & {
10565
+ type: "persistent-pty.removed";
10566
+ durability: "ephemeral";
10567
+ durable: undefined;
10568
+ data: Schema.Struct<{
10569
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
10570
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
10571
+ descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
10572
+ };
10573
+ readonly ptyID: Schema.brand<Schema.String, "PtyID"> & {
10574
+ create: () => string & import("effect/Brand").Brand<"PtyID">;
10575
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
10576
+ };
10577
+ }>;
10038
10578
  }, Schema.Struct<{
10039
10579
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
10040
10580
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -10967,92 +11507,6 @@ export declare const Definitions: readonly [Schema.Struct<{
10967
11507
  data: Schema.Struct<{
10968
11508
  readonly file: Schema.String;
10969
11509
  }>;
10970
- }, Schema.Struct<{
10971
- readonly id: Schema.brand<Schema.String, "Event.ID"> & {
10972
- create: () => string & import("effect/Brand").Brand<"Event.ID">;
10973
- };
10974
- readonly created: Schema.Finite;
10975
- readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
10976
- readonly type: Schema.Literal<"project.updated">;
10977
- readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
10978
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10979
- readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10980
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10981
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10982
- }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10983
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10984
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10985
- }>, never, never>;
10986
- }>>>, Schema.optionalKey<Schema.Struct<{
10987
- readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
10988
- readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
10989
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10990
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10991
- }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
10992
- ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
10993
- create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
10994
- }>, never, never>;
10995
- }>>, never, never>;
10996
- readonly data: Schema.Struct<{
10997
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
10998
- global: string & import("effect/Brand").Brand<"Project.ID">;
10999
- };
11000
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
11001
- readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
11002
- readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11003
- readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
11004
- readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11005
- readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11006
- readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11007
- }>>>, Schema.optionalKey<Schema.Struct<{
11008
- readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11009
- readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11010
- readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11011
- }>>, never, never>;
11012
- readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
11013
- readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11014
- }>>>, Schema.optionalKey<Schema.Struct<{
11015
- readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11016
- }>>, never, never>;
11017
- readonly time: Schema.Struct<{
11018
- readonly created: Schema.Int;
11019
- readonly updated: Schema.Int;
11020
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11021
- }>;
11022
- readonly sandboxes: Schema.$Array<Schema.String>;
11023
- }>;
11024
- }> & {
11025
- type: "project.updated";
11026
- durability: "ephemeral";
11027
- durable: undefined;
11028
- data: Schema.Struct<{
11029
- readonly id: Schema.brand<Schema.String, "Project.ID"> & {
11030
- global: string & import("effect/Brand").Brand<"Project.ID">;
11031
- };
11032
- readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
11033
- readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
11034
- readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11035
- readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
11036
- readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11037
- readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11038
- readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11039
- }>>>, Schema.optionalKey<Schema.Struct<{
11040
- readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11041
- readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11042
- readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11043
- }>>, never, never>;
11044
- readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
11045
- readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11046
- }>>>, Schema.optionalKey<Schema.Struct<{
11047
- readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
11048
- }>>, never, never>;
11049
- readonly time: Schema.Struct<{
11050
- readonly created: Schema.Int;
11051
- readonly updated: Schema.Int;
11052
- readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
11053
- }>;
11054
- readonly sandboxes: Schema.$Array<Schema.String>;
11055
- }>;
11056
11510
  }, Schema.Struct<{
11057
11511
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
11058
11512
  create: () => string & import("effect/Brand").Brand<"Event.ID">;