Repository navigation
fix(nix): show the T3 desktop app as T3 instead of Electron - #495
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review summary No blocking findings. I read through the new
Still untested, as the PR says: the app hasn't been launched to confirm the Dock and Cmd+Tab name and icon. 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
Review summaryI reviewed the PR read-only and found no blocking issues.
What looks correct:
Not verified yet: actually launching the app, which the PR already leaves for the user to do. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
macOS names the Dock and Cmd+Tab entry after the bundle that holds the running binary. llm-agents' launcher execs nixpkgs' Electron.app, so the app showed as Electron. Assemble a T3 bundle around a copy of the same Electron with the wrappers' arguments and PATH, and re-sign it ad-hoc. Refs #494 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #494 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
llm-agents' "org.nixos.T3 Code (Beta)" contains spaces and parentheses, which Apple does not allow; the bundle now runs under that identity. Refs #494 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8aa9d65 to
e9a1c0f
Compare
|
@codex review |
|
Review summary: I found no blocking issues and posted no inline comments. What I checked:
One thing is still unverified, as the PR says: launching the app for real (Dock name, single instance, notification permission). That needs the manual step after Blocking findings: 0 |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Dock の固定アプリに T3 Code (Beta) を足し,Ghostty の左に置く.#495 で T3 が自分の bundle で動くようになったので,Dock に固定できる. | | 変更前 | 変更後 | | --- | --- | --- | | Dock の並び | Tinycast → Ghostty → Dia → … | Tinycast → **T3 Code (Beta)** → Ghostty → Dia → … | ## 確認 - [x] `nix eval` で mbp・mba の `system.defaults.dock.persistent-apps` に `/Users/<user>/Applications/Home Manager Apps/T3 Code (Beta).app` が Ghostty の前に入る - [x] `Home Manager Apps` の `.app` は store への symlink ではない普通のディレクトリなので,switch 後もパスは変わらない - [ ] CI - [ ] 利用者:T3 desktop app を終了し,mbp で `darwin-rebuild switch` → Dock で Ghostty の左に T3 が出る(mba も同様) <details> <summary>範囲</summary> - 対象:`nix/darwin/default.nix` の `persistent-apps` のみ. - パスは `config.users.users.${username}.home` から作るので,ホストごとの書き分けは不要. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <132188853+furedea@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
T3 Code desktop app が Dock・Cmd+Tab・メニューバーで "Electron" と表示される問題を直す.macOS は実行中バイナリを含む bundle の名前を表示するため,llm-agents の launcher が nixpkgs の
Electron.app内のバイナリを exec すると Electron と表示される.dotfiles 側で T3 の bundle を組み立て,その bundle 自身の Electron を起動する.t3codeDesktopPackaget3code-desktopnix/packages/t3code_desktop.nixElectron.app/Contents/MacOS/ElectronT3 Code (Beta).app/Contents/MacOS/Electron(同じ electron 44.9.3 のコピー)CFBundleName/CFBundleDisplayName/ アイコンelectron.icns(実行時の表示)T3 Code (Beta)/T3 Code (Beta)/t3code.icnsCFBundleIdentifiercom.github.Electron(実行時)org.nixos.t3code-desktop(llm-agents のorg.nixos.T3 Code (Beta)は空白と括弧を含み Apple の規則に反するため変更)codesign --force --deep --sign -で ad-hoc 再署名t3-desktop-app-bundleが既存 package で失敗(CFBundleDisplayNameなし)nix build .#checks.aarch64-darwin.t3-desktop-app-bundleが passplutil -pで名前・identifier・アイコン・CFBundleExecutableを確認,codesign --verify --deep --strictは valid on disk かつ Designated Requirement を満たすcodex-0.170.0,ADR-0041)を含むnix flake check:all checks passed.nix buildでt3-desktop-app-bundle,t3-settings-merge,home-configuration,host-configurationも pass(feat(nix): merge the chosen T3 settings at activation #496 の merge 後の main に rebase した状態)~/.t3を共有する恐れがあるため,Dock 表示の確認は下の手順で利用者が行う利用者の手順
darwin-rebuild switchを実行するdarwin-rebuild switchを実行して同じ確認をする根拠と範囲
t3code.desktop/bin/t3code-desktop(--prefix PATH,--inherit-argv0)→t3code.unwrapped.desktop/bin/t3code-desktop(--add-flags .../libexec/t3code/apps/desktop)→electron-44.9.3/bin/electron(Electron.app/Contents/MacOS/Electronを exec).Darwin で設定される環境変数は PATH のみelectron_44を使う(dotfiles の nixpkgs は 44.10.2 で異なる).store path が llm-agents の wrapper のものと一致することを確認済み.check が Electron の version,PATH,app directory のずれを検出するElectron Helper*.appの名前のまま残すbin/t3code-desktopは bundle 内の launcher への symlink として残すproposed,feat(nix): merge the chosen T3 settings at activation #496 が 0046 を使ったため 0047):.appを dotfiles で組み立てる判断.実機確認後にacceptedにするt3codePackageは変更なし),MoshiRefs #494
🤖 Generated with Claude Code