@opencode/schema 0.0.0-dev-686 → 0.0.0-dev-703

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.
@@ -2,6 +2,7 @@ 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 all_flags: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
5
6
  readonly part_rows: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
6
7
  readonly image_generate: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Boolean, Schema.Struct<{
7
8
  readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.decodeTo<Schema.Struct<{
@@ -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
+ all_flags: Schema.Boolean.pipe(optional).annotate({
12
+ 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
+ }),
11
14
  ...Record.map(ConfigFlag.registry, (description) => Schema.Boolean.pipe(optional).annotate({
12
15
  description: `${description} Defaults to on in local and dev builds and off in releases.`,
13
16
  })),
@@ -1,7 +1,10 @@
1
1
  export * as ConfigFlag from "./flag.js";
2
+ /** The `OPENCODE_FLAGS` entry that turns every flag on, as in `all,-media_blob`. It is not a flag key. */
3
+ export declare const wildcard = "all";
2
4
  /**
3
5
  * Every feature flag, by key, with what it turns on. A flag is on in local and dev builds and off in released ones;
4
- * `experimental.<key>` in config and `OPENCODE_FLAGS` override that. Read one with Core's `Flag.enabled("<key>")`.
6
+ * `experimental.<key>` in config and `OPENCODE_FLAGS` override that, and `OPENCODE_FLAGS=all` or
7
+ * `experimental.all_flags: true` turn every flag on. Read one with Core's `Flag.enabled("<key>")`.
5
8
  */
6
9
  export declare const registry: {
7
10
  readonly todo: "Enable the experimental todowrite tool.";
@@ -1,7 +1,10 @@
1
1
  export * as ConfigFlag from "./flag.js";
2
+ /** The `OPENCODE_FLAGS` entry that turns every flag on, as in `all,-media_blob`. It is not a flag key. */
3
+ export const wildcard = "all";
2
4
  /**
3
5
  * Every feature flag, by key, with what it turns on. A flag is on in local and dev builds and off in released ones;
4
- * `experimental.<key>` in config and `OPENCODE_FLAGS` override that. Read one with Core's `Flag.enabled("<key>")`.
6
+ * `experimental.<key>` in config and `OPENCODE_FLAGS` override that, and `OPENCODE_FLAGS=all` or
7
+ * `experimental.all_flags: true` turn every flag on. Read one with Core's `Flag.enabled("<key>")`.
5
8
  */
6
9
  export const registry = {
7
10
  todo: "Enable the experimental todowrite tool.",
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-686",
4
+ "version": "0.0.0-dev-703",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {