agentful 0.4.13 → 0.4.14
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 +12 -1
- package/dist/index.cjs +1206 -437
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ agentful open # open the preview
|
|
|
26
26
|
| `login` / `logout` / `whoami` | Browser-based sign-in; the token is kept in the macOS Keychain (on Linux: a `0600` file under `~/.config/agentful/`) |
|
|
27
27
|
| `init [--link <id>] [--title <t>]` | Create a cloud project or link an existing one (`.agentful/project.json`) |
|
|
28
28
|
| `push [--prebuilt [--dir <path>]]` | Upload the source and build in the cloud; `--prebuilt` uploads a local build |
|
|
29
|
+
| `push --dry-run [--json]` | Analyse what a push would upload and what would block it — uploads nothing |
|
|
29
30
|
| `open` | Open the live preview |
|
|
30
31
|
| `share [--private]` | Make the preview public, or private again |
|
|
31
32
|
| `publish <subdomain>` | Publish at `https://<subdomain>.agentful.page` |
|
|
@@ -40,7 +41,17 @@ Inside the interface, `/` lists the Agentful commands (`/setup`, `/push`,
|
|
|
40
41
|
`/preview`, `/publish`, `/share`, `/status`) alongside the built-in ones.
|
|
41
42
|
|
|
42
43
|
`push` respects your `.gitignore` and always excludes `.git`, `node_modules`,
|
|
43
|
-
build output and every `.env` file.
|
|
44
|
+
build output and every `.env` file. A push carries at most about 4.4 MiB
|
|
45
|
+
compressed, 25 MiB of files and 2,000 files, and a static site or a prebuilt upload needs
|
|
46
|
+
an `index.html` at its top level. `push` checks all of this before it signs you
|
|
47
|
+
in or creates a project.
|
|
48
|
+
|
|
49
|
+
`agentful push --dry-run` shows that check on its own: what would be uploaded
|
|
50
|
+
and what is left out, the largest files, identical copies, media embedded in
|
|
51
|
+
HTML, and every reason the upload would be rejected. It uploads nothing,
|
|
52
|
+
creates no project and changes no file; it exits with 1 when the push would be
|
|
53
|
+
blocked. `--dry-run --json` prints the same analysis as one JSON document
|
|
54
|
+
(`"schema": "agentful.push-analysis"`) for scripts and agents.
|
|
44
55
|
|
|
45
56
|
## What you can deploy
|
|
46
57
|
|