@nikcli-ai/sdk 1.184.0 → 1.186.0

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.
@@ -1911,6 +1911,10 @@ export type AgentConfig = {
1911
1911
  * Maximum number of agentic iterations before forcing text-only response
1912
1912
  */
1913
1913
  steps?: number;
1914
+ /**
1915
+ * Sorting priority for agent cycling. Lower = earlier.
1916
+ */
1917
+ order?: number;
1914
1918
  /**
1915
1919
  * @deprecated Use 'steps' field instead.
1916
1920
  */
@@ -1990,8 +1994,16 @@ export type ProviderConfig = {
1990
1994
  [key: string]: unknown;
1991
1995
  };
1992
1996
  };
1997
+ /**
1998
+ * Hide this model from the picker (opencode #21038). Useful when a provider exposes models you don't have access to on your subscription tier.
1999
+ */
2000
+ disabled?: boolean;
1993
2001
  };
1994
2002
  };
2003
+ /**
2004
+ * Provider ID whose auth flow to reuse (e.g. 'github-copilot'). Credentials fall back to the source provider if none are stored under this alias.
2005
+ */
2006
+ auth_provider?: string;
1995
2007
  whitelist?: Array<string>;
1996
2008
  blacklist?: Array<string>;
1997
2009
  options?: {
@@ -2499,6 +2511,10 @@ export type Config = {
2499
2511
  initialization?: {
2500
2512
  [key: string]: unknown;
2501
2513
  };
2514
+ /**
2515
+ * Minimum diagnostic severity: 1=Error (default), 2=Warning, 3=Info, 4=Hint.
2516
+ */
2517
+ min_severity?: number;
2502
2518
  };
2503
2519
  };
2504
2520
  /**
@@ -3807,6 +3823,7 @@ export type Command = {
3807
3823
  aliases?: Array<string>;
3808
3824
  };
3809
3825
  export type Agent = {
3826
+ order?: number;
3810
3827
  name: string;
3811
3828
  description?: string;
3812
3829
  mode: "subagent" | "primary" | "all";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.184.0",
4
+ "version": "1.186.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {