Offer T3 Code as the preferred agent, opening a thread in the Panama project, and install it with the desktop
This commit is contained in:
1 parent
5af5d7a96b
commit
e21a4c24f0
8 files changed
+108
-15
No files matched your search
@@ -37,8 +37,8 @@ SettingsPage {
|
||||
// them not to believe the page.
|
||||
//
|
||||
// Probed through a LOGIN shell rather than this one. Quickshell is started
|
||||
// by systemd, whose PATH does not include ~/.local/bin -- where both of
|
||||
// these usually land -- and a login shell is the environment the launcher
|
||||
// by systemd, whose PATH does not include ~/.local/bin -- where all three of
|
||||
// these usually land (T3 Code's CLI is `t3`) -- and a login shell is the environment the launcher
|
||||
// hands the agent when it spawns a terminal. Asking with the shell's own
|
||||
// PATH would report "not installed" for an agent that starts perfectly.
|
||||
property var installed: ({})
|
||||
@@ -60,7 +60,7 @@ SettingsPage {
|
||||
|
||||
running: true
|
||||
command: ["bash", "-lc",
|
||||
"for agent in claude codex; do command -v \"$agent\" >/dev/null 2>&1 && printf '%s\\n' \"$agent\"; done"]
|
||||
"for agent in claude codex t3; do command -v \"$agent\" >/dev/null 2>&1 && printf '%s\\n' \"$agent\"; done"]
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: root.absorbProbe(this.text)
|
||||
}
|
||||
@@ -70,6 +70,7 @@ SettingsPage {
|
||||
switch (value) {
|
||||
case "claude": return "starred-symbolic";
|
||||
case "codex": return "utilities-terminal-symbolic";
|
||||
case "t3": return "view-dual-symbolic";
|
||||
default: return "notifications-disabled-symbolic";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user