@moxt-ai/mobius 0.0.160 → 0.0.161
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/cli.js +22 -2
- package/dist/cli.js.map +2 -2
- package/dist/daemon-command-handler.d.ts.map +1 -1
- package/dist/daemon-command-handler.js +1 -1
- package/dist/daemon-command-handler.js.map +1 -1
- package/dist/daemon-history-commands.d.ts +2 -1
- package/dist/daemon-history-commands.d.ts.map +1 -1
- package/dist/daemon-history-commands.js +15 -1
- package/dist/daemon-history-commands.js.map +1 -1
- package/dist/index.js +21 -1
- package/dist/index.js.map +2 -2
- package/dist/runtime.js +21 -1
- package/dist/runtime.js.map +2 -2
- package/package.json +1 -1
package/dist/runtime.js
CHANGED
|
@@ -41765,7 +41765,7 @@ function replayEvent(sessionId, position, update) {
|
|
|
41765
41765
|
type: "acp"
|
|
41766
41766
|
};
|
|
41767
41767
|
}
|
|
41768
|
-
async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, directories, audit, sessions, executingPromptRequest, signal) {
|
|
41768
|
+
async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, directories, audit, diagnostics, sessions, executingPromptRequest, signal) {
|
|
41769
41769
|
try {
|
|
41770
41770
|
const resolved = await resolveSessionDirectories(
|
|
41771
41771
|
directories,
|
|
@@ -41812,6 +41812,25 @@ async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, dir
|
|
|
41812
41812
|
});
|
|
41813
41813
|
} catch (error62) {
|
|
41814
41814
|
if (!signal.aborted) {
|
|
41815
|
+
diagnostics.daemonDiagnostic(
|
|
41816
|
+
"session_history_v2_load_failed",
|
|
41817
|
+
command.requestId,
|
|
41818
|
+
{
|
|
41819
|
+
agentId: command.agentId,
|
|
41820
|
+
code: operationErrorCode(error62),
|
|
41821
|
+
sessionId: command.sessionId
|
|
41822
|
+
},
|
|
41823
|
+
error62
|
|
41824
|
+
);
|
|
41825
|
+
audit.record({
|
|
41826
|
+
commandId: command.requestId,
|
|
41827
|
+
details: {
|
|
41828
|
+
agentId: command.agentId,
|
|
41829
|
+
code: operationErrorCode(error62)
|
|
41830
|
+
},
|
|
41831
|
+
event: "session_history_v2_load_failed",
|
|
41832
|
+
sessionId: command.sessionId
|
|
41833
|
+
});
|
|
41815
41834
|
reportOperationFailure(socket, command.requestId, command.sessionId, error62);
|
|
41816
41835
|
}
|
|
41817
41836
|
}
|
|
@@ -42712,6 +42731,7 @@ function createDaemonCommandHandler({
|
|
|
42712
42731
|
config2,
|
|
42713
42732
|
directories,
|
|
42714
42733
|
audit,
|
|
42734
|
+
diagnostics,
|
|
42715
42735
|
sessions,
|
|
42716
42736
|
eventLogV2.executingPromptRequest,
|
|
42717
42737
|
signal
|