@parallelworks/tandem-web 0.169.1 → 0.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_virtual/_virtual_i18n/en/common.js +5 -0
- package/_virtual/_virtual_i18n/es/common.js +5 -0
- package/_virtual/_virtual_i18n/ja/common.js +5 -0
- package/_virtual/_virtual_i18n/ko/common.js +5 -0
- package/_virtual/_virtual_i18n/zh/common.js +5 -0
- package/components/ActorAvatar.js +14 -14
- package/package.json +2 -2
- package/routes/_workspace/settings/runners2.js +87 -69
|
@@ -143,6 +143,10 @@ var e = {
|
|
|
143
143
|
runnerSeen: "seen {seen}",
|
|
144
144
|
runnerNeverConnected: "never connected",
|
|
145
145
|
runnerSharedWith: "shared with {group}",
|
|
146
|
+
runnerSharingRefused: "{count, plural, one {{names} is shared, but only platform admins can share runners here, so it takes no runs. A platform admin can register it again as shared, or revoke it.} other {{names} are shared, but only platform admins can share runners here, so they take no runs. A platform admin can register them again as shared, or revoke them.}}",
|
|
147
|
+
runnerNotTakingRuns: "not taking runs",
|
|
148
|
+
runnerSharingUnchecked: "{count, plural, one {Couldn't check sharing permission for {names}, so it takes no runs for now. Reload to try again.} other {Couldn't check sharing permission for {names}, so they take no runs for now. Reload to try again.}}",
|
|
149
|
+
runnerSharingUnknown: "sharing permission unknown",
|
|
146
150
|
runnerModeDefault: "agents ask first",
|
|
147
151
|
runnerModeAcceptEdits: "agents may accept edits",
|
|
148
152
|
runnerModeAuto: "agents may decide with a reviewer",
|
|
@@ -1100,6 +1104,7 @@ var e = {
|
|
|
1100
1104
|
apiErrors: {
|
|
1101
1105
|
network: "Could not reach the server. Check your connection and try again.",
|
|
1102
1106
|
compute_admin_required: "Only platform admins can see and turn on compute for agents.",
|
|
1107
|
+
runner_share_admin_required: "Only platform admins can share runners here.",
|
|
1103
1108
|
conflict: "This changed since you loaded it. Reload and try again.",
|
|
1104
1109
|
device_code_invalid: "That code is unknown, expired or already used.",
|
|
1105
1110
|
insufficient_scope: "This app can only read Tandem. Sign in to it again and allow it to make changes.",
|
|
@@ -143,6 +143,10 @@ var e = {
|
|
|
143
143
|
runnerSeen: "visto {seen}",
|
|
144
144
|
runnerNeverConnected: "nunca se ha conectado",
|
|
145
145
|
runnerSharedWith: "compartido con {group}",
|
|
146
|
+
runnerSharingRefused: "{count, plural, one {{names} está compartido, pero aquí solo los administradores de la plataforma pueden compartir ejecutores, así que no toma ejecuciones. Un administrador de la plataforma puede registrarlo de nuevo como compartido, o revocarlo.} other {{names} están compartidos, pero aquí solo los administradores de la plataforma pueden compartir ejecutores, así que no toman ejecuciones. Un administrador de la plataforma puede registrarlos de nuevo como compartidos, o revocarlos.}}",
|
|
147
|
+
runnerNotTakingRuns: "no toma ejecuciones",
|
|
148
|
+
runnerSharingUnchecked: "{count, plural, one {No se pudo comprobar el permiso para compartir {names}, así que por ahora no toma ejecuciones. Recarga para intentarlo de nuevo.} other {No se pudo comprobar el permiso para compartir {names}, así que por ahora no toman ejecuciones. Recarga para intentarlo de nuevo.}}",
|
|
149
|
+
runnerSharingUnknown: "permiso para compartir desconocido",
|
|
146
150
|
runnerModeDefault: "los agentes preguntan primero",
|
|
147
151
|
runnerModeAcceptEdits: "los agentes pueden aceptar ediciones",
|
|
148
152
|
runnerModeAuto: "los agentes pueden decidir con un revisor",
|
|
@@ -1100,6 +1104,7 @@ var e = {
|
|
|
1100
1104
|
apiErrors: {
|
|
1101
1105
|
network: "No se pudo conectar con el servidor. Revisa tu conexión e inténtalo de nuevo.",
|
|
1102
1106
|
compute_admin_required: "Solo los administradores de la plataforma pueden ver y activar el cómputo para los agentes.",
|
|
1107
|
+
runner_share_admin_required: "Aquí solo los administradores de la plataforma pueden compartir ejecutores.",
|
|
1103
1108
|
conflict: "Esto cambió desde que lo cargaste. Recarga e inténtalo de nuevo.",
|
|
1104
1109
|
device_code_invalid: "Ese código no existe, ha caducado o ya se usó.",
|
|
1105
1110
|
insufficient_scope: "Esta app solo puede leer Tandem. Vuelve a iniciar sesión en ella y permite que haga cambios.",
|
|
@@ -143,6 +143,10 @@ var e = {
|
|
|
143
143
|
runnerSeen: "{seen}に確認",
|
|
144
144
|
runnerNeverConnected: "未接続",
|
|
145
145
|
runnerSharedWith: "{group} と共有",
|
|
146
|
+
runnerSharingRefused: "{count, plural, other {{names} は共有されていますが、ここではプラットフォーム管理者だけがランナーを共有できるため、実行を引き受けません。プラットフォーム管理者が共有ランナーとして登録し直すか、取り消してください。}}",
|
|
147
|
+
runnerNotTakingRuns: "実行を引き受けていません",
|
|
148
|
+
runnerSharingUnchecked: "{count, plural, other {{names} の共有権限を確認できなかったため、現在は実行を引き受けません。再読み込みしてもう一度お試しください。}}",
|
|
149
|
+
runnerSharingUnknown: "共有権限が不明",
|
|
146
150
|
runnerModeDefault: "エージェントは先に確認",
|
|
147
151
|
runnerModeAcceptEdits: "エージェントは編集を許可可能",
|
|
148
152
|
runnerModeAuto: "エージェントはレビュアーと判断可能",
|
|
@@ -1100,6 +1104,7 @@ var e = {
|
|
|
1100
1104
|
apiErrors: {
|
|
1101
1105
|
network: "サーバーに接続できませんでした。接続を確認して、もう一度お試しください。",
|
|
1102
1106
|
compute_admin_required: "エージェント用のコンピュートを表示・有効化できるのはプラットフォーム管理者だけです。",
|
|
1107
|
+
runner_share_admin_required: "ここでランナーを共有できるのはプラットフォーム管理者だけです。",
|
|
1103
1108
|
conflict: "読み込んだ後に変更されています。再読み込みして、もう一度お試しください。",
|
|
1104
1109
|
device_code_invalid: "このコードは不明、期限切れ、または使用済みです。",
|
|
1105
1110
|
insufficient_scope: "このアプリは Tandem の読み取りのみ許可されています。もう一度サインインし、変更を許可してください。",
|
|
@@ -143,6 +143,10 @@ var e = {
|
|
|
143
143
|
runnerSeen: "{seen} 확인됨",
|
|
144
144
|
runnerNeverConnected: "연결된 적 없음",
|
|
145
145
|
runnerSharedWith: "{group}과(와) 공유됨",
|
|
146
|
+
runnerSharingRefused: "{count, plural, other {{names}은(는) 공유되어 있지만 여기서는 플랫폼 관리자만 러너를 공유할 수 있어 실행을 맡지 않습니다. 플랫폼 관리자가 공유 러너로 다시 등록하거나 취소할 수 있습니다.}}",
|
|
147
|
+
runnerNotTakingRuns: "실행을 맡지 않음",
|
|
148
|
+
runnerSharingUnchecked: "{count, plural, other {{names}의 공유 권한을 확인할 수 없어 지금은 실행을 맡지 않습니다. 새로고침해 다시 시도하세요.}}",
|
|
149
|
+
runnerSharingUnknown: "공유 권한 알 수 없음",
|
|
146
150
|
runnerModeDefault: "에이전트가 먼저 물음",
|
|
147
151
|
runnerModeAcceptEdits: "에이전트가 편집 허용 가능",
|
|
148
152
|
runnerModeAuto: "에이전트가 검토자와 결정 가능",
|
|
@@ -1100,6 +1104,7 @@ var e = {
|
|
|
1100
1104
|
apiErrors: {
|
|
1101
1105
|
network: "서버에 연결할 수 없습니다. 연결 상태를 확인하고 다시 시도하세요.",
|
|
1102
1106
|
compute_admin_required: "에이전트용 컴퓨트는 플랫폼 관리자만 보고 켤 수 있습니다.",
|
|
1107
|
+
runner_share_admin_required: "여기서는 플랫폼 관리자만 러너를 공유할 수 있습니다.",
|
|
1103
1108
|
conflict: "불러온 뒤 내용이 변경되었습니다. 새로 고친 후 다시 시도하세요.",
|
|
1104
1109
|
device_code_invalid: "알 수 없거나 만료되었거나 이미 사용된 코드입니다.",
|
|
1105
1110
|
insufficient_scope: "이 앱은 Tandem을 읽기만 할 수 있습니다. 앱에 다시 로그인하고 변경을 허용하세요.",
|
|
@@ -143,6 +143,10 @@ var e = {
|
|
|
143
143
|
runnerSeen: "{seen}在线",
|
|
144
144
|
runnerNeverConnected: "从未连接",
|
|
145
145
|
runnerSharedWith: "已与 {group} 共享",
|
|
146
|
+
runnerSharingRefused: "{count, plural, other {{names} 已共享,但此处只有平台管理员可以共享运行器,因此它不会接收运行。平台管理员可以将其重新注册为共享运行器,或将其撤销。}}",
|
|
147
|
+
runnerNotTakingRuns: "不接收运行",
|
|
148
|
+
runnerSharingUnchecked: "{count, plural, other {无法检查 {names} 的共享权限,因此暂不接收运行。请刷新后重试。}}",
|
|
149
|
+
runnerSharingUnknown: "共享权限未知",
|
|
146
150
|
runnerModeDefault: "代理先询问",
|
|
147
151
|
runnerModeAcceptEdits: "代理可接受编辑",
|
|
148
152
|
runnerModeAuto: "代理可由审查者代为决定",
|
|
@@ -1100,6 +1104,7 @@ var e = {
|
|
|
1100
1104
|
apiErrors: {
|
|
1101
1105
|
network: "无法连接到服务器。请检查网络连接后重试。",
|
|
1102
1106
|
compute_admin_required: "只有平台管理员可以查看并为代理启用计算资源。",
|
|
1107
|
+
runner_share_admin_required: "此处只有平台管理员可以共享运行器。",
|
|
1103
1108
|
conflict: "加载后此内容已被更改。请重新加载后重试。",
|
|
1104
1109
|
device_code_invalid: "该代码无效、已过期或已被使用。",
|
|
1105
1110
|
insufficient_scope: "此应用只能读取 Tandem。请重新登录该应用,并允许它进行更改。",
|
|
@@ -5,25 +5,25 @@ import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
|
5
5
|
// src/components/ActorAvatar.tsx
|
|
6
6
|
function a({ actor: a, name: o, src: s, badge: c }) {
|
|
7
7
|
let l = a.kind === "connector" ? a.handle.split(":")[0] : void 0;
|
|
8
|
-
return /* @__PURE__ */ i("span", {
|
|
8
|
+
return l === "github" || l === "gitlab" ? /* @__PURE__ */ i("span", {
|
|
9
9
|
className: "relative flex",
|
|
10
|
-
children: [
|
|
11
|
-
className: "flex size-5 items-center justify-center rounded-full bg-muted text-foreground",
|
|
12
|
-
children: /* @__PURE__ */ r(e, {
|
|
13
|
-
provider: l,
|
|
14
|
-
className: "size-3.5"
|
|
15
|
-
})
|
|
16
|
-
}) : /* @__PURE__ */ r(n, {
|
|
10
|
+
children: [/* @__PURE__ */ r(n, {
|
|
17
11
|
name: o,
|
|
18
|
-
|
|
19
|
-
...t(a.kind),
|
|
12
|
+
colorClassName: "bg-muted text-transparent",
|
|
20
13
|
size: "sm",
|
|
14
|
+
badge: c,
|
|
21
15
|
decorative: !0
|
|
22
|
-
}),
|
|
23
|
-
|
|
24
|
-
className: "absolute -
|
|
25
|
-
children: c
|
|
16
|
+
}), /* @__PURE__ */ r(e, {
|
|
17
|
+
provider: l,
|
|
18
|
+
className: "pointer-events-none absolute top-0.75 left-0.75 size-3.5 text-foreground"
|
|
26
19
|
})]
|
|
20
|
+
}) : /* @__PURE__ */ r(n, {
|
|
21
|
+
name: o,
|
|
22
|
+
src: s,
|
|
23
|
+
...t(a.kind),
|
|
24
|
+
size: "sm",
|
|
25
|
+
badge: c,
|
|
26
|
+
decorative: !0
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
export { a as ActorAvatar };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parallelworks/tandem-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.170.0",
|
|
4
4
|
"description": "Tandem's pages, for a host app to render in its own",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"yjs": "^13.6.33"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@parallelworks/ui": ">=0.
|
|
52
|
+
"@parallelworks/ui": ">=0.117.0 <1",
|
|
53
53
|
"@tanstack/react-router": "^1.170.0",
|
|
54
54
|
"react": "^19.3.0",
|
|
55
55
|
"react-dom": "^19.3.0",
|
|
@@ -7,141 +7,159 @@ import { useConfirm as o } from "../../../lib/confirm.js";
|
|
|
7
7
|
import { SettingsPage as s } from "../../../components/settings.js";
|
|
8
8
|
import { Route as c } from "./runners.js";
|
|
9
9
|
import { ComputeTargets as l } from "../../../components/ComputeTargets.js";
|
|
10
|
-
import {
|
|
11
|
-
import { useMemo as
|
|
12
|
-
import { useFormatter as
|
|
13
|
-
import { jsx as
|
|
14
|
-
import { useMutation as
|
|
15
|
-
import { ListCellText as
|
|
10
|
+
import { Callout as u, StatusDot as d, Table as f, menuDivider as p, useOpenMenu as m } from "@parallelworks/ui";
|
|
11
|
+
import { useMemo as h } from "react";
|
|
12
|
+
import { useFormatter as g, useTranslations as _ } from "use-intl";
|
|
13
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
14
|
+
import { useMutation as b, useQueryClient as x, useSuspenseQuery as S } from "@tanstack/react-query";
|
|
15
|
+
import { ListCellText as C, ListColumns as w, ListPage as T, ListRow as E, ListToolbar as D, NameCell as O, listTableProps as k, useListNavigate as A, useListSearch as j, useListView as M } from "@parallelworks/ui/list";
|
|
16
16
|
// src/routes/$workspace/settings/runners.tsx?tsr-split=component
|
|
17
|
-
var
|
|
17
|
+
var N = {
|
|
18
18
|
default: "runnerModeDefault",
|
|
19
19
|
"accept-edits": "runnerModeAcceptEdits",
|
|
20
20
|
auto: "runnerModeAuto",
|
|
21
21
|
bypass: "runnerModeBypass"
|
|
22
22
|
};
|
|
23
|
-
function
|
|
23
|
+
function P() {
|
|
24
24
|
let { workspace: e } = c.useParams();
|
|
25
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ v(F, { workspace: e });
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
let { data:
|
|
27
|
+
function F({ workspace: c }) {
|
|
28
|
+
let { data: P } = S(n(c)), F = _("account"), I = g(), L = _("common"), R = a(), z = x(), B = j(), V = A(), H = m(), U = b({
|
|
29
29
|
mutationFn: async (n) => t(await e.DELETE("/api/v1/workspaces/{workspace}/runners/{runnerId}", { params: { path: {
|
|
30
30
|
workspace: c,
|
|
31
31
|
runnerId: n
|
|
32
32
|
} } })),
|
|
33
|
-
onSettled: () =>
|
|
34
|
-
}), { confirm:
|
|
35
|
-
title:
|
|
36
|
-
description:
|
|
37
|
-
confirmLabel:
|
|
38
|
-
onConfirm: () =>
|
|
39
|
-
}),
|
|
33
|
+
onSettled: () => z.invalidateQueries({ queryKey: n(c).queryKey })
|
|
34
|
+
}), { confirm: W, dialog: G } = o(), K = (e) => W({
|
|
35
|
+
title: F("revokeRunnerTitle"),
|
|
36
|
+
description: F("revokeRunnerDescription", { name: e.name }),
|
|
37
|
+
confirmLabel: F("revoke"),
|
|
38
|
+
onConfirm: () => U.mutateAsync(e.id)
|
|
39
|
+
}), q = h(() => [{
|
|
40
40
|
key: "name",
|
|
41
|
-
label:
|
|
41
|
+
label: L("name"),
|
|
42
42
|
headerClassName: "py-2",
|
|
43
43
|
alwaysVisible: !0
|
|
44
44
|
}, {
|
|
45
45
|
key: "seen",
|
|
46
|
-
label:
|
|
46
|
+
label: F("runnerColSeen"),
|
|
47
47
|
headerClassName: "py-2 w-40",
|
|
48
48
|
align: "end"
|
|
49
|
-
}], [
|
|
49
|
+
}], [F, L]), J = h(() => [{
|
|
50
50
|
value: "name",
|
|
51
|
-
label:
|
|
51
|
+
label: L("name"),
|
|
52
52
|
compare: (e, t) => e.name.localeCompare(t.name)
|
|
53
53
|
}, {
|
|
54
54
|
value: "seen",
|
|
55
|
-
label:
|
|
55
|
+
label: F("runnerColSeen"),
|
|
56
56
|
compare: (e, t) => (t.lastSeenAt ?? "").localeCompare(e.lastSeenAt ?? "")
|
|
57
|
-
}], [
|
|
57
|
+
}], [F, L]), Y = M({
|
|
58
58
|
storageKey: `tandem-runners-${c}`,
|
|
59
59
|
defaultShowColumnHeaders: !1,
|
|
60
|
-
columns:
|
|
61
|
-
orderBys:
|
|
60
|
+
columns: q,
|
|
61
|
+
orderBys: J,
|
|
62
62
|
defaultOrderBy: "name",
|
|
63
63
|
facets: []
|
|
64
|
-
}),
|
|
64
|
+
}), X = B.filter.trim().toLowerCase(), Z = P.filter((e) => !X || [
|
|
65
65
|
e.name,
|
|
66
66
|
e.group ?? "",
|
|
67
67
|
...e.harnesses,
|
|
68
68
|
...e.labels
|
|
69
|
-
].some((e) => e.toLowerCase().includes(
|
|
70
|
-
return /* @__PURE__ */
|
|
69
|
+
].some((e) => e.toLowerCase().includes(X))), Q = P.filter((e) => e.sharingRefused), $ = P.filter((e) => e.sharingUnchecked);
|
|
70
|
+
return /* @__PURE__ */ y(s, {
|
|
71
71
|
wide: !0,
|
|
72
|
-
title:
|
|
73
|
-
description:
|
|
72
|
+
title: F("runners"),
|
|
73
|
+
description: F.rich("runnersDescription", { code: (e) => /* @__PURE__ */ v("code", {
|
|
74
74
|
className: "rounded bg-muted px-1 py-0.5 text-xs",
|
|
75
75
|
children: e
|
|
76
76
|
}) }),
|
|
77
|
-
toolbar:
|
|
78
|
-
view:
|
|
79
|
-
search:
|
|
80
|
-
searchLabel:
|
|
81
|
-
searchPlaceholder:
|
|
77
|
+
toolbar: P.length > 0 && /* @__PURE__ */ v(D, {
|
|
78
|
+
view: Y,
|
|
79
|
+
search: B,
|
|
80
|
+
searchLabel: F("runnerSearch"),
|
|
81
|
+
searchPlaceholder: F("runnerSearch")
|
|
82
82
|
}),
|
|
83
83
|
children: [
|
|
84
|
-
/* @__PURE__ */
|
|
84
|
+
Q.length > 0 && /* @__PURE__ */ v(u, {
|
|
85
|
+
tone: "warning",
|
|
86
|
+
className: "mb-6",
|
|
87
|
+
children: F("runnerSharingRefused", {
|
|
88
|
+
count: Q.length,
|
|
89
|
+
names: I.list(Q.map((e) => e.name), { type: "conjunction" })
|
|
90
|
+
})
|
|
91
|
+
}),
|
|
92
|
+
$.length > 0 && /* @__PURE__ */ v(u, {
|
|
93
|
+
tone: "muted",
|
|
94
|
+
className: "mb-6",
|
|
95
|
+
children: F("runnerSharingUnchecked", {
|
|
96
|
+
count: $.length,
|
|
97
|
+
names: I.list($.map((e) => e.name), { type: "conjunction" })
|
|
98
|
+
})
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ v("div", {
|
|
85
101
|
className: "border-t border-border",
|
|
86
|
-
children: /* @__PURE__ */
|
|
87
|
-
view:
|
|
88
|
-
total:
|
|
89
|
-
matches:
|
|
102
|
+
children: /* @__PURE__ */ v(T, {
|
|
103
|
+
view: Y,
|
|
104
|
+
total: P.length,
|
|
105
|
+
matches: Z.length,
|
|
90
106
|
count: {
|
|
91
|
-
filterActive:
|
|
92
|
-
noun:
|
|
93
|
-
nounPlural:
|
|
107
|
+
filterActive: B.filter.trim() !== "",
|
|
108
|
+
noun: F("runnerNoun"),
|
|
109
|
+
nounPlural: F("runnerNounPlural")
|
|
94
110
|
},
|
|
95
111
|
empty: {
|
|
96
|
-
icon: /* @__PURE__ */
|
|
97
|
-
title:
|
|
112
|
+
icon: /* @__PURE__ */ v(i, {}),
|
|
113
|
+
title: F("noRunners")
|
|
98
114
|
},
|
|
99
|
-
noMatches:
|
|
100
|
-
children: /* @__PURE__ */
|
|
101
|
-
...
|
|
102
|
-
children: [/* @__PURE__ */
|
|
115
|
+
noMatches: F("runnerNoMatches"),
|
|
116
|
+
children: /* @__PURE__ */ y(f, {
|
|
117
|
+
...k,
|
|
118
|
+
children: [/* @__PURE__ */ v(w, { view: Y }), Y.applyOrder(Z).map((e) => /* @__PURE__ */ y(E, {
|
|
103
119
|
href: null,
|
|
104
|
-
goTo:
|
|
105
|
-
openMenu:
|
|
120
|
+
goTo: V,
|
|
121
|
+
openMenu: H,
|
|
106
122
|
items: [
|
|
107
|
-
r(
|
|
108
|
-
r(
|
|
109
|
-
|
|
123
|
+
r(F("copyRunnerId"), e.id),
|
|
124
|
+
r(L("copyName"), e.name),
|
|
125
|
+
p,
|
|
110
126
|
{
|
|
111
|
-
label:
|
|
127
|
+
label: F("revoke"),
|
|
112
128
|
destructive: !0,
|
|
113
|
-
onClick: () =>
|
|
129
|
+
onClick: () => K(e)
|
|
114
130
|
}
|
|
115
131
|
],
|
|
116
|
-
children: [/* @__PURE__ */
|
|
117
|
-
icon: /* @__PURE__ */
|
|
132
|
+
children: [/* @__PURE__ */ v(O, {
|
|
133
|
+
icon: /* @__PURE__ */ v(i, {}),
|
|
118
134
|
iconTile: !0,
|
|
119
135
|
name: e.name,
|
|
120
|
-
subtitle:
|
|
121
|
-
...e.group ? [
|
|
122
|
-
...e.
|
|
136
|
+
subtitle: I.list([
|
|
137
|
+
...e.group ? [F("runnerSharedWith", { group: e.group })] : [],
|
|
138
|
+
...e.sharingRefused ? [F("runnerNotTakingRuns")] : [],
|
|
139
|
+
...e.sharingUnchecked ? [F("runnerSharingUnknown")] : [],
|
|
140
|
+
...e.permissionMode ? [F(N[e.permissionMode])] : [],
|
|
123
141
|
...e.harnesses,
|
|
124
142
|
...e.labels
|
|
125
143
|
], { type: "unit" }),
|
|
126
144
|
href: null
|
|
127
|
-
}),
|
|
145
|
+
}), Y.isVisible("seen") && /* @__PURE__ */ y(f.Item, {
|
|
128
146
|
className: "py-2.5",
|
|
129
|
-
children: [/* @__PURE__ */
|
|
147
|
+
children: [/* @__PURE__ */ v(C, { children: e.lastSeenAt ? F("runnerSeen", { seen: R.relative(e.lastSeenAt) }) : F("runnerNeverConnected") }), e.isolation && /* @__PURE__ */ y("span", {
|
|
130
148
|
className: "flex items-center justify-end gap-1.5 text-xs text-muted-foreground",
|
|
131
149
|
title: e.isolation.failures.join("\n") || void 0,
|
|
132
|
-
children: [/* @__PURE__ */
|
|
150
|
+
children: [/* @__PURE__ */ v(d, {
|
|
133
151
|
variant: e.isolation.passed ? "success" : "error",
|
|
134
152
|
size: 8
|
|
135
|
-
}), e.isolation.passed ?
|
|
153
|
+
}), e.isolation.passed ? F("runnerIsolated") : F("runnerNotIsolated", { count: e.isolation.failures.length })]
|
|
136
154
|
})]
|
|
137
155
|
})]
|
|
138
156
|
}, e.id))]
|
|
139
157
|
})
|
|
140
158
|
})
|
|
141
159
|
}),
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
|
|
160
|
+
/* @__PURE__ */ v(l, { workspace: c }),
|
|
161
|
+
G
|
|
144
162
|
]
|
|
145
163
|
});
|
|
146
164
|
}
|
|
147
|
-
export {
|
|
165
|
+
export { P as component };
|