@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 12 lines 383 Bytes
Raw
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 ) {}