70 lines
1.3 KiB
Python
70 lines
1.3 KiB
Python
|
|
from enum import StrEnum
|
||
|
|
|
||
|
|
|
||
|
|
class TaskStatus(StrEnum):
|
||
|
|
PENDING = "pending"
|
||
|
|
PLANNING = "planning"
|
||
|
|
READY = "ready"
|
||
|
|
IN_PROGRESS = "in_progress"
|
||
|
|
DONE = "done"
|
||
|
|
DEFERRED = "deferred"
|
||
|
|
|
||
|
|
|
||
|
|
class StepStatus(StrEnum):
|
||
|
|
PENDING = "pending"
|
||
|
|
IN_PROGRESS = "in_progress"
|
||
|
|
DONE = "done"
|
||
|
|
SKIPPED = "skipped"
|
||
|
|
|
||
|
|
|
||
|
|
class SessionStatus(StrEnum):
|
||
|
|
ACTIVE = "active"
|
||
|
|
COMPLETED = "completed"
|
||
|
|
INTERRUPTED = "interrupted"
|
||
|
|
|
||
|
|
|
||
|
|
class DistractionType(StrEnum):
|
||
|
|
APP_SWITCH = "app_switch"
|
||
|
|
OFF_SCREEN = "off_screen"
|
||
|
|
IDLE = "idle"
|
||
|
|
BROWSING = "browsing"
|
||
|
|
|
||
|
|
|
||
|
|
class TaskSource(StrEnum):
|
||
|
|
MANUAL = "manual"
|
||
|
|
BRAIN_DUMP = "brain_dump"
|
||
|
|
VOICE = "voice"
|
||
|
|
|
||
|
|
|
||
|
|
class PlanType(StrEnum):
|
||
|
|
LLM_GENERATED = "llm_generated"
|
||
|
|
USER_DEFINED = "user_defined"
|
||
|
|
HYBRID = "hybrid"
|
||
|
|
|
||
|
|
|
||
|
|
class FrictionType(StrEnum):
|
||
|
|
REPETITIVE_LOOP = "repetitive_loop"
|
||
|
|
STALLED = "stalled"
|
||
|
|
TEDIOUS_MANUAL = "tedious_manual"
|
||
|
|
CONTEXT_OVERHEAD = "context_overhead"
|
||
|
|
TASK_RESUMPTION = "task_resumption"
|
||
|
|
NONE = "none"
|
||
|
|
|
||
|
|
|
||
|
|
class IntentType(StrEnum):
|
||
|
|
SKIMMING = "skimming"
|
||
|
|
ENGAGED = "engaged"
|
||
|
|
UNCLEAR = "unclear"
|
||
|
|
|
||
|
|
|
||
|
|
class ProactiveUserChoice(StrEnum):
|
||
|
|
ACCEPTED = "accepted"
|
||
|
|
DECLINED = "declined"
|
||
|
|
ALTERNATIVE_CHOSEN = "alternative_chosen"
|
||
|
|
|
||
|
|
|
||
|
|
class DevicePlatform(StrEnum):
|
||
|
|
MAC = "mac"
|
||
|
|
IPAD = "ipad"
|
||
|
|
IPHONE = "iphone"
|