@hasna/assistants 1.1.56 → 1.1.58
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 -20
- 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.58";
|
|
89088
89088
|
var init_builtin = __esm(async () => {
|
|
89089
89089
|
init_src2();
|
|
89090
89090
|
init_context3();
|
|
@@ -259286,39 +259286,62 @@ 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: [
|
|
259297
259298
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259298
|
-
|
|
259299
|
+
dimColor: true,
|
|
259300
|
+
children: ">"
|
|
259301
|
+
}, undefined, false, undefined, this),
|
|
259302
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259299
259303
|
bold: true,
|
|
259300
|
-
children: "
|
|
259304
|
+
children: "_ Hasna Assistants"
|
|
259305
|
+
}, undefined, false, undefined, this),
|
|
259306
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259307
|
+
dimColor: true,
|
|
259308
|
+
children: [
|
|
259309
|
+
" (v",
|
|
259310
|
+
version5,
|
|
259311
|
+
")"
|
|
259312
|
+
]
|
|
259313
|
+
}, undefined, true, undefined, this)
|
|
259314
|
+
]
|
|
259315
|
+
}, undefined, true, undefined, this),
|
|
259316
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259317
|
+
children: ""
|
|
259318
|
+
}, undefined, false, undefined, this),
|
|
259319
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Box_default, {
|
|
259320
|
+
children: [
|
|
259321
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259322
|
+
dimColor: true,
|
|
259323
|
+
children: "model: "
|
|
259324
|
+
}, undefined, false, undefined, this),
|
|
259325
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259326
|
+
children: displayModel
|
|
259301
259327
|
}, undefined, false, undefined, this),
|
|
259302
259328
|
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259303
259329
|
dimColor: true,
|
|
259304
|
-
children: "
|
|
259330
|
+
children: " /model to change"
|
|
259305
259331
|
}, undefined, false, undefined, this)
|
|
259306
259332
|
]
|
|
259307
259333
|
}, undefined, true, undefined, this),
|
|
259308
259334
|
/* @__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)
|
|
259335
|
+
children: [
|
|
259336
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259337
|
+
dimColor: true,
|
|
259338
|
+
children: "directory: "
|
|
259339
|
+
}, undefined, false, undefined, this),
|
|
259340
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(Text3, {
|
|
259341
|
+
children: shortDir
|
|
259342
|
+
}, undefined, false, undefined, this)
|
|
259343
|
+
]
|
|
259344
|
+
}, undefined, true, undefined, this)
|
|
259322
259345
|
]
|
|
259323
259346
|
}, undefined, true, undefined, this);
|
|
259324
259347
|
}
|
|
@@ -291068,7 +291091,7 @@ Interactive Mode:
|
|
|
291068
291091
|
// packages/terminal/src/index.tsx
|
|
291069
291092
|
var jsx_dev_runtime52 = __toESM(require_jsx_dev_runtime(), 1);
|
|
291070
291093
|
setRuntime(bunRuntime);
|
|
291071
|
-
var VERSION4 = "1.1.
|
|
291094
|
+
var VERSION4 = "1.1.58";
|
|
291072
291095
|
var SYNC_START = "\x1B[?2026h";
|
|
291073
291096
|
var SYNC_END = "\x1B[?2026l";
|
|
291074
291097
|
function enableSynchronizedOutput() {
|
|
@@ -291187,4 +291210,4 @@ export {
|
|
|
291187
291210
|
main
|
|
291188
291211
|
};
|
|
291189
291212
|
|
|
291190
|
-
//# debugId=
|
|
291213
|
+
//# debugId=9617869B99E1625664756E2164756E21
|