@hasna/assistants 1.1.31 → 1.1.33
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 +14 -13
- package/dist/index.js.map +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -87176,7 +87176,7 @@ Not a git repository or git not available.
|
|
|
87176
87176
|
context.setProjectContext(projectContext);
|
|
87177
87177
|
}
|
|
87178
87178
|
}
|
|
87179
|
-
var VERSION2 = "1.1.
|
|
87179
|
+
var VERSION2 = "1.1.33";
|
|
87180
87180
|
var init_builtin = __esm(async () => {
|
|
87181
87181
|
init_src2();
|
|
87182
87182
|
init_store();
|
|
@@ -211436,8 +211436,9 @@ var Input = import_react28.default.forwardRef(function Input2({
|
|
|
211436
211436
|
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Box_default, {
|
|
211437
211437
|
flexDirection: "column",
|
|
211438
211438
|
borderStyle: "round",
|
|
211439
|
-
|
|
211440
|
-
|
|
211439
|
+
borderLeft: false,
|
|
211440
|
+
borderRight: false,
|
|
211441
|
+
borderColor: "#d4d4d8",
|
|
211441
211442
|
children: [
|
|
211442
211443
|
recordingStatus === "recording" && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Box_default, {
|
|
211443
211444
|
paddingY: 0,
|
|
@@ -211573,12 +211574,9 @@ var Input = import_react28.default.forwardRef(function Input2({
|
|
|
211573
211574
|
}, undefined, false, undefined, this)
|
|
211574
211575
|
]
|
|
211575
211576
|
}, undefined, true, undefined, this),
|
|
211576
|
-
quickHints.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(
|
|
211577
|
-
|
|
211578
|
-
children:
|
|
211579
|
-
dimColor: true,
|
|
211580
|
-
children: quickHints.join(" \xB7 ")
|
|
211581
|
-
}, undefined, false, undefined, this)
|
|
211577
|
+
quickHints.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Text3, {
|
|
211578
|
+
dimColor: true,
|
|
211579
|
+
children: quickHints.join(" \xB7 ")
|
|
211582
211580
|
}, undefined, false, undefined, this),
|
|
211583
211581
|
autocompleteMode === "skill" && filteredSkills.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Box_default, {
|
|
211584
211582
|
flexDirection: "column",
|
|
@@ -224573,8 +224571,9 @@ function ChannelsPanel({ manager, onClose, activePersonId, activePersonName, onP
|
|
|
224573
224571
|
setMentionActive(false);
|
|
224574
224572
|
const updated = manager.readMessages(selectedChannel.id, 50);
|
|
224575
224573
|
setMessages(updated?.messages || []);
|
|
224576
|
-
if (
|
|
224577
|
-
|
|
224574
|
+
if (onPersonMessage && selectedChannel) {
|
|
224575
|
+
const senderName = activePersonName || activeAssistantName || "Operator";
|
|
224576
|
+
onPersonMessage(selectedChannel.name, senderName, msg);
|
|
224578
224577
|
stopPolling();
|
|
224579
224578
|
setStatusMessage("Assistants are responding...");
|
|
224580
224579
|
const channelId = selectedChannel.id;
|
|
@@ -243416,11 +243415,13 @@ When done, report the result.`);
|
|
|
243416
243415
|
onClose: () => setShowChannelsPanel(false)
|
|
243417
243416
|
}, undefined, false, undefined, this);
|
|
243418
243417
|
}
|
|
243418
|
+
const activeAssistantName2 = activeSession?.client.getIdentityInfo?.()?.assistant?.name || activeSession?.assistantId || "Assistant";
|
|
243419
243419
|
return /* @__PURE__ */ jsx_dev_runtime48.jsxDEV(ChannelsPanel, {
|
|
243420
243420
|
manager: channelsManager,
|
|
243421
243421
|
onClose: () => setShowChannelsPanel(false),
|
|
243422
243422
|
activePersonId: activeSession?.client.getPeopleManager?.()?.getActivePersonId?.() || undefined,
|
|
243423
243423
|
activePersonName: activeSession?.client.getPeopleManager?.()?.getActivePerson?.()?.name || undefined,
|
|
243424
|
+
activeAssistantName: activeAssistantName2,
|
|
243424
243425
|
onPersonMessage: (channelName, personName, message) => {
|
|
243425
243426
|
const members = channelsManager.getMembers(channelName);
|
|
243426
243427
|
const agentPool = activeSession?.client.getChannelAgentPool?.();
|
|
@@ -244274,7 +244275,7 @@ Interactive Mode:
|
|
|
244274
244275
|
// packages/terminal/src/index.tsx
|
|
244275
244276
|
var jsx_dev_runtime49 = __toESM(require_jsx_dev_runtime(), 1);
|
|
244276
244277
|
setRuntime(bunRuntime);
|
|
244277
|
-
var VERSION4 = "1.1.
|
|
244278
|
+
var VERSION4 = "1.1.33";
|
|
244278
244279
|
var SYNC_START = "\x1B[?2026h";
|
|
244279
244280
|
var SYNC_END = "\x1B[?2026l";
|
|
244280
244281
|
function enableSynchronizedOutput() {
|
|
@@ -244414,4 +244415,4 @@ export {
|
|
|
244414
244415
|
main
|
|
244415
244416
|
};
|
|
244416
244417
|
|
|
244417
|
-
//# debugId=
|
|
244418
|
+
//# debugId=DEA376725A579A3464756E2164756E21
|