@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 17 lines 704 Bytes
Raw
1 import type { RuntimeContext } from "alchemy/RuntimeContext";
2 import * as Context from "effect/Context";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * What the conformance workflows did, outside the engine: each activity
7 * appends an entry to its run's journal, so a case can check an activity ran
8 * once however many times its workflow replayed. Each cloud provides it over
9 * its own storage.
10 */
11 export class Journal extends Context.Service<
12 Journal,
13 {
14 readonly append: (id: string, entry: string) => Effect.Effect<void, never, RuntimeContext>;
15 readonly list: (id: string) => Effect.Effect<ReadonlyArray<string>, never, RuntimeContext>;
16 }
17 >()("WorkflowConformance/Journal") {}