@hasna/assistants 1.1.79 → 1.1.80
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 +49 -32
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -109970,7 +109970,7 @@ Not a git repository or git not available.
|
|
|
109970
109970
|
context.setProjectContext(projectContext);
|
|
109971
109971
|
}
|
|
109972
109972
|
}
|
|
109973
|
-
var VERSION2 = "1.1.
|
|
109973
|
+
var VERSION2 = "1.1.80";
|
|
109974
109974
|
var init_builtin = __esm(async () => {
|
|
109975
109975
|
init_src2();
|
|
109976
109976
|
init_context3();
|
|
@@ -262170,9 +262170,10 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
262170
262170
|
session.lastMessage && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262171
262171
|
dimColor: true,
|
|
262172
262172
|
children: [
|
|
262173
|
-
"
|
|
262173
|
+
" ",
|
|
262174
|
+
"\u2018",
|
|
262174
262175
|
session.lastMessage,
|
|
262175
|
-
"
|
|
262176
|
+
"\u2019"
|
|
262176
262177
|
]
|
|
262177
262178
|
}, undefined, true, undefined, this)
|
|
262178
262179
|
]
|
|
@@ -262190,33 +262191,49 @@ function RecoveryPanel({ sessions, onRecover, onStartFresh }) {
|
|
|
262190
262191
|
}, undefined, false, undefined, this)
|
|
262191
262192
|
]
|
|
262192
262193
|
}, undefined, true, undefined, this),
|
|
262193
|
-
selectedSessionIndex >= 0 && selectedSessionIndex < sessions.length &&
|
|
262194
|
-
|
|
262195
|
-
|
|
262196
|
-
|
|
262197
|
-
|
|
262198
|
-
|
|
262199
|
-
|
|
262200
|
-
|
|
262201
|
-
|
|
262202
|
-
|
|
262203
|
-
|
|
262204
|
-
|
|
262205
|
-
|
|
262206
|
-
|
|
262207
|
-
|
|
262208
|
-
|
|
262209
|
-
|
|
262210
|
-
|
|
262211
|
-
|
|
262212
|
-
|
|
262213
|
-
|
|
262214
|
-
|
|
262215
|
-
|
|
262216
|
-
|
|
262217
|
-
|
|
262218
|
-
|
|
262219
|
-
|
|
262194
|
+
selectedSessionIndex >= 0 && selectedSessionIndex < sessions.length && (() => {
|
|
262195
|
+
const s5 = sessions[selectedSessionIndex];
|
|
262196
|
+
const details = [
|
|
262197
|
+
formatTimeAgo3(s5.lastActivity),
|
|
262198
|
+
getStateLabel(s5.heartbeat.state),
|
|
262199
|
+
s5.messageCount > 0 ? `${s5.messageCount} messages` : null,
|
|
262200
|
+
s5.model || null
|
|
262201
|
+
].filter(Boolean).join(" \xB7 ");
|
|
262202
|
+
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
262203
|
+
flexDirection: "column",
|
|
262204
|
+
marginBottom: 1,
|
|
262205
|
+
children: [
|
|
262206
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262207
|
+
dimColor: true,
|
|
262208
|
+
children: "Selected:"
|
|
262209
|
+
}, undefined, false, undefined, this),
|
|
262210
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262211
|
+
children: [
|
|
262212
|
+
" ",
|
|
262213
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262214
|
+
color: "cyan",
|
|
262215
|
+
children: s5.cwd
|
|
262216
|
+
}, undefined, false, undefined, this)
|
|
262217
|
+
]
|
|
262218
|
+
}, undefined, true, undefined, this),
|
|
262219
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262220
|
+
children: [
|
|
262221
|
+
" ",
|
|
262222
|
+
details
|
|
262223
|
+
]
|
|
262224
|
+
}, undefined, true, undefined, this),
|
|
262225
|
+
s5.lastMessage && /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262226
|
+
dimColor: true,
|
|
262227
|
+
children: [
|
|
262228
|
+
" Last: ",
|
|
262229
|
+
"\u2018",
|
|
262230
|
+
s5.lastMessage,
|
|
262231
|
+
"\u2019"
|
|
262232
|
+
]
|
|
262233
|
+
}, undefined, true, undefined, this)
|
|
262234
|
+
]
|
|
262235
|
+
}, undefined, true, undefined, this);
|
|
262236
|
+
})(),
|
|
262220
262237
|
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Box_default, {
|
|
262221
262238
|
children: /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(Text, {
|
|
262222
262239
|
dimColor: true,
|
|
@@ -293745,7 +293762,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
293745
293762
|
cleanup();
|
|
293746
293763
|
process.exit(1);
|
|
293747
293764
|
});
|
|
293748
|
-
var VERSION4 = "1.1.
|
|
293765
|
+
var VERSION4 = "1.1.80";
|
|
293749
293766
|
var SYNC_START = "\x1B[?2026h";
|
|
293750
293767
|
var SYNC_END = "\x1B[?2026l";
|
|
293751
293768
|
function enableSynchronizedOutput() {
|
|
@@ -293890,4 +293907,4 @@ export {
|
|
|
293890
293907
|
main
|
|
293891
293908
|
};
|
|
293892
293909
|
|
|
293893
|
-
//# debugId=
|
|
293910
|
+
//# debugId=5648E49F1CE1903A64756E2164756E21
|