The best way to control Claude Code, Codex and more from any computer or phone

main
ts 13 lines 469 Bytes
Raw
1 import * as Domain from "@alchemy.run/domain";
2 import { TransferFailed } from "./FailTransfer.command.ts";
3 import { TransferId } from "./Transfer.id.ts";
4
5 /**
6 * The approval window closed. Scheduled by `TransferApprovalDeadline`; it
7 * reports a fact, so it never rejects, and it records nothing if the transfer
8 * was approved in time.
9 */
10 export class ExpireTransfer extends Domain.Command("ExpireTransfer", {
11 target: TransferId,
12 events: [TransferFailed],
13 }) {}