@afokapu/atdd-flow 0.2.2 → 0.2.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/package.json +1 -1
- package/src/adapters.ts +5 -4
package/package.json
CHANGED
package/src/adapters.ts
CHANGED
|
@@ -27,10 +27,11 @@ export function discoverAddress(application: string, environment: Environment =
|
|
|
27
27
|
export function notificationCommand(application: string, address: string, notice: string, herdrSession?: string): string[] | undefined {
|
|
28
28
|
const commands: Record<string, () => string[] | undefined> = {
|
|
29
29
|
tmux: () => ["tmux", "send-keys", "-t", address, notice, "Enter"],
|
|
30
|
-
//
|
|
31
|
-
//
|
|
32
|
-
//
|
|
33
|
-
|
|
30
|
+
// Herdr resolves the live agent from its stable pane address and submits
|
|
31
|
+
// an ordered prompt through its agent-control API. Do not fall back to
|
|
32
|
+
// pane text injection: a Desk message remains durable when an older host
|
|
33
|
+
// cannot provide agent.prompt.
|
|
34
|
+
herdr: () => ["herdr", ...(herdrSession ? ["--session", herdrSession] : []), "agent", "prompt", address, notice],
|
|
34
35
|
tuios: () => {
|
|
35
36
|
const separator = address.indexOf("/");
|
|
36
37
|
if (separator < 1 || separator === address.length - 1) return undefined;
|