@onkernel/cli 0.1.3 → 0.1.5

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.
Files changed (2) hide show
  1. package/README.md +9 -24
  2. package/package.json +23 -23
package/README.md CHANGED
@@ -5,8 +5,7 @@ A command-line tool for deploying and invoking Kernel applications.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- brew tap onkernel/homebrew-tap
9
- brew install kernel
8
+ brew install onkernel/tap/kernel
10
9
  ```
11
10
 
12
11
  ## Development Prerequisites
@@ -69,34 +68,20 @@ git push origin cli/v$VERSION
69
68
  make release
70
69
  ```
71
70
 
71
+ The NPM publish needs some extra steps (hopefully one day goreleaser will support this, but right now it assumes download links are public github releases, which we don't have at the moment):
72
+
73
+ ````bash
74
+ go run scripts/npmpublish/npmpublish.go ./.npmdisttmpl ./dist
75
+ cd .npmdist && npm publish --access public
76
+ ```)
77
+
72
78
  ### Environment variables
73
79
 
74
80
  The CLI requires a Kernel API key to interact with the platform:
75
81
 
76
82
  ```bash
77
83
  export KERNEL_API_KEY=your_api_key
78
- ```
79
-
80
- ### Releasing a new version
81
-
82
- 1. Update the changelog:
83
-
84
- ```bash
85
- make changelog
86
- ```
87
-
88
- 2. Tag the release (e.g. `v1.0.0`) and push the tag:
89
-
90
- ```bash
91
- git tag cli/v0.1.0
92
- git push origin cli/v0.1.0
93
- ```
94
-
95
- 3. Run `make release` – **goreleaser** will:
96
-
97
- - Build binaries for macOS (arm64/amd64), Linux and Windows
98
- - Create a GitHub release upload archives
99
- - Publish/commit the Homebrew formula to the `onkernel/homebrew-tap` repository
84
+ ````
100
85
 
101
86
  ## Directory structure
102
87
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@onkernel/cli",
3
- "version": "0.1.3",
4
- "description": "CLI for Kernel",
3
+ "version": "0.1.5",
4
+ "description": "CLI for Kernel deployment and invocation",
5
5
  "scripts": {
6
6
  "postinstall": "node install.js",
7
7
  "run": "node run-kernel.js"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/"
11
+ "url": "git+https://github.com/onkernel/kernel.git"
12
12
  },
13
13
  "keywords": [
14
14
  "kernel",
@@ -17,7 +17,7 @@
17
17
  "automation",
18
18
  "ai"
19
19
  ],
20
- "author": "Rafael Garcia \u003craf@onkernel.com\u003e",
20
+ "author": "Rafael Garcia <raf@onkernel.com>",
21
21
  "license": "MIT",
22
22
  "bugs": {
23
23
  "url": "https://github.com/onkernel/kernel/issues"
@@ -33,76 +33,76 @@
33
33
  },
34
34
  "archives": {
35
35
  "darwin-arm64": {
36
- "name": "kernel_0.1.3_darwin_arm64.tar.gz",
37
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_darwin_arm64.tar.gz",
36
+ "name": "kernel_0.1.5_darwin_arm64.tar.gz",
37
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_darwin_arm64.tar.gz",
38
38
  "bins": [
39
39
  "kernel"
40
40
  ],
41
41
  "format": "tar.gz",
42
42
  "checksum": {
43
43
  "algorithm": "sha256",
44
- "digest": "d703b23c7e536c43dbc18b32eb0f87d61b0586bf4bbabb509cee0c7899bfc29e"
44
+ "digest": "5ededd72d5998c5253d2e5fb05e5ac97bb96376545710ada564e0c48d806fb8a"
45
45
  }
46
46
  },
47
47
  "darwin-x64": {
48
- "name": "kernel_0.1.3_darwin_amd64.tar.gz",
49
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_darwin_amd64.tar.gz",
48
+ "name": "kernel_0.1.5_darwin_amd64.tar.gz",
49
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_darwin_amd64.tar.gz",
50
50
  "bins": [
51
51
  "kernel"
52
52
  ],
53
53
  "format": "tar.gz",
54
54
  "checksum": {
55
55
  "algorithm": "sha256",
56
- "digest": "0af126117f591cedbfcd60dae8ff4a12dd2c3dcbb12e54594059d448d351a906"
56
+ "digest": "2b0f1bff32a5047331100915adce228f3ded2871a47ef0d53e139a0049412c8c"
57
57
  }
58
58
  },
59
59
  "linux-arm64": {
60
- "name": "kernel_0.1.3_linux_arm64.tar.gz",
61
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_linux_arm64.tar.gz",
60
+ "name": "kernel_0.1.5_linux_arm64.tar.gz",
61
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_linux_arm64.tar.gz",
62
62
  "bins": [
63
63
  "kernel"
64
64
  ],
65
65
  "format": "tar.gz",
66
66
  "checksum": {
67
67
  "algorithm": "sha256",
68
- "digest": "8b50e00fd9f98ef3333081c916f392d3646b1ab214858daf6d0faa08e1223c03"
68
+ "digest": "d06bdc460c6f3b3c4c8de7b6d1a0c8b9128f2e9dc77a5662fed3a68c0cdba695"
69
69
  }
70
70
  },
71
71
  "linux-x64": {
72
- "name": "kernel_0.1.3_linux_amd64.tar.gz",
73
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_linux_amd64.tar.gz",
72
+ "name": "kernel_0.1.5_linux_amd64.tar.gz",
73
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_linux_amd64.tar.gz",
74
74
  "bins": [
75
75
  "kernel"
76
76
  ],
77
77
  "format": "tar.gz",
78
78
  "checksum": {
79
79
  "algorithm": "sha256",
80
- "digest": "a23d3c552729de53d7321ecccc73d8108c1c7af850a917f4976ba81a59368b06"
80
+ "digest": "fc7e47b2261c75df494d02d6c69eaee8541f98f6991568ebc9de0b0957d7afa4"
81
81
  }
82
82
  },
83
83
  "win32-arm64": {
84
- "name": "kernel_0.1.3_windows_arm64.tar.gz",
85
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_windows_arm64.tar.gz",
84
+ "name": "kernel_0.1.5_windows_arm64.tar.gz",
85
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_windows_arm64.tar.gz",
86
86
  "bins": [
87
87
  "kernel.exe"
88
88
  ],
89
89
  "format": "tar.gz",
90
90
  "checksum": {
91
91
  "algorithm": "sha256",
92
- "digest": "1ab255f78eae35d0e2a368ca04c99695933e7eacd19208ab53f4f1dbfa3323dd"
92
+ "digest": "4cb1649719186dd37ec0d7380005696a5d27abbae3d3365c4771519992b9555f"
93
93
  }
94
94
  },
95
95
  "win32-x64": {
96
- "name": "kernel_0.1.3_windows_amd64.tar.gz",
97
- "url": "https://github.com/onkernel/kernel/releases/download/cli%2Fv0.1.3/kernel_0.1.3_windows_amd64.tar.gz",
96
+ "name": "kernel_0.1.5_windows_amd64.tar.gz",
97
+ "url": "https://onkernel-public.s3.us-east-1.amazonaws.com/releases/download/cli/0.1.5/kernel_0.1.5_windows_amd64.tar.gz",
98
98
  "bins": [
99
99
  "kernel.exe"
100
100
  ],
101
101
  "format": "tar.gz",
102
102
  "checksum": {
103
103
  "algorithm": "sha256",
104
- "digest": "298beb9c14eacb53567debb23ea52e54f2098e1dd676f58c127e77a66869d78c"
104
+ "digest": "a647ce268763bb48fcaf7556ec47d03f0e4c4e0d16556a77348d4d016aadfc83"
105
105
  }
106
106
  }
107
107
  }
108
- }
108
+ }