diff --git a/demos/cli/demo.video.ts b/demos/cli/demo.video.ts index a629958f59b..1426a02cb12 100644 --- a/demos/cli/demo.video.ts +++ b/demos/cli/demo.video.ts @@ -2,13 +2,14 @@ * Scripted terminal demo of the Alchemy CLI, recorded with tcut * (https://github.com/AmanVarshney01/tcut). * - * tcut demo.video.ts # record + render out/alchemy-cli.{mp4,gif} + * tcut demo.video.ts # record + render out/alchemy-cli.mp4 * tcut test demo.video.ts # replay fast, assertions only (no video) * tcut render out/alchemy-cli.cast … # re-render the last recording, no shell * * The run never touches your real `~/.alchemy`: it starts from an EMPTY * throwaway `ALCHEMY_HOME` and follows a brand-new user in order, one title - * card per step: connect Cloudflare through the `alchemy profile` TUI (OAuth, + * card (`t.slide`, tcut ≥ 1.3) and mp4 chapter per step: connect Cloudflare + * through the `alchemy profile` TUI (OAuth, * granted in tcut's browser pane), `alchemy dev`, `alchemy deploy`, an * out-of-band edit caught and fixed by `alchemy drift`, and `alchemy destroy`. * Stack state stays in this directory's `.alchemy/`; everything the demo @@ -16,8 +17,8 @@ * * Inputs (environment): * CLOUDFLARE_ACCOUNT_NAME (env or ./.env, optional) - * Typed into the account picker when the login sees several accounts; - * defaults to the account id, which the picker also matches on. + * The account to arrow down to in the picker when the login sees + * several accounts; defaults to the account id. * CLOUDFLARE_LOGIN_EMAIL / CLOUDFLARE_LOGIN_PASSWORD (env or ./.env) * Dashboard login for the Cloudflare account used on camera. If unset, * the script waits (up to 4 min) for you to sign in by hand in the @@ -212,7 +213,7 @@ const seedOpenShim = () => { const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); /** The authorization URL the CLI asked `open` to launch. */ -const waitForOAuthUrl = async (attempts = 120) => { +const waitForOAuthUrl = async (attempts = 240) => { for (let i = 0; i < attempts; i++) { if (existsSync(oauthUrlFile)) return readFileSync(oauthUrlFile, "utf8"); await sleep(250); @@ -276,14 +277,14 @@ const VIDEO = { width: 1368, height: 816 }; export default defineVideo( { - output: ["out/alchemy-cli.mp4", "out/alchemy-cli.gif"], + output: ["out/alchemy-cli.mp4"], shell: "zsh", cols: 110, rows: 32, width: VIDEO.width, height: VIDEO.height, theme: "catppuccin-mocha", - typingSpeed: "35ms", + typingSpeed: "15ms", typingJitter: 0.3, waitTimeout: "180s", endPause: "2s", @@ -300,24 +301,42 @@ export default defineVideo( const originalApi = readFileSync(apiFile, "utf8"); /** - * A title card between steps. tcut has no video-level transitions (it - * renders what the terminal shows), so the card is made in the terminal - * itself: clear the screen, park the cursor mid-frame, render the - * caption, hold, and clear again so the next command starts on a fresh - * screen. Every card is also an mp4 chapter (`--chapters`, `--split-chapters`). + * A full-screen transition card between steps (`t.slide`, tcut ≥ 1.3), + * drawn at render time in real typography and faded in and out. It also + * records an mp4 chapter of the same name (`--chapters`, + * `--split-chapters`), and the screen is cleared behind the card so the + * next step starts fresh. */ let step = 0; - const slide = async (chapter: string, heading: string, body: string) => { + const slide = async (heading: string, subtitle: string) => { step += 1; - await t.chapter(chapter); - await t.hide(() => - t.run(`clear && tput cup ${Math.floor(t.rows / 2) - 3} 0`), - ); - await t.print(`## ${step} · ${heading}\n\n${body}`); - await t.sleep("3s"); - await t.hide(() => t.run("clear")); + await t.caption(null); + await t.slide(heading, { + eyebrow: String(step), + subtitle, + duration: "2.2s", + fade: "400ms", + during: async () => { + // `run` waits for a fresh prompt, which never comes when the screen + // is already just a prompt (clear redraws nothing new). + const lines = t + .screen() + .split("\n") + .filter((l) => l.trim()); + if (lines.length > 1) await t.run("clear"); + }, + }); }; + /** + * A subtitle over the bottom of the terminal (`t.caption`, tcut ≥ 1.4) for + * the moments where the screen alone doesn't say what is happening. Drawn + * at render time, never typed into the PTY; stays up until the next + * caption, `caption(null)`, or the next slide. + */ + const caption = (text: string, duration?: string) => + t.caption(text, { style: "classic", fontSize: 26, duration }); + try { // Off-camera: point the CLI at the empty home, put the `open` shim and // the workspace `alchemy` bin on PATH, and make sure nothing is left @@ -333,6 +352,11 @@ export default defineVideo( await t.run( "unset CI CURSOR_AGENT CLAUDECODE CLAUDE_CODE NO_COLOR FORCE_COLOR; export ALCHEMY_TUI=1", ); + // tcut's pty has no TERM_PROGRAM, so terminal-capability detection + // assumes OSC 8 hyperlinks are unsupported and the CLI falls back to + // printing every URL in full after its label (the OAuth URL is ~1KB). + // Real terminals (Ghostty, iTerm2, kitty, …) render the link inline. + await t.run("export FORCE_HYPERLINK=1"); // A previous take may have left a live stack behind: tear it down with // a temporary profile before the home is wiped for the on-camera setup. await t.run(`${connectCloudflare("default")} --no-input`); @@ -345,17 +369,17 @@ export default defineVideo( }); // ── 1. Connect to Cloudflare ───────────────────────────────────────── - await slide( - "connect", - "Connect to Cloudflare", - "A fresh machine, no profile yet. `alchemy profile` signs in once; every stack uses it.", - ); + await slide("Connect Cloudflare", "alchemy profile · sign in with OAuth"); await t.type("alchemy profile"); await t.enter(); await t.wait(/e edit/, { scope: "screen" }); + await caption( + "A fresh machine: one empty profile, no providers connected yet", + ); await t.sleep("2.5s"); // Nothing is connected yet — add Cloudflare from the edit screen. + await caption("e edits the profile — space marks a provider to add"); await t.type("e"); await t.wait(/esc back/, { scope: "screen" }); await t.sleep("2s"); @@ -368,9 +392,11 @@ export default defineVideo( // OAuth (the recommended method), basic scopes. await t.wait(/Cloudflare authentication method/, { scope: "screen" }); + await caption("OAuth is the recommended method — no API token to paste"); await t.sleep("2s"); await t.enter(); await t.wait(/Cloudflare OAuth scopes/, { scope: "screen" }); + await caption("Pick the scopes the token should have"); await t.sleep("1.5s"); await t.down(); await t.sleep("600ms"); @@ -379,8 +405,14 @@ export default defineVideo( // The CLI hands the grant URL to `open` — our shim catches it and the // grant happens in the browser pane, exactly as it would in a real tab. await t.wait(/waiting for browser authorization/, { scope: "screen" }); - const oauthUrl = await waitForOAuthUrl(); + await caption("The CLI opens Cloudflare's consent page in the browser"); + const oauthUrl = await waitForOAuthUrl().catch((error) => { + throw new Error(`${error.message}\n--- screen ---\n${t.screen()}`); + }); await t.sleep("2s"); + await caption( + "Sign in and authorize — the grant is handed back to the CLI", + ); await t.browser.goto(oauthUrl); await t.focus("browser"); const consentPage = /Select account\(s\)|Authorize/i; @@ -487,18 +519,31 @@ export default defineVideo( scope: "screen", }); if (/Select a Cloudflare account/.test(t.screen())) { - await t.sleep("1.5s"); - // The picker filters on name and id alike; the name reads better. - await t.type( - env("CLOUDFLARE_ACCOUNT_NAME") ?? - process.env.CLOUDFLARE_ACCOUNT_ID ?? - "", + await caption( + "The login can see several accounts — pick the one this profile is for", ); + await t.sleep("1.5s"); + // Arrow down to the configured account (the focused row starts with + // ❯) instead of typing into the filter; the first row is the default. + const wanted = + env("CLOUDFLARE_ACCOUNT_NAME") ?? process.env.CLOUDFLARE_ACCOUNT_ID; + const focused = () => + t + .screen() + .split("\n") + .find((line) => /^\s*❯/.test(line)) ?? ""; + for (let i = 0; i < 8 && wanted && !focused().includes(wanted); i++) { + await t.down(); + await t.sleep("400ms"); + } await t.sleep("600ms"); await t.enter(); await t.wait(/Cloudflare added/, { scope: "screen" }); } // Hold on the dashboard: one profile, one connected provider. + await caption( + "Connected — auth method, token expiry and account id, stored under ~/.alchemy/profiles", + ); await t.sleep("3.5s"); await t.type("q"); await t.wait(); @@ -506,28 +551,38 @@ export default defineVideo( // ── 2. Launch alchemy dev ──────────────────────────────────────────── await slide( - "dev", - "Launch `alchemy dev`", - "The Worker, KV and R2 run locally, with live reload on every save. `←/→` flips the widget between the stack's output and the plan.", + "Launch alchemy dev", + "local emulation · plan view · live reload", ); await t.type("alchemy dev"); await t.enter(); await t.wait(STARTED, { scope: "screen" }); + await caption( + "The Worker, KV and R2 all run locally — the widget shows the stack's outputs", + ); await t.sleep("2s"); // The widget opens on the stack's output; ←/→ flips it to the plan // that was just applied. Show the plan — three local resources, all // created — then come back to the output. - const showDevPlan = async (pattern: RegExp) => { + const showDevPlan = async (pattern: RegExp, text: string) => { + await caption("→ flips the widget to the plan that was just applied"); + await t.sleep("1s"); await t.right(); await t.wait(/show output/, { scope: "screen" }); await t.expect(pattern, { scope: "screen" }); + await caption(text); await t.sleep("4s"); + await caption("← back to the outputs"); + await t.sleep("800ms"); await t.left(); await t.wait(/show plan/, { scope: "screen" }); await t.sleep("1.5s"); }; - await showDevPlan(/Cloudflare\.KV\.Namespace\).*created/); + await showDevPlan( + /Cloudflare\.KV\.Namespace\).*created/, + "Three resources created, all emulated locally", + ); // Hit the local worker in a browser — at the URL the CLI actually // printed, never a guess (another dev server may own the default port). @@ -535,6 +590,8 @@ export default defineVideo( if (devUrl === undefined) { throw new Error("local dev URL not found in the terminal output"); } + await caption("Open the local URL"); + await t.sleep("800ms"); await t.browser.goto(devUrl); await t.focus("browser"); await t.sleep("3s"); @@ -543,6 +600,10 @@ export default defineVideo( // Change the greeting while dev is running — the stack reloads and the // worker restarts. + await caption( + "Editing src/Api.ts while dev runs — the stack reloads and the Worker restarts", + ); + await t.sleep("1.2s"); writeFileSync( apiFile, originalApi.replace( @@ -559,8 +620,13 @@ export default defineVideo( } await t.sleep("1.5s"); // The reload's plan: only the Worker changed, KV and R2 untouched. - await showDevPlan(/Cloudflare\.Worker\)/); + await showDevPlan( + /Cloudflare\.Worker\)/, + "Only the Worker was updated — KV and R2 untouched", + ); + await caption("Reload the page: the new greeting"); + await t.sleep("800ms"); await t.browser.reload(); await t.focus("browser"); await t.sleep("3s"); @@ -568,6 +634,8 @@ export default defineVideo( await t.sleep("1.5s"); // alchemy dev parks forever — Ctrl+C shuts it down. + await caption("Ctrl+C stops dev and tears the local resources down"); + await t.sleep("800ms"); await t.ctrl("c"); await t.wait(); // Put the source back so the deploy ships the original greeting. @@ -576,17 +644,25 @@ export default defineVideo( // ── 3. Deploy to the cloud ─────────────────────────────────────────── await slide( - "deploy", "Deploy to the cloud", - "`alchemy deploy` shows the plan, asks once, then converges the account to it.", + "alchemy deploy · review the plan · confirm", ); await t.type("alchemy deploy"); await t.enter(); await t.wait(/Deploy\?/, { scope: "screen" }); + await caption( + "The same stack, now against the real Cloudflare account — review the plan, Enter to confirm", + ); await t.sleep("3.5s"); await t.enter(); + await caption( + "Creating the Worker, the KV namespace and the R2 bucket for real", + ); await t.wait(); await t.expect(/Stack deployed/, { scope: "scrollback" }); + await caption( + "Deployed — the outputs are the live workers.dev URL and the bucket name", + ); await t.sleep("2.5s"); const url = t @@ -600,6 +676,7 @@ export default defineVideo( // recorded shell — on a route that leaves the visit counter alone, so // the visible curls read 1 and 2. await waitForWorker(`${url}/favicon.ico`); + await caption("Hit the live Worker — the visit counter is backed by KV"); await t.run(`curl -s ${url}`); await t.expect(/"visits":1/); await t.sleep("1s"); @@ -613,39 +690,51 @@ export default defineVideo( const visitsApi = kvNamespaceApi(credentials, visits.namespaceId); await visitsApi.rename("renamed-in-the-dashboard"); await slide( - "drift", "Detect and repair drift", - "Meanwhile, a teammate renamed the KV namespace in the dashboard. `alchemy drift` re-reads the account and shows what moved.", + "alchemy drift · a namespace renamed in the dashboard", ); + await caption( + "Meanwhile, someone renamed the KV namespace in the Cloudflare dashboard…", + ); + await t.sleep("2.5s"); await t.type("alchemy drift"); await t.enter(); await t.wait(/Drift detected/, { scope: "screen" }); await t.expect(/renamed-in-the-dashboard/, { scope: "screen" }); + await caption( + "drift re-reads the cloud and diffs it against the stack: the title changed", + ); await t.sleep("4s"); // Cancel is preselected; ← moves to Repair. + await caption( + "Repair puts the resource back the way the code declares it", + ); await t.left(); await t.sleep("1s"); await t.enter(); + await caption("Applying the repair"); await t.wait(); await t.expect(/Stack deployed/, { scope: "screen" }); + await caption("Repaired — one update, nothing else touched"); await t.sleep("2.5s"); if ((await visitsApi.title()) !== visits.title) { throw new Error("drift repair did not restore the namespace title"); } // ── 5. Tear down ───────────────────────────────────────────────────── - await slide( - "destroy", - "Tear down", - "`alchemy destroy` removes everything the stack created.", - ); + await slide("Tear it down", "alchemy destroy"); await t.type("alchemy destroy"); await t.enter(); await t.wait(/Destroy\?/, { scope: "screen" }); + await caption( + "destroy shows everything it is about to delete before asking", + ); await t.sleep("2.5s"); await t.type("y"); + await caption("Deleting the Worker, the KV namespace and the R2 bucket"); await t.wait(); await t.expect(/Stack destroyed/, { scope: "scrollback" }); + await caption("All gone — the account is back to where it started"); await t.sleep("2s"); } finally { writeFileSync(apiFile, originalApi); diff --git a/website/public/blog/beta-77/alchemy-cli-poster.png b/website/public/blog/beta-77/alchemy-cli-poster.png index 853a9d1067c..6151a6212b2 100644 Binary files a/website/public/blog/beta-77/alchemy-cli-poster.png and b/website/public/blog/beta-77/alchemy-cli-poster.png differ diff --git a/website/public/blog/beta-77/alchemy-cli.mp4 b/website/public/blog/beta-77/alchemy-cli.mp4 index d2aebb1ac23..b724dd6b740 100644 Binary files a/website/public/blog/beta-77/alchemy-cli.mp4 and b/website/public/blog/beta-77/alchemy-cli.mp4 differ diff --git a/website/public/blog/beta-77/deploy-confirm.png b/website/public/blog/beta-77/deploy-confirm.png new file mode 100644 index 00000000000..c50887ce5f2 Binary files /dev/null and b/website/public/blog/beta-77/deploy-confirm.png differ diff --git a/website/public/blog/beta-77/deploy-done.png b/website/public/blog/beta-77/deploy-done.png new file mode 100644 index 00000000000..265d84c6378 Binary files /dev/null and b/website/public/blog/beta-77/deploy-done.png differ diff --git a/website/public/blog/beta-77/deploy-plain.png b/website/public/blog/beta-77/deploy-plain.png new file mode 100644 index 00000000000..e29fc257e4c Binary files /dev/null and b/website/public/blog/beta-77/deploy-plain.png differ diff --git a/website/public/blog/beta-77/destroy-confirm.png b/website/public/blog/beta-77/destroy-confirm.png new file mode 100644 index 00000000000..e6af414f416 Binary files /dev/null and b/website/public/blog/beta-77/destroy-confirm.png differ diff --git a/website/public/blog/beta-77/destroy-done.png b/website/public/blog/beta-77/destroy-done.png new file mode 100644 index 00000000000..1b6cc674dce Binary files /dev/null and b/website/public/blog/beta-77/destroy-done.png differ diff --git a/website/public/blog/beta-77/dev-output.png b/website/public/blog/beta-77/dev-output.png new file mode 100644 index 00000000000..2cdc5d029d8 Binary files /dev/null and b/website/public/blog/beta-77/dev-output.png differ diff --git a/website/public/blog/beta-77/dev-plan.png b/website/public/blog/beta-77/dev-plan.png new file mode 100644 index 00000000000..ad9c9709461 Binary files /dev/null and b/website/public/blog/beta-77/dev-plan.png differ diff --git a/website/public/blog/beta-77/dev-reload.png b/website/public/blog/beta-77/dev-reload.png new file mode 100644 index 00000000000..43da0db1386 Binary files /dev/null and b/website/public/blog/beta-77/dev-reload.png differ diff --git a/website/public/blog/beta-77/drift-detected.png b/website/public/blog/beta-77/drift-detected.png new file mode 100644 index 00000000000..f4e8c30856e Binary files /dev/null and b/website/public/blog/beta-77/drift-detected.png differ diff --git a/website/public/blog/beta-77/drift-repaired.png b/website/public/blog/beta-77/drift-repaired.png new file mode 100644 index 00000000000..28162f89937 Binary files /dev/null and b/website/public/blog/beta-77/drift-repaired.png differ diff --git a/website/public/blog/beta-77/oauth-consent.png b/website/public/blog/beta-77/oauth-consent.png new file mode 100644 index 00000000000..0bf3fd9e2e8 Binary files /dev/null and b/website/public/blog/beta-77/oauth-consent.png differ diff --git a/website/public/blog/beta-77/profile-add.png b/website/public/blog/beta-77/profile-add.png new file mode 100644 index 00000000000..bdbe72f933e Binary files /dev/null and b/website/public/blog/beta-77/profile-add.png differ diff --git a/website/public/blog/beta-77/profile-connected.png b/website/public/blog/beta-77/profile-connected.png new file mode 100644 index 00000000000..b7043506d24 Binary files /dev/null and b/website/public/blog/beta-77/profile-connected.png differ diff --git a/website/public/blog/beta-77/profile-dashboard.png b/website/public/blog/beta-77/profile-dashboard.png new file mode 100644 index 00000000000..e4e20c45514 Binary files /dev/null and b/website/public/blog/beta-77/profile-dashboard.png differ diff --git a/website/public/blog/beta-77/profile-empty.png b/website/public/blog/beta-77/profile-empty.png new file mode 100644 index 00000000000..9b9909778ed Binary files /dev/null and b/website/public/blog/beta-77/profile-empty.png differ diff --git a/website/public/blog/beta-77/profile-method.png b/website/public/blog/beta-77/profile-method.png new file mode 100644 index 00000000000..077b6ac2f9b Binary files /dev/null and b/website/public/blog/beta-77/profile-method.png differ diff --git a/website/src/content/docs/blog/2026-09-08-beta-77.md b/website/src/content/docs/blog/2026-09-08-beta-77.md index 62f4adf1f63..727a65a2642 100644 --- a/website/src/content/docs/blog/2026-09-08-beta-77.md +++ b/website/src/content/docs/blog/2026-09-08-beta-77.md @@ -2,31 +2,24 @@ title: 2.0.0-beta.77 - Profiles, CLI & Workers Tracing date: 2026-09-08T09:00:00Z category: release -excerpt: v2.0.0-beta.77 reworks auth profiles — stored as a folder per profile with a file per provider instead of a central profiles.json, managed from a redesigned alchemy profile TUI or from non-interactive subcommands built for agents — reorganizes the CLI commands, polishes the plan and dev output, and adds Cloudflare.Telemetry() for tracing Workers in Workers Observability. Also dependency-aware dev reloads, cron schedules on Workflows, provisioned ElastiCache, and private/pre-deploy/local-context Railway services. +excerpt: v2.0.0-beta.77 redesigns the CLI — alchemy login becomes alchemy profile, profiles are stored as a folder per profile with a file per provider, and every TUI action has a non-interactive twin for agents and CI — and adds Cloudflare.Telemetry() for tracing Workers in Workers Observability. Also dependency-aware dev reloads, cron schedules on Workflows, provisioned ElastiCache, and private/pre-deploy/local-context Railway services. --- -beta.77 reworks how auth profiles are stored and managed. Profiles -are no longer a central `profiles.json` plus a separate credentials -tree; each profile is a folder under `~/.alchemy/profiles/` with -one file per connected provider (`cloudflare.json`, `aws.json`, …). -`alchemy login` is replaced by `alchemy profile`, a TUI dashboard -for adding, re-configuring, refreshing, and removing provider -accounts, and every action in it is also a non-interactive -subcommand so agents and scripts can do the same without a -terminal. The rest of the CLI is reorganized (`tail` → -`logs --follow`, `sync` → `drift --repair`, `aws` → `provider aws`, -…), the prompts are redesigned, and `alchemy dev` output is -polished: logs render above the plan/output widget, so you scroll -up for the full log history and press `←/→` to flip between the -stack's output and the most recently applied plan. -`Cloudflare.Telemetry()` sends Effect spans to Workers -Observability with no OTLP setup. Also: `alchemy dev` reloads only -when a file the stack depends on changes, Workflows take cron -schedules, and AWS gains provisioned ElastiCache. +beta.77 redesigns the CLI. `alchemy login` becomes +**`alchemy profile`**, a dashboard for every connected account +whose every action is also a non-interactive subcommand; profiles +are stored as **a folder per profile with a file per provider** +instead of a central `profiles.json`; and `alchemy dev` gets a +plan/output widget you can flip with `←/→`. Outside the CLI, +**`Cloudflare.Telemetry()`** sends Effect spans to Workers +Observability with no OTLP setup, Workflows take cron schedules, +and AWS gains provisioned ElastiCache. + +Here is the new CLI on a fresh machine, start to finish: -_A new machine, start to finish: connect Cloudflare with `alchemy profile`, run the stack locally with `alchemy dev`, `alchemy deploy`, catch and repair an out-of-band edit with `alchemy drift`, and `alchemy destroy`._ +_`alchemy profile` → `alchemy dev` → `alchemy deploy` → `alchemy drift` → `alchemy destroy`. The same walkthrough, frame by frame, is below._ :::caution **Breaking changes** @@ -34,139 +27,81 @@ _A new machine, start to finish: connect Cloudflare with `alchemy profile`, run - **`alchemy deploy` defaults to `live_$USER`** ([#1421](https://github.com/alchemy-run/alchemy/pull/1421)) — `plan`, `destroy`, `logs`, and `drift` follow; `alchemy dev` - keeps `dev_$USER`. A bare `alchemy deploy` will not update an - existing `dev_sam` stack — pass `--stage dev_sam` to keep the - old target. And the stage env var is now **`ALCHEMY_STAGE`**; - `STAGE` is no longer consulted - ([#1433](https://github.com/alchemy-run/alchemy/pull/1433)). + keeps `dev_$USER`. Pass `--stage dev_sam` to keep deploying to + an old target. The stage env var is now `ALCHEMY_STAGE`, not + `STAGE` ([#1433](https://github.com/alchemy-run/alchemy/pull/1433)). - **Commands moved** ([#1234](https://github.com/alchemy-run/alchemy/pull/1234), - [#1235](https://github.com/alchemy-run/alchemy/pull/1235), - [#1429](https://github.com/alchemy-run/alchemy/pull/1429)) — - `alchemy login` is `alchemy profile`, the positional stack file - is `--config`, `tail` is `logs --follow`, `sync` is - `drift --repair`, `destroy --dry-run` is `plan --destroy`, and - top-level `aws` / `cloudflare` are `provider aws` / - `provider cloudflare`. `profile show|edit|refresh` take - `--profile ` instead of a positional. The old names print - a migration hint instead of running. See - [below](#one-command-map). + [#1235](https://github.com/alchemy-run/alchemy/pull/1235)). The + old names print a migration hint instead of running: + + | Old | New | + | ---------------------------- | ------------------------------------- | + | `alchemy login` | `alchemy profile` | + | `alchemy login --configure` | `alchemy profile edit` | + | `alchemy profile clear` | `alchemy profile delete` | + | `alchemy tail` | `alchemy logs --follow` | + | `alchemy sync` | `alchemy drift --repair` | + | `alchemy destroy --dry-run` | `alchemy plan --destroy` | + | `alchemy aws` / `cloudflare` | `alchemy provider aws` / `cloudflare` | + - **The AWS `local` auth method is removed** ([#1480](https://github.com/alchemy-run/alchemy/pull/1480)) — - `alchemy dev` wires the local emulator itself, so the profile - method was redundant. -- **Custom auth providers** — `StackServices` lists `Interaction` - instead of `CliKit`, and `configure`/`login`/`logout`/`details` - require `Interaction` at call time - ([#1430](https://github.com/alchemy-run/alchemy/pull/1430)). See - [Custom Auth Providers](/environments/custom-auth-provider). + `alchemy dev` wires the local emulator itself. - **distilled operations are `verbNoun`** ([#1517](https://github.com/alchemy-run/alchemy/pull/1517)) — - if you call a distilled client directly, `railway.serviceCreate` - is now `railway.createService`, `volumeDelete` is - `deleteVolume`, and so on. Alchemy's own resources are already - renamed. + `railway.serviceCreate` is now `railway.createService`. Only + affects code that calls a distilled client directly. ::: -## Profiles +## 1. Connect an account -A profile is a set of connected provider accounts — Cloudflare via -OAuth, AWS via SSO, GitHub via `gh`, a pasted token for Neon — that -every command authenticates with. That concept is unchanged. What -changed is how profiles are stored and how you manage them +`alchemy login` is now **`alchemy profile`** ([#1234](https://github.com/alchemy-run/alchemy/pull/1234), -[#1475](https://github.com/alchemy-run/alchemy/pull/1475), -[#1480](https://github.com/alchemy-run/alchemy/pull/1480)). +[#1235](https://github.com/alchemy-run/alchemy/pull/1235), +[#1547](https://github.com/alchemy-run/alchemy/pull/1547)). On a +fresh machine it opens on an empty `default` profile: -### Storage: a folder per profile, a file per provider +![alchemy profile on a fresh machine: one empty default profile](/blog/beta-77/profile-empty.png) -Before, alchemy kept a central `~/.alchemy/profiles.json` listing -every profile and which method each provider used, and a separate -`~/.alchemy/credentials//` tree holding the secrets. Two -places had to agree, and a stale entry in one left the other -orphaned. +`e` lists every provider. Space queues a change on the focused +row — here Cloudflare goes to `add` — and Enter runs the queue: -Now there is no central manifest. A profile is a directory, and -each connected provider is one JSON file in it holding its method, -configuration, and credentials together: +![the edit menu with Cloudflare queued to add](/blog/beta-77/profile-add.png) -```text -~/.alchemy/profiles/ -├─ default/ -│ ├─ cloudflare.json # method: oauth, accountId, tokens, scopes -│ └─ aws.json # method: sso, ssoProfile -└─ work/ - └─ cloudflare.json # method: stored, apiToken, accountId -``` +Each provider asks only what it needs. Cloudflare offers OAuth or +a token: -Adding a provider writes a file; removing it deletes the file; -deleting a profile removes the directory. Directories are `0700` -and files `0600`. Each file is decoded against the provider's own -schema, so a corrupt or hand-edited file is backed up and reported -with a `--reconfigure` hint rather than half-loaded. Refreshes take -a cross-process lock, so two concurrent deploys cannot both rotate -the same OAuth token. +![choosing OAuth as the Cloudflare authentication method](/blog/beta-77/profile-method.png) -Existing installs migrate on first read: the old `profiles.json` -and `credentials/` move to `~/.alchemy/.profiles-v0-/`, -every profile and provider is rewritten in the new layout, and any -provider whose stored secret cannot be carried over reports -`NeedsReauth` with the command to fix it -([#1429](https://github.com/alchemy-run/alchemy/pull/1429)). +OAuth opens the browser; you approve the grant there: -### Managing profiles interactively +![Cloudflare's consent page for Alchemy](/blog/beta-77/oauth-consent.png) -Before, `alchemy login` ran a wizard — and `deploy` ran it for you -the first time it found a provider without credentials. The only -other profile commands were `show` and `clear`. +Back on the dashboard the provider is a row with its live details: -Now `alchemy profile` opens a dashboard. Profiles are tabs; each -connected provider is a row showing its method, credential status, -and details; and each action is a key: +![the dashboard after connecting: Cloudflare via oauth, token expiry, account id](/blog/beta-77/profile-connected.png) -```text -◆ default work - -❯ default · active - - Cloudflare oauth ✓ configured - accountId 2b29022c… - expires in 59m - AWS sso ✓ configured - ssoProfile my-org - -←/→ switch profile · ↑/↓ focus provider · e edit · r refresh · n new · q quit -``` +Profiles are tabs, `←/→` switches between them, and every profile +holds one connection per provider — a `work` profile with a +Cloudflare token next to a `default` with OAuth + AWS SSO: -`e` opens the edit menu, where Space cycles each provider through -add / re-configure / remove and Enter runs the queued flows in -order — OAuth opens the browser, SSO runs `aws sso login`, token -methods prompt for the fields. `r` refreshes credentials without -changing the method or account. `n` creates a profile, `R` renames -it (moving its directory), `d` deletes it. +![two profiles, each with several providers](/blog/beta-77/profile-dashboard.png) -### The same actions without a terminal - -Every dashboard action is also a subcommand, and the subcommands -work without prompts: +Every key on the dashboard is also a subcommand, and the +subcommands never prompt: ```sh -alchemy profile list -alchemy profile show --profile work alchemy profile create work +alchemy profile edit --profile work --add cloudflare # runs the OAuth flow +alchemy profile refresh --provider cloudflare alchemy profile rename work staging alchemy profile delete staging --yes - -alchemy profile edit --add cloudflare # runs the provider's flow -alchemy profile edit --reconfigure aws --profile work -alchemy profile edit --remove github -alchemy profile refresh --provider cloudflare ``` -For agents and scripts, token-shaped methods are configured -entirely from flags. `--method` picks the provider's method and -`--set` supplies each field as a literal, an environment variable, -or stdin, so secrets never touch shell history: +For agents and CI, token-shaped methods are configured entirely +from flags. `--set` takes a literal, an environment variable, or +stdin, so secrets never touch shell history: ```sh alchemy profile edit --add cloudflare --method stored \ @@ -176,166 +111,140 @@ alchemy profile edit --add cloudflare --method stored \ op read op://vault/neon/key | alchemy profile edit --add neon --method stored --set apiKey=- ``` -Without a TTY — CI, a pipe, a coding agent — bare `profile` prints -the subcommand help instead of the dashboard, `list` / `show` / -`current` print one plain line per entry, `edit` without action -flags prints its usage and exits non-zero, and every command exits -`0` / `1` / `130` so the caller can tell success from a declined -prompt from a cancellation. +Under the hood, the central `profiles.json` and the separate +`credentials/` tree are gone. A profile is a directory and each +provider is one file holding its method, config, and credentials +together. Existing installs migrate on first run, with the old +layout backed up to `~/.alchemy/.profiles-v0-/` +([#1429](https://github.com/alchemy-run/alchemy/pull/1429)): -### Who authenticates when +```text +~/.alchemy/profiles/ +├─ default/ +│ ├─ cloudflare.json # method: oauth, accountId, tokens, scopes +│ └─ aws.json # method: sso, ssoProfile +└─ work/ + └─ cloudflare.json # method: stored, apiToken, accountId +``` Only `profile` commands log in. `deploy`, `plan`, and `dev` never -open a wizard; a missing credential fails with `CredentialsRequired` -naming the resources that need it and the exact -`alchemy profile edit --add …` to run. - -Outside CI, explicit provider environment variables -(`CLOUDFLARE_API_TOKEN`, `AWS_ACCESS_KEY_ID`, …) take precedence -over an implicit profile, decided per provider — Cloudflare from -env and AWS from the profile is fine — and the CLI logs which -variables it used, once -([#1520](https://github.com/alchemy-run/alchemy/pull/1520)). An -explicit `--profile` is always authoritative. In CI, profiles are -never read; `alchemy provider check-env` verifies the required -variables up front. +open a wizard — a missing credential fails with the exact +`alchemy profile edit --add …` to run. Explicit provider +environment variables (`CLOUDFLARE_API_TOKEN`, `AWS_ACCESS_KEY_ID`, +…) take precedence over the profile, per provider, and the CLI +logs which ones it used +([#1520](https://github.com/alchemy-run/alchemy/pull/1520)). Docs: [profile](/cli/profile) · [Profiles](/environments/profiles) -· [Auth Providers](/environments/auth-providers) · -[CI](/environments/ci). +· [CI](/environments/ci). -## One command map +## 2. `alchemy dev` -The CLI is reorganized around nouns -([#1235](https://github.com/alchemy-run/alchemy/pull/1235)): +The stack in the video is a Worker bound to a KV namespace and an +R2 bucket: -```text -alchemy -├─ deploy | plan | destroy -├─ drift [--repair] -├─ dev -├─ logs [--follow] -├─ profile create|rename|edit|refresh|current|list|show|delete -├─ state list|read|delete -├─ unsafe nuke -└─ provider - ├─ check-env - ├─ aws bootstrap|teardown - └─ cloudflare bootstrap|teardown|token|state logs +```typescript +export default class Api extends Cloudflare.Worker()( + "Api", + { main: import.meta.url }, + Effect.gen(function* () { + const visits = yield* Cloudflare.KV.ReadWriteNamespace(Visits); + const uploads = yield* Cloudflare.R2.ReadWriteBucket(Uploads); + return { fetch: /* … */ }; + }).pipe( + Effect.provide([ + Cloudflare.KV.ReadWriteNamespaceBinding, + Cloudflare.R2.ReadWriteBucketBinding, + ]), + ), +) {} ``` -| Old | New | -| ------------------------------- | ------------------------------------ | -| `alchemy login` | `alchemy profile` | -| `alchemy login --configure` | `alchemy profile edit` | -| `alchemy profile clear` | `alchemy profile delete` | -| `alchemy deploy ./stack.ts` | `alchemy deploy --config ./stack.ts` | -| `alchemy tail` | `alchemy logs --follow` | -| `alchemy sync` | `alchemy drift --repair` | -| `alchemy destroy --dry-run` | `alchemy plan --destroy` | -| `alchemy aws` / `cloudflare` | `alchemy provider aws` / `cloudflare` | +`alchemy dev` emulates all three locally. Logs scroll above; the +widget at the bottom shows the stack's output: -Exit codes are script-safe — `0` completed, `1` failure or a -declined plan, `130` cancelled — and every run writes a pruned -debug log with the full failure cause under `~/.alchemy/logs`. -Bare `profile` and `state` open their dashboards on a terminal and -print help everywhere else. +![alchemy dev running, output widget showing the local url and bucket](/blog/beta-77/dev-output.png) -Docs: [CLI](/cli). +`←/→` flips the widget to the last applied plan — the same +component `deploy`, `drift`, and `destroy` render +([#1458](https://github.com/alchemy-run/alchemy/pull/1458), +[#1492](https://github.com/alchemy-run/alchemy/pull/1492)). `↑/↓` +scrolls it, `p` hides it: -## Plan and dev output +![the same widget flipped to the plan: 3 created](/blog/beta-77/dev-plan.png) -The plan view is polished -([#1458](https://github.com/alchemy-run/alchemy/pull/1458), -[#1492](https://github.com/alchemy-run/alchemy/pull/1492)): totals -at the top, the plan in the middle — bounded to the terminal and -following the active row — and progress or controls at the bottom. -Binding rows no longer count toward apply progress, so a Worker -with changed bindings finishes at `n/n` instead of sitting at -`9/13`. - -The bigger change is in `alchemy dev`. Logs render above the -plan/output widget in normal scrollback, so scrolling up shows the -full log history; the widget at the bottom shows either the -stack's output or the most recently applied plan. `←/→` flips -between them, `↑/↓` scrolls the widget, and `p` hides it — a -choice that survives the next hot reload. - -Without a TTY — CI, a redirected pipe, or a coding agent -(`CLAUDECODE`, `CURSOR_AGENT`, `CODEX_CLI`, …) — the same commands -print append-only lines -([#1423](https://github.com/alchemy-run/alchemy/pull/1423), -[#1426](https://github.com/alchemy-run/alchemy/pull/1426)). Build -output and asset-upload progress stream as they happen instead of -being held until the resource settles, and long lines are written -whole instead of wrapping at column 80. Plain mode on a real -terminal still prompts for approval; `--no-input` disables prompts -and fails instead of hanging. - -Slow shutdowns show progress -([#1427](https://github.com/alchemy-run/alchemy/pull/1427)) — -silent under 200ms, otherwise a spinner or periodic status line, -and a second Ctrl+C force-quits with exit `130`: +Save a file and only the affected resource restarts. Reloads follow +the import graph from your entrypoint — sibling `infra/` and `src/` +trees included — and only fire when a file's contents actually +change ([#1461](https://github.com/alchemy-run/alchemy/pull/1461), +[#1477](https://github.com/alchemy-run/alchemy/pull/1477)): -```text -^C -Shutting down — waiting for cleanup to finish (Ctrl+C again to force quit) -Still shutting down (5s) -``` +![after editing the worker: 1 updated, 2 no change](/blog/beta-77/dev-reload.png) -Underneath, every surface is built on **CliKit** -([#1233](https://github.com/alchemy-run/alchemy/pull/1233)), a -terminal UI layer on -[`@alchemy.run/sigil`](https://npmx.dev/package/@alchemy.run/sigil), -our renderer fork — one root per output stream, serialized prompt -sessions, stdio capture that keeps logs ordered around live -regions, Unicode/ASCII fallbacks, and a lazily loaded runtime so -non-interactive commands never import React. Clack and the legacy -Ink renderer are gone. A later Sigil fix -([#1545](https://github.com/alchemy-run/alchemy/pull/1545)) stops -terminal capability replies from leaking into text inputs on slow -terminals and in Cursor. - -## A redesigned TUI - -Prompts and the profile dashboard drew nested vertical rails — a -rail on the frame *and* a rail on the focused row — so the focused -option read as `│ │ OAuth` -([#1547](https://github.com/alchemy-run/alchemy/pull/1547)). The -rails are gone. Focus and grouping are carried by glyphs and -indentation instead: - -```diff --› Cloudflare authentication method -- --│ ❯ OAuth · recommended — browser-based login --│ API Token or API Key · use an API token -+◆ Cloudflare authentication method -+ ❯ OAuth recommended — browser-based login -+ API Token or API Key use an API token +## 3. `alchemy deploy` + +`deploy` shows the plan first. Bindings appear under the resource +they attach to, and the prompt defaults to go: + +![the deploy plan: 3 to create, 2 binding changes, Deploy highlighted](/blog/beta-77/deploy-confirm.png) + +Provider logs stream while it runs; the plan ticks over as each +resource lands and the stack's outputs print at the end: + +![stack deployed: url and bucket outputs](/blog/beta-77/deploy-done.png) + +```sh +$ curl -s https://demo-api-live-samgoodwin-sthgco4pjlba35wc.testing-2b2.workers.dev +{"message":"Hello from Alchemy","visits":1} ``` -`❯` is the one focus glyph everywhere — prompts, the edit-accounts -list, the dashboard's profile and provider rows — painted in the -brand color together with its label, so the pointer and the thing -it points at read as one block. The active prompt heading is `◆`, -so `❯` is the only chevron on screen; answered steps keep `✓`. -Labels and descriptions are aligned columns; searchable lists get -an fzf-style `/ query 3 of 12` row. The dashboard renders -providers as a table — `name method status` with `key value` -details beneath — and virtualizes the list to the terminal height -so the tabs and header never scroll off -([#1533](https://github.com/alchemy-run/alchemy/pull/1533)). +## 4. `alchemy drift` + +Someone renames the KV namespace in the Cloudflare dashboard. +`alchemy drift` re-reads the cloud and diffs it against what was +deployed — the changed attribute renders inline, and `Repair` +puts it back: + +![drift detected: title changed on the KV namespace, Repair highlighted](/blog/beta-77/drift-detected.png) + +![the repair applied: 1 updated](/blog/beta-77/drift-repaired.png) + +`alchemy drift --repair` does the same without the prompt. + +## 5. `alchemy destroy` + +Destructive prompts default to `Cancel`: + +![the destroy plan: 3 to delete, Cancel highlighted](/blog/beta-77/destroy-confirm.png) + +![stack destroyed](/blog/beta-77/destroy-done.png) + +## Without a TTY + +In CI, a pipe, or a coding agent, the same commands print plain +append-only lines instead of the TUI — or force it with +`ALCHEMY_PLAIN=1` / `--no-input` +([#1423](https://github.com/alchemy-run/alchemy/pull/1423), +[#1426](https://github.com/alchemy-run/alchemy/pull/1426)). Same +deploy as above, plain: + +![ALCHEMY_PLAIN=1 alchemy deploy --yes: timestamped log lines for the plan, each create, Done: 3 succeeded, and the outputs](/blog/beta-77/deploy-plain.png) + +Exit codes are `0` done / `1` failed or declined / `130` cancelled, +and every run writes a debug log under `~/.alchemy/logs` — the first +thing to attach to a bug report. + +Docs: [CLI](/cli) · [dev](/cli/dev) · [deploy](/cli/deploy) · +[drift](/cli/drift). ## `Cloudflare.Telemetry()` Effect spans from a Worker now land in [Workers Observability](https://developers.cloudflare.com/workers/observability/) ([#1444](https://github.com/alchemy-run/alchemy/pull/1444)). -`Cloudflare.Telemetry()` is a Layer with the same shape as -`Axiom.Telemetry`: provide it on the Worker and your -`Effect.withSpan` frames appear in the Cloudflare dashboard, nested -under the platform's own spans. +Provide the Layer on the Worker and your `Effect.withSpan` frames +show up in the Cloudflare dashboard, nested under the platform's +own spans: ```typescript export default Cloudflare.Worker( @@ -360,55 +269,18 @@ http.server GET └─ respond ``` -Providing the Layer turns on `observability.traces` for the host -Worker at deploy time and installs a per-event Effect Tracer over -the runtime's `tracing.startActiveSpan`. Scalar span annotations -are forwarded as attributes; completion is recorded as -`effect.exit` (`success` / `failure` / `interrupted`). Cloudflare -owns sampling and export, so there is no OTLP endpoint and no -exporter to flush — `headSamplingRate` and `persist` pass straight -through to the Worker's observability config. - -It composes with `Axiom.Telemetry`: provide both (and omit -`traces` on the Axiom side) to see the same waterfall in Axiom and -in Workers Observability. The Worker's compatibility date must be -`2026-07-28` or later; the deploy fails early otherwise. +Cloudflare owns sampling and export, so there is no OTLP endpoint +and nothing to flush. It composes with `Axiom.Telemetry` for the +same waterfall in both. The Worker's compatibility date must be +`2026-07-28` or later. Docs: [Native Workers tracing](/cloudflare/observability/workers-tracing). -## `alchemy dev` reloads - -Dev reloads are owned by the exec child and are dependency-aware -([#1461](https://github.com/alchemy-run/alchemy/pull/1461), -[#1477](https://github.com/alchemy-run/alchemy/pull/1477)). The -watcher tracks the complete project-local import graph from your -entrypoint — sibling `infra/` and `src/` trees included — debounces -events, and compares content fingerprints, so a timestamp-only or -identical-content save does nothing. When a reload does fire, the -CLI logs which files' changed contents caused it. One Node process -stays alive and imports each stack generation under a fresh module -namespace; Bun respawns only the exec child and keeps the sidecar. - -Node runs TypeScript through Alchemy's Oxc loader -(`@alchemy.run/node-utils/register-oxc`) instead of Node's -strip-only support: TSX, tsconfig `paths`, extensionless imports, -JSON imports, and inline source maps all work. Node `22.15+` / -`23.5+` / `24+` is required for the `module.registerHooks` it -relies on. - -`alchemy dev` runs without credentials it does not use -([#1480](https://github.com/alchemy-run/alchemy/pull/1480), -[#1430](https://github.com/alchemy-run/alchemy/pull/1430)): the -AWS environment resolves lazily, and only `Alchemy.remote()` rows -ask for a profile at plan time. - -Docs: [dev](/cli/dev). - -## Workflows: native cron schedules +## Workflows: cron schedules Cloudflare Workflows take wrangler-compatible `schedules`, so a -cron expression creates instances natively — no Worker Cron -Trigger calling `workflow.create()` +cron expression creates instances natively — no Cron Trigger +Worker calling `workflow.create()` ([#1491](https://github.com/alchemy-run/alchemy/pull/1491)): ```typescript @@ -424,20 +296,14 @@ export default class Hourly extends Cloudflare.Workflow()( ) {} ``` -Async Workers take the same array on the binding; `schedules: []` -clears. - ## Provisioned ElastiCache `AWS.ElastiCache` adds `SubnetGroup`, `ReplicationGroup` (Valkey -and Redis OSS, with replicas, Multi-AZ, shard and tag updates in -place), and `CacheCluster` (Memcached) alongside the existing -serverless cache +and Redis OSS) and `CacheCluster` (Memcached) alongside the +serverless cache, with `Connect*` bindings that publish the +endpoint to a Lambda and attach it to the cache's VPC ([#1422](https://github.com/alchemy-run/alchemy/pull/1422)). -`ConnectReplicationGroup` / `ConnectCacheCluster` publish the -endpoint to a Lambda and can attach it to the cache's subnets and -security groups in the same call. Thanks -[Henning Pokriefke](https://github.com/henningpokriefke)! +Thanks [Henning Pokriefke](https://github.com/henningpokriefke)! ```typescript const cache = yield* AWS.ElastiCache.ReplicationGroup("Cache", { @@ -447,7 +313,6 @@ const cache = yield* AWS.ElastiCache.ReplicationGroup("Cache", { securityGroupIds: [sg.groupId], replicasPerNodeGroup: 1, automaticFailoverEnabled: true, - multiAzEnabled: true, }); // inside the Lambda: endpoint env + VPC attachment @@ -461,33 +326,19 @@ const conn = yield* AWS.ElastiCache.ConnectReplicationGroup(cache, { Three additions to `Railway.Service`, all from [Dallen Pyrah](https://github.com/dallenpyrah) — thanks! - -- **`publicDomain: false`** - ([#1439](https://github.com/alchemy-run/alchemy/pull/1439)) — - private-mesh only (`{name}.railway.internal`, no `url`). -- **`preDeploy: { command }`** - ([#1438](https://github.com/alchemy-run/alchemy/pull/1438)) — - a one-shot job between image build and process start, for - migrations and seeds. `{ command: null }` clears. -- **`context: "./api"`** - ([#1440](https://github.com/alchemy-run/alchemy/pull/1440)) — - deploy a local Docker context through Railway's upload path, - with Docker ignore semantics and a content hash as the - deployment identity. +([#1439](https://github.com/alchemy-run/alchemy/pull/1439), +[#1438](https://github.com/alchemy-run/alchemy/pull/1438), +[#1440](https://github.com/alchemy-run/alchemy/pull/1440)) ```typescript const worker = yield* Railway.Service("Worker", { project, - context: "./worker", - preDeploy: { command: "bun migrate" }, - publicDomain: false, + context: "./worker", // build from a local directory + preDeploy: { command: "bun migrate" }, // runs between build and start + publicDomain: false, // {name}.railway.internal only }); ``` -Railway CLI-login tokens also resolve their workspace again -([#1479](https://github.com/alchemy-run/alchemy/pull/1479)) — the -generated `me` query no longer selects an admin-only field. - ## Also in this release - **Fly health checks** @@ -498,69 +349,51 @@ generated `me` query no longer selects an admin-only field. ([#1543](https://github.com/alchemy-run/alchemy/pull/1543)). - **Durable Objects: `webSocketError` and caller context** ([#1497](https://github.com/alchemy-run/alchemy/pull/1497), - [#1498](https://github.com/alchemy-run/alchemy/pull/1498)) — the - Effect shape gains `webSocketError(socket, error)`, and - `blockConcurrencyWhile` / `storage.transaction` run their - closures with the calling fiber's context and carry its `R`. - Thanks [Alex](https://github.com/agcty)! - `state.abort(reason, { retryAlarm: false })` stops an - interrupted alarm from retrying + [#1498](https://github.com/alchemy-run/alchemy/pull/1498)) — + `blockConcurrencyWhile` / `storage.transaction` run with the + calling fiber's context. Thanks [Alex](https://github.com/agcty)! + `state.abort(reason, { retryAlarm: false })` stops an interrupted + alarm from retrying ([#1374](https://github.com/alchemy-run/alchemy/pull/1374)). - **`Cloudflare.Worker.ref` typechecks** - ([#1434](https://github.com/alchemy-run/alchemy/pull/1434)) — - the documented cross-stage Worker reference was missing from the - type. Thanks [pollux](https://github.com/hello-pollux)! -- **Worker Loader `get()` returns a usable stub** - ([#1488](https://github.com/alchemy-run/alchemy/pull/1488)) and - **`RpcWorker` keeps its logical ID** - ([#1487](https://github.com/alchemy-run/alchemy/pull/1487)). + ([#1434](https://github.com/alchemy-run/alchemy/pull/1434)). + Thanks [pollux](https://github.com/hello-pollux)! - **Asset uploads run three buckets at a time** - ([#1445](https://github.com/alchemy-run/alchemy/pull/1445)) — - matching wrangler, dropping to one on the first gateway error. - Thanks [Rahul Mishra](https://github.com/BlankParticle), who - also bumped workerd and the vendored Workers runtime to - `20260901.1` - ([#1442](https://github.com/alchemy-run/alchemy/pull/1442))! - Internal isolates pin compatibility date `2026-08-31` - ([#1380](https://github.com/alchemy-run/alchemy/pull/1380)). + ([#1445](https://github.com/alchemy-run/alchemy/pull/1445)), + matching wrangler; workerd bumped to `20260901.1` + ([#1442](https://github.com/alchemy-run/alchemy/pull/1442)). + Thanks [Rahul Mishra](https://github.com/BlankParticle)! - **Workflow steps with `retries` but no `timeout` no longer crash** - ([#1416](https://github.com/alchemy-run/alchemy/pull/1416)) — - thanks [Lord Coughmann](https://github.com/LordCoughmann)! + ([#1416](https://github.com/alchemy-run/alchemy/pull/1416)). + Thanks [Lord Coughmann](https://github.com/LordCoughmann)! +- **Ctrl+C twice force-quits a slow shutdown** + ([#1427](https://github.com/alchemy-run/alchemy/pull/1427)). - **`_headers` / `_redirects` no longer crash local dev** - ([#1418](https://github.com/alchemy-run/alchemy/pull/1418)) — - thanks [Michael](https://github.com/deracs)! -- **`nuke` progress restored** - ([#1532](https://github.com/alchemy-run/alchemy/pull/1532)) — - scan progress, per-resource identity and deletion status in the - shared plan view, and `alchemy state unsafe nuke` for bulk state - cleanup. -- **`provider cloudflare bootstrap` honors `--profile`** + ([#1418](https://github.com/alchemy-run/alchemy/pull/1418)). + Thanks [Michael](https://github.com/deracs)! +- **Worker Loader `get()` returns a usable stub** + ([#1488](https://github.com/alchemy-run/alchemy/pull/1488)) and + **`RpcWorker` keeps its logical ID** + ([#1487](https://github.com/alchemy-run/alchemy/pull/1487)). +- **`nuke` shows progress again** + ([#1532](https://github.com/alchemy-run/alchemy/pull/1532)), and + **`provider cloudflare bootstrap` honors `--profile`** ([#1538](https://github.com/alchemy-run/alchemy/pull/1538)). - **PR preview packages live as long as the PR** - ([#1511](https://github.com/alchemy-run/alchemy/pull/1511)) — - thanks [Michael K](https://github.com/Mkassabov), who also - bumped distilled to the `verbNoun` generation - ([#1517](https://github.com/alchemy-run/alchemy/pull/1517)) and - pinned CORS on plain Worker fetch - ([#1541](https://github.com/alchemy-run/alchemy/pull/1541))! + ([#1511](https://github.com/alchemy-run/alchemy/pull/1511)). + Thanks [Michael K](https://github.com/Mkassabov)! - **Docs rewritten as a narrative** ([#1470](https://github.com/alchemy-run/alchemy/pull/1470), - [#1472](https://github.com/alchemy-run/alchemy/pull/1472), - [#1424](https://github.com/alchemy-run/alchemy/pull/1424)) — - "Runtime" replaces "Functions & Servers", the two phases are the - Construction phase and the Runtime phase, and Getting started, - What is Alchemy, and the Workers hub read top to bottom. + [#1472](https://github.com/alchemy-run/alchemy/pull/1472)) — + [Getting started](/getting-started), + [What is Alchemy](/what-is-alchemy), and the Workers hub read + top to bottom. ## Where to go next -- [CLI](/cli) -- [profile](/cli/profile) -- [Profiles](/environments/profiles) -- [Auth Providers](/environments/auth-providers) -- [CI](/environments/ci) -- [dev](/cli/dev) +- [CLI](/cli) · [profile](/cli/profile) · [dev](/cli/dev) · [drift](/cli/drift) +- [Profiles](/environments/profiles) · [CI](/environments/ci) · [Stages](/environments/stages) - [Native Workers tracing](/cloudflare/observability/workers-tracing) -- [Stages](/environments/stages) - [CHANGELOG](https://github.com/alchemy-run/alchemy/blob/main/CHANGELOG.md#v200-beta77) - [Compare v2.0.0-beta.76 → v2.0.0-beta.77](https://github.com/alchemy-run/alchemy/compare/v2.0.0-beta.76...v2.0.0-beta.77)