@onkernel/cli 0.12.5 → 0.13.1

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
@@ -3,7 +3,7 @@
3
3
  </p>
4
4
 
5
5
  <p align="center">
6
- <img alt="GitHub License" src="https://img.shields.io/github/license/onkernel/cli">
6
+ <img alt="GitHub License" src="https://img.shields.io/github/license/kernel/cli">
7
7
  <a href="https://discord.gg/FBrveQRcud"><img src="https://img.shields.io/discord/1342243238748225556?logo=discord&logoColor=white&color=7289DA" alt="Discord"></a>
8
8
  <a href="https://x.com/juecd__"><img src="https://img.shields.io/twitter/follow/juecd__" alt="Follow @juecd__"></a>
9
9
  <a href="https://x.com/rfgarcia"><img src="https://img.shields.io/twitter/follow/rfgarcia" alt="Follow @rfgarcia"></a>
@@ -13,7 +13,7 @@
13
13
 
14
14
  The Kernel CLI is a fast, friendly command‑line interface for Kernel — the platform that provides sandboxed, ready‑to‑use Chrome browsers for browser automations and web agents.
15
15
 
16
- Sign up at [onkernel.com](https://www.onkernel.com/) and read the [docs](https://onkernel.com/docs/introduction).
16
+ Sign up at [kernel.sh](https://www.kernel.sh/) and read the [docs](https://www.kernel.sh/docs/introduction).
17
17
 
18
18
  ## What's Kernel?
19
19
 
@@ -124,6 +124,7 @@ Create an API key from the [Kernel dashboard](https://dashboard.onkernel.com).
124
124
  - `gemini-computer-use` - Implements a Gemini computer use agent (TypeScript only)
125
125
  - `openagi-computer-use` - OpenAGI Lux computer-use models (Python only)
126
126
  - `magnitude` - Magnitude framework sample (TypeScript only)
127
+ - `claude-agent-sdk` - Claude Agent SDK browser automation agent
127
128
 
128
129
  ### App Deployment
129
130
 
@@ -395,6 +396,9 @@ kernel create --name my-agent --language ts --template stagehand
395
396
 
396
397
  # Create a Python Computer Use app
397
398
  kernel create --name my-cu-app --language py --template anthropic-computer-use
399
+
400
+ # Create a Claude Agent SDK app (TypeScript or Python)
401
+ kernel create --name my-claude-agent --language ts --template claude-agent-sdk
398
402
  ```
399
403
 
400
404
  ### Deploy with environment variables
@@ -587,15 +591,15 @@ kernel proxies delete prx_123 --yes
587
591
 
588
592
  For complete documentation, visit:
589
593
 
590
- - [📖 Documentation](https://onkernel.com/docs)
591
- - [🚀 Quickstart Guide](https://onkernel.com/docs/quickstart)
592
- - [📋 CLI Reference](https://onkernel.com/docs/reference/cli)
594
+ - [📖 Documentation](https://www.kernel.sh/docs)
595
+ - [🚀 Quickstart Guide](https://www.kernel.sh/docs/quickstart)
596
+ - [📋 CLI Reference](https://www.kernel.sh/docs/reference/cli)
593
597
 
594
598
  ## Support
595
599
 
596
600
  - [Discord Community](https://discord.gg/kernel)
597
601
  - [GitHub Issues](https://github.com/onkernel/kernel/issues)
598
- - [Documentation](https://onkernel.com/docs)
602
+ - [Documentation](https://www.kernel.sh/docs)
599
603
 
600
604
  ---
601
605
 
package/lib.js CHANGED
@@ -6,8 +6,11 @@ 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");
9
10
  const { spawnSync } = require("child_process");
10
11
 
12
+ const agent = new ProxyAgent();
13
+
11
14
  const getArchive = () => {
12
15
  let target = `${process.platform}-${process.arch}`;
13
16
  const archive = archives[target];
@@ -180,6 +183,8 @@ const download = async (url, filename) => {
180
183
  url: url,
181
184
  responseType: "stream",
182
185
  timeout: 300000, // 5min
186
+ httpAgent: agent,
187
+ httpsAgent: agent,
183
188
  });
184
189
 
185
190
  const writer = fs.createWriteStream(filename);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onkernel/cli",
3
- "version": "0.12.5",
3
+ "version": "0.13.1",
4
4
  "description": "Kernel CLI",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/onkernel"
11
+ "url": "https://github.com/kernel"
12
12
  },
13
13
  "keywords": [
14
14
  "kernel",
@@ -17,91 +17,92 @@
17
17
  "automation",
18
18
  "ai"
19
19
  ],
20
- "author": "Rafael Garcia \u003craf@onkernel.com\u003e",
20
+ "author": "Rafael Garcia \u003craf@kernel.sh\u003e",
21
21
  "license": "MIT",
22
22
  "bugs": {
23
- "url": "https://github.com/onkernel/cli/issues"
23
+ "url": "https://github.com/kernel/cli/issues"
24
24
  },
25
- "homepage": "https://onkernel.com/docs",
25
+ "homepage": "https://www.kernel.sh/docs",
26
26
  "bin": {
27
27
  "kernel": "run-kernel.js"
28
28
  },
29
29
  "dependencies": {
30
30
  "axios": "^1.8.2",
31
31
  "jszip": "^3.10.1",
32
+ "proxy-agent": "^6.5.0",
32
33
  "tar": "^7.4.3"
33
34
  },
34
35
  "archives": {
35
36
  "darwin-arm64": {
36
- "name": "kernel_0.12.5_darwin_arm64.tar.gz",
37
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_darwin_arm64.tar.gz",
37
+ "name": "kernel_0.13.1_darwin_arm64.tar.gz",
38
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_darwin_arm64.tar.gz",
38
39
  "bins": [
39
40
  "kernel"
40
41
  ],
41
42
  "format": "tar.gz",
42
43
  "checksum": {
43
44
  "algorithm": "sha256",
44
- "digest": "c3fd976390d0600ebf908d3f4ea14ae61ae6b0e5253d9dc5601f611431dbd92b"
45
+ "digest": "660a6f7dc37391e975185f9309b9cfd4c142a3997b72224855ce326a7733cc20"
45
46
  }
46
47
  },
47
48
  "darwin-x64": {
48
- "name": "kernel_0.12.5_darwin_amd64.tar.gz",
49
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_darwin_amd64.tar.gz",
49
+ "name": "kernel_0.13.1_darwin_amd64.tar.gz",
50
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_darwin_amd64.tar.gz",
50
51
  "bins": [
51
52
  "kernel"
52
53
  ],
53
54
  "format": "tar.gz",
54
55
  "checksum": {
55
56
  "algorithm": "sha256",
56
- "digest": "2da74a5117d7f40da7f03dda1851ec3cccd3ee76a212076e09ac742e1338ab23"
57
+ "digest": "19f8e2d330d3f1a54714b12267bf76220919a61c38f46aa2d33087b1fbef49d5"
57
58
  }
58
59
  },
59
60
  "linux-arm64": {
60
- "name": "kernel_0.12.5_linux_arm64.tar.gz",
61
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_linux_arm64.tar.gz",
61
+ "name": "kernel_0.13.1_linux_arm64.tar.gz",
62
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_linux_arm64.tar.gz",
62
63
  "bins": [
63
64
  "kernel"
64
65
  ],
65
66
  "format": "tar.gz",
66
67
  "checksum": {
67
68
  "algorithm": "sha256",
68
- "digest": "bf4ab67206e06fee17a81647dea1efaa715e3ded8fa73623d44180314e827679"
69
+ "digest": "18581682ac0161ed045366960e0d7bcc0baf8fb72f1ed57a80ad16c44fd8d471"
69
70
  }
70
71
  },
71
72
  "linux-x64": {
72
- "name": "kernel_0.12.5_linux_amd64.tar.gz",
73
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_linux_amd64.tar.gz",
73
+ "name": "kernel_0.13.1_linux_amd64.tar.gz",
74
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_linux_amd64.tar.gz",
74
75
  "bins": [
75
76
  "kernel"
76
77
  ],
77
78
  "format": "tar.gz",
78
79
  "checksum": {
79
80
  "algorithm": "sha256",
80
- "digest": "f8601a4022f03955330e61e18941c3a850ead115ca733e404ea36fe96dea4647"
81
+ "digest": "948e2494b099ae491ef744b8d21ec5b892ebb5488723f1dd7751a8371ceb7a5a"
81
82
  }
82
83
  },
83
84
  "win32-arm64": {
84
- "name": "kernel_0.12.5_windows_arm64.tar.gz",
85
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_windows_arm64.tar.gz",
85
+ "name": "kernel_0.13.1_windows_arm64.tar.gz",
86
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_windows_arm64.tar.gz",
86
87
  "bins": [
87
88
  "kernel.exe"
88
89
  ],
89
90
  "format": "tar.gz",
90
91
  "checksum": {
91
92
  "algorithm": "sha256",
92
- "digest": "620976d2996c4aa7c788a05963ea9c3f354174032d2e5567b18528cb610f09f1"
93
+ "digest": "8935da83ba9d6bd19ab795b221e168798c6fde215b89ec4a60d072669f4c6189"
93
94
  }
94
95
  },
95
96
  "win32-x64": {
96
- "name": "kernel_0.12.5_windows_amd64.tar.gz",
97
- "url": "https://github.com/onkernel/cli/releases/download/v0.12.5/kernel_0.12.5_windows_amd64.tar.gz",
97
+ "name": "kernel_0.13.1_windows_amd64.tar.gz",
98
+ "url": "https://github.com/kernel/cli/releases/download/v0.13.1/kernel_0.13.1_windows_amd64.tar.gz",
98
99
  "bins": [
99
100
  "kernel.exe"
100
101
  ],
101
102
  "format": "tar.gz",
102
103
  "checksum": {
103
104
  "algorithm": "sha256",
104
- "digest": "066ae752703b5632fee5694cb3c24154ee8e3aa91cbe9895862d8f0ce9e5ce93"
105
+ "digest": "03635704a7823c768f6bb8707d79b7865671e41de292e85e905f1c36571915be"
105
106
  }
106
107
  }
107
108
  }
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");
6
+ run("kernel").then((code) => process.exit(code));