feat: add paired intent checkpoints
This commit is contained in:
21
src/types.ts
21
src/types.ts
@@ -76,6 +76,15 @@ export type PairedArtifactType =
|
||||
| 'acceptance_criteria'
|
||||
| 'risk_summary';
|
||||
|
||||
export type PairedEventActorRole = PairedRoomRole | 'system';
|
||||
|
||||
export type PairedEventType =
|
||||
| 'set_risk'
|
||||
| 'submit_plan'
|
||||
| 'approve_plan'
|
||||
| 'request_plan_changes'
|
||||
| 'request_review';
|
||||
|
||||
export interface RoomRoleContext {
|
||||
serviceId: string;
|
||||
role: PairedRoomRole;
|
||||
@@ -158,6 +167,18 @@ export interface PairedArtifact {
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export interface PairedEvent {
|
||||
id: number;
|
||||
task_id: string;
|
||||
event_type: PairedEventType;
|
||||
actor_role: PairedEventActorRole;
|
||||
source_service_id: string;
|
||||
source_fingerprint: string | null;
|
||||
dedupe_key: string;
|
||||
payload_json: string | null;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export type StructuredAgentOutput =
|
||||
| {
|
||||
visibility: 'public';
|
||||
|
||||
Reference in New Issue
Block a user