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

Merged
marti merged 1 commit from feature/t3code-nightly into main 2026-10-28 13:09:37 +01:00
Owner

Switches T3 Code to the nightly channel and adds a daily job that keeps it (and flake.lock) current.

T3 Code nightly

  • modules/features/coding/t3code-nightly/ builds T3 Code from the newest nightly by reusing llm-agents' derivation with the source, pnpm hash and version swapped. The tag and hashes live in sources.json.
  • It replaces agent-env's default m4rti.agents.apps.t3code.package but keeps its tool list (forgejo-cli, wrapped claude and codex) and the t3-relay setting that turns on T3 Connect.
  • agent-env's two desktop URL-handler patches no longer match upstream (so they'd fail the build). Upstream now reads T3CODE_DESKTOP_LAUNCHER_PATH, so the wrapper sets that to t3code-desktop instead. Stable 0.1.3 has the same change, so agent-env will need this fix once its llm-agents is updated.

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. 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 T3 Code and checking that t3 --version matches
  4. pushes to main as one commit per kind of change; nothing is pushed if anything fails

Testing

  • Built locally: t3 --version → v0.1.4-nightly.20261028.3822; cumwork evaluates; nix flake check and nix fmt are clean.
  • update.sh tested by rolling back one nightly: it moved forward again and reproduced the same hashes.
  • 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 T3 Code to the nightly channel and adds a daily job that keeps it (and `flake.lock`) current. ## T3 Code nightly - `modules/features/coding/t3code-nightly/` builds T3 Code from the newest nightly by reusing llm-agents' derivation with the source, pnpm hash and version swapped. The tag and hashes live in `sources.json`. - It replaces agent-env's default `m4rti.agents.apps.t3code.package` but keeps its tool list (forgejo-cli, wrapped claude and codex) and the `t3-relay` setting that turns on T3 Connect. - agent-env's two desktop URL-handler patches no longer match upstream (so they'd fail the build). Upstream now reads `T3CODE_DESKTOP_LAUNCHER_PATH`, so the wrapper sets that to `t3code-desktop` instead. Stable 0.1.3 has the same change, so agent-env will need this fix once its llm-agents is updated. ## 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. `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 T3 Code and checking that `t3 --version` matches 4. pushes to `main` as one commit per kind of change; nothing is pushed if anything fails ## Testing - Built locally: `t3 --version` → `v0.1.4-nightly.20261028.3822`; `cumwork` evaluates; `nix flake check` and `nix fmt` are clean. - `update.sh` tested by rolling back one nightly: it moved forward again and reproduced the same hashes. - 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 the newest nightly instead of llm-agents' stable
release, reusing its derivation with the source, pnpm hash and version
swapped. The desktop launcher comes from T3CODE_DESKTOP_LAUNCHER_PATH
now that upstream reads it, replacing agent-env's source patches.

A daily Forgejo job at 06:00 Madrid time updates flake.lock and points
sources.json at the latest published nightly, checks the flake 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 de9e94a34c into main 2026-10-28 13:09:37 +01:00
Author
Owner

Closing: this belongs in agent-env, where the AI agents and T3 Code are managed.

Closing: this belongs in agent-env, where the AI agents and T3 Code are managed.
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/nix!62
No description provided.