@hasna/assistants 1.1.46 → 1.1.47
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 +25 -12
- package/dist/index.js.map +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79359,18 +79359,34 @@ To update fields, use the web UI or edit the identity file directly.
|
|
|
79359
79359
|
handler: async (_args, context) => {
|
|
79360
79360
|
const assistant = context.getAssistantManager?.()?.getActive();
|
|
79361
79361
|
const identity = context.getIdentityManager?.()?.getActive();
|
|
79362
|
-
|
|
79362
|
+
const model = context.getModel?.();
|
|
79363
|
+
if (!assistant && !identity) {
|
|
79363
79364
|
context.emit("text", `No active assistant or identity.
|
|
79364
79365
|
`);
|
|
79366
|
+
if (model) {
|
|
79367
|
+
context.emit("text", `Model: ${model}
|
|
79368
|
+
`);
|
|
79369
|
+
}
|
|
79365
79370
|
context.emit("done");
|
|
79366
79371
|
return { handled: true };
|
|
79367
79372
|
}
|
|
79368
|
-
|
|
79373
|
+
if (assistant) {
|
|
79374
|
+
context.emit("text", `Assistant: ${assistant.name}
|
|
79375
|
+
`);
|
|
79376
|
+
}
|
|
79377
|
+
if (identity) {
|
|
79378
|
+
context.emit("text", `Identity: ${identity.name}
|
|
79369
79379
|
`);
|
|
79370
|
-
|
|
79380
|
+
context.emit("text", `Display name: ${identity.profile.displayName || identity.name}
|
|
79371
79381
|
`);
|
|
79372
|
-
|
|
79382
|
+
} else if (assistant) {
|
|
79383
|
+
context.emit("text", `Identity: (not configured)
|
|
79373
79384
|
`);
|
|
79385
|
+
}
|
|
79386
|
+
if (model) {
|
|
79387
|
+
context.emit("text", `Model: ${model}
|
|
79388
|
+
`);
|
|
79389
|
+
}
|
|
79374
79390
|
context.emit("done");
|
|
79375
79391
|
return { handled: true };
|
|
79376
79392
|
}
|
|
@@ -87223,7 +87239,7 @@ Not a git repository or git not available.
|
|
|
87223
87239
|
context.setProjectContext(projectContext);
|
|
87224
87240
|
}
|
|
87225
87241
|
}
|
|
87226
|
-
var VERSION2 = "1.1.
|
|
87242
|
+
var VERSION2 = "1.1.47";
|
|
87227
87243
|
var init_builtin = __esm(async () => {
|
|
87228
87244
|
init_src2();
|
|
87229
87245
|
init_store();
|
|
@@ -233999,7 +234015,7 @@ var Input = import_react28.default.forwardRef(function Input2({
|
|
|
233999
234015
|
`).length;
|
|
234000
234016
|
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Box_default, {
|
|
234001
234017
|
flexDirection: "column",
|
|
234002
|
-
marginTop:
|
|
234018
|
+
marginTop: 0,
|
|
234003
234019
|
children: [
|
|
234004
234020
|
assistantName && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Box_default, {
|
|
234005
234021
|
justifyContent: "flex-end",
|
|
@@ -237114,9 +237130,6 @@ function ProcessingIndicator({
|
|
|
237114
237130
|
parts.push(formatTime(elapsed));
|
|
237115
237131
|
parts.push(`\u2193 ${formatTokens(tokenCount)} tokens`);
|
|
237116
237132
|
}
|
|
237117
|
-
if (isThinking) {
|
|
237118
|
-
parts.push("thinking");
|
|
237119
|
-
}
|
|
237120
237133
|
const label = loadingWord;
|
|
237121
237134
|
return /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(Box_default, {
|
|
237122
237135
|
marginY: 1,
|
|
@@ -247342,7 +247355,7 @@ function ChannelsPanel({ manager, onClose, activePersonId, activePersonName, act
|
|
|
247342
247355
|
}, undefined, false, undefined, this),
|
|
247343
247356
|
/* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Box_default, {
|
|
247344
247357
|
justifyContent: "flex-end",
|
|
247345
|
-
marginTop:
|
|
247358
|
+
marginTop: 0,
|
|
247346
247359
|
children: /* @__PURE__ */ jsx_dev_runtime24.jsxDEV(Text3, {
|
|
247347
247360
|
backgroundColor: SLACK_COLOR,
|
|
247348
247361
|
color: "white",
|
|
@@ -268078,7 +268091,7 @@ Interactive Mode:
|
|
|
268078
268091
|
// packages/terminal/src/index.tsx
|
|
268079
268092
|
var jsx_dev_runtime51 = __toESM(require_jsx_dev_runtime(), 1);
|
|
268080
268093
|
setRuntime(bunRuntime);
|
|
268081
|
-
var VERSION4 = "1.1.
|
|
268094
|
+
var VERSION4 = "1.1.47";
|
|
268082
268095
|
var SYNC_START = "\x1B[?2026h";
|
|
268083
268096
|
var SYNC_END = "\x1B[?2026l";
|
|
268084
268097
|
function enableSynchronizedOutput() {
|
|
@@ -268197,4 +268210,4 @@ export {
|
|
|
268197
268210
|
main
|
|
268198
268211
|
};
|
|
268199
268212
|
|
|
268200
|
-
//# debugId=
|
|
268213
|
+
//# debugId=BE2A3F631A03959464756E2164756E21
|