specrails-desktop 2.63.1 → 2.63.2
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/docs/ci-cd.md +3 -4
- package/docs/getting-started.md +1 -1
- package/docs/internals/core-runtime-updates.md +3 -3
- package/docs/internals/source-map.md +1 -2
- package/docs/platforms/macos.md +4 -4
- package/docs/platforms/windows.md +5 -5
- package/docs/running-pipelines.md +12 -0
- package/package.json +1 -1
package/docs/ci-cd.md
CHANGED
|
@@ -38,7 +38,7 @@ Release admission uses the current run/attempt of the named CI workflow and the
|
|
|
38
38
|
|
|
39
39
|
## Native validation without publication
|
|
40
40
|
|
|
41
|
-
Manually running `Desktop Release` defaults to `validation_only=true`. Select a trusted branch in this repository: admission requires successful push CI for that exact branch and SHA, and refuses evidence from another branch, a pull request or a fork. Selecting an existing matching release tag instead requires its main push CI. Validation builds retain their artifacts in GitHub Actions; macOS signing/notarization remains mandatory and the existing Windows installer signing policy is unchanged. The entire GitHub Release
|
|
41
|
+
Manually running `Desktop Release` defaults to `validation_only=true`. Select a trusted branch in this repository: admission requires successful push CI for that exact branch and SHA, and refuses evidence from another branch, a pull request or a fork. Selecting an existing matching release tag instead requires its main push CI. Validation builds retain their artifacts in GitHub Actions; macOS signing/notarization remains mandatory and the existing Windows installer signing policy is unchanged. The entire GitHub Release publication job is skipped. A passing validation build does not publish a release or move an update channel.
|
|
42
42
|
|
|
43
43
|
Both validation and release builds use `assemble-chromium.mjs --release`. On macOS, the certificate and Apple API key are imported before Chromium assembly. The assembler must sign and notarize Chromium before writing a normal `chromium.tar.gz`; missing credentials or failed verification fail the build. Windows uses the same archive format without changing the browser's Authenticode signature. The archive keeps framework symlinks intact through Tauri resource copying. Staging and packaged macOS smoke tests require Chromium signature and notarization verification as well as actual browser execution.
|
|
44
44
|
|
|
@@ -48,14 +48,13 @@ The macOS job retains `artifacts/chromium-signing/` as the `chromium-signing-mac
|
|
|
48
48
|
|
|
49
49
|
## Credentials and external requirements
|
|
50
50
|
|
|
51
|
-
###
|
|
51
|
+
### Download channel
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
GitHub Releases is the only Desktop download channel. Each release carries the canonical installers, the Tauri updater assets and `manifest.json` (version, sha256 and size per platform, with GitHub asset URLs). The Tauri updater reads `releases/latest/download/latest.json`; specrails.dev reads the latest release through the GitHub API. Nothing is uploaded to Hostinger, so a release has no second publication step to recover.
|
|
54
54
|
|
|
55
55
|
- `RELEASE_PAT` must be authorized for release-please's pull requests and releases. It also permits tag pushes to trigger publication workflows; events created with the repository's ordinary `GITHUB_TOKEN` generally do not trigger another workflow.
|
|
56
56
|
- Publication uses one of two credentials. When the `NPM_TOKEN` secret is set, it must authenticate an account with publishing permission for `specrails-desktop` (npm now requires such tokens to be granular with *bypass 2FA*, and they expire within 90 days); the workflow checks authentication and gives an explicit error before publishing. When the secret is empty, the job publishes through npm **trusted publishing**: it installs npm 11, removes the empty token line that `setup-node` writes, and lets npm exchange the job's OIDC identity (`id-token: write`) for a short-lived publish grant. That path only works once the package's *Trusted publisher* on npmjs.com names this repository (`fjpulidop/specrails-desktop`) and workflow file (`npm-publish.yml`, no environment); registry configuration is never changed from here. Provenance does **not** grant publishing permission in either mode. An npm `E404` during publication is npm's answer to an unauthorized publish and does not identify which token or permission failed; an `E403` mentioning two-factor authentication means the stored token lacks *bypass 2FA*. [npm publishing and provenance](https://docs.github.com/en/actions/tutorials/publish-packages/publish-nodejs-packages).
|
|
57
57
|
- Existing Apple signing/notarization and Tauri updater signing secrets remain required. Installer build steps retain their platform-specific checks.
|
|
58
|
-
- Hostinger credentials must support **explicit FTPS**, a valid TLS certificate, uploads and `RNFR`/`RNTO` in the release directory. There is no plaintext FTP fallback. A failed transfer or rename fails the workflow before old files are removed. [FTP action protocol and security options](https://github.com/SamKirkland/FTP-Deploy-Action/blob/v4.3.6/action.yml).
|
|
59
58
|
|
|
60
59
|
No secret, registry authorization, signing certificate, hosting permission or branch protection is configured by these source changes. Dependency installation is separated from npm publishing credentials. Candidate Core packages and publication tarballs use `--ignore-scripts` at the relevant installation/publication boundaries. [npm installation lifecycle options](https://docs.npmjs.com/cli/v11/commands/npm-ci/).
|
|
61
60
|
|
package/docs/getting-started.md
CHANGED
|
@@ -16,7 +16,7 @@ Two options:
|
|
|
16
16
|
|
|
17
17
|
### Option 1 — Desktop app (recommended)
|
|
18
18
|
|
|
19
|
-
Download a signed build for your OS from
|
|
19
|
+
Download a signed build for your OS from the [latest GitHub Release](https://github.com/fjpulidop/specrails-desktop/releases/latest) (the **Download** button on [specrails.dev](https://specrails.dev) links the same files):
|
|
20
20
|
|
|
21
21
|
- **macOS** — `specrails-desktop-<version>-aarch64.dmg` (Apple Silicon, notarised)
|
|
22
22
|
- **Windows** — `specrails-desktop-<version>-x64-setup.exe` (NSIS; `-arm64-setup.exe` on ARM64)
|
|
@@ -13,7 +13,7 @@ framework is rejected rather than silently replacing an update.
|
|
|
13
13
|
|
|
14
14
|
## Persistence and publication
|
|
15
15
|
|
|
16
|
-
The release bundle pins Core 6.6.
|
|
16
|
+
The release bundle pins Core 6.6.3 in `desktop-release.yml` and
|
|
17
17
|
`scripts/assemble-bundled-core.lock.json`. Core 6 is the Desktop-only engine: it
|
|
18
18
|
publishes integration contract 5.1 (no standalone `update`) and ships only the
|
|
19
19
|
implement and retry workflows (Batch was folded into implement; Desktop no
|
|
@@ -27,8 +27,8 @@ dependency leaks into its tarball (today `@langchain/langgraph-sdk` ships
|
|
|
27
27
|
module still loads while every staged path stays inside the MSI budget
|
|
28
28
|
(`MAX_STAGED_RELATIVE_PATH`, 120 characters).
|
|
29
29
|
|
|
30
|
-
The paired CI checkout uses the immutable Core 6.6.
|
|
31
|
-
`
|
|
30
|
+
The paired CI checkout uses the immutable Core 6.6.3 release commit
|
|
31
|
+
`a8bc8181a206ea9630ae3b02e6198f8519d35604`. Bundle smoke checks use Node 22.22.3,
|
|
32
32
|
matching Core's minimum supported Node version and the Desktop release runtime.
|
|
33
33
|
|
|
34
34
|
Desktop updates retain the complete npm installation, including dependencies,
|
|
@@ -5,7 +5,7 @@ architectural dependency declaration. Search a heading or filename and read only
|
|
|
5
5
|
the relevant source and tests. Feature prefixes group the legacy server files;
|
|
6
6
|
new bounded modules live under `server/modules/`.
|
|
7
7
|
|
|
8
|
-
Includes
|
|
8
|
+
Includes 1046 source/build files. Nearby tests are linked where names
|
|
9
9
|
match; integration suites may live elsewhere. Use `rg` to find other consumers.
|
|
10
10
|
|
|
11
11
|
## cli
|
|
@@ -854,7 +854,6 @@ match; integration suites may live elsewhere. Use `rg` to find other consumers.
|
|
|
854
854
|
- [obfuscate-chromium.mjs](../../scripts/obfuscate-chromium.mjs)
|
|
855
855
|
- [paired-core-shards.mjs](../../scripts/paired-core-shards.mjs) · [test](../../scripts/paired-core-shards.test.mjs)
|
|
856
856
|
- [patch-node-pty.mjs](../../scripts/patch-node-pty.mjs) · [test](../../scripts/patch-node-pty.test.mjs)
|
|
857
|
-
- [recover-desktop-channel.mjs](../../scripts/recover-desktop-channel.mjs) · [test](../../scripts/recover-desktop-channel.test.mjs)
|
|
858
857
|
- [release-policy.mjs](../../scripts/release-policy.mjs) · [test](../../scripts/release-policy.test.mjs)
|
|
859
858
|
- [run-native-smoke.ps1](../../scripts/run-native-smoke.ps1)
|
|
860
859
|
- [sign-chromium-macos.mjs](../../scripts/sign-chromium-macos.mjs) · [test](../../scripts/sign-chromium-macos.test.mjs)
|
package/docs/platforms/macos.md
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
|
-
Signed, notarized builds are published on every release
|
|
10
|
+
Signed, notarized builds are published on every release as GitHub Release assets:
|
|
11
11
|
|
|
12
|
-
> 📥
|
|
12
|
+
> 📥 [https://github.com/fjpulidop/specrails-desktop/releases/latest](https://github.com/fjpulidop/specrails-desktop/releases/latest)
|
|
13
13
|
|
|
14
14
|
- `specrails-desktop-<version>-aarch64.dmg` — the Apple Silicon installer.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Every earlier version stays on its own [GitHub Release](https://github.com/fjpulidop/specrails-desktop/releases). Each release lists the sha256 of every asset and carries a machine-readable `manifest.json` (version, sha256, size) so you can verify a download:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
shasum -a 256 specrails-desktop-<version>-aarch64.dmg
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Compare the output against `platforms["darwin-arm64"].sha256` in `https://
|
|
22
|
+
Compare the output against `platforms["darwin-arm64"].sha256` in `https://github.com/fjpulidop/specrails-desktop/releases/latest/download/manifest.json`, or against the sha256 shown next to the asset on the release page.
|
|
23
23
|
|
|
24
24
|
To install: open the `.dmg` and drag **Specrails** into `Applications/`.
|
|
25
25
|
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
Installers are published on every release
|
|
14
|
+
Installers are published on every release as GitHub Release assets:
|
|
15
15
|
|
|
16
|
-
> 📥
|
|
16
|
+
> 📥 [https://github.com/fjpulidop/specrails-desktop/releases/latest](https://github.com/fjpulidop/specrails-desktop/releases/latest)
|
|
17
17
|
|
|
18
18
|
Pick the installer that matches your CPU architecture:
|
|
19
19
|
|
|
@@ -22,9 +22,9 @@ Pick the installer that matches your CPU architecture:
|
|
|
22
22
|
| x64 | `specrails-desktop-<version>-x64-setup.exe` |
|
|
23
23
|
| ARM64 | `specrails-desktop-<version>-arm64-setup.exe` |
|
|
24
24
|
|
|
25
|
-
Windows ships only the NSIS installer. For unattended or managed deployment, run it silently with `/S` (optionally `/D=<install dir>` as the last argument). Releases up to 2.62 also published an `.msi`; see [Updates](#updates) for how those installations migrate. The installer provisions Microsoft Edge WebView2 when it is missing, downloading it through a small embedded bootstrapper (Windows 11 and current Windows 10 already include it).
|
|
25
|
+
Windows ships only the NSIS installer. For unattended or managed deployment, run it silently with `/S` (optionally `/D=<install dir>` as the last argument). Releases up to 2.62 also published an `.msi`; see [Updates](#updates) for how those installations migrate. The installer provisions Microsoft Edge WebView2 when it is missing, downloading it through a small embedded bootstrapper (Windows 11 and current Windows 10 already include it). Every earlier version stays on its own [GitHub Release](https://github.com/fjpulidop/specrails-desktop/releases).
|
|
26
26
|
|
|
27
|
-
A machine-readable `manifest.json`
|
|
27
|
+
A machine-readable `manifest.json` asset on each release describes the current release (version, sha256, size) per platform, including `windows-x64` and `windows-arm64` entries — consumers can read it to build download links without hardcoding a version.
|
|
28
28
|
|
|
29
29
|
## SmartScreen warning
|
|
30
30
|
|
|
@@ -44,7 +44,7 @@ This warning is expected and will persist until Authenticode code signing is add
|
|
|
44
44
|
Get-FileHash specrails-desktop-<version>-x64-setup.exe -Algorithm SHA256
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Compare the output against the matching architecture's `sha256` (`platforms["windows-x64"].sha256` or `platforms["windows-arm64"].sha256`) in `https://
|
|
47
|
+
Compare the output against the matching architecture's `sha256` (`platforms["windows-x64"].sha256` or `platforms["windows-arm64"].sha256`) in `https://github.com/fjpulidop/specrails-desktop/releases/latest/download/manifest.json`, or against the sha256 shown next to the asset on the release page.
|
|
48
48
|
|
|
49
49
|
## What's bundled
|
|
50
50
|
|
|
@@ -156,6 +156,18 @@ Visible only when [telemetry](customizing.md#telemetry) was enabled for the job.
|
|
|
156
156
|
- `summary.md` — human-readable highlights
|
|
157
157
|
- `profile.json`, `plugins.json` — exact snapshots of what ran (when present)
|
|
158
158
|
|
|
159
|
+
### A run fails with `lease_lost` right after installing dependencies
|
|
160
|
+
|
|
161
|
+
On Desktop versions that bundle Core 6.6.2 or older, an Implement run on a large repository could fail in the `developer` step shortly after `[environment] yarn install` (or `npm install`) with:
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
Execution lease expired or was replaced; late effects cannot commit
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Core held an execution lease that it renews every few seconds, but it ran the dependency install synchronously. An install longer than about 45 s blocked that renewal, so the lease expired. Core 6.6.3 runs host installs asynchronously and the lease keeps renewing. Update Desktop and launch the spec again.
|
|
168
|
+
|
|
169
|
+
The interrupted attempt cannot be resumed: its write step was cut off, so the runtime cannot confirm what was applied. Its isolated worktree is preserved, and you can inspect it or delete it.
|
|
170
|
+
|
|
159
171
|
## Agent profiles
|
|
160
172
|
|
|
161
173
|
A **profile** is a named JSON file that bundles the agent chain + per-agent models + routing rules. Different rails can run different profiles.
|