@moxt-ai/mobius 0.0.408 → 0.0.409
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/{chunk-EEGF33EL.js → chunk-PAJOMX6L.js} +10 -5
- package/dist/{chunk-EEGF33EL.js.map → chunk-PAJOMX6L.js.map} +2 -2
- package/dist/{chunk-ZPDX3V6A.js → chunk-SEIA72PR.js} +2 -2
- package/dist/{chunk-ZPDX3V6A.js.map → chunk-SEIA72PR.js.map} +1 -1
- package/dist/{cli-KWYXFEYZ.js → cli-4IAWYEUO.js} +3 -3
- package/dist/cli.js +2 -2
- package/dist/engine/session/turn/execution-receipts.d.ts +4 -1
- package/dist/engine/session/turn/execution-receipts.d.ts.map +1 -1
- package/dist/engine/session/turn/execution-receipts.js +10 -3
- package/dist/engine/session/turn/execution-receipts.js.map +1 -1
- package/dist/engine.js +2 -2
- package/package.json +1 -1
- /package/dist/{cli-KWYXFEYZ.js.map → cli-4IAWYEUO.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__export,
|
|
4
4
|
__using,
|
|
5
5
|
package_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SEIA72PR.js";
|
|
7
7
|
|
|
8
8
|
// src/engine/runtime/relay/runtime-revocation.ts
|
|
9
9
|
var runtimeRevocationCloseCode = 1008;
|
|
@@ -88903,7 +88903,10 @@ var ExecutionReceipts = class {
|
|
|
88903
88903
|
/**
|
|
88904
88904
|
* How the Session's most recently admitted turn ended. Admission order survives updates and
|
|
88905
88905
|
* restarts. Commands that never started (queued, or reserved for cancellation) are not turns,
|
|
88906
|
-
* unless they failed before starting.
|
|
88906
|
+
* unless they failed before starting. A steering command that completed as `steered` joined the
|
|
88907
|
+
* turn it steered, which reports for both; a steer not known to have joined (it failed, or a
|
|
88908
|
+
* restart interrupted it) keeps its own outcome. Undefined while the latest turn runs or none is
|
|
88909
|
+
* retained.
|
|
88907
88910
|
*/
|
|
88908
88911
|
lastTurn = (sessionId) => {
|
|
88909
88912
|
let last;
|
|
@@ -88913,8 +88916,10 @@ var ExecutionReceipts = class {
|
|
|
88913
88916
|
continue;
|
|
88914
88917
|
}
|
|
88915
88918
|
const outcome2 = this.outcome(commandId);
|
|
88916
|
-
const
|
|
88917
|
-
|
|
88919
|
+
const payload = outcome2?.type === "lifecycle-metadata" ? outcome2.payload : void 0;
|
|
88920
|
+
const failedBeforeStart = payload?.kind === "prompt.failed-before-start";
|
|
88921
|
+
const steered = payload?.kind === "prompt.completed" && promptCompletion(payload).kind === "steered";
|
|
88922
|
+
if ((executionStarted(receipt.state) || failedBeforeStart) && !steered && receipt.admissionOrder > latestOrder) {
|
|
88918
88923
|
last = commandId;
|
|
88919
88924
|
latestOrder = receipt.admissionOrder;
|
|
88920
88925
|
}
|
|
@@ -93945,4 +93950,4 @@ export {
|
|
|
93945
93950
|
* MIT Licensed
|
|
93946
93951
|
*)
|
|
93947
93952
|
*/
|
|
93948
|
-
//# sourceMappingURL=chunk-
|
|
93953
|
+
//# sourceMappingURL=chunk-PAJOMX6L.js.map
|