agentful 0.2.6 → 0.2.7
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 +5 -4
- package/dist/index.cjs +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ agentful open # open the preview
|
|
|
22
22
|
|
|
23
23
|
| Command | Purpose |
|
|
24
24
|
| --- | --- |
|
|
25
|
-
| `login` / `logout` / `whoami` | Browser-based sign-in; the token is kept in the macOS Keychain |
|
|
25
|
+
| `login` / `logout` / `whoami` | Browser-based sign-in; the token is kept in the macOS Keychain (on Linux: a `0600` file under `~/.config/agentful/`) |
|
|
26
26
|
| `init [--link <id>] [--title <t>]` | Create a cloud project or link an existing one (`.agentful/project.json`) |
|
|
27
27
|
| `push [--prebuilt [--dir <path>]]` | Upload the source and build in the cloud; `--prebuilt` uploads a local build |
|
|
28
28
|
| `open` | Open the live preview |
|
|
@@ -42,9 +42,10 @@ build output and every `.env` file. Uploads are capped at 6 MB.
|
|
|
42
42
|
|
|
43
43
|
## Platform support
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
**macOS and Linux** (arm64 and x64 each). The device-flow login works headless:
|
|
46
|
+
the CLI prints a URL plus a code, opening a browser is best-effort (`xdg-open`).
|
|
47
|
+
Windows is not supported yet — win32 engine artifacts are not mirrored and the
|
|
48
|
+
credential/spawn/extract assumptions are untested there.
|
|
48
49
|
|
|
49
50
|
## Engine distribution
|
|
50
51
|
|
package/dist/index.cjs
CHANGED
|
@@ -3044,7 +3044,7 @@ var VERSION, brand, useColor, wrap, paint, sym, ui;
|
|
|
3044
3044
|
var init_branding = __esm({
|
|
3045
3045
|
"src/branding.ts"() {
|
|
3046
3046
|
"use strict";
|
|
3047
|
-
VERSION = "0.2.
|
|
3047
|
+
VERSION = "0.2.7" ? "0.2.7" : null.version;
|
|
3048
3048
|
brand = {
|
|
3049
3049
|
name: "agentful",
|
|
3050
3050
|
// the command users type
|
|
@@ -6033,10 +6033,11 @@ function platformKey() {
|
|
|
6033
6033
|
const { platform, arch } = process;
|
|
6034
6034
|
const key = `${platform}-${arch}`;
|
|
6035
6035
|
if (platform === "darwin" && (arch === "arm64" || arch === "x64")) return key;
|
|
6036
|
+
if (platform === "linux" && (arch === "arm64" || arch === "x64")) return key;
|
|
6036
6037
|
throw new ApiError(
|
|
6037
6038
|
0,
|
|
6038
6039
|
"unsupported_platform",
|
|
6039
|
-
`The ${brand.displayName} TUI supports macOS
|
|
6040
|
+
`The ${brand.displayName} TUI supports macOS and Linux (got ${platform}/${arch}). Windows follows once it is properly tested.`
|
|
6040
6041
|
);
|
|
6041
6042
|
}
|
|
6042
6043
|
function cacheDir(version) {
|