@moxt-ai/mobius 0.0.186 → 0.0.187

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/runtime.js CHANGED
@@ -24404,7 +24404,9 @@ var CodexAcpAgent = class {
24404
24404
  "thread/fork",
24405
24405
  {
24406
24406
  cwd: context.params.cwd,
24407
- excludeTurns: false,
24407
+ // Fork keeps the native context; its response only needs the new identity
24408
+ // and settings. History is read through the separate history boundary.
24409
+ excludeTurns: true,
24408
24410
  threadId: context.params.sessionId
24409
24411
  },
24410
24412
  AbortSignal.any([context.signal, AbortSignal.timeout(APPROVAL_TIMEOUT_MILLISECONDS2)])
@@ -24413,7 +24415,6 @@ var CodexAcpAgent = class {
24413
24415
  this.#nativeSessionId = forked.thread.id;
24414
24416
  this.#settings.selectRestoredThread(forked);
24415
24417
  await this.#settings.probeCollaborationMode(this.#nativeSessionId, context.signal);
24416
- await this.#replayHistory(forked.thread.turns);
24417
24418
  await this.#emitAvailableCommands();
24418
24419
  return { configOptions: this.#settings.configOptions(), sessionId: forked.thread.id };
24419
24420
  }).onRequest(methods.agent.session.resume, async (context) => {