@onkernel/cli 0.12.1 → 0.12.2

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.
package/README.md CHANGED
@@ -116,12 +116,13 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com).
116
116
  - `--language <language>`, `-l` - Sepecify app language: `typescript`, or `python`
117
117
  - `--template <template>`, `-t` - Template to use:
118
118
  - `sample-app` - Basic template with Playwright integration
119
- - `advanced-sample` - Sample apps using advanced Kernel configs
119
+ - `captcha-solver` - Template demonstrating Kernel's auto-CAPTCHA solver
120
120
  - `stagehand` - Template with Stagehand SDK (TypeScript only)
121
121
  - `browser-use` - Template with Browser Use SDK (Python only)
122
- - `computer-use` - Anthropic Computer Use prompt loop
123
- - `cua` - OpenAI Computer Using Agent (CUA) sample
124
- - `gemini-cua` - Google Gemini CUA sample (TypeScript only)
122
+ - `anthropic-computer-use` - Anthropic Computer Use prompt loop
123
+ - `openai-computer-use` - OpenAI Computer Use Agent sample
124
+ - `gemini-computer-use` - Gemini Computer Use Agent sample (TypeScript only)
125
+ - `openagi-computer-use` - OpenAGI Lux computer-use models (Python only)
125
126
  - `magnitude` - Magnitude framework sample (TypeScript only)
126
127
 
127
128
  ### App Deployment
@@ -393,7 +394,7 @@ kernel create --name my-scraper --language python --template browser-use
393
394
  kernel create --name my-agent --language ts --template stagehand
394
395
 
395
396
  # Create a Python Computer Use app
