agentful 0.4.11 → 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.
Files changed (3) hide show
  1. package/README.md +13 -2
  2. package/dist/index.cjs +1209 -442
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -26,9 +26,10 @@ 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
- | `publish <subdomain>` | Publish at `https://<subdomain>.agentful.dev` |
32
+ | `publish <subdomain>` | Publish at `https://<subdomain>.agentful.page` |
32
33
  | `pull [--force]` | Fetch the cloud state into this directory |
33
34
  | `models [--add-local]` | Show available models, manage your own providers |
34
35
  | `upgrade` | Update the CLI to the latest published version |
@@ -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. Uploads are capped at 6 MB.
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