@punkcode/cli 0.1.19 → 0.1.20
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.
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
signIn,
|
|
11
11
|
usePunkStore,
|
|
12
12
|
version
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LYCIVKB3.js";
|
|
14
14
|
|
|
15
15
|
// src/ui/App.tsx
|
|
16
16
|
import { useEffect as useEffect3, useRef as useRef2, useState as useState3 } from "react";
|
|
@@ -46,6 +46,7 @@ function LoginDialog({ store, server }) {
|
|
|
46
46
|
const [colorIdx, setColorIdx] = useState(0);
|
|
47
47
|
const [email, setEmail] = useState("");
|
|
48
48
|
const [polling, setPolling] = useState(false);
|
|
49
|
+
const [pairingCode, setPairingCode] = useState("");
|
|
49
50
|
const [welcomeEmail, setWelcomeEmail] = useState("");
|
|
50
51
|
useEffect(() => {
|
|
51
52
|
if (mode !== "success") return;
|
|
@@ -68,6 +69,7 @@ function LoginDialog({ store, server }) {
|
|
|
68
69
|
try {
|
|
69
70
|
const session = await initQrSession(server);
|
|
70
71
|
setQrString(session.qrString);
|
|
72
|
+
setPairingCode(session.pairingCode);
|
|
71
73
|
setPolling(true);
|
|
72
74
|
const ac = new AbortController();
|
|
73
75
|
for await (const result of session.poll(ac.signal)) {
|
|
@@ -146,11 +148,22 @@ function LoginDialog({ store, server }) {
|
|
|
146
148
|
error
|
|
147
149
|
] }) }),
|
|
148
150
|
mode === "qr" && /* @__PURE__ */ jsxs(Box, { flexDirection: "column", alignItems: "center", children: [
|
|
149
|
-
/* @__PURE__ */ jsx(Text, { children: "Scan with the Punk app
|
|
151
|
+
/* @__PURE__ */ jsx(Text, { bold: true, children: "Scan with the Punk app" }),
|
|
152
|
+
/* @__PURE__ */ jsxs(Text, { dimColor: true, children: [
|
|
153
|
+
"Devices ",
|
|
154
|
+
"\u2192",
|
|
155
|
+
" Add Device ",
|
|
156
|
+
"\u2192",
|
|
157
|
+
" Scan"
|
|
158
|
+
] }),
|
|
150
159
|
/* @__PURE__ */ jsx(Text, { children: " " }),
|
|
151
160
|
qrString ? /* @__PURE__ */ jsx(Text, { color: QR_COLORS[colorIdx], children: qrString }) : /* @__PURE__ */ jsx(Spinner, { label: "Generating QR code..." }),
|
|
152
161
|
/* @__PURE__ */ jsx(Text, { children: " " }),
|
|
153
|
-
polling && /* @__PURE__ */ jsx(
|
|
162
|
+
polling && /* @__PURE__ */ jsx(Text, { dimColor: true, children: "Waiting for confirmation..." }),
|
|
163
|
+
pairingCode && /* @__PURE__ */ jsxs(Box, { children: [
|
|
164
|
+
/* @__PURE__ */ jsx(Text, { dimColor: true, children: "Can't scan? Enter code: " }),
|
|
165
|
+
/* @__PURE__ */ jsx(Text, { bold: true, children: pairingCode })
|
|
166
|
+
] }),
|
|
154
167
|
/* @__PURE__ */ jsx(Text, { children: " " }),
|
|
155
168
|
/* @__PURE__ */ jsxs(Text, { children: [
|
|
156
169
|
/* @__PURE__ */ jsx(Text, { color: theme.accent, bold: true, children: "e" }),
|
|
@@ -219,11 +232,12 @@ function getColumns(width) {
|
|
|
219
232
|
return { id: 8, project: 12, status: 10, started: 8, model: 0, effort: 0, showExtras: false };
|
|
220
233
|
}
|
|
221
234
|
var LOGO = [
|
|
222
|
-
"\u2588\u2588\u2588\u2588\u2588\u2588
|
|
223
|
-
"\u2588\u2588
|
|
224
|
-
"\u2588\u2588\u2588\u2588\u2588\u2588
|
|
225
|
-
"\u2588\u2588
|
|
226
|
-
"\u2588\u2588
|
|
235
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557",
|
|
236
|
+
"\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D",
|
|
237
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D ",
|
|
238
|
+
"\u2588\u2588\u2554\u2550\u2550\u2550\u255D \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551\u255A\u2588\u2588\u2557\u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2588\u2588\u2557 ",
|
|
239
|
+
"\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u255A\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2557",
|
|
240
|
+
"\u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D"
|
|
227
241
|
];
|
|
228
242
|
function Dashboard({ store, connection, overlay }) {
|
|
229
243
|
const { exit } = useApp();
|
|
@@ -330,104 +344,111 @@ function Dashboard({ store, connection, overlay }) {
|
|
|
330
344
|
viewStart = Math.max(0, viewStart);
|
|
331
345
|
const visibleActivity = filteredActivity.slice(viewStart, viewStart + adjustedVisibleCount);
|
|
332
346
|
return /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", width: termWidth, height: termHeight, children: [
|
|
333
|
-
|
|
334
|
-
/*
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
/* @__PURE__ */ jsx2(Text2, {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
] }),
|
|
343
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
344
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Status: ".padEnd(12) }),
|
|
345
|
-
/* @__PURE__ */ jsx2(StatusIndicator, { status: connectionStatus, error: connectionError })
|
|
346
|
-
] }),
|
|
347
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
348
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Uptime: ".padEnd(12) }),
|
|
349
|
-
/* @__PURE__ */ jsx2(Text2, { children: uptime })
|
|
350
|
-
] }),
|
|
351
|
-
deviceInfo && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
352
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Device: ".padEnd(12) }),
|
|
353
|
-
/* @__PURE__ */ jsx2(Text2, { children: deviceInfo.name })
|
|
347
|
+
overlay ? (
|
|
348
|
+
/* Minimal header during login */
|
|
349
|
+
/* @__PURE__ */ jsxs2(Box2, { flexDirection: "row", justifyContent: "space-between", width: termWidth - 2, paddingX: 1, children: [
|
|
350
|
+
/* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", children: [
|
|
351
|
+
/* @__PURE__ */ jsx2(Text2, { bold: true, color: theme.primary, children: "punk" }),
|
|
352
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
353
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Server: ".padEnd(12) }),
|
|
354
|
+
/* @__PURE__ */ jsx2(Text2, { children: stripProtocol(server) })
|
|
355
|
+
] })
|
|
354
356
|
] }),
|
|
355
|
-
termWidth >=
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
357
|
+
termWidth >= 120 && /* @__PURE__ */ jsx2(Box2, { flexDirection: "column", alignItems: "flex-end", justifyContent: "center", children: LOGO.map((line, i) => /* @__PURE__ */ jsx2(Text2, { color: theme.logo, children: line }, i)) })
|
|
358
|
+
] })
|
|
359
|
+
) : (
|
|
360
|
+
/* Full header when connected */
|
|
361
|
+
/* @__PURE__ */ jsxs2(Box2, { flexDirection: "row", justifyContent: "space-between", width: termWidth - 2, paddingX: 1, children: [
|
|
362
|
+
/* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", children: [
|
|
363
|
+
auth && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
364
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "User: ".padEnd(12) }),
|
|
365
|
+
/* @__PURE__ */ jsx2(Text2, { children: auth.email })
|
|
366
|
+
] }),
|
|
367
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
368
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Server: ".padEnd(12) }),
|
|
369
|
+
/* @__PURE__ */ jsx2(Text2, { children: stripProtocol(server) })
|
|
370
|
+
] }),
|
|
371
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
372
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Status: ".padEnd(12) }),
|
|
373
|
+
/* @__PURE__ */ jsx2(StatusIndicator, { status: connectionStatus, error: connectionError })
|
|
374
|
+
] }),
|
|
375
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
376
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Uptime: ".padEnd(12) }),
|
|
377
|
+
/* @__PURE__ */ jsx2(Text2, { children: uptime })
|
|
378
|
+
] }),
|
|
379
|
+
deviceInfo && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
380
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Device: ".padEnd(12) }),
|
|
381
|
+
/* @__PURE__ */ jsx2(Text2, { children: deviceInfo.name })
|
|
382
|
+
] }),
|
|
383
|
+
termWidth >= 80 && deviceInfo && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
384
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Platform: ".padEnd(12) }),
|
|
385
|
+
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
386
|
+
deviceInfo.platform,
|
|
387
|
+
" ",
|
|
388
|
+
deviceInfo.arch,
|
|
389
|
+
" ",
|
|
390
|
+
deviceInfo.memoryGB,
|
|
391
|
+
"GB"
|
|
392
|
+
] })
|
|
393
|
+
] }),
|
|
394
|
+
termWidth >= 80 && deviceInfo?.claudeCodeVersion && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
395
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Claude: ".padEnd(12) }),
|
|
396
|
+
/* @__PURE__ */ jsx2(Text2, { color: "#E07B39", children: deviceInfo.claudeCodeVersion })
|
|
397
|
+
] }),
|
|
398
|
+
termWidth >= 80 && deviceInfo && deviceInfo.platform === "darwin" && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
399
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Sleep: ".padEnd(12) }),
|
|
400
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.success, children: "caffeinate active" })
|
|
364
401
|
] })
|
|
365
402
|
] }),
|
|
366
|
-
termWidth >= 80 &&
|
|
367
|
-
/* @__PURE__ */
|
|
403
|
+
termWidth >= 80 && /* @__PURE__ */ jsx2(Box2, { flexDirection: "column", children: termWidth >= 100 ? /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
404
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
405
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<q> ".padEnd(10) }),
|
|
406
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Quit" })
|
|
407
|
+
] }),
|
|
408
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
409
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<r> ".padEnd(10) }),
|
|
410
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Reconnect" })
|
|
411
|
+
] }),
|
|
412
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
413
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<c> ".padEnd(10) }),
|
|
414
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Clear Activity" })
|
|
415
|
+
] }),
|
|
416
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
417
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<g> ".padEnd(10) }),
|
|
418
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Group Activity" })
|
|
419
|
+
] }),
|
|
420
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
421
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<l> ".padEnd(10) }),
|
|
422
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Logout" })
|
|
423
|
+
] }),
|
|
424
|
+
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
425
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<enter> ".padEnd(10) }),
|
|
426
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Activity Details" })
|
|
427
|
+
] })
|
|
428
|
+
] }) : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
429
|
+
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
430
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "q" }),
|
|
431
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " quit " }),
|
|
432
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "r" }),
|
|
433
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " reconnect" })
|
|
434
|
+
] }),
|
|
368
435
|
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
369
|
-
|
|
370
|
-
"
|
|
371
|
-
|
|
436
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "c" }),
|
|
437
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " clear " }),
|
|
438
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "g" }),
|
|
439
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " group" })
|
|
440
|
+
] }),
|
|
441
|
+
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
442
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "l" }),
|
|
443
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " logout " }),
|
|
444
|
+
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "enter" }),
|
|
445
|
+
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " details" })
|
|
372
446
|
] })
|
|
373
|
-
] }),
|
|
374
|
-
termWidth >=
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
termWidth >= 80 && deviceInfo && deviceInfo.platform === "darwin" && /* @__PURE__ */ jsxs2(Box2, { children: [
|
|
379
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Sleep: ".padEnd(12) }),
|
|
380
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.success, children: "caffeinate active" })
|
|
381
|
-
] })
|
|
382
|
-
] }),
|
|
383
|
-
termWidth >= 80 && /* @__PURE__ */ jsx2(Box2, { flexDirection: "column", children: termWidth >= 100 ? /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
384
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
385
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<q> ".padEnd(10) }),
|
|
386
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Quit" })
|
|
387
|
-
] }),
|
|
388
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
389
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<r> ".padEnd(10) }),
|
|
390
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Reconnect" })
|
|
391
|
-
] }),
|
|
392
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
393
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<c> ".padEnd(10) }),
|
|
394
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Clear Activity" })
|
|
395
|
-
] }),
|
|
396
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
397
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<g> ".padEnd(10) }),
|
|
398
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Group Activity" })
|
|
399
|
-
] }),
|
|
400
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
401
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<l> ".padEnd(10) }),
|
|
402
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Logout" })
|
|
403
|
-
] }),
|
|
404
|
-
/* @__PURE__ */ jsxs2(Box2, { children: [
|
|
405
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "<enter> ".padEnd(10) }),
|
|
406
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: "Activity Details" })
|
|
407
|
-
] })
|
|
408
|
-
] }) : /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
409
|
-
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
410
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "q" }),
|
|
411
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " quit " }),
|
|
412
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "r" }),
|
|
413
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " reconnect" })
|
|
414
|
-
] }),
|
|
415
|
-
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
416
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "c" }),
|
|
417
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " clear " }),
|
|
418
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "g" }),
|
|
419
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " group" })
|
|
420
|
-
] }),
|
|
421
|
-
/* @__PURE__ */ jsxs2(Text2, { children: [
|
|
422
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "l" }),
|
|
423
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " logout " }),
|
|
424
|
-
/* @__PURE__ */ jsx2(Text2, { color: theme.accent, bold: true, children: "enter" }),
|
|
425
|
-
/* @__PURE__ */ jsx2(Text2, { dimColor: true, children: " details" })
|
|
426
|
-
] })
|
|
427
|
-
] }) }),
|
|
428
|
-
termWidth >= 120 && /* @__PURE__ */ jsx2(Box2, { flexDirection: "column", alignItems: "flex-end", justifyContent: "center", children: LOGO.map((line, i) => /* @__PURE__ */ jsx2(Text2, { color: theme.logo, children: line }, i)) })
|
|
429
|
-
] }),
|
|
430
|
-
/* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", marginX: 1, marginTop: 1, children: [
|
|
447
|
+
] }) }),
|
|
448
|
+
termWidth >= 120 && /* @__PURE__ */ jsx2(Box2, { flexDirection: "column", alignItems: "flex-end", justifyContent: "center", children: LOGO.map((line, i) => /* @__PURE__ */ jsx2(Text2, { color: theme.logo, children: line }, i)) })
|
|
449
|
+
] })
|
|
450
|
+
),
|
|
451
|
+
!overlay && /* @__PURE__ */ jsxs2(Box2, { flexDirection: "column", marginX: 1, marginTop: 1, children: [
|
|
431
452
|
buildTopBorderJsx(`Sessions (${sessionList.length})`, boxWidth),
|
|
432
453
|
/* @__PURE__ */ jsxs2(
|
|
433
454
|
Box2,
|
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
refreshIdToken,
|
|
9
9
|
signIn,
|
|
10
10
|
version
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LYCIVKB3.js";
|
|
12
12
|
|
|
13
13
|
// src/cli.ts
|
|
14
14
|
import { program } from "commander";
|
|
@@ -135,7 +135,7 @@ async function runHeadless(server, idToken, options) {
|
|
|
135
135
|
async function runTui(server, options) {
|
|
136
136
|
const { render } = await import("ink");
|
|
137
137
|
const { createElement } = await import("react");
|
|
138
|
-
const { App } = await import("./App-
|
|
138
|
+
const { App } = await import("./App-VFRKDZOG.js");
|
|
139
139
|
const idToken = options.token ? options.token : void 0;
|
|
140
140
|
process.stdout.write("\x1B[?1049h");
|
|
141
141
|
process.stdout.write("\x1B[H");
|