396
- kernel create --name my-cu-app --language py --template computer-use
397
+ kernel create --name my-cu-app --language py --template anthropic-computer-use
397
398
  ```
398
399
 
399
400
  ### Deploy with environment variables
package/lib.js CHANGED
@@ -6,11 +6,8 @@ const path = require("path");
6
6
  const JSZip = require("jszip");
7
7
  const tar = require("tar");
8
8
  const axios = require("axios");
9
- const { ProxyAgent } = require("proxy-agent");
10
9
  const { spawnSync } = require("child_process");
11
10
 
12
- const agent = new ProxyAgent();
13
-
14
11
  const getArchive = () => {
15
12
  let target = `${process.platform}-${process.arch}`;
16
13
  const archive = archives[target];
@@ -183,8 +180,6 @@ const download = async (url, filename) => {
183
180
  url: url,
184
181
  responseType: "stream",
185
182
  timeout: 300000, // 5min
186
- httpAgent: agent,
187
- httpsAgent: agent,
188
183
  });
189
184
 
190
185
  const writer = fs.createWriteStream(filename);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onkernel/cli",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Kernel CLI",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
@@ -29,80 +29,79 @@
29
29
  "dependencies": {
30
30
  "axios": "^1.8.2",
31
31
  "jszip": "^3.10.1",
32
- "proxy-agent": "^6.5.0",
33
32
  "tar": "^7.4.3"
34
33
  },
35
34
  "archives": {
36
35
  "darwin-arm64": {
37
- "name": "kernel_0.12.1_darwin_arm64.tar.gz",
38
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_darwin_arm64.tar.gz",
36
+ "name": "kernel_0.12.2_darwin_arm64.tar.gz",
37
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_darwin_arm64.tar.gz",
39
38
  "bins": [
40
39
  "kernel"
41
40
  ],
42
41
  "format": "tar.gz",
43
42
  "checksum": {
44
43
  "algorithm": "sha256",
45
- "digest": "19f69c9400b59f8a9a92c08332d0784c7ac8fbabeee515f5c5249eebd9d6cdc0"
44
+ "digest": "a8bcbfcb44d6b3852d7a7831559d924c0dc41c27ebd089601d0ff7ed101ca4a3"
46
45
  }
47
46
  },
48
47
  "darwin-x64": {
49
- "name": "kernel_0.12.1_darwin_amd64.tar.gz",
50
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_darwin_amd64.tar.gz",
48
+ "name": "kernel_0.12.2_darwin_amd64.tar.gz",
49
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_darwin_amd64.tar.gz",
51
50
  "bins": [
52
51
  "kernel"
53
52
  ],
54
53
  "format": "tar.gz",
55
54
  "checksum": {
56
55
  "algorithm": "sha256",
57
- "digest": "81d44034e6b557da2d98b86f2faebca75e9953f27b6eebcfcc27e0a8ee12a120"
56
+ "digest": "3c8cef4f927d922a47e556e5990a712265744afd5f2dd0115a44405e9eebf616"
58
57
  }
59
58
  },
60
59
  "linux-arm64": {
61
- "name": "kernel_0.12.1_linux_arm64.tar.gz",
62
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_linux_arm64.tar.gz",
60
+ "name": "kernel_0.12.2_linux_arm64.tar.gz",
61
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_linux_arm64.tar.gz",
63
62
  "bins": [
64
63
  "kernel"
65
64
  ],
66
65
  "format": "tar.gz",
67
66
  "checksum": {
68
67
  "algorithm": "sha256",
69
- "digest": "08d3e8a73ca7f2b8c0d2e18f6cc98af8bba3aef85b08e24dbdc48f0c56b50aa7"
68
+ "digest": "cc0f557a6db72eff61bb06f6a58aa7964051de53f9fb011b6548e87cddf626d0"
70
69
  }
71
70
  },
72
71
  "linux-x64": {
73
- "name": "kernel_0.12.1_linux_amd64.tar.gz",
74
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_linux_amd64.tar.gz",
72
+ "name": "kernel_0.12.2_linux_amd64.tar.gz",
73
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_linux_amd64.tar.gz",
75
74
  "bins": [
76
75
  "kernel"
77
76
  ],
78
77
  "format": "tar.gz",
79
78
  "checksum": {
80
79
  "algorithm": "sha256",
81
- "digest": "02286ebdc6278c13063a40aaf6c0a5defb6055d79f979c26ae25ee8db399c4ff"
80
+ "digest": "f1c901299a74132523c92698e3933f9dc7e83f9858065a3b4f3f282cb05232d5"
82
81
  }
83
82
  },
84
83
  "win32-arm64": {
85
- "name": "kernel_0.12.1_windows_arm64.tar.gz",
86
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_windows_arm64.tar.gz",
84
+ "name": "kernel_0.12.2_windows_arm64.tar.gz",
85
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_windows_arm64.tar.gz",
87
86
  "bins": [
88
87
  "kernel.exe"
89
88
  ],
90
89
  "format": "tar.gz",
91
90
  "checksum": {
92
91
  "algorithm": "sha256",
93
- "digest": "cc934061ee119b011617c3f2363f1fefb138e047e50e56a6a0bfb4b225e106b8"
92
+ "digest": "fb55e3040517890c72e1017206c56734cb5b05590bae07a0e1506a357b27e5cb"
94
93
  }
95
94
  },
96
95
  "win32-x64": {
97
- "name": "kernel_0.12.1_windows_amd64.tar.gz",
98
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.1/kernel_0.12.1_windows_amd64.tar.gz",
96
+ "name": "kernel_0.12.2_windows_amd64.tar.gz",
97
+ "url": "https://github.com/onkernel/cli/releases/download/v0.12.2/kernel_0.12.2_windows_amd64.tar.gz",
99
98
  "bins": [
100
99
  "kernel.exe"
101
100
  ],
102
101
  "format": "tar.gz",
103
102
  "checksum": {
104
103
  "algorithm": "sha256",
105
- "digest": "c597eb887f37ab9b8bc745f7cabcaf89d044ba5440fc80b3b809da6c85238ebd"
104
+ "digest": "a3e38d902782fc31db10702eec9b751aeaf36e1da47ecfa1aa159c5975ba0428"
106
105
  }
107
106
  }
108
107
  }
package/run-kernel.js CHANGED
@@ -3,4 +3,4 @@
3
3
  // This file was generated by GoReleaser. DO NOT EDIT.
4
4
 
5
5
  const { run } = require("./lib.js");
6
- run("kernel").then((code) => process.exit(code));
6
+ run("kernel");