@opencode/schema 0.0.0-dev-1320 → 0.0.0-dev-1322
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.
|
@@ -103,8 +103,10 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
103
103
|
readonly automations: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
104
104
|
readonly console_watches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
105
105
|
readonly full_codemode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
106
|
+
readonly machines: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
106
107
|
readonly mcp_events: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
107
108
|
readonly media_blob: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
109
|
+
readonly recommended_api: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
108
110
|
readonly todo: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
109
111
|
}>, {}>;
|
|
110
112
|
export declare class Info extends Info_base {
|
|
@@ -36,7 +36,7 @@ export class Info extends Schema.Class("ConfigExperimental.Info")({
|
|
|
36
36
|
description: "Deprecated: use experimental.automations.",
|
|
37
37
|
}),
|
|
38
38
|
part_rows: Schema.Boolean.pipe(optional).annotate({
|
|
39
|
-
description: "Write each assistant part as its own session_part row instead of rewriting the whole message on every event. Defaults to false.",
|
|
39
|
+
description: "Write each assistant part as its own session_part row instead of rewriting the whole message on every event. Defaults to true; set false to fall back to whole-message writes.",
|
|
40
40
|
}),
|
|
41
41
|
image_generate: Schema.Union([
|
|
42
42
|
Schema.Boolean,
|
package/dist/config/flag.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ export declare const registry: {
|
|
|
13
13
|
readonly video_generate: "Enable experimental video generation: the HTTP API that starts a video job and stores the result, and the agent tool that saves the videos into the workspace.";
|
|
14
14
|
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.";
|
|
15
15
|
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.";
|
|
16
|
+
readonly recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.";
|
|
16
17
|
readonly full_codemode: "Enable the full Code Mode work in progress.";
|
|
18
|
+
readonly machines: "Let a tool path name a machine, as in gpu:/work/train.py, and act on that machine's files and processes.";
|
|
17
19
|
};
|
|
18
20
|
export type Key = keyof typeof registry;
|
|
19
21
|
export declare const optInOnly: ReadonlySet<Key>;
|
package/dist/config/flag.js
CHANGED
|
@@ -13,7 +13,9 @@ export const registry = {
|
|
|
13
13
|
video_generate: "Enable experimental video generation: the HTTP API that starts a video job and stores the result, and the agent tool that saves the videos into the workspace.",
|
|
14
14
|
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.",
|
|
15
15
|
mcp_events: "Enable experimental MCP Events, a draft MCP extension: declare support to MCP servers and read the events of servers that offer them.",
|
|
16
|
+
recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.",
|
|
16
17
|
full_codemode: "Enable the full Code Mode work in progress.",
|
|
18
|
+
machines: "Let a tool path name a machine, as in gpu:/work/train.py, and act on that machine's files and processes.",
|
|
17
19
|
};
|
|
18
20
|
export const optInOnly = new Set(["todo"]);
|
|
19
21
|
/** Earlier names of a flag, still read from `experimental.<name>` and `OPENCODE_FLAGS` when the new key is unset. */
|