@opencode-ai/schema 0.0.0-next-15075 → 0.0.0-next-15076
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/event-manifest.d.ts +36 -0
- package/dist/event-manifest.js +1 -1
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -7282,6 +7282,42 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
7282
7282
|
data: Schema.Struct<{
|
|
7283
7283
|
readonly server: Schema.String;
|
|
7284
7284
|
}>;
|
|
7285
|
+
}, Schema.Struct<{
|
|
7286
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7287
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7288
|
+
};
|
|
7289
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7290
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7291
|
+
readonly type: Schema.Literal<"mcp.resources.changed">;
|
|
7292
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7293
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7294
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7295
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7296
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7297
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7298
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7299
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7300
|
+
}>, never, never>;
|
|
7301
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7302
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7303
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7304
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7305
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7306
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "WorkspaceV2.ID"> & {
|
|
7307
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7308
|
+
create: () => string & import("effect/Brand").Brand<"WorkspaceV2.ID">;
|
|
7309
|
+
}>, never, never>;
|
|
7310
|
+
}>>, never, never>;
|
|
7311
|
+
readonly data: Schema.Struct<{
|
|
7312
|
+
readonly server: Schema.String;
|
|
7313
|
+
}>;
|
|
7314
|
+
}> & {
|
|
7315
|
+
type: "mcp.resources.changed";
|
|
7316
|
+
durability: "ephemeral";
|
|
7317
|
+
durable: undefined;
|
|
7318
|
+
data: Schema.Struct<{
|
|
7319
|
+
readonly server: Schema.String;
|
|
7320
|
+
}>;
|
|
7285
7321
|
}, Schema.Struct<{
|
|
7286
7322
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7287
7323
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
package/dist/event-manifest.js
CHANGED
|
@@ -43,7 +43,7 @@ const foundationDefinitions = Event.inventory(...ModelsDev.Event.Definitions, ..
|
|
|
43
43
|
const featureDefinitions = Event.inventory(...FileSystem.Event.Definitions, ...Reference.Event.Definitions, ...Permission.Event.Definitions, ...Plugin.Event.Definitions, ...ProjectDirectories.Event.Definitions, ...Command.Event.Definitions, ...Config.Event.Definitions, ...Skill.Event.Definitions, ...Pty.Event.Definitions, ...Shell.Event.Definitions, ...Question.Event.Definitions, ...Form.Event.Definitions);
|
|
44
44
|
export const ServerDefinitions = Event.inventory(...foundationDefinitions, ...featureDefinitions, ...SessionTodo.Event.Definitions,
|
|
45
45
|
// Current events the TUI consumes from the public stream.
|
|
46
|
-
...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged,
|
|
46
|
+
...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged,
|
|
47
47
|
// Shared transitional: V1 contracts the current TUI still consumes during
|
|
48
48
|
// the migration (permission.asked/replied, question.asked, session.error).
|
|
49
49
|
// Remove when the TUI moves to the current permission/question surfaces.
|