Files
kjh2064 c41e5063b7 chore: remove kbx-foundation-v36 reference (superseded by v4 implementation)
Removed entire kbx-foundation-v36 directory as it's been replaced by
the new KBX Foundation v4 patterns implemented in this session:
- Registry-driven screen definitions
- Density-aware UI adapter components
- Feature module templates (ShadowRun, Models)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-12 01:39:58 +09:00

48 lines
1.1 KiB
TypeScript

import type { KbxTelemetryEventName } from './generated/telemetryCatalog'
export type KbxTelemetryCategory = 'navigation' | 'task' | 'interaction' | 'command' | 'lookup' | 'quality' | 'excel' | 'exception' | 'ai' | 'outcome' | 'experiment'
export interface KbxUxEvent {
eventName: KbxTelemetryEventName
screenId?: string
screenVersion?: string
sessionId: string
taskSessionId?: string
appVersion?: string
experimentId?: string
experimentVariant?: string
occurredAt: string
durationMs?: number
count?: number
attributes?: Record<string, string>
}
export interface KbxUxEventBatch {
events: KbxUxEvent[]
}
export interface KbxUxMetricRow {
metricKey: string
label: string
value: number | null
unit: 'ms' | 'percent' | 'count'
sampleCount: number
p50?: number | null
p95?: number | null
}
export interface KbxUxMetricsResponse {
from: string
to: string
screenId?: string | null
metrics: KbxUxMetricRow[]
}
export interface KbxUxWorkloadOutcome {
workType: string
observedCount: number
autoProcessedCount: number
manualInterventionCount: number
reasonCode?: string
}