@beyondidentity/ceros-cli 0.1.941 → 1.21.87
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 +24 -18
- package/index.js +1 -1
- package/install.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
# @beyondidentity/ceros-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Unified command-line interface and authenticator for Ceros: AI Trust Layer.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- **Proxy Management** (`ceros proxy`): Start, stop, and manage the local proxy service
|
|
8
|
-
- **Auth Flow** (`ceros auth`): Beyond Identity authentication helper
|
|
9
|
-
- **Launch** (`ceros launch`): Launch programs with auth configured
|
|
5
|
+
More at: [Beyond Identity's Ceros](https://agent.beyondidentity.com/)
|
|
10
6
|
|
|
11
7
|
## Installation
|
|
12
8
|
|
|
@@ -21,33 +17,43 @@ npx @beyondidentity/ceros-cli --help
|
|
|
21
17
|
## Usage
|
|
22
18
|
|
|
23
19
|
```bash
|
|
24
|
-
# Show all commands
|
|
25
|
-
ceros --help
|
|
26
20
|
|
|
27
|
-
#
|
|
28
|
-
ceros
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
# Launch your agent
|
|
22
|
+
ceros <agent>
|
|
23
|
+
|
|
24
|
+
# For example
|
|
25
|
+
ceros claude
|
|
31
26
|
|
|
32
|
-
#
|
|
33
|
-
ceros
|
|
27
|
+
# You can be more explicite if you like; `launch` is a sub-command.
|
|
28
|
+
ceros launch <agent>
|
|
34
29
|
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
|
|
31
|
+
# Advanced: manage the authenticator
|
|
32
|
+
ceros authenticator start # Start local authenticator
|
|
33
|
+
ceros authenticator info # Show authenticator status
|
|
34
|
+
ceros authenticator stop # Stop local authenticator
|
|
37
35
|
```
|
|
38
36
|
|
|
37
|
+
Note: running `ceros <agent>` automatically starts the `authenticator` as a background daemon, with the intention that you never need to actively manage it.
|
|
38
|
+
|
|
39
39
|
## Platform Support
|
|
40
40
|
|
|
41
|
-
Supports macOS (Intel/
|
|
41
|
+
Supports macOS (Intel/ARM64), Linux (x64/ARM64), and Windows (x64/ARM64) (on WSL only for now)
|
|
42
42
|
|
|
43
43
|
## Architecture
|
|
44
44
|
|
|
45
|
-
This shim package automatically installs the correct platform binary via npm's `optionalDependencies` mechanism.
|
|
45
|
+
This shim package automatically installs the correct platform binary via npm's `optionalDependencies` mechanism.
|
|
46
|
+
|
|
47
|
+
Platform-specific binaries are published as separate packages, but the goal is for you to not manage these explicitly.
|
|
46
48
|
|
|
47
49
|
- `@beyondidentity/ceros-cli-darwin-arm64`
|
|
48
50
|
- `@beyondidentity/ceros-cli-darwin-x64`
|
|
49
51
|
- `@beyondidentity/ceros-cli-linux-x64`
|
|
50
52
|
- `@beyondidentity/ceros-cli-linux-arm64`
|
|
53
|
+
|
|
54
|
+
Coming soon:
|
|
55
|
+
|
|
51
56
|
- `@beyondidentity/ceros-cli-win32-x64`
|
|
57
|
+
- `@beyondidentity/ceros-cli-win32-arm64`
|
|
52
58
|
|
|
53
59
|
If `optionalDependencies` installation fails, a postinstall script will attempt to download the binary as a fallback.
|
package/index.js
CHANGED
|
@@ -35,7 +35,7 @@ function getBinaryPath() {
|
|
|
35
35
|
const binaryName = process.platform === "win32" ? "ceros.exe" : "ceros";
|
|
36
36
|
|
|
37
37
|
// Strategy 1: Try platform-specific package (installed as optionalDependency)
|
|
38
|
-
const platformPackage = `@beyondidentity/
|
|
38
|
+
const platformPackage = `@beyondidentity/ceros-cli-${platform}`;
|
|
39
39
|
try {
|
|
40
40
|
const platformPath = require.resolve(`${platformPackage}/bin/${binaryName}`);
|
|
41
41
|
if (existsSync(platformPath)) {
|
package/install.js
CHANGED
|
@@ -339,7 +339,7 @@ async function main() {
|
|
|
339
339
|
try {
|
|
340
340
|
const platform = getPlatform();
|
|
341
341
|
const binaryName = process.platform === "win32" ? "ceros.exe" : "ceros";
|
|
342
|
-
const platformPackage = `@beyondidentity/
|
|
342
|
+
const platformPackage = `@beyondidentity/ceros-cli-${platform}`;
|
|
343
343
|
|
|
344
344
|
// Check if optionalDependency already installed
|
|
345
345
|
if (checkOptionalDependency(platformPackage, binaryName)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beyondidentity/ceros-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.21.87",
|
|
4
4
|
"description": "Beyond Identity Ceros CLI - unified command interface to the Ceros Platform",
|
|
5
5
|
"keywords": ["beyondidentity", "ai", "cli", "ceros"],
|
|
6
6
|
"license": "SEE LICENSE in LICENSE.txt",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"THIRD_PARTY_LICENSES.txt"
|
|
20
20
|
],
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@beyondidentity/ceros-cli-linux-x64": "
|
|
23
|
-
"@beyondidentity/ceros-cli-darwin-arm64": "
|
|
24
|
-
"@beyondidentity/ceros-cli-darwin-x64": "
|
|
22
|
+
"@beyondidentity/ceros-cli-linux-x64": "1.21.87",
|
|
23
|
+
"@beyondidentity/ceros-cli-darwin-arm64": "1.21.87",
|
|
24
|
+
"@beyondidentity/ceros-cli-darwin-x64": "1.21.87"
|
|
25
25
|
},
|
|
26
26
|
"_commentedOutPlatforms": {
|
|
27
27
|
"_note": "These platforms are not yet supported but reserved for future use",
|