@nikcli-ai/sdk 1.160.0 → 1.161.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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from "./generated/index.js";
2
+ export { NikCli as client } from "./generated/index.js";
@@ -0,0 +1,2 @@
1
+ export * from "./generated/index.js";
2
+ export { NikCli as client } from "./generated/index.js";
@@ -2366,7 +2366,7 @@ export type Config = {
2366
2366
  */
2367
2367
  url?: string;
2368
2368
  /**
2369
- * cli-sync scoped bearer token for the remote hub. NIKCLI_REMOTE_TOKEN overrides this.
2369
+ * Bearer token for the remote hub (mobile, cli-sync, or studio scope). NIKCLI_REMOTE_TOKEN overrides this.
2370
2370
  */
2371
2371
  token?: string;
2372
2372
  /**
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@nikcli-ai/sdk",
4
- "version": "1.160.0",
4
+ "version": "1.161.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
8
  "typecheck": "tsgo --noEmit",
9
- "build": "./script/build.ts"
9
+ "build": "./script/build.ts",
10
+ "generate:httpapi": "bun run --cwd ../../nikcli generate:httpapi-clients"
10
11
  },
11
12
  "exports": {
12
13
  ".": {
@@ -40,6 +41,10 @@
40
41
  "./v2/server": {
41
42
  "import": "./dist/v2/server.js",
42
43
  "types": "./dist/v2/server.d.ts"
44
+ },
45
+ "./httpapi": {
46
+ "import": "./dist/httpapi/index.js",
47
+ "types": "./dist/httpapi/index.d.ts"
43
48
  }
44
49
  },
45
50
  "files": [
@@ -63,7 +68,8 @@
63
68
  "./cloud": "./cloud/index.js",
64
69
  "./v2": "./v2/index.js",
65
70
  "./v2/client": "./v2/client.js",
66
- "./v2/server": "./v2/server.js"
71
+ "./v2/server": "./v2/server.js",
72
+ "./httpapi": "./httpapi/index.js"
67
73
  }
68
74
  }
69
75
  }