@rallycry/conveyor-agent 10.0.5 → 10.0.6

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.
@@ -186,6 +186,7 @@ var AgentConnection = class _AgentConnection {
186
186
  apiKeyUpdateCallback = null;
187
187
  pullBranchCallback = null;
188
188
  finalizeSnapshotCallback = null;
189
+ runStartCommandCallback = null;
189
190
  earlyPullBranches = [];
190
191
  // PTY relay (S5 terminal). Single-slot callbacks, set per PtySession run.
191
192
  ptyInputCallback = null;
@@ -343,6 +344,9 @@ var AgentConnection = class _AgentConnection {
343
344
  this.socket.on("session:finalizeSnapshot", () => {
344
345
  this.finalizeSnapshotCallback?.();
345
346
  });
347
+ this.socket.on("session:runStartCommand", () => {
348
+ this.runStartCommandCallback?.();
349
+ });
346
350
  this.socket.on("pty:input", (data) => {
347
351
  if (data.sessionId && data.sessionId !== this.config.sessionId) return;
348
352
  this.ptyInputCallback?.(data.data);
@@ -568,6 +572,9 @@ var AgentConnection = class _AgentConnection {
568
572
  onFinalizeSnapshot(callback) {
569
573
  this.finalizeSnapshotCallback = callback;
570
574
  }
575
+ onRunStartCommand(callback) {
576
+ this.runStartCommandCallback = callback;
577
+ }
571
578
  // ── PTY relay (S5 Connected-TUI terminal) ──────────────────────────
572
579
  /**
573
580
  * Forward a raw chunk of terminal output to the S2 relay (fire-and-forget).
@@ -9913,4 +9920,4 @@ export {
9913
9920
  runStartCommand,
9914
9921
  unshallowRepo
9915
9922
  };
9916
- //# sourceMappingURL=chunk-S72TAMGA.js.map
9923
+ //# sourceMappingURL=chunk-37ZIDX6S.js.map