@nikcli-ai/sdk 1.185.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
  */
@@ -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?: {
@@ -3815,6 +3823,7 @@ export type Command = {
3815
3823
  aliases?: Array<string>;
3816
3824
  };
3817
3825
  export type Agent = {
3826
+ order?: number;
3818
3827
  name: string;
3819
3828
  description?: string;
3820
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.185.0",
4
+ "version": "1.186.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {