@opencode/schema 2.2.6 → 2.3.0

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/agent.d.ts CHANGED
@@ -93,6 +93,15 @@ export declare const Info: Schema.Struct<{
93
93
  }>>, never, never>;
94
94
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
95
95
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
96
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
97
+ readonly cert: Schema.String;
98
+ readonly key: Schema.String;
99
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
100
+ }>>>, Schema.optionalKey<Schema.Struct<{
101
+ readonly cert: Schema.String;
102
+ readonly key: Schema.String;
103
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
104
+ }>>, never, never>;
96
105
  }>, readonly [Schema.$Record<Schema.String, Schema.Any>]>>;
97
106
  readonly headers: Schema.$Record<Schema.String, Schema.String>;
98
107
  readonly body: Schema.$Record<Schema.String, Schema.Any>;
@@ -2,9 +2,9 @@ export * as ConfigExperimental from "./experimental.js";
2
2
  import { Schema } from "effect";
3
3
  declare const Info_base: Schema.Class<Info, Schema.Struct<{
4
4
  readonly portable_shell_scanner: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
5
+ readonly codemode_vm: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
5
6
  readonly all_flags: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
6
7
  readonly part_rows: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
7
- readonly codemode_vm: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
8
8
  readonly image_generate: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Boolean, Schema.Struct<{
9
9
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.Struct<{
10
10
  readonly providerID: Schema.brand<Schema.String, "Provider.ID">;
@@ -63,8 +63,11 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
63
63
  }>, never, never>>>, never, never>;
64
64
  readonly artifacts: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
65
65
  readonly background_compaction: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
66
+ readonly console_watches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
67
+ readonly mcp_events: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
66
68
  readonly media_blob: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
67
69
  readonly schedules: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
70
+ readonly shell_timeout_background: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
68
71
  readonly todo: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
69
72
  }>, {}>;
70
73
  export declare class Info extends Info_base {
@@ -8,6 +8,9 @@ export class Info extends Schema.Class("ConfigExperimental.Info")({
8
8
  portable_shell_scanner: Schema.Boolean.pipe(optional).annotate({
9
9
  description: "Deprecated: the built-in shell permission scanner is now always enabled.",
10
10
  }),
11
+ codemode_vm: Schema.Boolean.pipe(optional).annotate({
12
+ description: "Deprecated: ignored because Code Mode always runs on the VM.",
13
+ }),
11
14
  all_flags: Schema.Boolean.pipe(optional).annotate({
12
15
  description: "Turn every feature flag on regardless of the build channel, like OPENCODE_FLAGS=all; explicit per-flag settings still win, and false is not a kill switch.",
13
16
  }),
@@ -17,9 +20,6 @@ export class Info extends Schema.Class("ConfigExperimental.Info")({
17
20
  part_rows: Schema.Boolean.pipe(optional).annotate({
18
21
  description: "Write each assistant part as its own session_part row instead of rewriting the whole message on every event. Defaults to false.",
19
22
  }),
20
- codemode_vm: Schema.Boolean.pipe(optional).annotate({
21
- description: "Run the Code Mode execute tool on the experimental bytecode VM instead of the legacy interpreter. Defaults to false.",
22
- }),
23
23
  image_generate: Schema.Union([
24
24
  Schema.Boolean,
25
25
  Schema.Struct({
@@ -12,5 +12,8 @@ export declare const registry: {
12
12
  readonly media_blob: "Store new session media once in a deduplicated blob table instead of inline in every message row.";
13
13
  readonly schedules: "Enable experimental scheduled tasks that wake a session with a prompt.";
14
14
  readonly artifacts: "Enable experimental artifacts backed by pluggable providers.";
15
+ readonly shell_timeout_background: "Move foreground shell commands to the background when their timeout expires.";
16
+ readonly console_watches: "Watch Slack threads, GitHub pull requests, issues, commits and Actions runs, and the workspace's MCP servers' events through OpenCode Console, and wake sessions when they change.";
17
+ readonly mcp_events: "Enable experimental MCP Events, a draft MCP extension: declare support to MCP servers and read the events of servers that offer them.";
15
18
  };
16
19
  export type Key = keyof typeof registry;
@@ -12,4 +12,7 @@ export const registry = {
12
12
  media_blob: "Store new session media once in a deduplicated blob table instead of inline in every message row.",
13
13
  schedules: "Enable experimental scheduled tasks that wake a session with a prompt.",
14
14
  artifacts: "Enable experimental artifacts backed by pluggable providers.",
15
+ shell_timeout_background: "Move foreground shell commands to the background when their timeout expires.",
16
+ console_watches: "Watch Slack threads, GitHub pull requests, issues, commits and Actions runs, and the workspace's MCP servers' events through OpenCode Console, and wake sessions when they change.",
17
+ mcp_events: "Enable experimental MCP Events, a draft MCP extension: declare support to MCP servers and read the events of servers that offer them.",
15
18
  };
@@ -35,6 +35,15 @@ export declare const Settings: Schema.StructWithRest<Schema.Struct<{
35
35
  }>>, never, never>;
36
36
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
37
37
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
38
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
39
+ readonly cert: Schema.String;
40
+ readonly key: Schema.String;
41
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
42
+ }>>>, Schema.optionalKey<Schema.Struct<{
43
+ readonly cert: Schema.String;
44
+ readonly key: Schema.String;
45
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
46
+ }>>, never, never>;
38
47
  }>, readonly [Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>>]>;
39
48
  export type Settings = typeof Settings.Type;
40
49
  export declare const ModelSettings: Schema.StructWithRest<Schema.Struct<{
@@ -104,6 +113,15 @@ export declare const Overlays: {
104
113
  }>>, never, never>;
105
114
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
106
115
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
116
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
117
+ readonly cert: Schema.String;
118
+ readonly key: Schema.String;
119
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
120
+ }>>>, Schema.optionalKey<Schema.Struct<{
121
+ readonly cert: Schema.String;
122
+ readonly key: Schema.String;
123
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
124
+ }>>, never, never>;
107
125
  }>, readonly [Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>>]>>>, Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
108
126
  readonly timeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>, never, never>;
109
127
  readonly headerTimeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>, never, never>;
@@ -138,6 +156,15 @@ export declare const Overlays: {
138
156
  }>>, never, never>;
139
157
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
140
158
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
159
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
160
+ readonly cert: Schema.String;
161
+ readonly key: Schema.String;
162
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
163
+ }>>>, Schema.optionalKey<Schema.Struct<{
164
+ readonly cert: Schema.String;
165
+ readonly key: Schema.String;
166
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
167
+ }>>, never, never>;
141
168
  }>, readonly [Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>>]>>, never, never>;
142
169
  headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
143
170
  body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
@@ -299,6 +326,7 @@ declare const ModelConfig_base: Schema.Class<ModelConfig, Schema.Struct<{
299
326
  readonly package: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
300
327
  readonly capabilities: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
301
328
  readonly tools: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
329
+ readonly freeform: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Literals<("lark" | "regex" | "text")[]>>>>, Schema.optionalKey<Schema.$Array<Schema.Literals<("lark" | "regex" | "text")[]>>>, never, never>;
302
330
  readonly input: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
303
331
  readonly output: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
304
332
  readonly temperature: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
@@ -331,6 +359,7 @@ declare const ModelConfig_base: Schema.Class<ModelConfig, Schema.Struct<{
331
359
  }>]>>, never, never>;
332
360
  }>>>, Schema.optionalKey<Schema.Struct<{
333
361
  readonly tools: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
362
+ readonly freeform: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Literals<("lark" | "regex" | "text")[]>>>>, Schema.optionalKey<Schema.$Array<Schema.Literals<("lark" | "regex" | "text")[]>>>, never, never>;
334
363
  readonly input: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
335
364
  readonly output: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.String>>>, Schema.optionalKey<Schema.$Array<Schema.String>>, never, never>;
336
365
  readonly temperature: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
@@ -458,6 +487,15 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
458
487
  }>>, never, never>;
459
488
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
460
489
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
490
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
491
+ readonly cert: Schema.String;
492
+ readonly key: Schema.String;
493
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
494
+ }>>>, Schema.optionalKey<Schema.Struct<{
495
+ readonly cert: Schema.String;
496
+ readonly key: Schema.String;
497
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
498
+ }>>, never, never>;
461
499
  }>, readonly [Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>>]>>>, Schema.optionalKey<Schema.StructWithRest<Schema.Struct<{
462
500
  readonly timeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>, never, never>;
463
501
  readonly headerTimeout: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Literal<false>]>>, never, never>;
@@ -492,6 +530,15 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
492
530
  }>>, never, never>;
493
531
  readonly transport: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["http", "websocket"]>>>, Schema.optionalKey<Schema.Literals<readonly ["http", "websocket"]>>, never, never>;
494
532
  readonly encoding: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["zstd", "gzip", "none"]>>>, Schema.optionalKey<Schema.Literals<readonly ["zstd", "gzip", "none"]>>, never, never>;
533
+ readonly tls: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
534
+ readonly cert: Schema.String;
535
+ readonly key: Schema.String;
536
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
537
+ }>>>, Schema.optionalKey<Schema.Struct<{
538
+ readonly cert: Schema.String;
539
+ readonly key: Schema.String;
540
+ readonly passphrase: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
541
+ }>>, never, never>;
495
542
  }>, readonly [Schema.$Record<Schema.String, Schema.UndefinedOr<Schema.Codec<Schema.Json, Schema.Json, never, never>>>]>>, never, never>;
496
543
  readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
497
544
  readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
@@ -75,6 +75,7 @@ class ModelConfig extends Schema.Class("Config.Model")({
75
75
  // Partial: unset fields fall back to the base model's capabilities, then the defaults.
76
76
  capabilities: Capabilities.mapFields((fields) => ({
77
77
  tools: optional(fields.tools),
78
+ freeform: fields.freeform,
78
79
  input: optional(fields.input),
79
80
  output: optional(fields.output),
80
81
  temperature: fields.temperature,
@@ -8,7 +8,7 @@ export class Info extends Schema.Class("Config.Warming")({
8
8
  interval: Schema.Union([Schema.Literal("auto"), Schema.DurationFromString])
9
9
  .pipe(optional)
10
10
  .annotate({
11
- description: 'Idle time between keep-alive requests (default: "4 minutes"). "auto" uses 90% of the model\'s cache.ttl and skips models without one.',
11
+ description: 'Idle time between keep-alive requests (default: "auto"). "auto" uses 90% of the model\'s cache.ttl, or 4 minutes when it has none.',
12
12
  }),
13
13
  duration: Schema.DurationFromString.pipe(optional).annotate({
14
14
  description: 'Time after the last active request to keep a session warm (default: "30 minutes")',
@@ -31,12 +31,22 @@ export declare const Event: {
31
31
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
32
32
  }>, never, never>;
33
33
  }>>, never, never>;
34
- readonly data: Schema.Struct<{}>;
34
+ readonly data: Schema.Struct<{
35
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
36
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
37
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
38
+ };
39
+ }>;
35
40
  }> & {
36
41
  type: "credential.updated";
37
42
  durability: "ephemeral";
38
43
  durable: undefined;
39
- data: Schema.Struct<{}>;
44
+ data: Schema.Struct<{
45
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
46
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
47
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
48
+ };
49
+ }>;
40
50
  };
41
51
  Switched: Schema.Struct<{
42
52
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
@@ -107,12 +117,22 @@ export declare const Event: {
107
117
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
108
118
  }>, never, never>;
109
119
  }>>, never, never>;
110
- readonly data: Schema.Struct<{}>;
120
+ readonly data: Schema.Struct<{
121
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
122
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
123
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
124
+ };
125
+ }>;
111
126
  }> & {
112
127
  type: "credential.updated";
113
128
  durability: "ephemeral";
114
129
  durable: undefined;
115
- data: Schema.Struct<{}>;
130
+ data: Schema.Struct<{
131
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
132
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
133
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
134
+ };
135
+ }>;
116
136
  }, Schema.Struct<{
117
137
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
118
138
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -6,9 +6,10 @@ import { IntegrationID, IntegrationMethodID } from "./integration-id.js";
6
6
  import { ascending } from "./identifier.js";
7
7
  import { NonNegativeInt, statics } from "./schema.js";
8
8
  export const ID = Schema.String.pipe(Schema.brand("Credential.ID"), Schema.annotate({ identifier: "Credential.ID" }), statics((schema) => ({ create: () => schema.make("cred_" + ascending()) })));
9
+ // A login was added, renamed or removed. Every change is to exactly one credential.
9
10
  const Updated = ephemeral({
10
11
  type: "credential.updated",
11
- schema: {},
12
+ schema: { integrationID: IntegrationID, credentialID: ID },
12
13
  });
13
14
  const Switched = ephemeral({
14
15
  type: "credential.switched",
@@ -92,12 +92,22 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
92
92
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
93
93
  }>, never, never>;
94
94
  }>>, never, never>;
95
- readonly data: Schema.Struct<{}>;
95
+ readonly data: Schema.Struct<{
96
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
97
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
98
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
99
+ };
100
+ }>;
96
101
  }> & {
97
102
  type: "credential.updated";
98
103
  durability: "ephemeral";
99
104
  durable: undefined;
100
- data: Schema.Struct<{}>;
105
+ data: Schema.Struct<{
106
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
107
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
108
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
109
+ };
110
+ }>;
101
111
  }, Schema.Struct<{
102
112
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
103
113
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -2538,6 +2548,62 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
2538
2548
  readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
2539
2549
  readonly started: Schema.Int;
2540
2550
  }>;
