@opencode/schema 0.0.0-dev-1352 → 0.0.0-dev-1358
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.
|
@@ -99,6 +99,8 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
99
99
|
readonly effect: Schema.Literals<readonly ["allow", "deny"]>;
|
|
100
100
|
}>, never, never>>>, never, never>;
|
|
101
101
|
readonly artifacts: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
102
|
+
readonly browser_stream_tunnel: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
103
|
+
readonly codemode_agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
102
104
|
readonly compaction_jobs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
103
105
|
readonly console_watches: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
|
104
106
|
readonly full_codemode: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
|
package/dist/config/flag.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const registry: {
|
|
|
13
13
|
readonly recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.";
|
|
14
14
|
readonly model_speeds: "Offer a model's faster and slower service tiers (fast, flex…) as speeds of that model: one entry in the model picker with a speed selector, instead of a separate entry per tier such as gpt-5.5-fast.";
|
|
15
15
|
readonly full_codemode: "Enable the full Code Mode work in progress.";
|
|
16
|
+
readonly codemode_agents: "Let Code Mode scripts start subagents with agent() and make single model calls with llm(), each optionally returning a value checked against a schema, so one script can fan work out, verify it and combine the results.";
|
|
16
17
|
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
18
|
readonly home_memory: "Give sessions in the home folder a persistent memory/, docs/ and scripts/ workspace the agent can use freely, tidied by a daily maintenance session that reads the day's home-folder conversations.";
|
|
18
19
|
readonly project_overlay: "Load a personal config dir for each project from ~/.config/opencode/project/<project-id>/, read like an extra .opencode dir that ranks above the repo's own, and let home memory keep the skills it builds for the user there.";
|
|
@@ -20,8 +21,11 @@ export declare const registry: {
|
|
|
20
21
|
readonly mcp_skills: "Load skills from MCP servers that offer them (the io.modelcontextprotocol/skills extension), named <server>:<skill>. A server that offers skills no longer has its instructions included.";
|
|
21
22
|
readonly compaction_jobs: "List a session's subagents, with their session IDs, and its running background jobs in its compaction checkpoints, so the agent can still continue or account for them after compacting.";
|
|
22
23
|
readonly sqlite_fts: "Build an SQLite full-text index of session titles and message text in the background, and enable the opencode.session.search and opencode.session.read tools. The index covers every session in the database and starts while any loaded location enables it; SQLite keeps it current from then on, also after this is turned off.";
|
|
24
|
+
readonly browser_stream_tunnel: "Stream remote desktop browser TCP traffic over one prewarmed, ticket-authenticated binary WebSocket per live browser attachment instead of per-chunk RPC.";
|
|
23
25
|
};
|
|
24
26
|
export type Key = keyof typeof registry;
|
|
27
|
+
/** Flags the server reports to clients at `GET /api/experimental/flag`, so they can adapt their UI. */
|
|
28
|
+
export declare const ui: readonly Key[];
|
|
25
29
|
export declare const optInOnly: ReadonlySet<Key>;
|
|
26
30
|
/** Flags that stay off outside local and dev builds, whatever `OPENCODE_FLAGS` or config say. */
|
|
27
31
|
export declare const localOnly: ReadonlySet<Key>;
|
package/dist/config/flag.js
CHANGED
|
@@ -13,6 +13,7 @@ export const registry = {
|
|
|
13
13
|
recommended_api: "Use each model's recommended API from models.dev instead of the first API it lists.",
|
|
14
14
|
model_speeds: "Offer a model's faster and slower service tiers (fast, flex…) as speeds of that model: one entry in the model picker with a speed selector, instead of a separate entry per tier such as gpt-5.5-fast.",
|
|
15
15
|
full_codemode: "Enable the full Code Mode work in progress.",
|
|
16
|
+
codemode_agents: "Let Code Mode scripts start subagents with agent() and make single model calls with llm(), each optionally returning a value checked against a schema, so one script can fan work out, verify it and combine the results.",
|
|
16
17
|
machines: "Let a tool path name a machine, as in gpu:/work/train.py, and act on that machine's files and processes.",
|
|
17
18
|
home_memory: "Give sessions in the home folder a persistent memory/, docs/ and scripts/ workspace the agent can use freely, tidied by a daily maintenance session that reads the day's home-folder conversations.",
|
|
18
19
|
project_overlay: "Load a personal config dir for each project from ~/.config/opencode/project/<project-id>/, read like an extra .opencode dir that ranks above the repo's own, and let home memory keep the skills it builds for the user there.",
|
|
@@ -20,7 +21,10 @@ export const registry = {
|
|
|
20
21
|
mcp_skills: "Load skills from MCP servers that offer them (the io.modelcontextprotocol/skills extension), named <server>:<skill>. A server that offers skills no longer has its instructions included.",
|
|
21
22
|
compaction_jobs: "List a session's subagents, with their session IDs, and its running background jobs in its compaction checkpoints, so the agent can still continue or account for them after compacting.",
|
|
22
23
|
sqlite_fts: "Build an SQLite full-text index of session titles and message text in the background, and enable the opencode.session.search and opencode.session.read tools. The index covers every session in the database and starts while any loaded location enables it; SQLite keeps it current from then on, also after this is turned off.",
|
|
24
|
+
browser_stream_tunnel: "Stream remote desktop browser TCP traffic over one prewarmed, ticket-authenticated binary WebSocket per live browser attachment instead of per-chunk RPC.",
|
|
23
25
|
};
|
|
26
|
+
/** Flags the server reports to clients at `GET /api/experimental/flag`, so they can adapt their UI. */
|
|
27
|
+
export const ui = ["full_codemode"];
|
|
24
28
|
export const optInOnly = new Set(["todo", "opencode_api"]);
|
|
25
29
|
/** Flags that stay off outside local and dev builds, whatever `OPENCODE_FLAGS` or config say. */
|
|
26
30
|
export const localOnly = new Set(["opencode_api"]);
|