agentful 0.4.13 → 0.4.15
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 +16 -1
- package/dist/index.cjs +1405 -450
- 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 [--summary]]` | 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` |
|
|
@@ -38,9 +39,23 @@ agentful open # open the preview
|
|
|
38
39
|
|
|
39
40
|
Inside the interface, `/` lists the Agentful commands (`/setup`, `/push`,
|
|
40
41
|
`/preview`, `/publish`, `/share`, `/status`) alongside the built-in ones.
|
|
42
|
+
`/push` checks before it uploads: the agent reads the same analysis as
|
|
43
|
+
`push --dry-run`, explains what would block the upload or go missing on the
|
|
44
|
+
site, and asks you before it changes a file or pushes.
|
|
41
45
|
|
|
42
46
|
`push` respects your `.gitignore` and always excludes `.git`, `node_modules`,
|
|
43
|
-
build output and every `.env` file.
|
|
47
|
+
build output and every `.env` file. A push carries at most about 4.4 MiB
|
|
48
|
+
compressed, 25 MiB of files and 2,000 files, and a static site or a prebuilt upload needs
|
|
49
|
+
an `index.html` at its top level. `push` checks all of this before it signs you
|
|
50
|
+
in or creates a project.
|
|
51
|
+
|
|
52
|
+
`agentful push --dry-run` shows that check on its own: what would be uploaded
|
|
53
|
+
and what is left out, the largest files, identical copies, media embedded in
|
|
54
|
+
HTML, and every reason the upload would be rejected. It uploads nothing,
|
|
55
|
+
creates no project and changes no file; it exits with 1 when the push would be
|
|
56
|
+
blocked. `--dry-run --json` prints the same analysis as one JSON document
|
|
57
|
+
(`"schema": "agentful.push-analysis"`) for scripts and agents; with `--summary`
|
|
58
|
+
it leaves out the list of every file and keeps totals, limits and findings.
|
|
44
59
|
|
|
45
60
|
## What you can deploy
|
|
46
61
|
|