@cori-do/cli 0.0.0-stage → 0.2.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/LICENSE +18 -0
- package/README.md +40 -2
- package/THIRD-PARTY-NOTICES.md +8706 -0
- package/bin/cori.js +40 -0
- package/package.json +36 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Cori Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
|
6
|
+
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
|
7
|
+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
|
9
|
+
following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
12
|
+
portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
|
15
|
+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
|
16
|
+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
17
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
|
18
|
+
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @cori-do/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The `cori` command line: create, check, run and deploy Cori apps from a terminal, a coding agent or CI. It is a prebuilt
|
|
4
|
+
binary for macOS and Linux (arm64 and x64): no Rust toolchain needed.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm install -g @cori-do/cli # or: pnpm add -g @cori-do/cli, bun add -g @cori-do/cli
|
|
8
|
+
cori login https://<your Cori server>
|
|
9
|
+
cori init my-app
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Without installing it (a sandbox, CI): `npx @cori-do/cli <command>`. In Claude Cowork's sandbox, npm is reachable by
|
|
13
|
+
default; the Cori server must be too (Organization settings › Capabilities › Code execution › Additional allowed domains).
|
|
14
|
+
|
|
15
|
+
## What it installs
|
|
16
|
+
|
|
17
|
+
Two packages: this one, a small launcher (`bin/cori.js`), and the binary for your platform, `@cori-do/cli-<os>-<cpu>`
|
|
18
|
+
(`darwin-arm64`, `darwin-x64`, `linux-arm64`, `linux-x64`), which npm picks among this package's optional dependencies
|
|
19
|
+
by its `os` and `cpu`. Nothing comes from anywhere but npm and no install script runs, so it installs where scripts are
|
|
20
|
+
off (`--ignore-scripts`, pnpm, bun) and wherever npm is allowed through.
|
|
21
|
+
|
|
22
|
+
- The Linux binaries are static (musl): any distribution, Alpine included.
|
|
23
|
+
- Windows: install it in WSL.
|
|
24
|
+
- Installed with `--omit=optional` (or `--no-optional`), the binary is missing, and the launcher says so.
|
|
25
|
+
- `CORI_CLI_BINARY` runs another binary instead (one you built: `cargo install --path crates/cori-cli`).
|
|
26
|
+
|
|
27
|
+
## Versions
|
|
28
|
+
|
|
29
|
+
A Cori server names the oldest command line it serves. An older one prints a warning with the upgrade command, and
|
|
30
|
+
`cori doctor` shows both versions.
|
|
31
|
+
|
|
32
|
+
## Licence
|
|
33
|
+
|
|
34
|
+
MIT. The binary includes open source software, listed with its licences in THIRD-PARTY-NOTICES.md.
|
|
35
|
+
|
|
36
|
+
## Releasing
|
|
37
|
+
|
|
38
|
+
A tag `v<version>` (the workspace's version in Cargo.toml, which this package.json repeats) runs the `release-cli`
|
|
39
|
+
workflow: the four binaries, the packages (`pack.mjs`, with `scripts/cli-notices.sh`), then the platforms' packages
|
|
40
|
+
published, and this one last. Started by hand, the workflow is a dry run. `test.sh` checks the packages as npm, pnpm and
|
|
41
|
+
bun install them.
|