2551
+ }, Schema.Struct<{
2552
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
2553
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
2554
+ };
2555
+ readonly created: Schema.Finite;
2556
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
2557
+ readonly type: Schema.Literal<"session.step.first-token">;
2558
+ readonly durable: Schema.Struct<{
2559
+ readonly aggregateID: Schema.String;
2560
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
2561
+ readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
2562
+ }>;
2563
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
2564
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
2565
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
2566
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2567
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2568
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
2569
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2570
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2571
+ }>, never, never>;
2572
+ }>>>, Schema.optionalKey<Schema.Struct<{
2573
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
2574
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
2575
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2576
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2577
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
2578
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
2579
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
2580
+ }>, never, never>;
2581
+ }>>, never, never>;
2582
+ readonly data: Schema.Struct<{
2583
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
2584
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
2585
+ };
2586
+ readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
2587
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
2588
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
2589
+ };
2590
+ }>;
2591
+ }> & {
2592
+ type: "session.step.first-token";
2593
+ durability: "durable";
2594
+ durable: {
2595
+ readonly version: number;
2596
+ readonly aggregate: string;
2597
+ };
2598
+ data: Schema.Struct<{
2599
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
2600
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
2601
+ };
2602
+ readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
2603
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
2604
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
2605
+ };
2606
+ }>;
2541
2607
  }, Schema.Struct<{
2542
2608
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
2543
2609
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -6370,6 +6436,56 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
6370
6436
  data: Schema.Struct<{
6371
6437
  readonly server: Schema.String;
6372
6438
  }>;
6439
+ }, Schema.Struct<{
6440
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
6441
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
6442
+ };
6443
+ readonly created: Schema.Finite;
6444
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
6445
+ readonly type: Schema.Literal<"experimental.mcp.event">;
6446
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
6447
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
6448
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
6449
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6450
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6451
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
6452
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6453
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6454
+ }>, never, never>;
6455
+ }>>>, Schema.optionalKey<Schema.Struct<{
6456
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
6457
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
6458
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6459
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6460
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
6461
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
6462
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6463
+ }>, never, never>;
6464
+ }>>, never, never>;
6465
+ readonly data: Schema.Struct<{
6466
+ readonly id: Schema.String;
6467
+ readonly server: Schema.String;
6468
+ readonly name: Schema.String;
6469
+ readonly eventId: Schema.String;
6470
+ readonly timestamp: Schema.String;
6471
+ readonly data: Schema.Codec<Schema.Json, Schema.Json, never, never>;
6472
+ readonly cursor: Schema.NullOr<Schema.String>;
6473
+ readonly truncated: Schema.optional<Schema.Boolean>;
6474
+ }>;
6475
+ }> & {
6476
+ type: "experimental.mcp.event";
6477
+ durability: "ephemeral";
6478
+ durable: undefined;
6479
+ data: Schema.Struct<{
6480
+ readonly id: Schema.String;
6481
+ readonly server: Schema.String;
6482
+ readonly name: Schema.String;
6483
+ readonly eventId: Schema.String;
6484
+ readonly timestamp: Schema.String;
6485
+ readonly data: Schema.Codec<Schema.Json, Schema.Json, never, never>;
6486
+ readonly cursor: Schema.NullOr<Schema.String>;
6487
+ readonly truncated: Schema.optional<Schema.Boolean>;
6488
+ }>;
6373
6489
  }];
6374
6490
  export declare const Server: ReadonlyMap<string, Event.Definition<string, Schema.Codec<unknown, unknown, never, never>>>;
6375
6491
  export type ServerEvent = Schema.Schema.Type<(typeof ServerDefinitions)[number]>;
@@ -6466,12 +6582,22 @@ export declare const Definitions: readonly [Schema.Struct<{
6466
6582
  create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
6467
6583
  }>, never, never>;
6468
6584
  }>>, never, never>;
6469
- readonly data: Schema.Struct<{}>;
6585
+ readonly data: Schema.Struct<{
6586
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
6587
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
6588
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
6589
+ };
6590
+ }>;
6470
6591
  }> & {
6471
6592
  type: "credential.updated";
6472
6593
  durability: "ephemeral";
6473
6594
  durable: undefined;
6474
- data: Schema.Struct<{}>;
6595
+ data: Schema.Struct<{
6596
+ readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
6597
+ readonly credentialID: Schema.brand<Schema.String, "Credential.ID"> & {
6598
+ create: () => string & import("effect/Brand").Brand<"Credential.ID">;
6599
+ };
6600
+ }>;
6475
6601
  }, Schema.Struct<{
6476
6602
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
6477
6603
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -8912,6 +9038,62 @@ export declare const Definitions: readonly [Schema.Struct<{
8912
9038
  readonly snapshot: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Snapshot.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Snapshot.ID">>, never, never>;
8913
9039
  readonly started: Schema.Int;
8914
9040
  }>;
9041
+ }, Schema.Struct<{
9042
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
9043
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
9044
+ };
9045
+ readonly created: Schema.Finite;
9046
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
9047
+ readonly type: Schema.Literal<"session.step.first-token">;
9048
+ readonly durable: Schema.Struct<{
9049
+ readonly aggregateID: Schema.String;
9050
+ readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
9051
+ readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
9052
+ }>;
9053
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
9054
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
9055
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
9056
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9057
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9058
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
9059
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9060
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9061
+ }>, never, never>;
9062
+ }>>>, Schema.optionalKey<Schema.Struct<{
9063
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
9064
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
9065
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9066
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9067
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
9068
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
9069
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
9070
+ }>, never, never>;
9071
+ }>>, never, never>;
9072
+ readonly data: Schema.Struct<{
9073
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
9074
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
9075
+ };
9076
+ readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
9077
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
9078
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
9079
+ };
9080
+ }>;
9081
+ }> & {
9082
+ type: "session.step.first-token";
9083
+ durability: "durable";
9084
+ durable: {
9085
+ readonly version: number;
9086
+ readonly aggregate: string;
9087
+ };
9088
+ data: Schema.Struct<{
9089
+ readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
9090
+ create: () => string & import("effect/Brand").Brand<"SessionID">;
9091
+ };
9092
+ readonly assistantMessageID: Schema.brand<Schema.String, "Session.Message.ID"> & {
9093
+ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
9094
+ fromEvent: (eventID: string) => string & import("effect/Brand").Brand<"Session.Message.ID">;
9095
+ };
9096
+ }>;
8915
9097
  }, Schema.Struct<{
8916
9098
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
8917
9099
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -12646,6 +12828,92 @@ export declare const Definitions: readonly [Schema.Struct<{
12646
12828
  data: Schema.Struct<{
12647
12829
  readonly server: Schema.String;
12648
12830
  }>;
12831
+ }, Schema.Struct<{
12832
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
12833
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
12834
+ };
12835
+ readonly created: Schema.Finite;
12836
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
12837
+ readonly type: Schema.Literal<"experimental.mcp.event">;
12838
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
12839
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12840
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
12841
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12842
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12843
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
12844
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12845
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12846
+ }>, never, never>;
12847
+ }>>>, Schema.optionalKey<Schema.Struct<{
12848
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12849
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
12850
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12851
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12852
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
12853
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12854
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12855
+ }>, never, never>;
12856
+ }>>, never, never>;
12857
+ readonly data: Schema.Struct<{
12858
+ readonly id: Schema.String;
12859
+ readonly server: Schema.String;
12860
+ readonly name: Schema.String;
12861
+ readonly eventId: Schema.String;
12862
+ readonly timestamp: Schema.String;
12863
+ readonly data: Schema.Codec<Schema.Json, Schema.Json, never, never>;
12864
+ readonly cursor: Schema.NullOr<Schema.String>;
12865
+ readonly truncated: Schema.optional<Schema.Boolean>;
12866
+ }>;
12867
+ }> & {
12868
+ type: "experimental.mcp.event";
12869
+ durability: "ephemeral";
12870
+ durable: undefined;
12871
+ data: Schema.Struct<{
12872
+ readonly id: Schema.String;
12873
+ readonly server: Schema.String;
12874
+ readonly name: Schema.String;
12875
+ readonly eventId: Schema.String;
12876
+ readonly timestamp: Schema.String;
12877
+ readonly data: Schema.Codec<Schema.Json, Schema.Json, never, never>;
12878
+ readonly cursor: Schema.NullOr<Schema.String>;
12879
+ readonly truncated: Schema.optional<Schema.Boolean>;
12880
+ }>;
12881
+ }, Schema.Struct<{
12882
+ readonly id: Schema.brand<Schema.String, "Event.ID"> & {
12883
+ create: () => string & import("effect/Brand").Brand<"Event.ID">;
12884
+ };
12885
+ readonly created: Schema.Finite;
12886
+ readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
12887
+ readonly type: Schema.Literal<"experimental.mcp.subscription.changed">;
12888
+ readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
12889
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12890
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
12891
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12892
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12893
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
12894
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12895
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12896
+ }>, never, never>;
12897
+ }>>>, Schema.optionalKey<Schema.Struct<{
12898
+ readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
12899
+ readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
12900
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12901
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12902
+ }>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
12903
+ ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
12904
+ create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
12905
+ }>, never, never>;
12906
+ }>>, never, never>;
12907
+ readonly data: Schema.Struct<{
12908
+ readonly id: Schema.String;
12909
+ }>;
12910
+ }> & {
12911
+ type: "experimental.mcp.subscription.changed";
12912
+ durability: "ephemeral";
12913
+ durable: undefined;
12914
+ data: Schema.Struct<{
12915
+ readonly id: Schema.String;
12916
+ }>;
12649
12917
  }, Schema.Struct<{
12650
12918
  readonly id: Schema.brand<Schema.String, "Event.ID"> & {
12651
12919
  create: () => string & import("effect/Brand").Brand<"Event.ID">;
@@ -41,7 +41,7 @@ const foundationDefinitions = Event.inventory(...LocationEvent.Definitions, ...M
41
41
  const featureDefinitions = Event.inventory(...FileSystem.Event.Definitions, ...Reference.Event.Definitions, ...Permission.Event.Definitions, ...Plugin.Event.Definitions, ...Project.Event.Definitions, ...Worktree.Event.Definitions, ...Command.Event.Definitions, ...Config.Event.Definitions, ...Skill.Event.Definitions, ...Pty.Event.Definitions, ...PersistentPty.Event.Definitions, ...Shell.Event.Definitions, ...Form.Event.Definitions, ...WebSearch.Event.Definitions, ...Artifact.Event.Definitions);
42
42
  export const ServerDefinitions = Event.inventory(...foundationDefinitions, ...featureDefinitions,
43
43
  // Current events the TUI consumes from the public stream.
44
- ...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged);
44
+ ...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged, McpEvent.ExperimentalEvent);
45
45
  export const Server = Event.latest(ServerDefinitions);
46
46
  export const isServer = (event) => Server.has(event.type);
47
47
  export const Definitions = Event.inventory(...foundationDefinitions, ...InstallationEvent.Definitions, ...featureDefinitions, ...LspEvent.Definitions, ...TuiEvent.Definitions, ...McpEvent.Definitions, ...LegacyEventV1.Definitions, ...FileSystemV1.Event.Definitions, ...SessionStatusEvent.Definitions, ...VcsEvent.Definitions, ...WorkspaceEvent.Definitions, ...WorktreeEvent.Definitions, ...ServerEvent.Definitions);