@moxt-ai/mobius 0.0.374 → 0.0.377

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __commonJS
3
- } from "./chunk-QQXA54CY.js";
3
+ } from "./chunk-TYO33627.js";
4
4
 
5
5
  // ../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/internal/constants.js
6
6
  var require_constants = __commonJS({
@@ -1999,4 +1999,4 @@ var require_semver2 = __commonJS({
1999
1999
  export {
2000
2000
  require_semver2 as require_semver
2001
2001
  };
2002
- //# sourceMappingURL=chunk-UK6X35AJ.js.map
2002
+ //# sourceMappingURL=chunk-4MLLEWB3.js.map
@@ -3,7 +3,7 @@ import {
3
3
  __export,
4
4
  __using,
5
5
  package_default
6
- } from "./chunk-QQXA54CY.js";
6
+ } from "./chunk-TYO33627.js";
7
7
 
8
8
  // src/engine/runtime/relay/runtime-revocation.ts
9
9
  var runtimeRevocationCloseCode = 1008;
@@ -59971,12 +59971,9 @@ async function readFullHistory(transcript, sessionId, signal) {
59971
59971
  }
59972
59972
 
59973
59973
  // src/engine/acp/harness/claude/upstream/dist/environment-session-revision.js
59974
- var SESSION_REVISION_TIMEOUT_MILLISECONDS = 3e4;
59975
- function getEnvironmentSessionRevision(environment, sessionId, cwd, ownMessageIds, signal) {
59976
- return withEnvironment(environment, () => withDeadline(signal, SESSION_REVISION_TIMEOUT_MILLISECONDS, async () => {
59977
- const messages = await FZt(sessionId, { dir: cwd });
59978
- return messages.findLast((message) => !ownMessageIds.has(message.uuid))?.uuid ?? "";
59979
- }));
59974
+ async function getEnvironmentSessionRevision(environment, sessionId, ownMessageIds, signal) {
59975
+ const messages = await getEnvironmentSessionMessages(environment, sessionId, signal);
59976
+ return messages.findLast((message) => !ownMessageIds.has(message.uuid) && !isTaskNotificationOrigin(message.nativeOrigin))?.uuid ?? "";
59980
59977
  }
59981
59978
 
59982
59979
  // src/engine/acp/harness/claude/upstream/dist/session-config-ids.js
@@ -65080,7 +65077,7 @@ ${message.api_refusal_explanation}` : "";
65080
65077
  throw new Error("Session not found");
65081
65078
  }
65082
65079
  return {
65083
- latestEntryId: await getEnvironmentSessionRevision(this.environment, params.sessionId, session.cwd, session.streamedMessageIds, signal)
65080
+ latestEntryId: await getEnvironmentSessionRevision(this.environment, params.sessionId, session.streamedMessageIds, signal)
65084
65081
  };
65085
65082
  }
65086
65083
  async setSessionMode(params) {
@@ -93591,4 +93588,4 @@ export {
93591
93588
  * MIT Licensed
93592
93589
  *)
93593
93590
  */
93594
- //# sourceMappingURL=chunk-3CGKNTHS.js.map
93591
+ //# sourceMappingURL=chunk-Q3IGFSXH.js.map