feat(t3code): install the nightly channel and bump it daily #10

Merged
marti merged 1 commit from feat/t3code-nightly into main 2026-10-28 13:19:33 +01:00
Owner

Switches m4rti.agents.apps.t3code to T3 Code's nightly channel and adds a daily job that keeps it (and flake.lock) current.

T3 Code nightly

  • nix/t3code/ builds the newest nightly by reusing llm-agents' unwrapped derivation with the tag, source and pnpm hashes from sources.json. It's also exposed as packages.t3code.
  • apps.nix keeps the extra tools (forgejo-cli, wrapped claude and codex) and the t3-relay setting that turns on T3 Connect.
  • The two --replace-fail desktop URL-handler patches are gone: their target lines no longer exist upstream (since 0.1.3). Upstream reads T3CODE_DESKTOP_LAUNCHER_PATH instead, so the wrapper sets it to t3code-desktop.

Daily update job

.forgejo/workflows/update.yml runs at 06:00 Europe/Madrid (CRON_TZ=) on the nix runner, following the flakes/zeit pattern:

  1. nix flake update
  2. nix/t3code/update.sh picks the newest published nightly from GitHub releases and works out the source and pnpm hashes using a fake hash
  3. nix flake check, plus building .#t3code.unwrapped and checking that t3 --version matches
  4. pushes to main as one commit per kind of change; nothing is pushed if anything fails

Testing

  • nix flake check passes; .#t3code.unwrapped builds and reports v0.1.4-nightly.20261028.3822.
  • update.sh tested by rolling back one nightly: it moved forward again and reproduced the same hashes.
  • In the nix repo with --override-input agent-env pointing at this branch, cumwork's T3 Code package builds: the wrapper has forgejo-cli and the wrapped claude, and the desktop binary sets T3CODE_DESKTOP_LAUNCHER_PATH. The full system evaluates.
  • The workflow itself hasn't run on the runner yet. After merging, run it once by hand. If the CRON_TZ= prefix isn't honoured, fall back to a UTC cron.

🤖 Generated with Claude Code

Switches `m4rti.agents.apps.t3code` to T3 Code's nightly channel and adds a daily job that keeps it (and `flake.lock`) current. ## T3 Code nightly - `nix/t3code/` builds the newest nightly by reusing llm-agents' unwrapped derivation with the tag, source and pnpm hashes from `sources.json`. It's also exposed as `packages.t3code`. - `apps.nix` keeps the extra tools (forgejo-cli, wrapped claude and codex) and the `t3-relay` setting that turns on T3 Connect. - The two `--replace-fail` desktop URL-handler patches are gone: their target lines no longer exist upstream (since 0.1.3). Upstream reads `T3CODE_DESKTOP_LAUNCHER_PATH` instead, so the wrapper sets it to `t3code-desktop`. ## Daily update job `.forgejo/workflows/update.yml` runs at 06:00 Europe/Madrid (`CRON_TZ=`) on the `nix` runner, following the `flakes/zeit` pattern: 1. `nix flake update` 2. `nix/t3code/update.sh` picks the newest published nightly from GitHub releases and works out the source and pnpm hashes using a fake hash 3. `nix flake check`, plus building `.#t3code.unwrapped` and checking that `t3 --version` matches 4. pushes to `main` as one commit per kind of change; nothing is pushed if anything fails ## Testing - `nix flake check` passes; `.#t3code.unwrapped` builds and reports `v0.1.4-nightly.20261028.3822`. - `update.sh` tested by rolling back one nightly: it moved forward again and reproduced the same hashes. - In the nix repo with `--override-input agent-env` pointing at this branch, cumwork's T3 Code package builds: the wrapper has forgejo-cli and the wrapped claude, and the desktop binary sets `T3CODE_DESKTOP_LAUNCHER_PATH`. The full system evaluates. - The workflow itself hasn't run on the runner yet. After merging, run it once by hand. If the `CRON_TZ=` prefix isn't honoured, fall back to a UTC cron. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Build T3 Code from upstream's newest nightly instead of llm-agents'
stable release, reusing its derivation with the tag, source and pnpm
hashes from nix/t3code/sources.json. The desktop launcher now comes from
T3CODE_DESKTOP_LAUNCHER_PATH, which upstream reads since 0.1.3, replacing
the two source patches that no longer apply. The nightly is also exposed
as packages.t3code.

A daily Forgejo job at 06:00 Madrid time updates flake.lock and points
sources.json at the latest published nightly, runs the flake checks and
builds T3 Code, then pushes one commit per kind of change to main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
marti merged commit e0cf1e9931 into main 2026-10-28 13:19:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marti/agent-env!10
No description provided.