@future-agi/cli 0.2.0-rc.1 → 0.2.0
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 +19 -7
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
# @future-agi/cli
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Install `fagi` from the v0.1.0 native GitHub release assets instead;
|
|
5
|
-
see the [native installation guide](../docs/INSTALL.md). The package templates stay private
|
|
6
|
-
by default. Publishing requires release approval and explicit opt-in; see
|
|
7
|
-
`docs/RELEASING.md` in the repository.
|
|
3
|
+
The Future AGI command line, `fagi`, packaged for npm.
|
|
8
4
|
|
|
9
|
-
|
|
5
|
+
```sh
|
|
6
|
+
npm install -g @future-agi/cli
|
|
7
|
+
fagi --version
|
|
8
|
+
fagi auth login
|
|
9
|
+
fagi doctor
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
To run it once without installing, name the command with `-p`:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npx -p @future-agi/cli fagi --help
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
(`npx @future-agi/cli` alone does not work: the package has three commands and
|
|
19
|
+
npx cannot tell which one to run.) Release candidates use the `next` tag:
|
|
20
|
+
`npm install -g @future-agi/cli@next`. To remove it: `npm uninstall -g @future-agi/cli`.
|
|
10
21
|
|
|
11
22
|
`fagi` is the primary command; `futureagi` and `fi` remain aliases. All three
|
|
12
23
|
launch the same native executable with the invoked name in `argv[0]`, so native
|
|
@@ -40,7 +51,8 @@ is no postinstall download or network fallback. For an offline npm registry,
|
|
|
40
51
|
mirror both the wrapper and its exact-version native package. Restricted packages
|
|
41
52
|
need registry credentials even when the GitHub repository is accessible.
|
|
42
53
|
|
|
43
|
-
Maintainers: `
|
|
54
|
+
Maintainers: merges to `main` publish a new `VERSION` (see `docs/RELEASING.md`).
|
|
55
|
+
`node scripts/build-packages.mjs --dist ../dist --out /absolute/new/output`
|
|
44
56
|
only assembles packages; it does not publish. All six platforms must supply all
|
|
45
57
|
three nonempty, byte-identical executables before any output is created.
|
|
46
58
|
Output manifests default to `private: true` and `publishConfig.access: restricted`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@future-agi/cli",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The FutureAGI CLI, with a native binary for your platform",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"optionalDependencies": {
|
|
27
|
-
"@future-agi/cli-darwin-arm64": "0.2.0
|
|
28
|
-
"@future-agi/cli-darwin-x64": "0.2.0
|
|
29
|
-
"@future-agi/cli-linux-arm64": "0.2.0
|
|
30
|
-
"@future-agi/cli-linux-x64": "0.2.0
|
|
31
|
-
"@future-agi/cli-win32-x64": "0.2.0
|
|
32
|
-
"@future-agi/cli-win32-arm64": "0.2.0
|
|
27
|
+
"@future-agi/cli-darwin-arm64": "0.2.0",
|
|
28
|
+
"@future-agi/cli-darwin-x64": "0.2.0",
|
|
29
|
+
"@future-agi/cli-linux-arm64": "0.2.0",
|
|
30
|
+
"@future-agi/cli-linux-x64": "0.2.0",
|
|
31
|
+
"@future-agi/cli-win32-x64": "0.2.0",
|
|
32
|
+
"@future-agi/cli-win32-arm64": "0.2.0"
|
|
33
33
|
}
|
|
34
34
|
}
|