@hasna/assistants 1.1.44 → 1.1.45
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 +33 -60
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87223,7 +87223,7 @@ Not a git repository or git not available.
|
|
|
87223
87223
|
context.setProjectContext(projectContext);
|
|
87224
87224
|
}
|
|
87225
87225
|
}
|
|
87226
|
-
var VERSION2 = "1.1.
|
|
87226
|
+
var VERSION2 = "1.1.45";
|
|
87227
87227
|
var init_builtin = __esm(async () => {
|
|
87228
87228
|
init_src2();
|
|
87229
87229
|
init_store();
|
|
@@ -247293,70 +247293,48 @@ function ChannelsPanel({ manager, onClose, activePersonId, activePersonName, act
|
|
|
247293
247293
|
children: [
|
|
247294
247294
|
header,
|
|
247295
247295
|
statusBar,
|
|
247296
|
-
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247297
|
-
paddingX: 1,
|
|
247298
|
-
marginBottom: 1,
|
|
247299
|
-
children: [
|
|
247300
|
-
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247301
|
-
backgroundColor: SLACK_COLOR,
|
|
247302
|
-
color: "white",
|
|
247303
|
-
bold: true,
|
|
247304
|
-
children: [
|
|
247305
|
-
" #",
|
|
247306
|
-
selectedChannel.name,
|
|
247307
|
-
" "
|
|
247308
|
-
]
|
|
247309
|
-
}, undefined, true, undefined, this),
|
|
247310
|
-
selectedChannel.description && /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247311
|
-
color: "gray",
|
|
247312
|
-
children: [
|
|
247313
|
-
" \u2014 ",
|
|
247314
|
-
selectedChannel.description
|
|
247315
|
-
]
|
|
247316
|
-
}, undefined, true, undefined, this)
|
|
247317
|
-
]
|
|
247318
|
-
}, undefined, true, undefined, this),
|
|
247319
247296
|
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247320
247297
|
flexDirection: "column",
|
|
247321
247298
|
paddingX: 1,
|
|
247322
|
-
marginBottom: 1,
|
|
247323
247299
|
children: messages2.length === 0 ? /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247324
247300
|
color: "gray",
|
|
247325
247301
|
children: "No messages yet. Be the first to say something!"
|
|
247326
247302
|
}, undefined, false, undefined, this) : messages2.slice(-20).map((msg) => /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247327
|
-
|
|
247328
|
-
marginBottom: 1,
|
|
247303
|
+
marginBottom: 0,
|
|
247329
247304
|
children: [
|
|
247330
|
-
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(
|
|
247305
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247306
|
+
color: getAssistantColor2(msg.senderName),
|
|
247307
|
+
bold: true,
|
|
247308
|
+
children: msg.senderName
|
|
247309
|
+
}, undefined, false, undefined, this),
|
|
247310
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247311
|
+
color: "gray",
|
|
247331
247312
|
children: [
|
|
247332
|
-
|
|
247333
|
-
|
|
247334
|
-
|
|
247335
|
-
bold: true,
|
|
247336
|
-
children: [
|
|
247337
|
-
" ",
|
|
247338
|
-
msg.senderName,
|
|
247339
|
-
" "
|
|
247340
|
-
]
|
|
247341
|
-
}, undefined, true, undefined, this),
|
|
247342
|
-
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247343
|
-
color: "gray",
|
|
247344
|
-
children: [
|
|
247345
|
-
" ",
|
|
247346
|
-
formatRelativeTime5(msg.createdAt)
|
|
247347
|
-
]
|
|
247348
|
-
}, undefined, true, undefined, this)
|
|
247313
|
+
" ",
|
|
247314
|
+
formatRelativeTime5(msg.createdAt),
|
|
247315
|
+
" "
|
|
247349
247316
|
]
|
|
247350
247317
|
}, undefined, true, undefined, this),
|
|
247351
|
-
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(
|
|
247352
|
-
|
|
247353
|
-
children: /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Markdown, {
|
|
247354
|
-
content: msg.content
|
|
247355
|
-
}, undefined, false, undefined, this)
|
|
247318
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247319
|
+
children: msg.content
|
|
247356
247320
|
}, undefined, false, undefined, this)
|
|
247357
247321
|
]
|
|
247358
247322
|
}, msg.id, true, undefined, this))
|
|
247359
247323
|
}, undefined, false, undefined, this),
|
|
247324
|
+
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247325
|
+
justifyContent: "flex-end",
|
|
247326
|
+
marginTop: 1,
|
|
247327
|
+
children: /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247328
|
+
backgroundColor: SLACK_COLOR,
|
|
247329
|
+
color: "white",
|
|
247330
|
+
bold: true,
|
|
247331
|
+
children: [
|
|
247332
|
+
" #",
|
|
247333
|
+
selectedChannel.name,
|
|
247334
|
+
" "
|
|
247335
|
+
]
|
|
247336
|
+
}, undefined, true, undefined, this)
|
|
247337
|
+
}, undefined, false, undefined, this),
|
|
247360
247338
|
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247361
247339
|
paddingX: 1,
|
|
247362
247340
|
borderStyle: "round",
|
|
@@ -247498,15 +247476,10 @@ function ChannelsPanel({ manager, onClose, activePersonId, activePersonName, act
|
|
|
247498
247476
|
children: " "
|
|
247499
247477
|
}, undefined, false, undefined, this),
|
|
247500
247478
|
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247501
|
-
|
|
247502
|
-
color: "white",
|
|
247479
|
+
color: getAssistantColor2(m5.assistantName),
|
|
247503
247480
|
bold: true,
|
|
247504
|
-
children:
|
|
247505
|
-
|
|
247506
|
-
m5.assistantName,
|
|
247507
|
-
" "
|
|
247508
|
-
]
|
|
247509
|
-
}, undefined, true, undefined, this),
|
|
247481
|
+
children: m5.assistantName
|
|
247482
|
+
}, undefined, false, undefined, this),
|
|
247510
247483
|
m5.role === "owner" && /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247511
247484
|
color: "yellow",
|
|
247512
247485
|
children: " (owner)"
|
|
@@ -268086,7 +268059,7 @@ Interactive Mode:
|
|
|
268086
268059
|
// packages/terminal/src/index.tsx
|
|
268087
268060
|
var jsx_dev_runtime51 = __toESM(require_jsx_dev_runtime(), 1);
|
|
268088
268061
|
setRuntime(bunRuntime);
|
|
268089
|
-
var VERSION4 = "1.1.
|
|
268062
|
+
var VERSION4 = "1.1.45";
|
|
268090
268063
|
var SYNC_START = "\x1B[?2026h";
|
|
268091
268064
|
var SYNC_END = "\x1B[?2026l";
|
|
268092
268065
|
function enableSynchronizedOutput() {
|
|
@@ -268205,4 +268178,4 @@ export {
|
|
|
268205
268178
|
main
|
|
268206
268179
|
};
|
|
268207
268180
|
|
|
268208
|
-
//# debugId=
|
|
268181
|
+
//# debugId=F465CAD7F4EF556664756E2164756E21
|