@rallycry/conveyor-agent 8.3.1 → 8.3.3
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-H3UHIWQF.js → chunk-TELYL5WO.js} +29 -4
- package/dist/chunk-TELYL5WO.js.map +1 -0
- package/dist/{chunk-Y7ZVMFJN.js → chunk-VBVE7I5Y.js} +36 -1
- package/dist/{chunk-Y7ZVMFJN.js.map → chunk-VBVE7I5Y.js.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{tag-audit-handler-FVGEBGSB.js → tag-audit-handler-22DR2KRE.js} +2 -2
- package/dist/{task-audit-handler-JNS4NH5O.js → task-audit-handler-YIESAVO7.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-H3UHIWQF.js.map +0 -1
- /package/dist/{tag-audit-handler-FVGEBGSB.js.map → tag-audit-handler-22DR2KRE.js.map} +0 -0
- /package/dist/{task-audit-handler-JNS4NH5O.js.map → task-audit-handler-YIESAVO7.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureClaudeCredentials,
|
|
12
12
|
removeConveyorCredentials,
|
|
13
13
|
sessionTranscriptPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VBVE7I5Y.js";
|
|
15
15
|
|
|
16
16
|
// src/setup/bootstrap.ts
|
|
17
17
|
var BOOTSTRAP_TIMEOUT_MS = 3e4;
|
|
@@ -6660,6 +6660,28 @@ async function* notifyOnFirstEvent(inner, onFirst) {
|
|
|
6660
6660
|
yield event;
|
|
6661
6661
|
}
|
|
6662
6662
|
}
|
|
6663
|
+
var PARKED_TUI_GRACE_MS = 45e3;
|
|
6664
|
+
async function* watchForParkedTui(inner, host) {
|
|
6665
|
+
let parked = false;
|
|
6666
|
+
const timer = setTimeout(() => {
|
|
6667
|
+
parked = true;
|
|
6668
|
+
host.connection.emitStatus("waiting_for_input");
|
|
6669
|
+
void host.callbacks.onStatusChange("waiting_for_input");
|
|
6670
|
+
}, PARKED_TUI_GRACE_MS);
|
|
6671
|
+
try {
|
|
6672
|
+
for await (const event of inner) {
|
|
6673
|
+
clearTimeout(timer);
|
|
6674
|
+
if (parked) {
|
|
6675
|
+
parked = false;
|
|
6676
|
+
host.connection.emitStatus("running");
|
|
6677
|
+
await host.callbacks.onStatusChange("running");
|
|
6678
|
+
}
|
|
6679
|
+
yield event;
|
|
6680
|
+
}
|
|
6681
|
+
} finally {
|
|
6682
|
+
clearTimeout(timer);
|
|
6683
|
+
}
|
|
6684
|
+
}
|
|
6663
6685
|
async function runSdkQuery(host, context, followUpContent, promptDeliveryOverride) {
|
|
6664
6686
|
if (host.isStopped()) return;
|
|
6665
6687
|
const mode = host.agentMode;
|
|
@@ -6707,6 +6729,9 @@ async function runSdkQuery(host, context, followUpContent, promptDeliveryOverrid
|
|
|
6707
6729
|
}
|
|
6708
6730
|
}
|
|
6709
6731
|
async function trackAndRun(host, context, options, agentQuery) {
|
|
6732
|
+
if (host.harnessKind === "pty" && options.promptDelivery !== "prefill") {
|
|
6733
|
+
agentQuery = watchForParkedTui(agentQuery, host);
|
|
6734
|
+
}
|
|
6710
6735
|
host.activeQuery = agentQuery;
|
|
6711
6736
|
try {
|
|
6712
6737
|
await runWithRetry(agentQuery, context, host, options);
|
|
@@ -10074,7 +10099,7 @@ var ProjectRunner = class {
|
|
|
10074
10099
|
async handleAuditTags(request) {
|
|
10075
10100
|
this.connection.emitStatus("busy");
|
|
10076
10101
|
try {
|
|
10077
|
-
const { handleTagAudit } = await import("./tag-audit-handler-
|
|
10102
|
+
const { handleTagAudit } = await import("./tag-audit-handler-22DR2KRE.js");
|
|
10078
10103
|
await handleTagAudit(request, this.connection, this.projectDir);
|
|
10079
10104
|
} catch (error) {
|
|
10080
10105
|
const msg = parseErrorMessage(error);
|
|
@@ -10097,7 +10122,7 @@ var ProjectRunner = class {
|
|
|
10097
10122
|
async handleAuditTasks(request) {
|
|
10098
10123
|
this.connection.emitStatus("busy");
|
|
10099
10124
|
try {
|
|
10100
|
-
const { handleTaskAudit } = await import("./task-audit-handler-
|
|
10125
|
+
const { handleTaskAudit } = await import("./task-audit-handler-YIESAVO7.js");
|
|
10101
10126
|
await handleTaskAudit(request, this.connection, this.projectDir);
|
|
10102
10127
|
} catch (error) {
|
|
10103
10128
|
const msg = parseErrorMessage(error);
|
|
@@ -10238,4 +10263,4 @@ export {
|
|
|
10238
10263
|
loadConveyorConfig,
|
|
10239
10264
|
unshallowRepo
|
|
10240
10265
|
};
|
|
10241
|
-
//# sourceMappingURL=chunk-
|
|
10266
|
+
//# sourceMappingURL=chunk-TELYL5WO.js.map
|