@adea-ai/app-framework-release-tools 0.9.1 → 0.11.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.
package/README.md CHANGED
@@ -19,11 +19,14 @@ adea-release <command> [arguments]
19
19
  | `cut` | Cuts a release from the app's checkout |
20
20
  | `step` | Runs one release step |
21
21
  | `plan-assets` | Plans the assets of a release |
22
+ | `package-channels` | Renders every package-manager channel from one manifest |
22
23
  | `build-linux-formats` | Builds private Linux format candidates from a signed archive |
23
24
  | `sign` | Signs a release |
24
25
  | `sign-descriptors` | Signs the release descriptors |
25
26
  | `verify-macos-signing` | Checks a macOS build's signature |
26
27
  | `publish` | Publishes a release once |
28
+ | `publish-packages` | Stages a published tag's raw Linux .deb and AppImage |
29
+ | `daily-batch` | Shows, promotes or rolls back a dry-run Daily batch |
27
30
  | `promote` | Promotes a release to another channel |
28
31
  | `finalize` | Waits for the release to complete and finalizes its draft |
29
32
  | `publish-framework-package` | Publishes the framework package to npm |
@@ -34,6 +37,12 @@ The framework's `release-*` bins run the same commands.
34
37
 
35
38
  The caller must obtain the expected repository, source, run and attempt from a protected authority. Local `origin/main` ancestry is advisory: it does not authenticate the remote, rule out local grafts, or establish approval. Pin and independently qualify the builder image and its system tools, then complete the native lifecycle and batch gates before any publication. Historical releases without the tracked manifest need a separately authenticated policy-to-baseline binding; this command does not supply one.
36
39
 
40
+ `package-channels <policy.json> <manifest.json> <new-output-dir> [channel ...]` is a dry run. It reads a `framework/package-channels/v1` policy and one exact manifest (a `framework/daily-batch/v1` batch or a published `release.json`) and renders Homebrew, WinGet, APT, pacman, RPM and Flatpak files under `<out>/<channel>/`, with `package-channels.json` listing each channel's asset, install command and the release-page downloads. Channels are planned independently; the command exits 1 when any requested channel failed, after writing the others. It signs, uploads and qualifies nothing. Daily releases get `<token>@daily` casks and `<Id>.Daily` WinGet manifests, and only Stable releases are eligible for public catalogs. A direct `.exe` WinGet installer is the framework's standalone Setup.exe: its manifest passes `--package-manager=winget` (the policy gives no silent flags), and after a successful install the Setup writes `.package-manager` in `%LOCALAPPDATA%\<appId>\stable\app`, so the in-app updater leaves the install to WinGet. A `.zip` installer (Electrobun's Setup) gets the policy's flags and is not marked.
41
+
42
+ `publish-packages --local <packages-dir> <release-config.json> <out>`, with `RELEASE_TAG` and `SOURCE_SHA` set and the checkout at the tag, stages a tag's Linux packages like `publish --local`: the directory holds only `<archive base>.deb` and `<archive base>.AppImage` files for Linux archives the feed already lists for the tag from the same commit. They are added to release.json and the channel pointers as raw, unsigned files; no descriptor names them and nothing already published is replaced.
43
+
44
+ `daily-batch <show|promote|rollback> --dry-run <store-dir> ...` runs the staged Daily batch protocol (one signed `channels/daily-batch.json` pointer over immutable `batches/sha256-<digest>/` objects) against a local directory store. `promote` takes `<release-config.json> <candidate-dir> <key-id> <signing-key.pem> <trust.json>` and re-verifies a `daily-matrix stage-local` candidate; `rollback` takes `<app-id> <feed-app> <manifest-digest> <key-id> <signing-key.pem> <trust.json>` and moves the pointer back to a batch already in the store. Without `--dry-run` it refuses: live publication waits for durable shared storage and the reader migration.
45
+
37
46
  ## License
38
47
 
39
48
  Apache-2.0
@@ -179,7 +179,7 @@ function keys(value, required) {
179
179
  return isRecord(value) && hasExactOwnKeys(value, required);
180
180
  }
181
181
  function buildDailyProductConfig(base, policy) {
182
- if (!isRecord(base) || base.dailyReleaseProfile !== undefined || !keys(base.platforms, legacy) || !isRecord(base.descriptors) || !isRecord(policy) || !hasExactOwnKeys(policy, [
182
+ if (!isRecord(base) || base.dailyReleaseProfile !== undefined && base.dailyReleaseProfile !== "desktop-v1" || !keys(base.platforms, legacy) || !isRecord(base.descriptors) || !isRecord(policy) || !hasExactOwnKeys(policy, [
183
183
  "schema",
184
184
  "profile",
185
185
  "appId",