/** * Public types for @elizaos/plugin-goals. * * These mirror (and will eventually replace) the action contracts currently * declared inside `plugins/plugin-personal-assistant/src/actions/owner-surfaces.ts`. * During the decomposition phase the action handlers below remain stubs and * delegate (via TODO comments) to the LifeOps implementations. */ export declare const GOALS_CONTEXTS: readonly ["goals", "self_care", "owner"]; export type GoalsContext = (typeof GOALS_CONTEXTS)[number]; export declare const GOAL_ACTIONS: readonly ["create", "update", "delete", "review", "checkin"]; export type GoalActionName = (typeof GOAL_ACTIONS)[number]; export declare const ROUTINE_ACTIONS: readonly ["create", "update", "delete", "complete", "skip", "snooze", "review"]; export type RoutineActionName = (typeof ROUTINE_ACTIONS)[number]; export declare const REMINDER_ACTIONS: readonly ["create", "update", "delete", "complete", "snooze", "list"]; export type ReminderActionName = (typeof REMINDER_ACTIONS)[number]; export declare const ALARM_ACTIONS: readonly ["create", "update", "delete", "snooze", "dismiss", "list"]; export type AlarmActionName = (typeof ALARM_ACTIONS)[number]; export interface GoalsScope { agentId: string; entityId: string; roomId?: string; } export declare const GOALS_CHECKIN_SERVICE_TYPE: "goals_checkin"; export declare const GOALS_LOG_PREFIX: "[plugin-goals]"; /** Lifecycle status of a goal (mirrors LIFEOPS_GOAL_STATUSES by value). */ export declare const GOAL_STATUSES: readonly ["active", "paused", "archived", "satisfied"]; export type GoalStatus = (typeof GOAL_STATUSES)[number]; /** Progress signal a goal review assigns (mirrors LIFEOPS_REVIEW_STATES). */ export declare const GOAL_REVIEW_STATES: readonly ["idle", "needs_attention", "on_track", "at_risk"]; export type GoalReviewState = (typeof GOAL_REVIEW_STATES)[number]; /** A goal flattened for display. Mapped from a `LifeOpsGoalRecord` at fetch. */ export interface GoalItem { id: string; title: string; /** Empty string when the goal carries no description. */ description: string; status: GoalStatus; reviewState: GoalReviewState; /** Cadence kind (e.g. "daily" / "weekly"), or null when the goal is ad-hoc. */ cadenceKind: string | null; /** Human-readable target / next-due from successCriteria, or null. */ target: string | null; /** Count of linked occurrences / tasks / entities backing the goal. */ linkedCount: number; /** ISO timestamp of the last update to the goal. */ updatedAt: string; } //# sourceMappingURL=types.d.ts.map