Repository navigation
@stagepass/cli 2.5.0
CLI-only release
Published on npm as @stagepass/cli@2.5.0 on 17 November 2026 at 18:06 Europe/Berlin. Source tag cli-v2.5.0 → 557e7d63de5fa6b0f19021494084d293cc9da80a. npm package shasum af14c64886db8df13e28633417101d421d98b876, integrity sha512-K6T7PwK3j4jMLyYDC/Gpzy9/KA7w+xM4b+ibY16khmArUbwDMtwsXAHoFzsnTiCLqQMG3IWTJZ0PiItmGTMx/Q==, tarball sha256 fe83b7ea5d0c8bb8e509191221a79e6588bf210085f7bd8e4db81a9ec563ceb3. npm dist-tag latest is 2.5.0. next remains 2.3.0-beta.1.
Install or update with npm install -g @stagepass/cli@2.5.0. Loader (2.5.0) and Modules (2.2.2) are separate packages and are not part of this release.
Highlights
Minor release on top of 2.4.1. Merged on master as 557e7d6 (PR #94).
Added
stagepass newandstagepass upgradewriteAGENTS.stagepass.md, owned by the CLI.AGENTS.mdstays user-owned and keeps only a short pointer between managed markers..cursor/rules/stagepass.mdcis written only when.cursor/already exists, or when you pass--cursor-rule. An existing rule is never deleted.- After a successful start, the CLI prints the Webflow Custom Code head snippets: the loader, then only the modules declared in
stagepass.json. The project footer is not printed. A failed start prints no head snippet. stagepass upgradecan retrofit editor types in an existing project, including astagepass.d.tsfile when a plaintypesarray is not present.stagepass devalso watchesapi/and.php/when"php": true.
Changed
- Without a TTY and without
--yes,stagepass upgradeleaves an unmodifiedscripts/build.mjsin place and prints a hint. CLI 2.4.0 and 2.4.1 replaced that file.
Security
- PHP projects created with CLI 2.5.0 refuse rate-limit storage faults unless
APP_ENVislocal,development, ordev.client_ip()readsX-Forwarded-FororForwardedonly whenREMOTE_ADDRis listed inTRUSTED_PROXIES.stagepass upgradedoes not changeapi/. Copy the files from a new scaffold, or re-scaffold.
Fixed
- Snippet exact pins use published loader 2.5.0 and modules 2.2.2. Script
srcstays on the major pin@2. - Footer snippets use a jsDelivr GitHub file URL when
originis a GitHub remote, otherwisehttps://YOUR-PRODUCTION-URL/js/main.jsand the matching CSS file. - The release workflow runs
scripts/check-published-versions.mjsbeforenpm stage publish.
Verification
- Self-hosted CI on Cerebro for PR #94 was green before merge. Release run 44115245452 was green. macOS smoke on the merge commit
557e7d6passed. - npm
latestis 2.5.0 as of 17 November 2026, 18:06:42 Europe/Berlin.
Known limits
This is a CLI-only release. Loader and modules versions are unchanged. stagepass upgrade does not rewrite an existing project's api/ files; the rate-limit and trusted-proxy behaviour applies to new 2.5.0 PHP scaffolds, or to files copied from one.