@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.
- package/dist/{chunk-S72TAMGA.js → chunk-37ZIDX6S.js} +8 -1
- package/dist/chunk-37ZIDX6S.js.map +1 -0
- package/dist/cli.js +59 -29
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/runtime/entrypoint.sh +53 -23
- package/dist/chunk-S72TAMGA.js.map +0 -1
|
@@ -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-
|
|
9923
|
+
//# sourceMappingURL=chunk-37ZIDX6S.js.map
|