@hasna/assistants 1.1.53 → 1.1.54
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/index.js +135 -88
- package/dist/index.js.map +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -89084,7 +89084,7 @@ Not a git repository or git not available.
|
|
|
89084
89084
|
context.setProjectContext(projectContext);
|
|
89085
89085
|
}
|
|
89086
89086
|
}
|
|
89087
|
-
var VERSION2 = "1.1.
|
|
89087
|
+
var VERSION2 = "1.1.54";
|
|
89088
89088
|
var init_builtin = __esm(async () => {
|
|
89089
89089
|
init_src2();
|
|
89090
89090
|
init_context3();
|
|
@@ -259240,65 +259240,76 @@ function ProcessingIndicator({
|
|
|
259240
259240
|
init_src2();
|
|
259241
259241
|
await init_build2();
|
|
259242
259242
|
var jsx_dev_runtime8 = __toESM(require_jsx_dev_runtime(), 1);
|
|
259243
|
+
var MINI_LOGO = [
|
|
259244
|
+
" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
259245
|
+
"\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 ",
|
|
259246
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
259247
|
+
"\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588",
|
|
259248
|
+
"\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588"
|
|
259249
|
+
];
|
|
259250
|
+
var COLORS = ["#7dd3fc", "#38bdf8", "#0ea5e9", "#0284c7", "#0369a1"];
|
|
259243
259251
|
function WelcomeBanner({ version: version5, model, directory }) {
|
|
259244
259252
|
const homeDir = process.env.HOME || "";
|
|
259245
259253
|
const displayDir = homeDir && directory.startsWith(homeDir) ? "~" + directory.slice(homeDir.length) : directory;
|
|
259246
259254
|
const displayModel = getModelDisplayName(model);
|
|
259255
|
+
const isWide2 = (process.stdout.columns || 80) >= 82;
|
|
259247
259256
|
return /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259248
259257
|
flexDirection: "column",
|
|
259249
259258
|
marginBottom: 1,
|
|
259250
259259
|
children: [
|
|
259251
|
-
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259260
|
+
isWide2 ? /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259261
|
+
flexDirection: "column",
|
|
259262
|
+
marginBottom: 0,
|
|
259252
259263
|
children: [
|
|
259253
|
-
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259254
|
-
color:
|
|
259255
|
-
|
|
259256
|
-
|
|
259257
|
-
}, undefined, false, undefined, this),
|
|
259258
|
-
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259259
|
-
color: "cyan",
|
|
259260
|
-
bold: true,
|
|
259261
|
-
children: "_ "
|
|
259262
|
-
}, undefined, false, undefined, this),
|
|
259263
|
-
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259264
|
-
bold: true,
|
|
259265
|
-
children: "Hasna Assistants"
|
|
259266
|
-
}, undefined, false, undefined, this),
|
|
259264
|
+
MINI_LOGO.map((line, i5) => /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259265
|
+
color: COLORS[i5],
|
|
259266
|
+
children: line
|
|
259267
|
+
}, i5, false, undefined, this)),
|
|
259267
259268
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259268
259269
|
dimColor: true,
|
|
259269
|
-
children:
|
|
259270
|
-
|
|
259271
|
-
version5,
|
|
259272
|
-
")"
|
|
259273
|
-
]
|
|
259274
|
-
}, undefined, true, undefined, this)
|
|
259270
|
+
children: " by "
|
|
259271
|
+
}, undefined, false, undefined, this)
|
|
259275
259272
|
]
|
|
259276
|
-
}, undefined, true, undefined, this),
|
|
259277
|
-
|
|
259278
|
-
marginTop: 1,
|
|
259273
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259274
|
+
marginBottom: 0,
|
|
259279
259275
|
children: [
|
|
259280
259276
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259281
|
-
|
|
259282
|
-
|
|
259283
|
-
|
|
259284
|
-
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259285
|
-
children: displayModel
|
|
259277
|
+
color: "#0ea5e9",
|
|
259278
|
+
bold: true,
|
|
259279
|
+
children: "assistants"
|
|
259286
259280
|
}, undefined, false, undefined, this),
|
|
259287
259281
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259288
259282
|
dimColor: true,
|
|
259289
|
-
children: "
|
|
259283
|
+
children: " by hasna"
|
|
259290
259284
|
}, undefined, false, undefined, this)
|
|
259291
259285
|
]
|
|
259292
259286
|
}, undefined, true, undefined, this),
|
|
259293
259287
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259288
|
+
marginTop: 0,
|
|
259294
259289
|
children: [
|
|
259295
259290
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259296
259291
|
dimColor: true,
|
|
259297
|
-
children:
|
|
259298
|
-
|
|
259292
|
+
children: [
|
|
259293
|
+
"v",
|
|
259294
|
+
version5,
|
|
259295
|
+
" "
|
|
259296
|
+
]
|
|
259297
|
+
}, undefined, true, undefined, this),
|
|
259299
259298
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259300
|
-
|
|
259301
|
-
|
|
259299
|
+
dimColor: true,
|
|
259300
|
+
children: [
|
|
259301
|
+
" ",
|
|
259302
|
+
displayModel,
|
|
259303
|
+
" "
|
|
259304
|
+
]
|
|
259305
|
+
}, undefined, true, undefined, this),
|
|
259306
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259307
|
+
dimColor: true,
|
|
259308
|
+
children: [
|
|
259309
|
+
" ",
|
|
259310
|
+
displayDir
|
|
259311
|
+
]
|
|
259312
|
+
}, undefined, true, undefined, this)
|
|
259302
259313
|
]
|
|
259303
259314
|
}, undefined, true, undefined, this)
|
|
259304
259315
|
]
|
|
@@ -260179,6 +260190,7 @@ function InterviewPanel({
|
|
|
260179
260190
|
await init_build2();
|
|
260180
260191
|
var import_react45 = __toESM(require_react(), 1);
|
|
260181
260192
|
var jsx_dev_runtime14 = __toESM(require_jsx_dev_runtime(), 1);
|
|
260193
|
+
var VISIBLE_COUNT = 5;
|
|
260182
260194
|
function formatTimeAgo3(date3) {
|
|
260183
260195
|
const seconds = Math.floor((Date.now() - date3.getTime()) / 1000);
|
|
260184
260196
|
if (seconds < 60)
|
|
@@ -260220,15 +260232,6 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260220
260232
|
setSelectedIndex((prev) => prev === totalItems - 1 ? 0 : prev + 1);
|
|
260221
260233
|
return;
|
|
260222
260234
|
}
|
|
260223
|
-
const num = parseInt(input, 10);
|
|
260224
|
-
if (!isNaN(num) && num >= 1 && num <= sessions.length) {
|
|
260225
|
-
setSelectedIndex(num);
|
|
260226
|
-
return;
|
|
260227
|
-
}
|
|
260228
|
-
if (input === "s" || input === "S" || input === "0") {
|
|
260229
|
-
setSelectedIndex(0);
|
|
260230
|
-
return;
|
|
260231
|
-
}
|
|
260232
260235
|
if (key.return) {
|
|
260233
260236
|
if (selectedIndex === 0) {
|
|
260234
260237
|
onStartFresh();
|
|
@@ -260242,6 +260245,28 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260242
260245
|
return;
|
|
260243
260246
|
}
|
|
260244
260247
|
});
|
|
260248
|
+
const { visibleSessions, startIdx, showUpArrow, showDownArrow } = import_react45.useMemo(() => {
|
|
260249
|
+
const sessionSelectedIdx = selectedIndex - 1;
|
|
260250
|
+
const sessionCount = sessions.length;
|
|
260251
|
+
if (sessionCount <= VISIBLE_COUNT) {
|
|
260252
|
+
return {
|
|
260253
|
+
visibleSessions: sessions.map((s6, i5) => ({ session: s6, originalIndex: i5 })),
|
|
260254
|
+
startIdx: 0,
|
|
260255
|
+
showUpArrow: false,
|
|
260256
|
+
showDownArrow: false
|
|
260257
|
+
};
|
|
260258
|
+
}
|
|
260259
|
+
let start = Math.max(0, sessionSelectedIdx - Math.floor(VISIBLE_COUNT / 2));
|
|
260260
|
+
start = Math.min(start, sessionCount - VISIBLE_COUNT);
|
|
260261
|
+
start = Math.max(0, start);
|
|
260262
|
+
const visible = sessions.slice(start, start + VISIBLE_COUNT).map((s6, i5) => ({ session: s6, originalIndex: start + i5 }));
|
|
260263
|
+
return {
|
|
260264
|
+
visibleSessions: visible,
|
|
260265
|
+
startIdx: start,
|
|
260266
|
+
showUpArrow: start > 0,
|
|
260267
|
+
showDownArrow: start + VISIBLE_COUNT < sessionCount
|
|
260268
|
+
};
|
|
260269
|
+
}, [sessions, selectedIndex]);
|
|
260245
260270
|
const selectedSessionIndex = selectedIndex - 1;
|
|
260246
260271
|
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
260247
260272
|
flexDirection: "column",
|
|
@@ -260253,7 +260278,7 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260253
260278
|
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260254
260279
|
color: "yellow",
|
|
260255
260280
|
bold: true,
|
|
260256
|
-
children: "Session Recovery
|
|
260281
|
+
children: "Session Recovery"
|
|
260257
260282
|
}, undefined, false, undefined, this)
|
|
260258
260283
|
}, undefined, false, undefined, this),
|
|
260259
260284
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
@@ -260264,7 +260289,7 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260264
260289
|
sessions.length,
|
|
260265
260290
|
" recoverable session",
|
|
260266
260291
|
sessions.length !== 1 ? "s" : "",
|
|
260267
|
-
" found.
|
|
260292
|
+
" found."
|
|
260268
260293
|
]
|
|
260269
260294
|
}, undefined, true, undefined, this)
|
|
260270
260295
|
}, undefined, false, undefined, this),
|
|
@@ -260295,12 +260320,22 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260295
260320
|
children: "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"
|
|
260296
260321
|
}, undefined, false, undefined, this)
|
|
260297
260322
|
}, undefined, false, undefined, this),
|
|
260298
|
-
|
|
260299
|
-
|
|
260323
|
+
showUpArrow && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
260324
|
+
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260325
|
+
dimColor: true,
|
|
260326
|
+
children: [
|
|
260327
|
+
" \u2191 ",
|
|
260328
|
+
startIdx,
|
|
260329
|
+
" more above"
|
|
260330
|
+
]
|
|
260331
|
+
}, undefined, true, undefined, this)
|
|
260332
|
+
}, undefined, false, undefined, this),
|
|
260333
|
+
visibleSessions.map(({ session, originalIndex }) => {
|
|
260334
|
+
const isSelected = originalIndex === selectedSessionIndex;
|
|
260300
260335
|
const stateLabel = getStateLabel(session.heartbeat.state);
|
|
260301
260336
|
const timeAgo = formatTimeAgo3(session.lastActivity);
|
|
260302
260337
|
const cwdDisplay = truncatePath(session.cwd, 30);
|
|
260303
|
-
const msgCount = session.messageCount > 0 ? `
|
|
260338
|
+
const msgCount = session.messageCount > 0 ? ` ${session.messageCount} msgs` : "";
|
|
260304
260339
|
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
260305
260340
|
paddingY: 0,
|
|
260306
260341
|
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
@@ -260308,8 +260343,6 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260308
260343
|
children: [
|
|
260309
260344
|
isSelected ? "\u25B6" : " ",
|
|
260310
260345
|
" ",
|
|
260311
|
-
index + 1,
|
|
260312
|
-
". ",
|
|
260313
260346
|
cwdDisplay,
|
|
260314
260347
|
msgCount,
|
|
260315
260348
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
@@ -260325,7 +260358,17 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260325
260358
|
]
|
|
260326
260359
|
}, undefined, true, undefined, this)
|
|
260327
260360
|
}, session.sessionId, false, undefined, this);
|
|
260328
|
-
})
|
|
260361
|
+
}),
|
|
260362
|
+
showDownArrow && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
260363
|
+
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260364
|
+
dimColor: true,
|
|
260365
|
+
children: [
|
|
260366
|
+
" \u2193 ",
|
|
260367
|
+
sessions.length - startIdx - VISIBLE_COUNT,
|
|
260368
|
+
" more below"
|
|
260369
|
+
]
|
|
260370
|
+
}, undefined, true, undefined, this)
|
|
260371
|
+
}, undefined, false, undefined, this)
|
|
260329
260372
|
]
|
|
260330
260373
|
}, undefined, true, undefined, this),
|
|
260331
260374
|
selectedSessionIndex >= 0 && selectedSessionIndex < sessions.length && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
@@ -260334,11 +260377,11 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260334
260377
|
children: [
|
|
260335
260378
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260336
260379
|
dimColor: true,
|
|
260337
|
-
children: "Selected
|
|
260380
|
+
children: "Selected:"
|
|
260338
260381
|
}, undefined, false, undefined, this),
|
|
260339
260382
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260340
260383
|
children: [
|
|
260341
|
-
"
|
|
260384
|
+
" ",
|
|
260342
260385
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260343
260386
|
color: "cyan",
|
|
260344
260387
|
children: sessions[selectedSessionIndex].cwd
|
|
@@ -260347,33 +260390,19 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
260347
260390
|
}, undefined, true, undefined, this),
|
|
260348
260391
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260349
260392
|
children: [
|
|
260350
|
-
"
|
|
260351
|
-
formatTimeAgo3(sessions[selectedSessionIndex].lastActivity)
|
|
260352
|
-
|
|
260353
|
-
}, undefined, true, undefined, this),
|
|
260354
|
-
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260355
|
-
children: [
|
|
260356
|
-
" State: ",
|
|
260393
|
+
" ",
|
|
260394
|
+
formatTimeAgo3(sessions[selectedSessionIndex].lastActivity),
|
|
260395
|
+
" \xB7 ",
|
|
260357
260396
|
getStateLabel(sessions[selectedSessionIndex].heartbeat.state)
|
|
260358
260397
|
]
|
|
260359
|
-
}, undefined, true, undefined, this),
|
|
260360
|
-
sessions[selectedSessionIndex].messageCount > 0 && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260361
|
-
children: [
|
|
260362
|
-
" Messages: ",
|
|
260363
|
-
sessions[selectedSessionIndex].messageCount
|
|
260364
|
-
]
|
|
260365
260398
|
}, undefined, true, undefined, this)
|
|
260366
260399
|
]
|
|
260367
260400
|
}, undefined, true, undefined, this),
|
|
260368
260401
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
260369
260402
|
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text3, {
|
|
260370
260403
|
dimColor: true,
|
|
260371
|
-
children:
|
|
260372
|
-
|
|
260373
|
-
Math.min(9, sessions.length),
|
|
260374
|
-
" quick select"
|
|
260375
|
-
]
|
|
260376
|
-
}, undefined, true, undefined, this)
|
|
260404
|
+
children: "\u2191/\u2193 navigate \xB7 Enter select \xB7 Esc fresh start"
|
|
260405
|
+
}, undefined, false, undefined, this)
|
|
260377
260406
|
}, undefined, false, undefined, this)
|
|
260378
260407
|
]
|
|
260379
260408
|
}, undefined, true, undefined, this);
|
|
@@ -274453,13 +274482,13 @@ function useTypewriter(text, speed = 30, active = true) {
|
|
|
274453
274482
|
|
|
274454
274483
|
// packages/terminal/src/hooks/useGradientCycle.ts
|
|
274455
274484
|
var import_react65 = __toESM(require_react(), 1);
|
|
274456
|
-
var
|
|
274485
|
+
var COLORS2 = ["cyan", "blue", "magenta", "red", "yellow", "green"];
|
|
274457
274486
|
function useGradientCycle(intervalMs = 800) {
|
|
274458
274487
|
const [index, setIndex] = import_react65.useState(0);
|
|
274459
274488
|
const timerRef = import_react65.useRef(null);
|
|
274460
274489
|
import_react65.useEffect(() => {
|
|
274461
274490
|
timerRef.current = setInterval(() => {
|
|
274462
|
-
setIndex((prev) => (prev + 1) %
|
|
274491
|
+
setIndex((prev) => (prev + 1) % COLORS2.length);
|
|
274463
274492
|
}, intervalMs);
|
|
274464
274493
|
return () => {
|
|
274465
274494
|
if (timerRef.current) {
|
|
@@ -274468,7 +274497,7 @@ function useGradientCycle(intervalMs = 800) {
|
|
|
274468
274497
|
}
|
|
274469
274498
|
};
|
|
274470
274499
|
}, [intervalMs]);
|
|
274471
|
-
return
|
|
274500
|
+
return COLORS2[index];
|
|
274472
274501
|
}
|
|
274473
274502
|
|
|
274474
274503
|
// packages/terminal/src/components/OnboardingPanel.tsx
|
|
@@ -274483,11 +274512,14 @@ var POPULAR_CONNECTORS = {
|
|
|
274483
274512
|
github: { desc: "GitHub repos & issues", install: "bun add -g connect-github" },
|
|
274484
274513
|
calendar: { desc: "Google Calendar", install: "bun add -g connect-calendar" }
|
|
274485
274514
|
};
|
|
274486
|
-
var
|
|
274487
|
-
|
|
274488
|
-
|
|
274489
|
-
|
|
274490
|
-
|
|
274515
|
+
var LOGO_LINES = [
|
|
274516
|
+
" \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
274517
|
+
" \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 ",
|
|
274518
|
+
" \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588",
|
|
274519
|
+
" \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588",
|
|
274520
|
+
" \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588"
|
|
274521
|
+
];
|
|
274522
|
+
var GRADIENT_COLORS = ["#7dd3fc", "#38bdf8", "#0ea5e9", "#0284c7", "#0369a1"];
|
|
274491
274523
|
var COMPACT_LOGO = "ASSISTANTS";
|
|
274492
274524
|
var INTRO_FEATURES = [
|
|
274493
274525
|
"Chat with Claude AI directly in your terminal",
|
|
@@ -274841,16 +274873,31 @@ function OnboardingPanel({
|
|
|
274841
274873
|
children: [
|
|
274842
274874
|
/* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Box_default, {
|
|
274843
274875
|
marginTop: 1,
|
|
274844
|
-
marginBottom:
|
|
274876
|
+
marginBottom: 0,
|
|
274877
|
+
flexDirection: "column",
|
|
274845
274878
|
children: isCompact ? /* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Text3, {
|
|
274846
274879
|
bold: true,
|
|
274847
274880
|
color: logoColor,
|
|
274848
274881
|
children: COMPACT_LOGO
|
|
274849
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Text3, {
|
|
274850
|
-
color:
|
|
274851
|
-
children:
|
|
274852
|
-
},
|
|
274882
|
+
}, undefined, false, undefined, this) : LOGO_LINES.map((line, i5) => /* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Text3, {
|
|
274883
|
+
color: GRADIENT_COLORS[i5] || GRADIENT_COLORS[GRADIENT_COLORS.length - 1],
|
|
274884
|
+
children: line
|
|
274885
|
+
}, i5, false, undefined, this))
|
|
274853
274886
|
}, undefined, false, undefined, this),
|
|
274887
|
+
/* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Box_default, {
|
|
274888
|
+
marginBottom: 1,
|
|
274889
|
+
children: [
|
|
274890
|
+
/* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Text3, {
|
|
274891
|
+
dimColor: true,
|
|
274892
|
+
children: " by "
|
|
274893
|
+
}, undefined, false, undefined, this),
|
|
274894
|
+
/* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Text3, {
|
|
274895
|
+
color: "#94a3b8",
|
|
274896
|
+
bold: true,
|
|
274897
|
+
children: "hasna"
|
|
274898
|
+
}, undefined, false, undefined, this)
|
|
274899
|
+
]
|
|
274900
|
+
}, undefined, true, undefined, this),
|
|
274854
274901
|
/* @__PURE__ */ jsx_dev_runtime32.jsxDEV(Box_default, {
|
|
274855
274902
|
marginBottom: 1,
|
|
274856
274903
|
children: [
|
|
@@ -290849,7 +290896,7 @@ Interactive Mode:
|
|
|
290849
290896
|
// packages/terminal/src/index.tsx
|
|
290850
290897
|
var jsx_dev_runtime52 = __toESM(require_jsx_dev_runtime(), 1);
|
|
290851
290898
|
setRuntime(bunRuntime);
|
|
290852
|
-
var VERSION4 = "1.1.
|
|
290899
|
+
var VERSION4 = "1.1.54";
|
|
290853
290900
|
var SYNC_START = "\x1B[?2026h";
|
|
290854
290901
|
var SYNC_END = "\x1B[?2026l";
|
|
290855
290902
|
function enableSynchronizedOutput() {
|
|
@@ -290968,4 +291015,4 @@ export {
|
|
|
290968
291015
|
main
|
|
290969
291016
|
};
|
|
290970
291017
|
|
|
290971
|
-
//# debugId=
|
|
291018
|
+
//# debugId=FC1EA89048010C4A64756E2164756E21
|