@dimi-agent/cli 0.6.14 → 0.6.15
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/main.mjs +17 -1
- package/package.json +3 -3
package/dist/main.mjs
CHANGED
|
@@ -389120,6 +389120,7 @@ var init_session_replay = __esmMin((() => {
|
|
|
389120
389120
|
return false;
|
|
389121
389121
|
} finally {
|
|
389122
389122
|
this.host.setAppState({ isReplaying: false });
|
|
389123
|
+
this.host.flushQueuedMessages();
|
|
389123
389124
|
}
|
|
389124
389125
|
}
|
|
389125
389126
|
hydrateSnapshot(agent) {
|
|
@@ -393600,7 +393601,9 @@ var init_dimi_tui = __esmMin((() => {
|
|
|
393600
393601
|
}
|
|
393601
393602
|
if (text.trim().length === 0) return;
|
|
393602
393603
|
if (this.state.appState.isReplaying) {
|
|
393603
|
-
this.
|
|
393604
|
+
this.enqueueMessage(text, void 0, wasBashMode ? "bash" : "prompt");
|
|
393605
|
+
this.updateQueueDisplay();
|
|
393606
|
+
this.state.ui.requestRender();
|
|
393604
393607
|
return;
|
|
393605
393608
|
}
|
|
393606
393609
|
const historyText = wasBashMode ? `!${text}` : text;
|
|
@@ -393811,6 +393814,19 @@ var init_dimi_tui = __esmMin((() => {
|
|
|
393811
393814
|
});
|
|
393812
393815
|
});
|
|
393813
393816
|
}
|
|
393817
|
+
/** Dispatch every queued message to the active session (replay finished,
|
|
393818
|
+
* shell finished, compaction finished). Used by the replay renderer to
|
|
393819
|
+
* flush input that was queued while history was rendering. */
|
|
393820
|
+
flushQueuedMessages() {
|
|
393821
|
+
const session = this.session;
|
|
393822
|
+
if (session === void 0) return;
|
|
393823
|
+
while (this.state.queuedMessages.length > 0) {
|
|
393824
|
+
const item = this.shiftQueuedMessage();
|
|
393825
|
+
if (item === void 0) break;
|
|
393826
|
+
this.sendQueuedMessage(session, item);
|
|
393827
|
+
}
|
|
393828
|
+
this.updateQueueDisplay();
|
|
393829
|
+
}
|
|
393814
393830
|
sendMessageInternal(session, input, options) {
|
|
393815
393831
|
const imageAttachmentIds = options?.imageAttachmentIds !== void 0 && options.imageAttachmentIds.length > 0 ? options.imageAttachmentIds : void 0;
|
|
393816
393832
|
this.appendTranscriptEntry({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimi-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
4
4
|
"description": "The Starting Point for Next-Gen Agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"yazl": "^3.3.1",
|
|
62
62
|
"zod": "^4.3.6",
|
|
63
63
|
"@dimi-agent/agent-core-v2": "^0.1.0",
|
|
64
|
-
"@dimi-agent/dimi-telemetry": "^0.1.0",
|
|
65
64
|
"@dimi-agent/dimi-oauth": "^0.1.0",
|
|
65
|
+
"@dimi-agent/dimi-telemetry": "^0.1.0",
|
|
66
66
|
"@dimi-agent/dimi-sdk": "^0.2.0",
|
|
67
67
|
"@dimi-agent/dimi-web": "^0.1.0",
|
|
68
|
-
"@dimi-agent/pi-tui": "^0.1.0",
|
|
69
68
|
"@dimi-agent/kap-server": "^0.1.0",
|
|
69
|
+
"@dimi-agent/pi-tui": "^0.1.0",
|
|
70
70
|
"@dimi-agent/remote": "^0.1.0"
|
|
71
71
|
},
|
|
72
72
|
"optionalDependencies": {
|