@nikcli-ai/sdk 1.159.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";
@@ -1501,6 +1501,10 @@ export type KeybindsConfig = {
1501
1501
  * Previous agent
1502
1502
  */
1503
1503
  agent_cycle_reverse?: string;
1504
+ /**
1505
+ * Open permission presets for the current primary agent
1506
+ */
1507
+ permission_mode?: string;
1504
1508
  /**
1505
1509
  * Cycle model variants
1506
1510
  */
@@ -2362,7 +2366,7 @@ export type Config = {
2362
2366
  */
2363
2367
  url?: string;
2364
2368
  /**
2365
- * 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.
2366
2370
  */
2367
2371
  token?: string;
2368
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.159.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": [
@@ -50,7 +55,7 @@
50
55
  "@tsconfig/node22": "22.0.2",
51
56
  "@types/node": "22.13.9",
52
57
  "typescript": "5.8.2",
53
- "@typescript/native-preview": "7.0.0-dev.20251207.1"
58
+ "@typescript/native-preview": "7.0.0-dev.20260707.2"
54
59
  },
55
60
  "dependencies": {},
56
61
  "publishConfig": {
@@ -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
  }