@moxt-ai/mobius 0.0.159 → 0.0.160
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 +23 -3
- 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-session-commands.d.ts +2 -1
- package/dist/daemon-session-commands.d.ts.map +1 -1
- package/dist/daemon-session-commands.js +6 -1
- package/dist/daemon-session-commands.js.map +1 -1
- package/dist/index.js +22 -2
- package/dist/index.js.map +2 -2
- package/dist/runtime.js +22 -2
- package/dist/runtime.js.map +2 -2
- package/package.json +1 -1
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.
|
|
3384
|
+
version: "0.0.160",
|
|
3385
3385
|
description: "Mobius CLI for pairing and running local AI agent services.",
|
|
3386
3386
|
type: "module",
|
|
3387
3387
|
bin: {
|
|
@@ -46728,7 +46728,7 @@ async function executeWorkspaceList(socket, command, directories, audit, signal)
|
|
|
46728
46728
|
reportOperationFailure(socket, command.requestId, "", error62);
|
|
46729
46729
|
}
|
|
46730
46730
|
}
|
|
46731
|
-
async function executeSessionPrepare(publisher, socket, command, config2, directories, audit, sessions, signal) {
|
|
46731
|
+
async function executeSessionPrepare(publisher, socket, command, config2, directories, audit, sessions, diagnostics, signal) {
|
|
46732
46732
|
const metrics = new AccumulatingOperationMetrics();
|
|
46733
46733
|
try {
|
|
46734
46734
|
const readyEvent = await metrics.measure("prepare-total", async () => {
|
|
@@ -46813,6 +46813,16 @@ async function executeSessionPrepare(publisher, socket, command, config2, direct
|
|
|
46813
46813
|
runtimeTimings: metrics.snapshot()
|
|
46814
46814
|
});
|
|
46815
46815
|
} catch (error62) {
|
|
46816
|
+
diagnostics.daemonDiagnostic(
|
|
46817
|
+
"session_prepare_failed",
|
|
46818
|
+
command.requestId,
|
|
46819
|
+
{
|
|
46820
|
+
agentId: command.agentId,
|
|
46821
|
+
code: operationErrorCode(error62),
|
|
46822
|
+
sessionId: command.sessionId
|
|
46823
|
+
},
|
|
46824
|
+
error62
|
|
46825
|
+
);
|
|
46816
46826
|
audit.record({
|
|
46817
46827
|
commandId: command.requestId,
|
|
46818
46828
|
details: {
|
|
@@ -47150,7 +47160,17 @@ function createDaemonCommandHandler({
|
|
|
47150
47160
|
}
|
|
47151
47161
|
if (kind === SESSION_PREPARE_KIND) {
|
|
47152
47162
|
const command2 = message;
|
|
47153
|
-
void executeSessionPrepare(
|
|
47163
|
+
void executeSessionPrepare(
|
|
47164
|
+
publisher,
|
|
47165
|
+
socket,
|
|
47166
|
+
command2,
|
|
47167
|
+
config2,
|
|
47168
|
+
directories,
|
|
47169
|
+
audit,
|
|
47170
|
+
sessions,
|
|
47171
|
+
diagnostics,
|
|
47172
|
+
signal
|
|
47173
|
+
);
|
|
47154
47174
|
return;
|
|
47155
47175
|
}
|
|
47156
47176
|
if (kind === SESSION_CONFIGURE_KIND) {
|