Skip to content

Commit

The desktop app no longer speaks of hosted agents. A job its runner takes says Running whatever its kind, where queue, merge check and checks tasks (which the runner's wire still calls agent work) said Agent work, and links to the repository's Actions page rather than an Agents page that no longer exists; and the app's description lists chat, artifacts and code.

syntaqxcommitted Parentd0c3abaBrowse files
4 files+7−50/4 viewed
+1−1
199199 // What it is running, with where to see it on g1t.
200200 function jobRow(job) {
201201 var row = element("div", "kind-job");
202− row.appendChild(element("span", "kind-job-label", job.kind === "agent" ? "Agent work" : "Running"));
202+ row.appendChild(element("span", "kind-job-label", "Running"));
203203 var what = element("span", "kind-job-what");
204204 if (job.link) {
205205 var link = element("a", null, job.name);
+4−2
836836 State::Running => match &capability.job {
837837 Some(job) => {
838838 said(&mut line, KindState::Busy, Tone::Working, None, None, vec![]);
839− let page = if job.kind == "agent" { "agents" } else { "actions" };
840− let link = (!job.repo.is_empty() && !facts.site.is_empty()).then(|| format!("{}/{}/{page}", facts.site.trim_end_matches('/'), job.repo));
839+ // Every job a runner takes is on the repository's Actions page:
840+ // workflow jobs, and the queue, merge check and checks tasks
841+ // the runner's wire still calls `agent` work.
842+ let link = (!job.repo.is_empty() && !facts.site.is_empty()).then(|| format!("{}/{}/actions", facts.site.trim_end_matches('/'), job.repo));
841843 line.job = Some(JobLine { kind: job.kind.clone(), name: job.name.clone(), repo: job.repo.clone(), link });
842844 }
843845 None => said(&mut line, KindState::Idle, Tone::Ok, None, None, vec![]),
+1−1
2525 ],
2626 "category": "DeveloperTool",
2727 "shortDescription": "g1t on your desktop",
28− "longDescription": "g1t in a window of its own: chat, agents, artifacts and code, with notifications from your system, a badge on the icon, g1t:// links and updates that install themselves.",
28+ "longDescription": "g1t in a window of its own: chat, artifacts and code, with notifications from your system, a badge on the icon, g1t:// links and updates that install themselves.",
2929 "publisher": "Flagon, Inc.",
3030 "copyright": "Flagon, Inc.",
3131 "homepage": "https://g1t.sh",
+1−1
213213 </div>
214214 {kind.job && (
215215 <p className="truncate pl-9.5 text-xs text-muted">
216− {kind.job.kind === "agent" ? "Agent work: " : "Running "}
216+ Running{" "}
217217 {href ? (
218218 <Link to={href} className="font-medium text-fg underline-offset-4 hover:underline">
219219 {kind.job.name}