feat: command palette, PSA ticket context, session-to-flow converter #108

Merged
chihlasm merged 27 commits from feat/command-palette-session-flow-psa-context into main 2026-03-16 17:39:17 +00:00
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 5e4d323ef1 - Show all commits

View File

@@ -42,6 +42,14 @@ export interface TreeSnapshot extends TreeStructure {
tree_type?: string
}
export interface FallbackStepRecord {
parent_step_id: string
fallback_step_id: string
completed_at: string | null
notes: string | null
outcome: 'resolved' | 'not_resolved' | 'skipped'
}
export interface Session {
id: string
tree_id: string
@@ -66,6 +74,7 @@ export interface Session {
target_label?: string
psa_ticket_id?: string | null
psa_connection_id?: string | null
fallback_decisions?: FallbackStepRecord[]
}
export interface SessionCreate {

View File

@@ -122,6 +122,7 @@ export interface ProceduralStep {
section_header?: string
reference_url?: string
library_visibility?: 'team' | 'public'
fallback_steps?: ProceduralStep[] // Optional fallback alternatives
}
export interface CustomProceduralStep {