@opencode-ai/sdk 1.0.179 → 1.0.181

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.
@@ -1243,6 +1243,10 @@ export type Config = {
1243
1243
  * Small model to use for tasks like title generation in the format of provider/model
1244
1244
  */
1245
1245
  small_model?: string;
1246
+ /**
1247
+ * Default agent to use when none is specified. Must be a primary agent. Falls back to 'build' if not set or if the specified agent is invalid.
1248
+ */
1249
+ default_agent?: string;
1246
1250
  /**
1247
1251
  * Custom username to display in conversations instead of system username
1248
1252
  */
@@ -1565,6 +1569,7 @@ export type Agent = {
1565
1569
  mode: "subagent" | "primary" | "all";
1566
1570
  native?: boolean;
1567
1571
  hidden?: boolean;
1572
+ default?: boolean;
1568
1573
  topP?: number;
1569
1574
  temperature?: number;
1570
1575
  color?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "1.0.179",
4
+ "version": "1.0.181",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",