@nikcli-ai/sdk 1.185.0 → 1.187.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
  */
@@ -1996,6 +2000,10 @@ export type ProviderConfig = {
1996
2000
  disabled?: boolean;
1997
2001
  };
1998
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;
1999
2007
  whitelist?: Array<string>;
2000
2008
  blacklist?: Array<string>;
2001
2009
  options?: {
@@ -2555,6 +2563,19 @@ export type Config = {
2555
2563
  };
2556
2564
  }>;
2557
2565
  };
2566
+ /**
2567
+ * Opencode #21535: queued user-message wrap template.
2568
+ */
2569
+ queued_message_wrap?: {
2570
+ /**
2571
+ * Text before the user message.
2572
+ */
2573
+ header: string;
2574
+ /**
2575
+ * Text after the user message.
2576
+ */
2577
+ footer: string;
2578
+ } | "default" | boolean;
2558
2579
  /**
2559
2580
  * Number of retries for chat completions on failure
2560
2581
  */
@@ -3815,6 +3836,7 @@ export type Command = {
3815
3836
  aliases?: Array<string>;
3816
3837
  };
3817
3838
  export type Agent = {
3839
+ order?: number;
3818
3840
  name: string;
3819
3841
  description?: string;
3820
3842
  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.185.0",
4
+ "version": "1.187.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {