Merge branch 'main' into rm-agents
4 files+7−50/4 viewed
| 199 | 199 | // What it is running, with where to see it on g1t. | |
| 200 | 200 | function jobRow(job) { | |
| 201 | 201 | 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")); | |
| 203 | 203 | var what = element("span", "kind-job-what"); | |
| 204 | 204 | if (job.link) { | |
| 205 | 205 | var link = element("a", null, job.name); |
| 836 | 836 | State::Running => match &capability.job { | |
| 837 | 837 | Some(job) => { | |
| 838 | 838 | 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)); | |
| 841 | 843 | line.job = Some(JobLine { kind: job.kind.clone(), name: job.name.clone(), repo: job.repo.clone(), link }); | |
| 842 | 844 | } | |
| 843 | 845 | None => said(&mut line, KindState::Idle, Tone::Ok, None, None, vec![]), |
| 25 | 25 | ], | |
| 26 | 26 | "category": "DeveloperTool", | |
| 27 | 27 | "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.", | |
| 29 | 29 | "publisher": "Flagon, Inc.", | |
| 30 | 30 | "copyright": "Flagon, Inc.", | |
| 31 | 31 | "homepage": "https://g1t.sh", |
| 213 | 213 | </div> | |
| 214 | 214 | {kind.job && ( | |
| 215 | 215 | <p className="truncate pl-9.5 text-xs text-muted"> | |
| 216 | − | {kind.job.kind === "agent" ? "Agent work: " : "Running "} | |
| 216 | + | Running{" "} | |
| 217 | 217 | {href ? ( | |
| 218 | 218 | <Link to={href} className="font-medium text-fg underline-offset-4 hover:underline"> | |
| 219 | 219 | {kind.job.name} |