@nikcli-ai/sdk 1.99.0 → 1.100.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.
@@ -1,6 +1,6 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  import { client } from "./client.gen.js";
3
- import { buildClientParams } from "./client/index.js";
3
+ import { buildClientParams, } from "./client/index.js";
4
4
  class HeyApiClient {
5
5
  client;
6
6
  constructor(args) {
@@ -4988,7 +4988,7 @@ export class Find extends HeyApiClient {
4988
4988
  });
4989
4989
  }
4990
4990
  }
4991
- export class File extends HeyApiClient {
4991
+ export class File_ extends HeyApiClient {
4992
4992
  /**
4993
4993
  * List files
4994
4994
  *
@@ -5420,7 +5420,15 @@ export class Control extends HeyApiClient {
5420
5420
  * Submit a response to the TUI request queue to complete a pending request.
5421
5421
  */
5422
5422
  response(parameters, options) {
5423
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "query", key: "workspace" }, { in: "body" }] }]);
5423
+ const params = buildClientParams([parameters], [
5424
+ {
5425
+ args: [
5426
+ { in: "query", key: "directory" },
5427
+ { in: "query", key: "workspace" },
5428
+ { key: "body", map: "body" },
5429
+ ],
5430
+ },
5431
+ ]);
5424
5432
  return (options?.client ?? this.client).post({
5425
5433
  url: "/tui/control/response",
5426
5434
  ...options,
@@ -5641,7 +5649,15 @@ export class Tui extends HeyApiClient {
5641
5649
  * Publish a TUI event
5642
5650
  */
5643
5651
  publish(parameters, options) {
5644
- const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "directory" }, { in: "query", key: "workspace" }, { in: "body" }] }]);
5652
+ const params = buildClientParams([parameters], [
5653
+ {
5654
+ args: [
5655
+ { in: "query", key: "directory" },
5656
+ { in: "query", key: "workspace" },
5657
+ { key: "body", map: "body" },
5658
+ ],
5659
+ },
5660
+ ]);
5645
5661
  return (options?.client ?? this.client).post({
5646
5662
  url: "/tui/publish",
5647
5663
  ...options,
@@ -6173,7 +6189,7 @@ export class Auth6 extends HeyApiClient {
6173
6189
  });
6174
6190
  }
6175
6191
  }
6176
- export class Event extends HeyApiClient {
6192
+ export class Event_ extends HeyApiClient {
6177
6193
  /**
6178
6194
  * Subscribe to events
6179
6195
  *
@@ -6278,7 +6294,7 @@ export class NikcliClient extends HeyApiClient {
6278
6294
  { in: "path", key: "name" },
6279
6295
  { in: "query", key: "directory" },
6280
6296
  { in: "query", key: "workspace" },
6281
- { in: "body" },
6297
+ { key: "body", map: "body" },
6282
6298
  ],
6283
6299
  },
6284
6300
  ]);
@@ -6470,7 +6486,7 @@ export class NikcliClient extends HeyApiClient {
6470
6486
  }
6471
6487
  _file;
6472
6488
  get file() {
6473
- return (this._file ??= new File({ client: this.client }));
6489
+ return (this._file ??= new File_({ client: this.client }));
6474
6490
  }
6475
6491
  _connectors;
6476
6492
  get connectors() {
@@ -6522,6 +6538,6 @@ export class NikcliClient extends HeyApiClient {
6522
6538
  }
6523
6539
  _event;
6524
6540
  get event() {
6525
- return (this._event ??= new Event({ client: this.client }));
6541
+ return (this._event ??= new Event_({ client: this.client }));
6526
6542
  }
6527
6543
  }
@@ -1879,11 +1879,7 @@ export type AgentConfig = {
1879
1879
  * Max advisor invocations per request (default: 3).
1880
1880
  */
1881
1881
  advisor_max_uses?: number;
1882
- [key: string]: unknown | string | number | {
1883
- [key: string]: boolean;
1884
- } | boolean | "subagent" | "primary" | "all" | {
1885
- [key: string]: unknown;
1886
- } | string | number | PermissionConfig | undefined;
1882
+ [key: string]: unknown;
1887
1883
  };
1888
1884
  export type ProviderConfig = {
1889
1885
  api?: string;
@@ -1946,7 +1942,7 @@ export type ProviderConfig = {
1946
1942
  * Disable this variant for the model
1947
1943
  */
1948
1944
  disabled?: boolean;
1949
- [key: string]: unknown | boolean | undefined;
1945
+ [key: string]: unknown;
1950
1946
  };
1951
1947
  };
1952
1948
  };
@@ -1976,7 +1972,7 @@ export type ProviderConfig = {
1976
1972
  * Timeout in milliseconds between streamed SSE chunks for this provider. If no chunk arrives within this window, the request is aborted.
1977
1973
  */
1978
1974
  chunkTimeout?: number;
1979
- [key: string]: unknown | string | boolean | number | false | number | false | number | undefined;
1975
+ [key: string]: unknown;
1980
1976
  };
1981
1977
  };
1982
1978
  export type McpLocalConfig = {
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.99.0",
4
+ "version": "1.100.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -46,7 +46,7 @@
46
46
  "dist"
47
47
  ],
48
48
  "devDependencies": {
49
- "@hey-api/openapi-ts": "0.90.4",
49
+ "@hey-api/openapi-ts": "0.99.0",
50
50
  "@tsconfig/node22": "22.0.2",
51
51
  "@types/node": "22.13.9",
52
52
  "typescript": "5.8.2",