@opencode/schema 0.0.0-dev-1325 → 0.0.0-dev-1328
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/mcp.js +1 -1
- package/package.json +1 -1
package/dist/automation.js
CHANGED
|
@@ -117,7 +117,7 @@ export const CodeActionInput = Schema.Struct({
|
|
|
117
117
|
type: Schema.tag("code"),
|
|
118
118
|
code: Schema.String.check(Schema.isMinLength(1)).annotate({
|
|
119
119
|
description: [
|
|
120
|
-
"Code Mode JavaScript run on each trigger with no model (
|
|
120
|
+
"Code Mode JavaScript run on each trigger with no model (32 KB output cap).",
|
|
121
121
|
'Call tools statically as tools.<ns>.<tool>(...) or tools["ns-name"].tool(...); each is authorized once at creation to run unattended.',
|
|
122
122
|
"Receives input = { state, now, runs, args } (also globals): state starts null, now is epoch ms, runs counts earlier runs.",
|
|
123
123
|
"Event triggers also receive input.event = { id, timestamp, data }; data follows the event type's payloadSchema.",
|
package/dist/mcp.js
CHANGED
|
@@ -16,7 +16,7 @@ export class TimeoutConfig extends Schema.Class("Mcp.TimeoutConfig")({
|
|
|
16
16
|
}
|
|
17
17
|
export const Protocol = Schema.Literals(["legacy", "auto", "2026-07-28"]).annotate({
|
|
18
18
|
identifier: "Mcp.Protocol",
|
|
19
|
-
description: 'MCP protocol negotiation. "
|
|
19
|
+
description: 'MCP protocol negotiation. "auto" (default) probes for the 2026-07-28 revision and falls back to legacy when the server does not support it. "legacy" opens with the initialize handshake and speaks protocol revisions up to 2025-11-25. "2026-07-28" requires that revision and fails otherwise.',
|
|
20
20
|
});
|
|
21
21
|
export class LocalConfig extends Schema.Class("Mcp.LocalConfig")({
|
|
22
22
|
type: Schema.Literal("local"),
|