@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 CHANGED
@@ -3381,7 +3381,7 @@ var program = new Command();
3381
3381
  // package.json
3382
3382
  var package_default = {
3383
3383
  name: "@moxt-ai/mobius",
3384
- version: "0.0.160",
3384
+ version: "0.0.161",
3385
3385
  description: "Mobius CLI for pairing and running local AI agent services.",
3386
3386
  type: "module",
3387
3387
  bin: {
@@ -46126,7 +46126,7 @@ function replayEvent(sessionId, position, update) {
46126
46126
  type: "acp"
46127
46127
  };
46128
46128
  }
46129
- async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, directories, audit, sessions, executingPromptRequest, signal) {
46129
+ async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, directories, audit, diagnostics, sessions, executingPromptRequest, signal) {
46130
46130
  try {
46131
46131
  const resolved = await resolveSessionDirectories(
46132
46132
  directories,
@@ -46173,6 +46173,25 @@ async function executeSessionLiveHistoryV2PageLoad(socket, command, config2, dir
46173
46173
  });
46174
46174
  } catch (error62) {
46175
46175
  if (!signal.aborted) {
46176
+ diagnostics.daemonDiagnostic(
46177
+ "session_history_v2_load_failed",
46178
+ command.requestId,
46179
+ {
46180
+ agentId: command.agentId,
46181
+ code: operationErrorCode(error62),
46182
+ sessionId: command.sessionId
46183
+ },
46184
+ error62
46185
+ );
46186
+ audit.record({
46187
+ commandId: command.requestId,
46188
+ details: {
46189
+ agentId: command.agentId,
46190
+ code: operationErrorCode(error62)
46191
+ },
46192
+ event: "session_history_v2_load_failed",
46193
+ sessionId: command.sessionId
46194
+ });
46176
46195
  reportOperationFailure(socket, command.requestId, command.sessionId, error62);
46177
46196
  }
46178
46197
  }
@@ -47073,6 +47092,7 @@ function createDaemonCommandHandler({
47073
47092
  config2,
47074
47093
  directories,
47075
47094
  audit,
47095
+ diagnostics,
47076
47096
  sessions,
47077
47097
  eventLogV2.executingPromptRequest,
47078
47098
  signal