@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.
@@ -3,7 +3,7 @@ import {
3
3
  __export,
4
4
  __using,
5
5
  package_default
6
- } from "./chunk-ZPDX3V6A.js";
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. Undefined while the latest turn runs or none is retained.
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 failedBeforeStart = outcome2?.type === "lifecycle-metadata" && outcome2.payload.kind === "prompt.failed-before-start";
88917
- if ((executionStarted(receipt.state) || failedBeforeStart) && receipt.admissionOrder > latestOrder) {
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-EEGF33EL.js.map
93953
+ //# sourceMappingURL=chunk-PAJOMX6L.js.map