@opencode/schema 0.0.0-dev-1068 → 0.0.0-dev-1111

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.
@@ -63,6 +63,7 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
63
63
  readonly artifacts: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
64
64
  readonly background_compaction: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
65
65
  readonly codemode_vm: 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>;
66
67
  readonly media_blob: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
67
68
  readonly schedules: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
68
69
  readonly todo: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
@@ -13,5 +13,6 @@ export declare const registry: {
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
15
  readonly codemode_vm: "Run the Code Mode execute tool on the experimental bytecode VM instead of the legacy interpreter.";
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.";
16
17
  };
17
18
  export type Key = keyof typeof registry;
@@ -13,4 +13,5 @@ export const registry = {
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
15
  codemode_vm: "Run the Code Mode execute tool on the experimental bytecode VM instead of the legacy interpreter.",
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.",
16
17
  };
@@ -1107,7 +1107,7 @@ export declare const UsageRecorded: Schema.Struct<{
1107
1107
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1108
1108
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1109
1109
  };
1110
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
1110
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
1111
1111
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
1112
1112
  zero: number & import("effect/Brand").Brand<"Money.USD">;
1113
1113
  };
@@ -1132,7 +1132,7 @@ export declare const UsageRecorded: Schema.Struct<{
1132
1132
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
1133
1133
  create: () => string & import("effect/Brand").Brand<"SessionID">;
1134
1134
  };
1135
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
1135
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
1136
1136
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
1137
1137
  zero: number & import("effect/Brand").Brand<"Money.USD">;
1138
1138
  };
@@ -12461,7 +12461,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12461
12461
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
12462
12462
  create: () => string & import("effect/Brand").Brand<"SessionID">;
12463
12463
  };
12464
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
12464
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
12465
12465
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
12466
12466
  zero: number & import("effect/Brand").Brand<"Money.USD">;
12467
12467
  };
@@ -12486,7 +12486,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
12486
12486
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
12487
12487
  create: () => string & import("effect/Brand").Brand<"SessionID">;
12488
12488
  };
12489
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
12489
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
12490
12490
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
12491
12491
  zero: number & import("effect/Brand").Brand<"Money.USD">;
12492
12492
  };
@@ -16859,7 +16859,7 @@ export declare const Durable: Schema.toTaggedUnion<"type", readonly [...((Schema
16859
16859
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
16860
16860
  create: () => string & import("effect/Brand").Brand<"SessionID">;
16861
16861
  };
16862
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
16862
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
16863
16863
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
16864
16864
  zero: number & import("effect/Brand").Brand<"Money.USD">;
16865
16865
  };
@@ -16884,7 +16884,7 @@ export declare const Durable: Schema.toTaggedUnion<"type", readonly [...((Schema
16884
16884
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
16885
16885
  create: () => string & import("effect/Brand").Brand<"SessionID">;
16886
16886
  };
16887
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
16887
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
16888
16888
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
16889
16889
  zero: number & import("effect/Brand").Brand<"Money.USD">;
16890
16890
  };
@@ -20943,7 +20943,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.toTagged
20943
20943
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
20944
20944
  create: () => string & import("effect/Brand").Brand<"SessionID">;
20945
20945
  };
20946
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
20946
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
20947
20947
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
20948
20948
  zero: number & import("effect/Brand").Brand<"Money.USD">;
20949
20949
  };
@@ -20968,7 +20968,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.toTagged
20968
20968
  readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
20969
20969
  create: () => string & import("effect/Brand").Brand<"SessionID">;
20970
20970
  };
20971
- readonly source: Schema.Literals<readonly ["title", "compaction"]>;
20971
+ readonly source: Schema.Literals<readonly ["title", "compaction", "generate"]>;
20972
20972
  readonly cost: Schema.brand<Schema.Finite, "Money.USD"> & {
20973
20973
  zero: number & import("effect/Brand").Brand<"Money.USD">;
20974
20974
  };
@@ -137,7 +137,7 @@ export const UsageRecorded = Event.durable({
137
137
  ...options,
138
138
  schema: {
139
139
  ...Base,
140
- source: Schema.Literals(["title", "compaction"]),
140
+ source: Schema.Literals(["title", "compaction", "generate"]),
141
141
  cost: Money.USD,
142
142
  tokens: TokenUsage.Info,
143
143
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-1068",
4
+ "version": "0.0.0-dev-1111",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {