@hasna/assistants 1.1.56 → 1.1.57
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 +43 -19
- package/dist/index.js.map +3 -3
- 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.57";
|
|
89088
89088
|
var init_builtin = __esm(async () => {
|
|
89089
89089
|
init_src2();
|
|
89090
89090
|
init_context3();
|
|
@@ -259286,39 +259286,63 @@ var jsx_dev_runtime8 = __toESM(require_jsx_dev_runtime(), 1);
|
|
|
259286
259286
|
function WelcomeBanner({ version: version5, model, directory }) {
|
|
259287
259287
|
const homeDir = process.env.HOME || "";
|
|
259288
259288
|
const displayDir = homeDir && directory.startsWith(homeDir) ? "~" + directory.slice(homeDir.length) : directory;
|
|
259289
|
+
const parts = displayDir.split("/");
|
|
259290
|
+
const shortDir = parts.length > 4 ? parts[0] + "/\u2026/" + parts.slice(-2).join("/") : displayDir;
|
|
259289
259291
|
const displayModel = getModelDisplayName(model);
|
|
259290
259292
|
return /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259291
259293
|
flexDirection: "column",
|
|
259292
259294
|
marginBottom: 1,
|
|
259293
259295
|
children: [
|
|
259294
259296
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259295
|
-
marginBottom: 0,
|
|
259296
259297
|
children: [
|
|
259298
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259299
|
+
dimColor: true,
|
|
259300
|
+
children: ">"
|
|
259301
|
+
}, undefined, false, undefined, this),
|
|
259297
259302
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259298
259303
|
color: "#0ea5e9",
|
|
259299
259304
|
bold: true,
|
|
259300
|
-
children: "
|
|
259305
|
+
children: "_ Hasna Assistants"
|
|
259306
|
+
}, undefined, false, undefined, this),
|
|
259307
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259308
|
+
dimColor: true,
|
|
259309
|
+
children: [
|
|
259310
|
+
" (v",
|
|
259311
|
+
version5,
|
|
259312
|
+
")"
|
|
259313
|
+
]
|
|
259314
|
+
}, undefined, true, undefined, this)
|
|
259315
|
+
]
|
|
259316
|
+
}, undefined, true, undefined, this),
|
|
259317
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259318
|
+
children: ""
|
|
259319
|
+
}, undefined, false, undefined, this),
|
|
259320
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259321
|
+
children: [
|
|
259322
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259323
|
+
dimColor: true,
|
|
259324
|
+
children: "model: "
|
|
259325
|
+
}, undefined, false, undefined, this),
|
|
259326
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259327
|
+
children: displayModel
|
|
259301
259328
|
}, undefined, false, undefined, this),
|
|
259302
259329
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259303
259330
|
dimColor: true,
|
|
259304
|
-
children: "
|
|
259331
|
+
children: " /model to change"
|
|
259305
259332
|
}, undefined, false, undefined, this)
|
|
259306
259333
|
]
|
|
259307
259334
|
}, undefined, true, undefined, this),
|
|
259308
259335
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259309
|
-
|
|
259310
|
-
|
|
259311
|
-
|
|
259312
|
-
|
|
259313
|
-
|
|
259314
|
-
|
|
259315
|
-
|
|
259316
|
-
|
|
259317
|
-
|
|
259318
|
-
|
|
259319
|
-
]
|
|
259320
|
-
}, undefined, true, undefined, this)
|
|
259321
|
-
}, undefined, false, undefined, this)
|
|
259336
|
+
children: [
|
|
259337
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259338
|
+
dimColor: true,
|
|
259339
|
+
children: "directory: "
|
|
259340
|
+
}, undefined, false, undefined, this),
|
|
259341
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259342
|
+
children: shortDir
|
|
259343
|
+
}, undefined, false, undefined, this)
|
|
259344
|
+
]
|
|
259345
|
+
}, undefined, true, undefined, this)
|
|
259322
259346
|
]
|
|
259323
259347
|
}, undefined, true, undefined, this);
|
|
259324
259348
|
}
|
|
@@ -291068,7 +291092,7 @@ Interactive Mode:
|
|
|
291068
291092
|
// packages/terminal/src/index.tsx
|
|
291069
291093
|
var jsx_dev_runtime52 = __toESM(require_jsx_dev_runtime(), 1);
|
|
291070
291094
|
setRuntime(bunRuntime);
|
|
291071
|
-
var VERSION4 = "1.1.
|
|
291095
|
+
var VERSION4 = "1.1.57";
|
|
291072
291096
|
var SYNC_START = "\x1B[?2026h";
|
|
291073
291097
|
var SYNC_END = "\x1B[?2026l";
|
|
291074
291098
|
function enableSynchronizedOutput() {
|
|
@@ -291187,4 +291211,4 @@ export {
|
|
|
291187
291211
|
main
|
|
291188
291212
|
};
|
|
291189
291213
|
|
|
291190
|
-
//# debugId=
|
|
291214
|
+
//# debugId=17277467A3E4458164756E2164756E21
|