@opencode/schema 0.0.0-dev-1332 → 0.0.0-dev-1334
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/automation.js +1 -1
- package/dist/config/experimental.d.ts +0 -1
- package/dist/config/flag.d.ts +0 -1
- package/dist/config/flag.js +0 -1
- package/dist/config.js +1 -1
- package/package.json +1 -1
package/dist/automation.js
CHANGED
|
@@ -139,7 +139,7 @@ export const ActionInput = Schema.Union([PromptActionInput, CodeActionInput, She
|
|
|
139
139
|
export const Request = Schema.Struct({
|
|
140
140
|
name: Schema.String.check(Schema.isMinLength(1)).annotate({ description: "A short label shown in lists." }),
|
|
141
141
|
trigger: Trigger.annotate({
|
|
142
|
-
description: 'When it runs: { type: "at", at: "in 20 minutes" | "2026-10-27T09:00" }, { type: "every", every: "1 hour" } or { type: "cron", cron: "0 9 * * 1-5" }, each with an optional tz. Or { type: "event", server, event, args? } for a connected MCP server advertising push delivery
|
|
142
|
+
description: 'When it runs: { type: "at", at: "in 20 minutes" | "2026-10-27T09:00" }, { type: "every", every: "1 hour" } or { type: "cron", cron: "0 9 * * 1-5" }, each with an optional tz. Or { type: "event", server, event, args? } for a connected MCP server advertising push delivery.',
|
|
143
143
|
}),
|
|
144
144
|
action: ActionInput.annotate({
|
|
145
145
|
description: 'What it does: { type: "prompt", prompt, to? } sends a prompt; { type: "code", code, args? } runs Code Mode; { type: "shell", command } runs a fixed shell command.',
|
|
@@ -103,7 +103,6 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
103
103
|
readonly full_codemode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
104
104
|
readonly home_memory: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
105
105
|
readonly machines: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
106
|
-
readonly mcp_events: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
107
106
|
readonly media_blob: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
108
107
|
readonly project_overlay: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
109
108
|
readonly recommended_api: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
package/dist/config/flag.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export declare const registry: {
|
|
|
11
11
|
readonly artifacts: "Enable experimental artifacts backed by pluggable providers.";
|
|
12
12
|
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.";
|
|
13
13
|
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.";
|
|
14
|
-
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
14
|
readonly recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.";
|
|
16
15
|
readonly full_codemode: "Enable the full Code Mode work in progress.";
|
|
17
16
|
readonly machines: "Let a tool path name a machine, as in gpu:/work/train.py, and act on that machine's files and processes.";
|
package/dist/config/flag.js
CHANGED
|
@@ -11,7 +11,6 @@ export const registry = {
|
|
|
11
11
|
artifacts: "Enable experimental artifacts backed by pluggable providers.",
|
|
12
12
|
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.",
|
|
13
13
|
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.",
|
|
14
|
-
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
14
|
recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.",
|
|
16
15
|
full_codemode: "Enable the full Code Mode work in progress.",
|
|
17
16
|
machines: "Let a tool path name a machine, as in gpu:/work/train.py, and act on that machine's files and processes.",
|
package/dist/config.js
CHANGED
|
@@ -54,7 +54,7 @@ export class Info extends Schema.Class("Config.Info")({
|
|
|
54
54
|
description: "IANA time zone for schedules, e.g. America/Los_Angeles. Defaults to the server's local zone",
|
|
55
55
|
}),
|
|
56
56
|
automations: Schema.Boolean.pipe(optional).annotate({
|
|
57
|
-
description: "Run prompts, shell commands or Code Mode actions on a timer, on a cron schedule, or on push events from connected MCP servers. Defaults to true; set false to disable.
|
|
57
|
+
description: "Run prompts, shell commands or Code Mode actions on a timer, on a cron schedule, or on push events from connected MCP servers. Defaults to true; set false to disable.",
|
|
58
58
|
}),
|
|
59
59
|
permissions: Permission.Ruleset.pipe(optional).annotate({
|
|
60
60
|
description: "Ordered tool permission rules applied to agent tool use",
|