@jelou/cli 1.126.0 → 1.127.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.
Files changed (1) hide show
  1. package/package.json +16 -32
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jelou/cli",
3
- "version": "1.126.0",
3
+ "version": "1.127.0",
4
4
  "description": "Build AI agents on the Jelou platform — from your terminal or your AI editor.",
5
5
  "author": "Jelou Inc. (https://jelou.ai)",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -23,11 +23,11 @@
23
23
  "THIRD_PARTY_NOTICES.md"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@jelou/cli-darwin-arm64": "1.126.0",
27
- "@jelou/cli-darwin-x64": "1.126.0",
28
- "@jelou/cli-linux-x64": "1.126.0",
29
- "@jelou/cli-linux-arm64": "1.126.0",
30
- "@jelou/cli-win32-x64": "1.126.0"
26
+ "@jelou/cli-darwin-arm64": "1.127.0",
27
+ "@jelou/cli-darwin-x64": "1.127.0",
28
+ "@jelou/cli-linux-x64": "1.127.0",
29
+ "@jelou/cli-linux-arm64": "1.127.0",
30
+ "@jelou/cli-win32-x64": "1.127.0"
31
31
  },
32
32
  "keywords": [
33
33
  "jelou",
@@ -58,53 +58,37 @@
58
58
  "jelou": {
59
59
  "minVersion": "1.125.0",
60
60
  "release_notes": {
61
- "version": "1.126.0",
62
- "date": "2026-09-11",
63
- "headline": "New `jelou sites` command group: publish a built static site from the CLI and operate it — deploy, inspect, roll back, and open it as a real user sees it.",
61
+ "version": "1.127.0",
62
+ "date": "2026-09-12",
63
+ "headline": "`jelou sites` gains a local dev server and drafts: check a build, publish it, then decide when it goes live.",
64
64
  "highlights": [
65
65
  {
66
66
  "type": "new",
67
- "text": "`jelou sites` publishes a built static site. `sites init` links the directory through the same `jelou.json` marker (with `site:` instead of `function:`), `sites deploy` uploads the build, and `sites list` / `info` / `create` / `update` / `delete` / `deployments` / `rollback` cover the rest."
67
+ "text": "`jelou sites dev` serves your build through the same wrapper the platform deploys — the site's own CSP, security headers, SPA fallback and `_redirects`/`_headers` rules, fetched for that site rather than reimplemented. What works locally works on the URL, and files are read per request so a rebuild needs no restart."
68
68
  },
69
69
  {
70
70
  "type": "new",
71
- "text": "`jelou sites deploy` checks the build offline first — `index.html` at the root, 1000 files, 5 MB per file, 25 MB total, nothing under the reserved `__jelou/` — and uploads nothing when something blocks. `--dry-run` shows what would ship without touching the network."
71
+ "text": "`jelou sites deploy --draft` publishes without taking the site over. The build settles on its own preview URL and the live one keeps serving what it served before."
72
72
  },
73
73
  {
74
74
  "type": "new",
75
- "text": "The file set the platform stored is verified against the one that was sent. A mismatch exits 6 and writes the evidence to `.jelou/deploys/<id>.json`."
76
- },
77
- {
78
- "type": "new",
79
- "text": "`jelou sites webview mint` mints the single-use session link a workflow would mint, so you can open a page as a real user sees it without building the workflow first."
80
- },
81
- {
82
- "type": "new",
83
- "text": "An organization root now lists `sites:` alongside `projects:` and `functions:`, and `jelou org init` picks up site directories when it scans."
75
+ "text": "`jelou sites activate <slug> <id>` takes a draft live, binding the site to a build that is already built rather than deploying it again."
84
76
  },
85
77
  {
86
78
  "type": "improved",
87
- "text": "`jelou sites deployments list` and `info` say which deployment the URL is actually serving, as `Live` in the table and `live` in `--json`. The platform leaves every superseded deployment marked active, so the whole history used to read as current."
79
+ "text": "Deployments report `preview_url`, which is where a draft is looked at before it goes live."
88
80
  },
89
81
  {
90
82
  "type": "improved",
91
- "text": "`jelou sites rollback <deployment-id>` works from a linked directory. A lone deployment id used to be read as a site slug and failed with a misleading \"not found\"."
83
+ "text": "`jelou sites create` and `jelou sites info` report `platform_url` — where the site will live, claimed when it is created, so you know the hostname before uploading anything."
92
84
  },
93
85
  {
94
86
  "type": "improved",
95
- "text": "`jelou sites update --reset <field>` drops a header override (`csp`, `frame-ancestors`, `permissions-policy`) so it falls back to the platform default."
96
- },
97
- {
98
- "type": "improved",
99
- "text": "Running a `functions` command in a site directory, or the reverse, now says which kind the directory is linked to instead of calling it unlinked."
100
- },
101
- {
102
- "type": "heads_up",
103
- "text": "Security headers are compiled into the served bundle when it is built, so a `jelou sites update --csp` / `--frame-ancestors` / `--permissions-policy` / `--reset` change is stored immediately and reaches visitors only after the next `jelou sites deploy`. The command now says so and returns `requires_redeploy`."
87
+ "text": "Deploys and rollbacks now identify the CLI to the platform, so a deployment that came out wrong can be traced to what made it."
104
88
  },
105
89
  {
106
90
  "type": "heads_up",
107
- "text": "`jelou sites delete` does not take a page offline. It removes the site and destroys every stored artifact, but the already-published bundle keeps answering on its URL. To stop serving content, deploy a replacement."
91
+ "text": "Only the newest build can be activated. If someone deploys after your draft, `jelou sites activate` refuses with exit 2 and you deploy again — binding an older build would be a silent no-op on the platform."
108
92
  }
109
93
  ]
110
94
  }