The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import * as Domain from "@alchemy.run/domain"; |
| 2 | import { Actor } from "./Actor.ts"; |
| 3 | |
| 4 | /** |
| 5 | * Who is making the current request. `Session` provides it; commands read it |
| 6 | * in `decide` and views in `validate`. Senders without a session (policies) |
| 7 | * provide it themselves. |
| 8 | */ |
| 9 | export class CurrentActor extends Domain.RequestContext<CurrentActor>()( |
| 10 | "Bank/CurrentActor", |
| 11 | Actor, |
| 12 | ) {} |