@omg-dev/app 0.2.23 → 0.4.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/dist-lib/{ChangelogPage-CeCtrXuD.js → ChangelogPage-B6oxujtj.js} +135 -1
- package/dist-lib/{File-BszRWhXA.js → File-B-qYa2zY.js} +1 -1
- package/dist-lib/{FileEditor-ByMnm-sa.js → FileEditor-BIz0qCyW.js} +2 -2
- package/dist-lib/{FileViewer-DgjR_OJp.js → FileViewer-Clmf04v1.js} +1 -1
- package/dist-lib/{SessionFilesPanel-Ck0KNzua.js → SessionFilesPanel-CF_zsqbI.js} +18 -18
- package/dist-lib/{TermView-D2F19OhV.js → TermView-CJF4nZya.js} +1 -1
- package/dist-lib/apple-touch-icon.png +0 -0
- package/dist-lib/{chat-engine-Bo21-04D.js → chat-engine-CK_sLDum.js} +1 -1
- package/dist-lib/{streamdown-response-k_s41jX5.js → chunk-BO2N2NFS-kYiI5SD9.js} +5006 -6023
- package/dist-lib/{coding-agents-page-Bfy-IdbL.js → coding-agents-page-DR79T5z3.js} +80 -80
- package/dist-lib/embedded-B900iwBO.js +32318 -0
- package/dist-lib/engine-compile-BeDRSL6Y.js +9199 -0
- package/dist-lib/{highlighted-body-OFNGDK62-XrUZDzoE.js → highlighted-body-OFNGDK62-C2DGVKV8.js} +4 -4
- package/dist-lib/icon-192.png +0 -0
- package/dist-lib/icon-512.png +0 -0
- package/dist-lib/icon-maskable-512.png +0 -0
- package/dist-lib/icon-maskable.svg +11 -11
- package/dist-lib/icon-small.svg +18 -15
- package/dist-lib/icon.svg +18 -15
- package/dist-lib/index-BXzud6tj.js +1247 -0
- package/dist-lib/{index-CdRi0Fvj.js → index-DWkBvb-9.js} +27 -27
- package/dist-lib/{index-Bw4EY_Nm.js → index-DcwavxA1.js} +3 -3
- package/dist-lib/index-Dtkd4mEk.js +29 -0
- package/dist-lib/index.js +1 -1
- package/dist-lib/mermaid-GHXKKRXX-Ox_2d3uB.js +4 -0
- package/dist-lib/{resume-session-sheet-9na3HKD2.js → resume-session-sheet-5ffg3hJB.js} +1 -1
- package/dist-lib/{session-token-usage-Buv6ihdg.js → session-token-usage-Csrm3KDa.js} +6 -6
- package/dist-lib/{shipped-page-DRgFmUbI.js → shipped-page-B9ihw5Gz.js} +91 -101
- package/dist-lib/streamdown-response-B858u5YQ.js +1051 -0
- package/dist-lib/styles.css +1 -1
- package/package.json +4 -2
- package/dist-lib/embedded-pRKgmVAd.js +0 -27950
- package/dist-lib/engine-compile-BeZvvx0I.js +0 -10442
- package/dist-lib/mermaid-GHXKKRXX-CPr0wWN7.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
import { R, B as d, L as w, m as $, n as S, o as A, p as h, T as L, q as j, s as G, u as H, v as I, w as M, x as U, X as W, K as X } from "./embedded-
|
|
1
|
+
import { jsxs as s, jsx as e, Fragment as E } from "react/jsx-runtime";
|
|
2
|
+
import { R, B as d, L as w, m as $, n as S, o as A, p as h, T as L, q as j, s as G, u as H, v as I, w as M, x as U, X as W, K as X } from "./embedded-B900iwBO.js";
|
|
3
3
|
import { cn as B } from "cnfast";
|
|
4
4
|
import { useState as T } from "react";
|
|
5
5
|
function P(t) {
|
|
@@ -17,14 +17,14 @@ function V(t) {
|
|
|
17
17
|
return l.length ? l.length === 1 ? `${l[0].label} missing` : `${l.length} checks failing` : null;
|
|
18
18
|
}
|
|
19
19
|
function Y({ checks: t }) {
|
|
20
|
-
return /* @__PURE__ */
|
|
20
|
+
return /* @__PURE__ */ e("div", { className: "space-y-1", children: t.map((l) => /* @__PURE__ */ s(
|
|
21
21
|
"div",
|
|
22
22
|
{
|
|
23
23
|
className: "flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground",
|
|
24
24
|
children: [
|
|
25
|
-
l.ok ? /* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
l.detail ? /* @__PURE__ */
|
|
25
|
+
l.ok ? /* @__PURE__ */ e(U, { className: "size-3.5 shrink-0 text-success" }) : /* @__PURE__ */ e(W, { className: "size-3.5 shrink-0 text-destructive" }),
|
|
26
|
+
/* @__PURE__ */ e("span", { className: "shrink-0", children: l.label }),
|
|
27
|
+
l.detail ? /* @__PURE__ */ e("span", { className: "min-w-0 truncate text-muted-foreground/70", children: l.detail }) : null
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
l.label
|
|
@@ -38,8 +38,8 @@ function D({
|
|
|
38
38
|
showDot: o = !0,
|
|
39
39
|
control: f,
|
|
40
40
|
open: u,
|
|
41
|
-
onToggle:
|
|
42
|
-
children:
|
|
41
|
+
onToggle: x,
|
|
42
|
+
children: b
|
|
43
43
|
}) {
|
|
44
44
|
return /* @__PURE__ */ s("div", { className: "px-4 py-2.5", children: [
|
|
45
45
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
|
|
@@ -47,19 +47,19 @@ function D({
|
|
|
47
47
|
"button",
|
|
48
48
|
{
|
|
49
49
|
type: "button",
|
|
50
|
-
onClick:
|
|
50
|
+
onClick: x,
|
|
51
51
|
"aria-expanded": u,
|
|
52
52
|
className: "flex min-w-0 flex-1 items-center gap-3 text-left",
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ e("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-[8px] border border-border bg-background", children: t }),
|
|
55
55
|
/* @__PURE__ */ s("span", { className: "min-w-0 flex-1", children: [
|
|
56
56
|
/* @__PURE__ */ s("span", { className: "flex items-center gap-2", children: [
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
o && !m ? /* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ e("span", { className: "truncate text-sm font-medium", children: l }),
|
|
58
|
+
o && !m ? /* @__PURE__ */ e("span", { className: "size-1.5 shrink-0 rounded-full bg-destructive", "aria-hidden": !0 }) : null
|
|
59
59
|
] }),
|
|
60
|
-
r ? /* @__PURE__ */
|
|
60
|
+
r ? /* @__PURE__ */ e("span", { className: "block truncate text-xs text-muted-foreground", children: r }) : null
|
|
61
61
|
] }),
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ e(
|
|
63
63
|
M,
|
|
64
64
|
{
|
|
65
65
|
className: B(
|
|
@@ -73,7 +73,7 @@ function D({
|
|
|
73
73
|
),
|
|
74
74
|
f
|
|
75
75
|
] }),
|
|
76
|
-
u ? /* @__PURE__ */
|
|
76
|
+
u ? /* @__PURE__ */ e("div", { className: "mt-3 space-y-3 pl-11", children: b }) : null
|
|
77
77
|
] });
|
|
78
78
|
}
|
|
79
79
|
function Z({
|
|
@@ -83,12 +83,12 @@ function Z({
|
|
|
83
83
|
}) {
|
|
84
84
|
return /* @__PURE__ */ s("div", { className: "flex items-center gap-2 rounded-xl border border-border/70 bg-background/55 px-2.5 py-2", children: [
|
|
85
85
|
/* @__PURE__ */ s("span", { className: "min-w-0 flex-1", children: [
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
-
t.detail || t.fromEnv ? /* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ e("span", { className: "block truncate text-xs font-medium", children: t.label }),
|
|
87
|
+
t.needsReconnect ? /* @__PURE__ */ e("span", { className: "block truncate text-[11px] text-destructive", children: "Sign-in expired" }) : t.detail || t.fromEnv ? /* @__PURE__ */ e("span", { className: "block truncate text-[11px] text-muted-foreground", children: t.detail ?? "From the environment" }) : null
|
|
88
88
|
] }),
|
|
89
89
|
t.connected ? /* @__PURE__ */ s(E, { children: [
|
|
90
|
-
/* @__PURE__ */
|
|
91
|
-
t.fromEnv ? null : /* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ e("span", { className: "text-[11px] text-success", children: "Connected" }),
|
|
91
|
+
t.fromEnv ? null : /* @__PURE__ */ e(
|
|
92
92
|
"button",
|
|
93
93
|
{
|
|
94
94
|
type: "button",
|
|
@@ -96,12 +96,12 @@ function Z({
|
|
|
96
96
|
title: `Disconnect ${t.label}`,
|
|
97
97
|
"aria-label": `Disconnect ${t.label}`,
|
|
98
98
|
className: "flex size-7 items-center justify-center rounded-full text-muted-foreground transition hover:bg-destructive/10 hover:text-destructive",
|
|
99
|
-
children: /* @__PURE__ */
|
|
99
|
+
children: /* @__PURE__ */ e(L, { className: "size-3.5" })
|
|
100
100
|
}
|
|
101
101
|
)
|
|
102
102
|
] }) : /* @__PURE__ */ s(d, { size: "sm", variant: "outline", onClick: () => l(t), children: [
|
|
103
|
-
t.method === "oauth" ? /* @__PURE__ */
|
|
104
|
-
"Connect"
|
|
103
|
+
t.method === "oauth" ? /* @__PURE__ */ e(h, { className: "size-3.5" }) : /* @__PURE__ */ e(X, { className: "size-3.5" }),
|
|
104
|
+
t.needsReconnect ? "Reconnect" : "Connect"
|
|
105
105
|
] })
|
|
106
106
|
] });
|
|
107
107
|
}
|
|
@@ -113,19 +113,19 @@ function le({
|
|
|
113
113
|
onLogin: o,
|
|
114
114
|
onAddClaudeAccount: f,
|
|
115
115
|
onRemoveClaudeAccount: u,
|
|
116
|
-
onConnectProvider:
|
|
117
|
-
onDisconnectProvider:
|
|
116
|
+
onConnectProvider: x,
|
|
117
|
+
onDisconnectProvider: b,
|
|
118
118
|
onSetupCheck: K,
|
|
119
119
|
onRefresh: O
|
|
120
120
|
}) {
|
|
121
|
-
const [g, N] = T(!1), [y, v] = T(null), z = (
|
|
121
|
+
const [g, N] = T(!1), [y, v] = T(null), z = (n) => v((a) => a === n ? null : n);
|
|
122
122
|
async function q() {
|
|
123
123
|
if (!g) {
|
|
124
124
|
N(!0);
|
|
125
125
|
try {
|
|
126
126
|
await O(), I.success("Coding agents refreshed");
|
|
127
|
-
} catch (
|
|
128
|
-
I.error(
|
|
127
|
+
} catch (n) {
|
|
128
|
+
I.error(n instanceof Error ? n.message : "Could not refresh coding agents");
|
|
129
129
|
} finally {
|
|
130
130
|
N(!1);
|
|
131
131
|
}
|
|
@@ -133,7 +133,7 @@ function le({
|
|
|
133
133
|
}
|
|
134
134
|
return /* @__PURE__ */ s("div", { className: "mx-auto max-w-xl space-y-3 pb-10", "data-lfg-page-column": !0, children: [
|
|
135
135
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between px-4", children: [
|
|
136
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ e("h2", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Coding agents" }),
|
|
137
137
|
/* @__PURE__ */ s(
|
|
138
138
|
"button",
|
|
139
139
|
{
|
|
@@ -142,93 +142,93 @@ function le({
|
|
|
142
142
|
disabled: g,
|
|
143
143
|
className: "flex items-center gap-1 text-xs text-muted-foreground transition-colors hover:text-foreground disabled:opacity-50",
|
|
144
144
|
children: [
|
|
145
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ e(R, { className: B("size-3.5", g && "animate-spin") }),
|
|
146
146
|
"Refresh"
|
|
147
147
|
]
|
|
148
148
|
}
|
|
149
149
|
)
|
|
150
150
|
] }),
|
|
151
|
-
t.length ? /* @__PURE__ */
|
|
151
|
+
t.length ? /* @__PURE__ */ e("div", { className: "overflow-hidden rounded-2xl border border-border bg-card/40 divide-y divide-border", children: t.map((n) => /* @__PURE__ */ s(
|
|
152
152
|
D,
|
|
153
153
|
{
|
|
154
|
-
icon: /* @__PURE__ */
|
|
155
|
-
title:
|
|
156
|
-
note: V(
|
|
157
|
-
ok:
|
|
158
|
-
open: y === `setup:${
|
|
159
|
-
onToggle: () => z(`setup:${
|
|
154
|
+
icon: /* @__PURE__ */ e(S, { className: "size-4 text-muted-foreground" }),
|
|
155
|
+
title: n.label,
|
|
156
|
+
note: V(n.checks),
|
|
157
|
+
ok: n.configured,
|
|
158
|
+
open: y === `setup:${n.key}`,
|
|
159
|
+
onToggle: () => z(`setup:${n.key}`),
|
|
160
160
|
children: [
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
|
|
161
|
+
/* @__PURE__ */ e(Y, { checks: n.checks }),
|
|
162
|
+
n.instructions.map((a) => /* @__PURE__ */ e("p", { className: "text-xs text-muted-foreground", children: a }, a)),
|
|
163
163
|
/* @__PURE__ */ s(
|
|
164
164
|
d,
|
|
165
165
|
{
|
|
166
166
|
size: "sm",
|
|
167
167
|
variant: "outline",
|
|
168
|
-
disabled: !
|
|
169
|
-
onClick: () => K(
|
|
170
|
-
title:
|
|
168
|
+
disabled: !n.canAutoSetup || n.running,
|
|
169
|
+
onClick: () => K(n.key),
|
|
170
|
+
title: n.canAutoSetup ? n.actionLabel : "Install a supported coding agent first",
|
|
171
171
|
children: [
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
n.running ? /* @__PURE__ */ e(w, { className: "size-4 animate-spin" }) : /* @__PURE__ */ e($, { className: "size-4" }),
|
|
173
|
+
n.running ? "Running…" : n.actionLabel
|
|
174
174
|
]
|
|
175
175
|
}
|
|
176
176
|
)
|
|
177
177
|
]
|
|
178
178
|
},
|
|
179
|
-
|
|
179
|
+
n.key
|
|
180
180
|
)) }) : null,
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
const a =
|
|
181
|
+
/* @__PURE__ */ e("div", { className: "overflow-hidden rounded-2xl border border-border bg-card/40 divide-y divide-border", children: l.map((n) => {
|
|
182
|
+
const a = n.status, c = n.key === "aisdk" ? a.accounts ?? [] : [], p = a.providers ?? [], F = c.some((i) => i.connected), _ = c.length > 0 || p.length > 0, C = J(a.checks);
|
|
183
183
|
return /* @__PURE__ */ s(
|
|
184
184
|
D,
|
|
185
185
|
{
|
|
186
|
-
icon: /* @__PURE__ */
|
|
187
|
-
title:
|
|
186
|
+
icon: /* @__PURE__ */ e("img", { src: A(n.key), alt: H(n.key), className: "size-5" }),
|
|
187
|
+
title: n.label,
|
|
188
188
|
note: Q(a.checks),
|
|
189
189
|
ok: a.configured,
|
|
190
190
|
showDot: !1,
|
|
191
|
-
open: y === `agent:${
|
|
192
|
-
onToggle: () => z(`agent:${
|
|
193
|
-
control: /* @__PURE__ */
|
|
191
|
+
open: y === `agent:${n.key}`,
|
|
192
|
+
onToggle: () => z(`agent:${n.key}`),
|
|
193
|
+
control: /* @__PURE__ */ e(
|
|
194
194
|
G,
|
|
195
195
|
{
|
|
196
|
-
checked:
|
|
196
|
+
checked: n.visible,
|
|
197
197
|
onCheckedChange: (i) => {
|
|
198
198
|
if (i && !a.configured) {
|
|
199
|
-
v(`agent:${
|
|
199
|
+
v(`agent:${n.key}`);
|
|
200
200
|
return;
|
|
201
201
|
}
|
|
202
|
-
r(
|
|
202
|
+
r(n.key, i);
|
|
203
203
|
},
|
|
204
|
-
"aria-label": `${
|
|
204
|
+
"aria-label": `${n.label} visible in composer`
|
|
205
205
|
}
|
|
206
206
|
),
|
|
207
207
|
children: [
|
|
208
|
-
c.length ? /* @__PURE__ */
|
|
208
|
+
c.length ? /* @__PURE__ */ e("div", { className: "space-y-1.5", children: c.map((i) => /* @__PURE__ */ s(
|
|
209
209
|
"div",
|
|
210
210
|
{
|
|
211
211
|
className: "flex items-center gap-2 rounded-xl border border-border/70 bg-background/55 px-2.5 py-2",
|
|
212
212
|
children: [
|
|
213
213
|
/* @__PURE__ */ s("span", { className: "relative flex size-7 shrink-0 items-center justify-center rounded-full bg-muted", children: [
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ e("img", { src: A("aisdk"), alt: "", className: "size-4.5" }),
|
|
215
|
+
/* @__PURE__ */ e("span", { className: "absolute -bottom-0.5 -right-0.5 flex size-3.5 items-center justify-center rounded-full bg-foreground text-[8px] font-bold text-background ring-1 ring-background", children: i.number })
|
|
216
216
|
] }),
|
|
217
217
|
/* @__PURE__ */ s("span", { className: "min-w-0 flex-1", children: [
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
i.needsReconnect ? /* @__PURE__ */
|
|
218
|
+
/* @__PURE__ */ e("span", { className: "block truncate text-xs font-medium", children: i.label }),
|
|
219
|
+
i.needsReconnect ? /* @__PURE__ */ e("span", { className: "block truncate text-[11px] text-destructive", children: "Sign-in expired" }) : null
|
|
220
220
|
] }),
|
|
221
221
|
i.connected ? /* @__PURE__ */ s(E, { children: [
|
|
222
|
-
/* @__PURE__ */
|
|
223
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ e("span", { className: "text-[11px] text-success", children: "Connected" }),
|
|
223
|
+
/* @__PURE__ */ e(
|
|
224
224
|
"button",
|
|
225
225
|
{
|
|
226
226
|
type: "button",
|
|
227
|
-
onClick: () => o(
|
|
227
|
+
onClick: () => o(n.key, i.id),
|
|
228
228
|
title: `Sign in to ${i.label} again`,
|
|
229
229
|
"aria-label": `Sign in to ${i.label} again`,
|
|
230
230
|
className: "flex size-7 items-center justify-center rounded-full text-muted-foreground transition hover:bg-muted hover:text-foreground",
|
|
231
|
-
children: /* @__PURE__ */
|
|
231
|
+
children: /* @__PURE__ */ e(R, { className: "size-3.5" })
|
|
232
232
|
}
|
|
233
233
|
)
|
|
234
234
|
] }) : /* @__PURE__ */ s(
|
|
@@ -236,14 +236,14 @@ function le({
|
|
|
236
236
|
{
|
|
237
237
|
size: "sm",
|
|
238
238
|
variant: "outline",
|
|
239
|
-
onClick: () => o(
|
|
239
|
+
onClick: () => o(n.key, i.id),
|
|
240
240
|
children: [
|
|
241
|
-
/* @__PURE__ */
|
|
241
|
+
/* @__PURE__ */ e(h, { className: "size-3.5" }),
|
|
242
242
|
i.needsReconnect ? "Reconnect" : "Connect"
|
|
243
243
|
]
|
|
244
244
|
}
|
|
245
245
|
),
|
|
246
|
-
i.removable ? /* @__PURE__ */
|
|
246
|
+
i.removable ? /* @__PURE__ */ e(
|
|
247
247
|
"button",
|
|
248
248
|
{
|
|
249
249
|
type: "button",
|
|
@@ -251,25 +251,25 @@ function le({
|
|
|
251
251
|
title: `Remove ${i.label}`,
|
|
252
252
|
"aria-label": `Remove ${i.label}`,
|
|
253
253
|
className: "flex size-7 items-center justify-center rounded-full text-muted-foreground transition hover:bg-destructive/10 hover:text-destructive",
|
|
254
|
-
children: /* @__PURE__ */
|
|
254
|
+
children: /* @__PURE__ */ e(L, { className: "size-3.5" })
|
|
255
255
|
}
|
|
256
256
|
) : null
|
|
257
257
|
]
|
|
258
258
|
},
|
|
259
259
|
i.id
|
|
260
260
|
)) }) : null,
|
|
261
|
-
p.length ? /* @__PURE__ */
|
|
261
|
+
p.length ? /* @__PURE__ */ e("div", { className: "space-y-1.5", children: p.map((i) => /* @__PURE__ */ e(
|
|
262
262
|
Z,
|
|
263
263
|
{
|
|
264
264
|
provider: i,
|
|
265
265
|
onConnect: (k) => {
|
|
266
|
-
if (
|
|
267
|
-
m(
|
|
266
|
+
if (n.key === "jcode" && C) {
|
|
267
|
+
m(n.key);
|
|
268
268
|
return;
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
x(n.key, k);
|
|
271
271
|
},
|
|
272
|
-
onDisconnect: (k) =>
|
|
272
|
+
onDisconnect: (k) => b(n.key, k)
|
|
273
273
|
},
|
|
274
274
|
i.id
|
|
275
275
|
)) }) : null,
|
|
@@ -280,10 +280,10 @@ function le({
|
|
|
280
280
|
size: "sm",
|
|
281
281
|
variant: "outline",
|
|
282
282
|
disabled: a.setupRunning,
|
|
283
|
-
onClick: () => m(
|
|
283
|
+
onClick: () => m(n.key),
|
|
284
284
|
title: "Run setup for this agent",
|
|
285
285
|
children: [
|
|
286
|
-
a.setupRunning ? /* @__PURE__ */
|
|
286
|
+
a.setupRunning ? /* @__PURE__ */ e(w, { className: "size-4 animate-spin" }) : /* @__PURE__ */ e($, { className: "size-4" }),
|
|
287
287
|
a.setupRunning ? "Running…" : "Install"
|
|
288
288
|
]
|
|
289
289
|
}
|
|
@@ -297,7 +297,7 @@ function le({
|
|
|
297
297
|
onClick: () => f(),
|
|
298
298
|
title: "Add another Claude account",
|
|
299
299
|
children: [
|
|
300
|
-
/* @__PURE__ */
|
|
300
|
+
/* @__PURE__ */ e(h, { className: "size-4" }),
|
|
301
301
|
"Add account"
|
|
302
302
|
]
|
|
303
303
|
}
|
|
@@ -308,10 +308,10 @@ function le({
|
|
|
308
308
|
size: "sm",
|
|
309
309
|
variant: "outline",
|
|
310
310
|
disabled: a.setupRunning,
|
|
311
|
-
onClick: () => o(
|
|
312
|
-
title:
|
|
311
|
+
onClick: () => o(n.key),
|
|
312
|
+
title: n.key === "aisdk" && c.length ? "Add another Claude account" : j.has(n.key) ? `Sign in to ${n.label} in your browser` : `Open terminal and run ${a.loginCommand}`,
|
|
313
313
|
children: [
|
|
314
|
-
j.has(
|
|
314
|
+
j.has(n.key) ? /* @__PURE__ */ e(h, { className: "size-4" }) : /* @__PURE__ */ e(S, { className: "size-4" }),
|
|
315
315
|
"Login"
|
|
316
316
|
]
|
|
317
317
|
}
|
|
@@ -319,7 +319,7 @@ function le({
|
|
|
319
319
|
] })
|
|
320
320
|
]
|
|
321
321
|
},
|
|
322
|
-
|
|
322
|
+
n.key
|
|
323
323
|
);
|
|
324
324
|
}) })
|
|
325
325
|
] });
|