@clix.vn/cli 0.0.1 → 0.0.3
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 +40 -0
- package/package.json +13 -13
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @clix.vn/cli
|
|
2
|
+
|
|
3
|
+
Codein, the open source AI coding agent, as a command line tool. This package installs the `codein` command.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm i -g @clix.vn/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Bun, pnpm and yarn work too. The binary for your platform (Linux, macOS or Windows; x64 or arm64) arrives as an optional
|
|
12
|
+
dependency and a `postinstall` script puts it in place, so do not install with `--ignore-scripts`.
|
|
13
|
+
|
|
14
|
+
> [!IMPORTANT]
|
|
15
|
+
> Run the install from any directory **except a clone of the Codein source repository**. The repository is a Bun
|
|
16
|
+
> workspace whose manifests use the Bun-only `catalog:` and `workspace:` specifiers, which npm cannot resolve, so
|
|
17
|
+
> `npm i` there fails with `Unsupported URL Type "catalog:"` or `Cannot read properties of null (reading 'edgesOut')`.
|
|
18
|
+
> To work on the source, use `bun install` instead.
|
|
19
|
+
|
|
20
|
+
The package installs two commands, `codein` and `codein2`, that run the same binary. If another `codein` earlier on your
|
|
21
|
+
`PATH` hides it, run `codein2`.
|
|
22
|
+
|
|
23
|
+
## First run
|
|
24
|
+
|
|
25
|
+
Codein signs every user in through Keycloak, which runs in Docker. The first `codein` in a terminal offers to set it up;
|
|
26
|
+
you can also run it yourself:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
codein keycloak setup # needs Docker; starts Keycloak (with Postgres), oauth2-proxy and nginx
|
|
30
|
+
codein login # sign in from the terminal
|
|
31
|
+
codein # start Codein in the current directory
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
See the [repository README](https://gitlab.com/qvntech/codein#readme) for the default accounts, the ports it uses, and
|
|
35
|
+
how to deploy Codein on a shared host.
|
|
36
|
+
|
|
37
|
+
## Links
|
|
38
|
+
|
|
39
|
+
- Source and issues: <https://gitlab.com/qvntech/codein>
|
|
40
|
+
- License: MIT
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"scripts": {
|
|
8
8
|
"postinstall": "node ./postinstall.mjs"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.0.
|
|
10
|
+
"version": "0.0.3",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"x64"
|
|
24
24
|
],
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@clix.vn/cli-linux-arm64": "0.0.
|
|
27
|
-
"@clix.vn/cli-darwin-x64": "0.0.
|
|
28
|
-
"@clix.vn/cli-darwin-arm64": "0.0.
|
|
29
|
-
"@clix.vn/cli-linux-x64-baseline-musl": "0.0.
|
|
30
|
-
"@clix.vn/cli-windows-x64": "0.0.
|
|
31
|
-
"@clix.vn/cli-windows-x64-baseline": "0.0.
|
|
32
|
-
"@clix.vn/cli-linux-x64": "0.0.
|
|
33
|
-
"@clix.vn/cli-linux-x64-musl": "0.0.
|
|
34
|
-
"@clix.vn/cli-windows-arm64": "0.0.
|
|
35
|
-
"@clix.vn/cli-darwin-x64-baseline": "0.0.
|
|
36
|
-
"@clix.vn/cli-linux-arm64-musl": "0.0.
|
|
37
|
-
"@clix.vn/cli-linux-x64-baseline": "0.0.
|
|
26
|
+
"@clix.vn/cli-linux-arm64": "0.0.3",
|
|
27
|
+
"@clix.vn/cli-darwin-x64": "0.0.3",
|
|
28
|
+
"@clix.vn/cli-darwin-arm64": "0.0.3",
|
|
29
|
+
"@clix.vn/cli-linux-x64-baseline-musl": "0.0.3",
|
|
30
|
+
"@clix.vn/cli-windows-x64": "0.0.3",
|
|
31
|
+
"@clix.vn/cli-windows-x64-baseline": "0.0.3",
|
|
32
|
+
"@clix.vn/cli-linux-x64": "0.0.3",
|
|
33
|
+
"@clix.vn/cli-linux-x64-musl": "0.0.3",
|
|
34
|
+
"@clix.vn/cli-windows-arm64": "0.0.3",
|
|
35
|
+
"@clix.vn/cli-darwin-x64-baseline": "0.0.3",
|
|
36
|
+
"@clix.vn/cli-linux-arm64-musl": "0.0.3",
|
|
37
|
+
"@clix.vn/cli-linux-x64-baseline": "0.0.3"
|
|
38
38
|
}
|
|
39
39
|
}
|