@rallycry/conveyor-agent 8.4.1 → 8.5.0
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-B4QHEMMV.js → chunk-3T4SJEH6.js} +181 -24
- package/dist/chunk-3T4SJEH6.js.map +1 -0
- package/dist/{chunk-VDH55LTT.js → chunk-63FTZOL5.js} +227 -32
- package/dist/chunk-63FTZOL5.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +37 -0
- package/dist/index.js +2 -2
- package/dist/{tag-audit-handler-SWVMCAJH.js → tag-audit-handler-PKYLDJHH.js} +2 -2
- package/dist/{task-audit-handler-CZ2WWJFO.js → task-audit-handler-WINYLZMU.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-B4QHEMMV.js.map +0 -1
- package/dist/chunk-VDH55LTT.js.map +0 -1
- /package/dist/{tag-audit-handler-SWVMCAJH.js.map → tag-audit-handler-PKYLDJHH.js.map} +0 -0
- /package/dist/{task-audit-handler-CZ2WWJFO.js.map → task-audit-handler-WINYLZMU.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
loadForwardPorts,
|
|
10
10
|
runSetupCommand,
|
|
11
11
|
runStartCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3T4SJEH6.js";
|
|
13
13
|
import "./chunk-FDWECEDJ.js";
|
|
14
14
|
import {
|
|
15
15
|
createServiceLogger
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-63FTZOL5.js";
|
|
17
17
|
|
|
18
18
|
// src/cli.ts
|
|
19
19
|
import { readFileSync } from "fs";
|
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,12 @@ interface IncomingMessage {
|
|
|
27
27
|
content: string;
|
|
28
28
|
mimeType?: string;
|
|
29
29
|
}>;
|
|
30
|
+
/**
|
|
31
|
+
* Delivery hint for the PTY harness: "prefill" parks the message in the
|
|
32
|
+
* Connected-TUI input for a human to review/edit/Enter instead of
|
|
33
|
+
* auto-submitting (set by Refine → Discovery/Review). Absent → submit.
|
|
34
|
+
*/
|
|
35
|
+
delivery?: "prefill";
|
|
30
36
|
}
|
|
31
37
|
interface SetModeData {
|
|
32
38
|
agentMode: AgentMode;
|
|
@@ -345,6 +351,37 @@ declare class SessionRunner {
|
|
|
345
351
|
private handleDormantIdle;
|
|
346
352
|
/** Returns true if an initial query was executed, false otherwise. */
|
|
347
353
|
private executeInitialMode;
|
|
354
|
+
/**
|
|
355
|
+
* Startup-queue preamble: the card's initial message reaches a fresh pod
|
|
356
|
+
* twice — inside the task context (chat history) AND as a queued pending
|
|
357
|
+
* message. When the intrinsic delivery is prefill (manual-mode fresh TUI)
|
|
358
|
+
* or a hinted message is queued (Refine), drop those context-duplicates so
|
|
359
|
+
* they don't force submit semantics — a genuinely-new live message still
|
|
360
|
+
* does. Returns the lone hinted message to park, if any.
|
|
361
|
+
*/
|
|
362
|
+
private prepareInitialPendingMessages;
|
|
363
|
+
/**
|
|
364
|
+
* Drop pending messages whose content is already present as a user message
|
|
365
|
+
* in the task-context chat history (the card's initial message is delivered
|
|
366
|
+
* both ways). Hinted (prefill) messages are kept — they are consumed by the
|
|
367
|
+
* dedicated prefill path.
|
|
368
|
+
*/
|
|
369
|
+
private foldContextDuplicatePendingMessages;
|
|
370
|
+
/**
|
|
371
|
+
* Honor a prefill hint only when it is unambiguous: PTY harness, a manual
|
|
372
|
+
* (human-facing) agent mode, no other message queued behind it, and not an
|
|
373
|
+
* automated-critical source. Everything else keeps submit semantics.
|
|
374
|
+
*/
|
|
375
|
+
private prefillEligible;
|
|
376
|
+
/** Consume the sole pending message when it should park as a prefill. */
|
|
377
|
+
private takePrefillHintedMessage;
|
|
378
|
+
/**
|
|
379
|
+
* Park a message in the Connected-TUI input (prefill) and wait for the human
|
|
380
|
+
* to submit. Empty content prefills the mode's initial prompt instead (the
|
|
381
|
+
* latest user chat message — e.g. a Refine wake on a dormant agent). The
|
|
382
|
+
* caller restores the idle state afterwards.
|
|
383
|
+
*/
|
|
384
|
+
private runPrefilledMessage;
|
|
348
385
|
private waitForMessage;
|
|
349
386
|
/** Inject a message (from connection callback or external source) */
|
|
350
387
|
injectMessage(msg: IncomingMessage): void;
|
package/dist/index.js
CHANGED
|
@@ -25,9 +25,9 @@ import {
|
|
|
25
25
|
stageAndCommit,
|
|
26
26
|
unshallowRepo,
|
|
27
27
|
updateRemoteToken
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3T4SJEH6.js";
|
|
29
29
|
import "./chunk-FDWECEDJ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-63FTZOL5.js";
|
|
31
31
|
|
|
32
32
|
// src/runner/file-cache.ts
|
|
33
33
|
var DEFAULT_MAX_SIZE_BYTES = 50 * 1024 * 1024;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHarness,
|
|
3
3
|
createServiceLogger
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-63FTZOL5.js";
|
|
5
5
|
|
|
6
6
|
// src/runner/tag-audit-handler.ts
|
|
7
7
|
var logger = createServiceLogger("TagAudit");
|
|
@@ -219,4 +219,4 @@ export {
|
|
|
219
219
|
buildTagAuditPrompt,
|
|
220
220
|
handleTagAudit
|
|
221
221
|
};
|
|
222
|
-
//# sourceMappingURL=tag-audit-handler-
|
|
222
|
+
//# sourceMappingURL=tag-audit-handler-PKYLDJHH.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createHarness,
|
|
6
6
|
createServiceLogger,
|
|
7
7
|
defineTool
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-63FTZOL5.js";
|
|
9
9
|
|
|
10
10
|
// src/runner/task-audit-handler.ts
|
|
11
11
|
import { z } from "zod";
|
|
@@ -798,4 +798,4 @@ async function handleTaskAudit(request, connection, projectDir) {
|
|
|
798
798
|
export {
|
|
799
799
|
handleTaskAudit
|
|
800
800
|
};
|
|
801
|
-
//# sourceMappingURL=task-audit-handler-
|
|
801
|
+
//# sourceMappingURL=task-audit-handler-WINYLZMU.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rallycry/conveyor-agent",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "Conveyor Agent Runner v8 - PTY harness for the task chat (SDK harness for audit/project-chat). Agent-as-User architecture with BaseService patterns. Works locally too.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|