@elizaos/plugin-health 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -0
- package/dist/actions/index.d.ts +20 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/index.js +5 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/anchors/index.d.ts +19 -0
- package/dist/anchors/index.d.ts.map +1 -0
- package/dist/anchors/index.js +9 -0
- package/dist/anchors/index.js.map +1 -0
- package/dist/connectors/contract-stubs.d.ts +112 -0
- package/dist/connectors/contract-stubs.d.ts.map +1 -0
- package/dist/connectors/contract-stubs.js +1 -0
- package/dist/connectors/contract-stubs.js.map +1 -0
- package/dist/connectors/index.d.ts +28 -0
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +202 -0
- package/dist/connectors/index.js.map +1 -0
- package/dist/contracts/circadian-default.d.ts +15 -0
- package/dist/contracts/circadian-default.d.ts.map +1 -0
- package/dist/contracts/circadian-default.js +30 -0
- package/dist/contracts/circadian-default.js.map +1 -0
- package/dist/contracts/circadian.d.ts +92 -0
- package/dist/contracts/circadian.d.ts.map +1 -0
- package/dist/contracts/circadian.js +14 -0
- package/dist/contracts/circadian.js.map +1 -0
- package/dist/contracts/health.d.ts +9 -0
- package/dist/contracts/health.d.ts.map +1 -0
- package/dist/contracts/health.js +21 -0
- package/dist/contracts/health.js.map +1 -0
- package/dist/contracts/lifeops-connector-degradation.d.ts +9 -0
- package/dist/contracts/lifeops-connector-degradation.d.ts.map +1 -0
- package/dist/contracts/lifeops-connector-degradation.js +17 -0
- package/dist/contracts/lifeops-connector-degradation.js.map +1 -0
- package/dist/contracts/lifeops.d.ts +3123 -0
- package/dist/contracts/lifeops.d.ts.map +1 -0
- package/dist/contracts/lifeops.js +635 -0
- package/dist/contracts/lifeops.js.map +1 -0
- package/dist/contracts/permissions.d.ts +39 -0
- package/dist/contracts/permissions.d.ts.map +1 -0
- package/dist/contracts/permissions.js +1 -0
- package/dist/contracts/permissions.js.map +1 -0
- package/dist/default-packs/bedtime.d.ts +14 -0
- package/dist/default-packs/bedtime.d.ts.map +1 -0
- package/dist/default-packs/bedtime.js +48 -0
- package/dist/default-packs/bedtime.js.map +1 -0
- package/dist/default-packs/contract-stubs.d.ts +161 -0
- package/dist/default-packs/contract-stubs.d.ts.map +1 -0
- package/dist/default-packs/contract-stubs.js +1 -0
- package/dist/default-packs/contract-stubs.js.map +1 -0
- package/dist/default-packs/index.d.ts +18 -0
- package/dist/default-packs/index.d.ts.map +1 -0
- package/dist/default-packs/index.js +39 -0
- package/dist/default-packs/index.js.map +1 -0
- package/dist/default-packs/sleep-recap.d.ts +14 -0
- package/dist/default-packs/sleep-recap.d.ts.map +1 -0
- package/dist/default-packs/sleep-recap.js +51 -0
- package/dist/default-packs/sleep-recap.js.map +1 -0
- package/dist/default-packs/wake-up.d.ts +14 -0
- package/dist/default-packs/wake-up.d.ts.map +1 -0
- package/dist/default-packs/wake-up.js +61 -0
- package/dist/default-packs/wake-up.js.map +1 -0
- package/dist/health-bridge/health-bridge.d.ts +57 -0
- package/dist/health-bridge/health-bridge.d.ts.map +1 -0
- package/dist/health-bridge/health-bridge.js +558 -0
- package/dist/health-bridge/health-bridge.js.map +1 -0
- package/dist/health-bridge/health-connectors.d.ts +23 -0
- package/dist/health-bridge/health-connectors.d.ts.map +1 -0
- package/dist/health-bridge/health-connectors.js +1018 -0
- package/dist/health-bridge/health-connectors.js.map +1 -0
- package/dist/health-bridge/health-oauth.d.ts +62 -0
- package/dist/health-bridge/health-oauth.d.ts.map +1 -0
- package/dist/health-bridge/health-oauth.js +432 -0
- package/dist/health-bridge/health-oauth.js.map +1 -0
- package/dist/health-bridge/health-provider-registry.d.ts +89 -0
- package/dist/health-bridge/health-provider-registry.d.ts.map +1 -0
- package/dist/health-bridge/health-provider-registry.js +141 -0
- package/dist/health-bridge/health-provider-registry.js.map +1 -0
- package/dist/health-bridge/health-records.d.ts +14 -0
- package/dist/health-bridge/health-records.d.ts.map +1 -0
- package/dist/health-bridge/health-records.js +45 -0
- package/dist/health-bridge/health-records.js.map +1 -0
- package/dist/health-bridge/index.d.ts +22 -0
- package/dist/health-bridge/index.d.ts.map +1 -0
- package/dist/health-bridge/index.js +7 -0
- package/dist/health-bridge/index.js.map +1 -0
- package/dist/health-bridge/service-normalize-health.d.ts +3 -0
- package/dist/health-bridge/service-normalize-health.d.ts.map +1 -0
- package/dist/health-bridge/service-normalize-health.js +96 -0
- package/dist/health-bridge/service-normalize-health.js.map +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +62 -0
- package/dist/index.js.map +1 -0
- package/dist/screen-time/index.d.ts +23 -0
- package/dist/screen-time/index.d.ts.map +1 -0
- package/dist/screen-time/index.js +1 -0
- package/dist/screen-time/index.js.map +1 -0
- package/dist/sleep/awake-probability.d.ts +11 -0
- package/dist/sleep/awake-probability.d.ts.map +1 -0
- package/dist/sleep/awake-probability.js +163 -0
- package/dist/sleep/awake-probability.js.map +1 -0
- package/dist/sleep/circadian-rules.d.ts +45 -0
- package/dist/sleep/circadian-rules.d.ts.map +1 -0
- package/dist/sleep/circadian-rules.js +258 -0
- package/dist/sleep/circadian-rules.js.map +1 -0
- package/dist/sleep/index.d.ts +21 -0
- package/dist/sleep/index.d.ts.map +1 -0
- package/dist/sleep/index.js +11 -0
- package/dist/sleep/index.js.map +1 -0
- package/dist/sleep/sleep-cycle-dispatch.d.ts +75 -0
- package/dist/sleep/sleep-cycle-dispatch.d.ts.map +1 -0
- package/dist/sleep/sleep-cycle-dispatch.js +102 -0
- package/dist/sleep/sleep-cycle-dispatch.js.map +1 -0
- package/dist/sleep/sleep-cycle.d.ts +38 -0
- package/dist/sleep/sleep-cycle.d.ts.map +1 -0
- package/dist/sleep/sleep-cycle.js +418 -0
- package/dist/sleep/sleep-cycle.js.map +1 -0
- package/dist/sleep/sleep-episode-store.d.ts +25 -0
- package/dist/sleep/sleep-episode-store.d.ts.map +1 -0
- package/dist/sleep/sleep-episode-store.js +69 -0
- package/dist/sleep/sleep-episode-store.js.map +1 -0
- package/dist/sleep/sleep-episode-types.d.ts +38 -0
- package/dist/sleep/sleep-episode-types.d.ts.map +1 -0
- package/dist/sleep/sleep-episode-types.js +14 -0
- package/dist/sleep/sleep-episode-types.js.map +1 -0
- package/dist/sleep/sleep-recap.d.ts +19 -0
- package/dist/sleep/sleep-recap.d.ts.map +1 -0
- package/dist/sleep/sleep-recap.js +1 -0
- package/dist/sleep/sleep-recap.js.map +1 -0
- package/dist/sleep/sleep-regularity.d.ts +19 -0
- package/dist/sleep/sleep-regularity.d.ts.map +1 -0
- package/dist/sleep/sleep-regularity.js +242 -0
- package/dist/sleep/sleep-regularity.js.map +1 -0
- package/dist/sleep/sleep-wake-events.d.ts +58 -0
- package/dist/sleep/sleep-wake-events.d.ts.map +1 -0
- package/dist/sleep/sleep-wake-events.js +135 -0
- package/dist/sleep/sleep-wake-events.js.map +1 -0
- package/dist/sleep/source-reliability.d.ts +38 -0
- package/dist/sleep/source-reliability.d.ts.map +1 -0
- package/dist/sleep/source-reliability.js +62 -0
- package/dist/sleep/source-reliability.js.map +1 -0
- package/dist/util/index.d.ts +10 -0
- package/dist/util/index.d.ts.map +1 -0
- package/dist/util/index.js +3 -0
- package/dist/util/index.js.map +1 -0
- package/dist/util/normalize.d.ts +22 -0
- package/dist/util/normalize.d.ts.map +1 -0
- package/dist/util/normalize.js +62 -0
- package/dist/util/normalize.js.map +1 -0
- package/dist/util/time-util.d.ts +10 -0
- package/dist/util/time-util.d.ts.map +1 -0
- package/dist/util/time-util.js +14 -0
- package/dist/util/time-util.js.map +1 -0
- package/dist/util/time.d.ts +17 -0
- package/dist/util/time.d.ts.map +1 -0
- package/dist/util/time.js +152 -0
- package/dist/util/time.js.map +1 -0
- package/dist/util/token-encryption.d.ts +42 -0
- package/dist/util/token-encryption.d.ts.map +1 -0
- package/dist/util/token-encryption.js +96 -0
- package/dist/util/token-encryption.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,635 @@
|
|
|
1
|
+
import { LIFEOPS_CONNECTOR_DEGRADATION_AXES } from "./lifeops-connector-degradation.js";
|
|
2
|
+
const LIFEOPS_TIME_WINDOW_NAMES = [
|
|
3
|
+
"morning",
|
|
4
|
+
"afternoon",
|
|
5
|
+
"evening",
|
|
6
|
+
"night",
|
|
7
|
+
"custom"
|
|
8
|
+
];
|
|
9
|
+
const LIFEOPS_DEFINITION_KINDS = ["task", "habit", "routine"];
|
|
10
|
+
const LIFEOPS_DEFINITION_STATUSES = [
|
|
11
|
+
"active",
|
|
12
|
+
"paused",
|
|
13
|
+
"archived"
|
|
14
|
+
];
|
|
15
|
+
const LIFEOPS_OCCURRENCE_STATES = [
|
|
16
|
+
"pending",
|
|
17
|
+
"visible",
|
|
18
|
+
"snoozed",
|
|
19
|
+
"completed",
|
|
20
|
+
"skipped",
|
|
21
|
+
"expired",
|
|
22
|
+
"muted"
|
|
23
|
+
];
|
|
24
|
+
const LIFEOPS_GOAL_STATUSES = [
|
|
25
|
+
"active",
|
|
26
|
+
"paused",
|
|
27
|
+
"archived",
|
|
28
|
+
"satisfied"
|
|
29
|
+
];
|
|
30
|
+
const LIFEOPS_REVIEW_STATES = [
|
|
31
|
+
"idle",
|
|
32
|
+
"needs_attention",
|
|
33
|
+
"on_track",
|
|
34
|
+
"at_risk"
|
|
35
|
+
];
|
|
36
|
+
const LIFEOPS_WORKFLOW_STATUSES = [
|
|
37
|
+
"active",
|
|
38
|
+
"paused",
|
|
39
|
+
"archived"
|
|
40
|
+
];
|
|
41
|
+
const LIFEOPS_WORKFLOW_RUN_STATUSES = [
|
|
42
|
+
"queued",
|
|
43
|
+
"running",
|
|
44
|
+
"success",
|
|
45
|
+
"failed",
|
|
46
|
+
"cancelled"
|
|
47
|
+
];
|
|
48
|
+
const LIFEOPS_WORKFLOW_TRIGGER_TYPES = [
|
|
49
|
+
"manual",
|
|
50
|
+
"schedule",
|
|
51
|
+
"event"
|
|
52
|
+
];
|
|
53
|
+
const LIFEOPS_EVENT_KINDS = [
|
|
54
|
+
"calendar.event.ended",
|
|
55
|
+
"gmail.message.received",
|
|
56
|
+
"gmail.thread.needs_response",
|
|
57
|
+
"lifeops.sleep.onset_candidate",
|
|
58
|
+
"lifeops.sleep.detected",
|
|
59
|
+
"lifeops.sleep.ended",
|
|
60
|
+
"lifeops.wake.observed",
|
|
61
|
+
"lifeops.wake.confirmed",
|
|
62
|
+
"lifeops.nap.detected",
|
|
63
|
+
"lifeops.bedtime.imminent",
|
|
64
|
+
"lifeops.regularity.changed"
|
|
65
|
+
];
|
|
66
|
+
const LIFEOPS_NEGOTIATION_STATES = [
|
|
67
|
+
"initiated",
|
|
68
|
+
"proposals_sent",
|
|
69
|
+
"awaiting_response",
|
|
70
|
+
"confirmed",
|
|
71
|
+
"cancelled"
|
|
72
|
+
];
|
|
73
|
+
const LIFEOPS_PROPOSAL_STATUSES = [
|
|
74
|
+
"pending",
|
|
75
|
+
"accepted",
|
|
76
|
+
"declined",
|
|
77
|
+
"expired"
|
|
78
|
+
];
|
|
79
|
+
const LIFEOPS_PROPOSAL_PROPOSERS = [
|
|
80
|
+
"agent",
|
|
81
|
+
"owner",
|
|
82
|
+
"counterparty"
|
|
83
|
+
];
|
|
84
|
+
const LIFEOPS_CONNECTOR_PROVIDERS = [
|
|
85
|
+
"google",
|
|
86
|
+
"x",
|
|
87
|
+
"telegram",
|
|
88
|
+
"discord",
|
|
89
|
+
"twilio",
|
|
90
|
+
"signal",
|
|
91
|
+
"whatsapp",
|
|
92
|
+
"imessage",
|
|
93
|
+
"strava",
|
|
94
|
+
"fitbit",
|
|
95
|
+
"withings",
|
|
96
|
+
"oura"
|
|
97
|
+
];
|
|
98
|
+
const LIFEOPS_CONNECTOR_MODES = [
|
|
99
|
+
"local",
|
|
100
|
+
"remote",
|
|
101
|
+
"cloud_managed"
|
|
102
|
+
];
|
|
103
|
+
const LIFEOPS_CONNECTOR_SIDES = ["owner", "agent"];
|
|
104
|
+
const LIFEOPS_CONNECTOR_EXECUTION_TARGETS = ["local", "cloud"];
|
|
105
|
+
const LIFEOPS_CONNECTOR_SOURCES_OF_TRUTH = [
|
|
106
|
+
"local_storage",
|
|
107
|
+
"cloud_connection",
|
|
108
|
+
"connector_account"
|
|
109
|
+
];
|
|
110
|
+
const LIFEOPS_GOOGLE_CAPABILITIES = [
|
|
111
|
+
"google.basic_identity",
|
|
112
|
+
"google.calendar.read",
|
|
113
|
+
"google.calendar.write",
|
|
114
|
+
"google.gmail.triage",
|
|
115
|
+
"google.gmail.send",
|
|
116
|
+
"google.gmail.manage"
|
|
117
|
+
];
|
|
118
|
+
const LIFEOPS_X_CAPABILITIES = [
|
|
119
|
+
"x.read",
|
|
120
|
+
"x.write",
|
|
121
|
+
"x.dm.read",
|
|
122
|
+
"x.dm.write"
|
|
123
|
+
];
|
|
124
|
+
const LIFEOPS_HEALTH_CONNECTOR_PROVIDERS = [
|
|
125
|
+
"strava",
|
|
126
|
+
"fitbit",
|
|
127
|
+
"withings",
|
|
128
|
+
"oura"
|
|
129
|
+
];
|
|
130
|
+
const LIFEOPS_HEALTH_CONNECTOR_CAPABILITIES = [
|
|
131
|
+
"health.activity.read",
|
|
132
|
+
"health.workouts.read",
|
|
133
|
+
"health.sleep.read",
|
|
134
|
+
"health.readiness.read",
|
|
135
|
+
"health.body.read",
|
|
136
|
+
"health.vitals.read"
|
|
137
|
+
];
|
|
138
|
+
const LIFEOPS_HEALTH_METRICS = [
|
|
139
|
+
"steps",
|
|
140
|
+
"active_minutes",
|
|
141
|
+
"sleep_hours",
|
|
142
|
+
"sleep_score",
|
|
143
|
+
"readiness_score",
|
|
144
|
+
"heart_rate",
|
|
145
|
+
"resting_heart_rate",
|
|
146
|
+
"heart_rate_variability",
|
|
147
|
+
"calories",
|
|
148
|
+
"distance_meters",
|
|
149
|
+
"weight_kg",
|
|
150
|
+
"body_fat_percent",
|
|
151
|
+
"blood_pressure_systolic",
|
|
152
|
+
"blood_pressure_diastolic",
|
|
153
|
+
"blood_oxygen_percent",
|
|
154
|
+
"respiratory_rate",
|
|
155
|
+
"body_temperature_celsius"
|
|
156
|
+
];
|
|
157
|
+
const LIFEOPS_SIGNAL_CAPABILITIES = [
|
|
158
|
+
"signal.read",
|
|
159
|
+
"signal.send"
|
|
160
|
+
];
|
|
161
|
+
const LIFEOPS_DISCORD_CAPABILITIES = [
|
|
162
|
+
"discord.read",
|
|
163
|
+
"discord.send"
|
|
164
|
+
];
|
|
165
|
+
const LIFEOPS_TELEGRAM_CAPABILITIES = [
|
|
166
|
+
"telegram.read",
|
|
167
|
+
"telegram.send"
|
|
168
|
+
];
|
|
169
|
+
function capabilitiesForSide(allCapabilities, side) {
|
|
170
|
+
if (side === "agent") return [...allCapabilities];
|
|
171
|
+
return allCapabilities.filter((c) => c.endsWith(".read"));
|
|
172
|
+
}
|
|
173
|
+
const LIFEOPS_REMINDER_CHANNELS = [
|
|
174
|
+
"in_app",
|
|
175
|
+
"sms",
|
|
176
|
+
"voice",
|
|
177
|
+
"telegram",
|
|
178
|
+
"discord",
|
|
179
|
+
"signal",
|
|
180
|
+
"whatsapp",
|
|
181
|
+
"imessage",
|
|
182
|
+
"email",
|
|
183
|
+
"push"
|
|
184
|
+
];
|
|
185
|
+
const LIFEOPS_CHANNEL_TYPES = [
|
|
186
|
+
"in_app",
|
|
187
|
+
"sms",
|
|
188
|
+
"voice",
|
|
189
|
+
"telegram",
|
|
190
|
+
"discord",
|
|
191
|
+
"signal",
|
|
192
|
+
"whatsapp",
|
|
193
|
+
"imessage",
|
|
194
|
+
"x",
|
|
195
|
+
"browser",
|
|
196
|
+
"email",
|
|
197
|
+
"push"
|
|
198
|
+
// Note: "cloud" in LIFEOPS_REMINDER_CHANNELS is a deployment target, not a user-facing delivery channel
|
|
199
|
+
];
|
|
200
|
+
const LIFEOPS_PRIVACY_CLASSES = ["private", "shared", "public"];
|
|
201
|
+
const LIFEOPS_DOMAINS = ["user_lifeops", "agent_ops"];
|
|
202
|
+
const LIFEOPS_SUBJECT_TYPES = ["owner", "agent"];
|
|
203
|
+
const LIFEOPS_VISIBILITY_SCOPES = [
|
|
204
|
+
"owner_only",
|
|
205
|
+
"agent_and_admin",
|
|
206
|
+
"owner_agent_admin"
|
|
207
|
+
];
|
|
208
|
+
const LIFEOPS_CONTEXT_POLICIES = [
|
|
209
|
+
"never",
|
|
210
|
+
"explicit_only",
|
|
211
|
+
"sidebar_only",
|
|
212
|
+
"allowed_in_private_chat"
|
|
213
|
+
];
|
|
214
|
+
const LIFEOPS_REMINDER_URGENCY_LEVELS = [
|
|
215
|
+
"low",
|
|
216
|
+
"medium",
|
|
217
|
+
"high",
|
|
218
|
+
"critical"
|
|
219
|
+
];
|
|
220
|
+
const LIFEOPS_REMINDER_INTENSITIES = [
|
|
221
|
+
"minimal",
|
|
222
|
+
"normal",
|
|
223
|
+
"persistent",
|
|
224
|
+
"high_priority_only"
|
|
225
|
+
];
|
|
226
|
+
const LIFEOPS_REMINDER_INTENSITY_COMPATIBILITY_VALUES = [
|
|
227
|
+
"paused",
|
|
228
|
+
"low",
|
|
229
|
+
"high"
|
|
230
|
+
];
|
|
231
|
+
const LIFEOPS_REMINDER_PREFERENCE_SOURCES = [
|
|
232
|
+
"default",
|
|
233
|
+
"global_policy",
|
|
234
|
+
"definition_metadata"
|
|
235
|
+
];
|
|
236
|
+
const LIFEOPS_OWNER_TYPES = [
|
|
237
|
+
"definition",
|
|
238
|
+
"occurrence",
|
|
239
|
+
"goal",
|
|
240
|
+
"workflow",
|
|
241
|
+
"calendar_event",
|
|
242
|
+
"gmail_message",
|
|
243
|
+
"connector",
|
|
244
|
+
"channel_policy",
|
|
245
|
+
"browser_session",
|
|
246
|
+
"circadian_state"
|
|
247
|
+
];
|
|
248
|
+
const LIFEOPS_AUDIT_EVENT_TYPES = [
|
|
249
|
+
"definition_created",
|
|
250
|
+
"definition_updated",
|
|
251
|
+
"definition_deleted",
|
|
252
|
+
"occurrence_generated",
|
|
253
|
+
"occurrence_completed",
|
|
254
|
+
"occurrence_skipped",
|
|
255
|
+
"occurrence_snoozed",
|
|
256
|
+
"goal_created",
|
|
257
|
+
"goal_updated",
|
|
258
|
+
"goal_deleted",
|
|
259
|
+
"goal_reviewed",
|
|
260
|
+
"calendar_event_created",
|
|
261
|
+
"calendar_event_updated",
|
|
262
|
+
"calendar_event_deleted",
|
|
263
|
+
"gmail_triage_synced",
|
|
264
|
+
"gmail_reply_drafted",
|
|
265
|
+
"gmail_reply_sent",
|
|
266
|
+
"gmail_message_sent",
|
|
267
|
+
"reminder_due",
|
|
268
|
+
"reminder_delivered",
|
|
269
|
+
"reminder_blocked",
|
|
270
|
+
"reminder_escalation_started",
|
|
271
|
+
"reminder_escalation_resolved",
|
|
272
|
+
"workflow_created",
|
|
273
|
+
"workflow_updated",
|
|
274
|
+
"workflow_run",
|
|
275
|
+
"connector_grant_updated",
|
|
276
|
+
"channel_policy_updated",
|
|
277
|
+
"browser_session_created",
|
|
278
|
+
"browser_session_updated",
|
|
279
|
+
"x_post_sent",
|
|
280
|
+
"seeding_offered",
|
|
281
|
+
"circadian_event_emitted",
|
|
282
|
+
"manual_override_accepted"
|
|
283
|
+
];
|
|
284
|
+
const LIFEOPS_ACTORS = [
|
|
285
|
+
"agent",
|
|
286
|
+
"user",
|
|
287
|
+
"workflow",
|
|
288
|
+
"connector"
|
|
289
|
+
];
|
|
290
|
+
const LIFEOPS_WEBSITE_ACCESS_UNLOCK_MODES = [
|
|
291
|
+
"fixed_duration",
|
|
292
|
+
"until_manual_lock",
|
|
293
|
+
"until_callback"
|
|
294
|
+
];
|
|
295
|
+
const LIFEOPS_BROWSER_KINDS = ["chrome", "safari"];
|
|
296
|
+
const LIFEOPS_BROWSER_ACTION_KINDS = [
|
|
297
|
+
"open",
|
|
298
|
+
"navigate",
|
|
299
|
+
"focus_tab",
|
|
300
|
+
"back",
|
|
301
|
+
"forward",
|
|
302
|
+
"reload",
|
|
303
|
+
"click",
|
|
304
|
+
"type",
|
|
305
|
+
"submit",
|
|
306
|
+
"read_page",
|
|
307
|
+
"extract_links",
|
|
308
|
+
"extract_forms"
|
|
309
|
+
];
|
|
310
|
+
const LIFEOPS_REMINDER_ATTEMPT_OUTCOMES = [
|
|
311
|
+
"delivered",
|
|
312
|
+
"delivered_read",
|
|
313
|
+
"delivered_unread",
|
|
314
|
+
"blocked_policy",
|
|
315
|
+
"blocked_quiet_hours",
|
|
316
|
+
"blocked_urgency",
|
|
317
|
+
"blocked_acknowledged",
|
|
318
|
+
"blocked_connector",
|
|
319
|
+
"skipped_duplicate"
|
|
320
|
+
];
|
|
321
|
+
const LIFEOPS_ACTIVITY_SIGNAL_SOURCES = [
|
|
322
|
+
"app_lifecycle",
|
|
323
|
+
"page_visibility",
|
|
324
|
+
"desktop_power",
|
|
325
|
+
"desktop_interaction",
|
|
326
|
+
"connector_activity",
|
|
327
|
+
"imessage_outbound",
|
|
328
|
+
"mobile_device",
|
|
329
|
+
"mobile_health"
|
|
330
|
+
];
|
|
331
|
+
const LIFEOPS_ACTIVITY_SIGNAL_STATES = [
|
|
332
|
+
"active",
|
|
333
|
+
"idle",
|
|
334
|
+
"background",
|
|
335
|
+
"locked",
|
|
336
|
+
"sleeping"
|
|
337
|
+
];
|
|
338
|
+
const LIFEOPS_HEALTH_SIGNAL_SOURCES = [
|
|
339
|
+
"healthkit",
|
|
340
|
+
"health_connect",
|
|
341
|
+
"strava",
|
|
342
|
+
"fitbit",
|
|
343
|
+
"withings",
|
|
344
|
+
"oura"
|
|
345
|
+
];
|
|
346
|
+
const LIFEOPS_HEALTH_CONNECTOR_REASONS = [
|
|
347
|
+
"connected",
|
|
348
|
+
"disconnected",
|
|
349
|
+
"config_missing",
|
|
350
|
+
"needs_reauth",
|
|
351
|
+
"sync_failed"
|
|
352
|
+
];
|
|
353
|
+
const LIFEOPS_HEALTH_SLEEP_STAGES = [
|
|
354
|
+
"awake",
|
|
355
|
+
"light",
|
|
356
|
+
"deep",
|
|
357
|
+
"rem",
|
|
358
|
+
"restless",
|
|
359
|
+
"unknown"
|
|
360
|
+
];
|
|
361
|
+
const LIFEOPS_TELEMETRY_FAMILIES = [
|
|
362
|
+
"device_presence_event",
|
|
363
|
+
"desktop_power_event",
|
|
364
|
+
"desktop_idle_sample",
|
|
365
|
+
"browser_focus_window",
|
|
366
|
+
"mobile_health_snapshot",
|
|
367
|
+
"mobile_device_snapshot",
|
|
368
|
+
"message_activity_event",
|
|
369
|
+
"status_activity_event",
|
|
370
|
+
"charging_event",
|
|
371
|
+
"screen_time_summary",
|
|
372
|
+
"manual_override_event"
|
|
373
|
+
];
|
|
374
|
+
const LIFEOPS_CIRCADIAN_STATES = [
|
|
375
|
+
"awake",
|
|
376
|
+
"winding_down",
|
|
377
|
+
"sleeping",
|
|
378
|
+
"waking",
|
|
379
|
+
"napping",
|
|
380
|
+
"unclear"
|
|
381
|
+
];
|
|
382
|
+
const LIFEOPS_UNCLEAR_REASONS = [
|
|
383
|
+
"no_signals",
|
|
384
|
+
"contradictory_signals",
|
|
385
|
+
"insufficient_history",
|
|
386
|
+
"permission_blocked",
|
|
387
|
+
"signal_outage",
|
|
388
|
+
"boot_cold_start",
|
|
389
|
+
"stale_state"
|
|
390
|
+
];
|
|
391
|
+
const LIFEOPS_GMAIL_RECOMMENDATION_KINDS = [
|
|
392
|
+
"reply",
|
|
393
|
+
"archive",
|
|
394
|
+
"mark_read",
|
|
395
|
+
"review_spam"
|
|
396
|
+
];
|
|
397
|
+
const LIFEOPS_GMAIL_BULK_OPERATIONS = [
|
|
398
|
+
"archive",
|
|
399
|
+
"trash",
|
|
400
|
+
"delete",
|
|
401
|
+
"report_spam",
|
|
402
|
+
"mark_read",
|
|
403
|
+
"mark_unread",
|
|
404
|
+
"apply_label",
|
|
405
|
+
"remove_label"
|
|
406
|
+
];
|
|
407
|
+
const LIFEOPS_GMAIL_MANAGE_EXECUTION_MODES = [
|
|
408
|
+
"proposal",
|
|
409
|
+
"dry_run",
|
|
410
|
+
"execute"
|
|
411
|
+
];
|
|
412
|
+
const LIFEOPS_GMAIL_MANAGE_STATUSES = [
|
|
413
|
+
"proposed",
|
|
414
|
+
"dry_run",
|
|
415
|
+
"approved",
|
|
416
|
+
"executed",
|
|
417
|
+
"partial",
|
|
418
|
+
"failed",
|
|
419
|
+
"cancelled"
|
|
420
|
+
];
|
|
421
|
+
const LIFEOPS_GMAIL_MANAGE_UNDO_STATUSES = [
|
|
422
|
+
"not_available",
|
|
423
|
+
"available",
|
|
424
|
+
"completed",
|
|
425
|
+
"expired",
|
|
426
|
+
"failed"
|
|
427
|
+
];
|
|
428
|
+
const LIFEOPS_GMAIL_SPAM_REVIEW_STATUSES = [
|
|
429
|
+
"pending",
|
|
430
|
+
"confirmed_spam",
|
|
431
|
+
"not_spam",
|
|
432
|
+
"dismissed"
|
|
433
|
+
];
|
|
434
|
+
const LIFEOPS_GMAIL_DRAFT_TONES = ["brief", "neutral", "warm"];
|
|
435
|
+
const LIFEOPS_CALENDAR_WINDOW_PRESETS = [
|
|
436
|
+
"tomorrow_morning",
|
|
437
|
+
"tomorrow_afternoon",
|
|
438
|
+
"tomorrow_evening"
|
|
439
|
+
];
|
|
440
|
+
const LIFEOPS_INBOX_CHANNELS = [
|
|
441
|
+
"gmail",
|
|
442
|
+
"x_dm",
|
|
443
|
+
"discord",
|
|
444
|
+
"telegram",
|
|
445
|
+
"signal",
|
|
446
|
+
"imessage",
|
|
447
|
+
"whatsapp",
|
|
448
|
+
"sms"
|
|
449
|
+
];
|
|
450
|
+
const LIFEOPS_INBOX_CACHE_MODES = [
|
|
451
|
+
"read-through",
|
|
452
|
+
"refresh",
|
|
453
|
+
"cache-only"
|
|
454
|
+
];
|
|
455
|
+
const LIFEOPS_GOOGLE_CONNECTOR_REASONS = [
|
|
456
|
+
"connected",
|
|
457
|
+
"disconnected",
|
|
458
|
+
"config_missing",
|
|
459
|
+
"token_missing",
|
|
460
|
+
"needs_reauth"
|
|
461
|
+
];
|
|
462
|
+
const LIFEOPS_MESSAGING_CONNECTOR_REASONS = [
|
|
463
|
+
"connected",
|
|
464
|
+
"disconnected",
|
|
465
|
+
"pairing",
|
|
466
|
+
"auth_pending",
|
|
467
|
+
"auth_expired",
|
|
468
|
+
"session_revoked"
|
|
469
|
+
];
|
|
470
|
+
const LIFEOPS_OWNER_BROWSER_ACCESS_SOURCES = [
|
|
471
|
+
"lifeops_browser",
|
|
472
|
+
"desktop_browser",
|
|
473
|
+
"discord_desktop"
|
|
474
|
+
];
|
|
475
|
+
const LIFEOPS_OWNER_BROWSER_TAB_STATES = [
|
|
476
|
+
"missing",
|
|
477
|
+
"background_discord",
|
|
478
|
+
"discord_open",
|
|
479
|
+
"dm_inbox_visible"
|
|
480
|
+
];
|
|
481
|
+
const LIFEOPS_OWNER_BROWSER_AUTH_STATES = [
|
|
482
|
+
"unknown",
|
|
483
|
+
"logged_out",
|
|
484
|
+
"logged_in"
|
|
485
|
+
];
|
|
486
|
+
const LIFEOPS_OWNER_BROWSER_NEXT_ACTIONS = [
|
|
487
|
+
"none",
|
|
488
|
+
"connect_browser",
|
|
489
|
+
"open_extension_popup",
|
|
490
|
+
"enable_browser_access",
|
|
491
|
+
"enable_browser_control",
|
|
492
|
+
"open_discord",
|
|
493
|
+
"open_dm_inbox",
|
|
494
|
+
"focus_discord_manually",
|
|
495
|
+
"focus_dm_inbox_manually",
|
|
496
|
+
"log_in",
|
|
497
|
+
"open_desktop_browser",
|
|
498
|
+
"relaunch_discord"
|
|
499
|
+
];
|
|
500
|
+
const LIFEOPS_TELEGRAM_AUTH_STATES = [
|
|
501
|
+
"idle",
|
|
502
|
+
"waiting_for_provisioning_code",
|
|
503
|
+
"waiting_for_code",
|
|
504
|
+
"waiting_for_password",
|
|
505
|
+
"connected",
|
|
506
|
+
"error"
|
|
507
|
+
];
|
|
508
|
+
const LIFEOPS_GOAL_SUGGESTION_KINDS = [
|
|
509
|
+
"create_support",
|
|
510
|
+
"focus_now",
|
|
511
|
+
"resolve_overdue",
|
|
512
|
+
"review_progress",
|
|
513
|
+
"tighten_cadence"
|
|
514
|
+
];
|
|
515
|
+
const LIFEOPS_MANUAL_OVERRIDE_KINDS = [
|
|
516
|
+
"going_to_bed",
|
|
517
|
+
"just_woke_up"
|
|
518
|
+
];
|
|
519
|
+
const LIFEOPS_BROWSER_SESSION_STATUSES = [
|
|
520
|
+
"awaiting_confirmation",
|
|
521
|
+
"queued",
|
|
522
|
+
"running",
|
|
523
|
+
"done",
|
|
524
|
+
"cancelled",
|
|
525
|
+
"failed"
|
|
526
|
+
];
|
|
527
|
+
const LIFEOPS_MESSAGE_CHANNELS = [
|
|
528
|
+
"email",
|
|
529
|
+
"telegram",
|
|
530
|
+
"discord",
|
|
531
|
+
"signal",
|
|
532
|
+
"sms",
|
|
533
|
+
"twilio_voice",
|
|
534
|
+
"imessage",
|
|
535
|
+
"whatsapp",
|
|
536
|
+
"x_dm"
|
|
537
|
+
];
|
|
538
|
+
const LIFEOPS_FOLLOW_UP_STATUSES = [
|
|
539
|
+
"pending",
|
|
540
|
+
"completed",
|
|
541
|
+
"snoozed",
|
|
542
|
+
"cancelled"
|
|
543
|
+
];
|
|
544
|
+
const LIFEOPS_X_FEED_TYPES = [
|
|
545
|
+
"home_timeline",
|
|
546
|
+
"mentions",
|
|
547
|
+
"search"
|
|
548
|
+
];
|
|
549
|
+
const LIFEOPS_SCREEN_TIME_RANGES = [
|
|
550
|
+
"today",
|
|
551
|
+
"this-week",
|
|
552
|
+
"7d",
|
|
553
|
+
"30d"
|
|
554
|
+
];
|
|
555
|
+
export {
|
|
556
|
+
LIFEOPS_ACTIVITY_SIGNAL_SOURCES,
|
|
557
|
+
LIFEOPS_ACTIVITY_SIGNAL_STATES,
|
|
558
|
+
LIFEOPS_ACTORS,
|
|
559
|
+
LIFEOPS_AUDIT_EVENT_TYPES,
|
|
560
|
+
LIFEOPS_BROWSER_ACTION_KINDS,
|
|
561
|
+
LIFEOPS_BROWSER_KINDS,
|
|
562
|
+
LIFEOPS_BROWSER_SESSION_STATUSES,
|
|
563
|
+
LIFEOPS_CALENDAR_WINDOW_PRESETS,
|
|
564
|
+
LIFEOPS_CHANNEL_TYPES,
|
|
565
|
+
LIFEOPS_CIRCADIAN_STATES,
|
|
566
|
+
LIFEOPS_CONNECTOR_DEGRADATION_AXES,
|
|
567
|
+
LIFEOPS_CONNECTOR_EXECUTION_TARGETS,
|
|
568
|
+
LIFEOPS_CONNECTOR_MODES,
|
|
569
|
+
LIFEOPS_CONNECTOR_PROVIDERS,
|
|
570
|
+
LIFEOPS_CONNECTOR_SIDES,
|
|
571
|
+
LIFEOPS_CONNECTOR_SOURCES_OF_TRUTH,
|
|
572
|
+
LIFEOPS_CONTEXT_POLICIES,
|
|
573
|
+
LIFEOPS_DEFINITION_KINDS,
|
|
574
|
+
LIFEOPS_DEFINITION_STATUSES,
|
|
575
|
+
LIFEOPS_DISCORD_CAPABILITIES,
|
|
576
|
+
LIFEOPS_DOMAINS,
|
|
577
|
+
LIFEOPS_EVENT_KINDS,
|
|
578
|
+
LIFEOPS_FOLLOW_UP_STATUSES,
|
|
579
|
+
LIFEOPS_GMAIL_BULK_OPERATIONS,
|
|
580
|
+
LIFEOPS_GMAIL_DRAFT_TONES,
|
|
581
|
+
LIFEOPS_GMAIL_MANAGE_EXECUTION_MODES,
|
|
582
|
+
LIFEOPS_GMAIL_MANAGE_STATUSES,
|
|
583
|
+
LIFEOPS_GMAIL_MANAGE_UNDO_STATUSES,
|
|
584
|
+
LIFEOPS_GMAIL_RECOMMENDATION_KINDS,
|
|
585
|
+
LIFEOPS_GMAIL_SPAM_REVIEW_STATUSES,
|
|
586
|
+
LIFEOPS_GOAL_STATUSES,
|
|
587
|
+
LIFEOPS_GOAL_SUGGESTION_KINDS,
|
|
588
|
+
LIFEOPS_GOOGLE_CAPABILITIES,
|
|
589
|
+
LIFEOPS_GOOGLE_CONNECTOR_REASONS,
|
|
590
|
+
LIFEOPS_HEALTH_CONNECTOR_CAPABILITIES,
|
|
591
|
+
LIFEOPS_HEALTH_CONNECTOR_PROVIDERS,
|
|
592
|
+
LIFEOPS_HEALTH_CONNECTOR_REASONS,
|
|
593
|
+
LIFEOPS_HEALTH_METRICS,
|
|
594
|
+
LIFEOPS_HEALTH_SIGNAL_SOURCES,
|
|
595
|
+
LIFEOPS_HEALTH_SLEEP_STAGES,
|
|
596
|
+
LIFEOPS_INBOX_CACHE_MODES,
|
|
597
|
+
LIFEOPS_INBOX_CHANNELS,
|
|
598
|
+
LIFEOPS_MANUAL_OVERRIDE_KINDS,
|
|
599
|
+
LIFEOPS_MESSAGE_CHANNELS,
|
|
600
|
+
LIFEOPS_MESSAGING_CONNECTOR_REASONS,
|
|
601
|
+
LIFEOPS_NEGOTIATION_STATES,
|
|
602
|
+
LIFEOPS_OCCURRENCE_STATES,
|
|
603
|
+
LIFEOPS_OWNER_BROWSER_ACCESS_SOURCES,
|
|
604
|
+
LIFEOPS_OWNER_BROWSER_AUTH_STATES,
|
|
605
|
+
LIFEOPS_OWNER_BROWSER_NEXT_ACTIONS,
|
|
606
|
+
LIFEOPS_OWNER_BROWSER_TAB_STATES,
|
|
607
|
+
LIFEOPS_OWNER_TYPES,
|
|
608
|
+
LIFEOPS_PRIVACY_CLASSES,
|
|
609
|
+
LIFEOPS_PROPOSAL_PROPOSERS,
|
|
610
|
+
LIFEOPS_PROPOSAL_STATUSES,
|
|
611
|
+
LIFEOPS_REMINDER_ATTEMPT_OUTCOMES,
|
|
612
|
+
LIFEOPS_REMINDER_CHANNELS,
|
|
613
|
+
LIFEOPS_REMINDER_INTENSITIES,
|
|
614
|
+
LIFEOPS_REMINDER_INTENSITY_COMPATIBILITY_VALUES,
|
|
615
|
+
LIFEOPS_REMINDER_PREFERENCE_SOURCES,
|
|
616
|
+
LIFEOPS_REMINDER_URGENCY_LEVELS,
|
|
617
|
+
LIFEOPS_REVIEW_STATES,
|
|
618
|
+
LIFEOPS_SCREEN_TIME_RANGES,
|
|
619
|
+
LIFEOPS_SIGNAL_CAPABILITIES,
|
|
620
|
+
LIFEOPS_SUBJECT_TYPES,
|
|
621
|
+
LIFEOPS_TELEGRAM_AUTH_STATES,
|
|
622
|
+
LIFEOPS_TELEGRAM_CAPABILITIES,
|
|
623
|
+
LIFEOPS_TELEMETRY_FAMILIES,
|
|
624
|
+
LIFEOPS_TIME_WINDOW_NAMES,
|
|
625
|
+
LIFEOPS_UNCLEAR_REASONS,
|
|
626
|
+
LIFEOPS_VISIBILITY_SCOPES,
|
|
627
|
+
LIFEOPS_WEBSITE_ACCESS_UNLOCK_MODES,
|
|
628
|
+
LIFEOPS_WORKFLOW_RUN_STATUSES,
|
|
629
|
+
LIFEOPS_WORKFLOW_STATUSES,
|
|
630
|
+
LIFEOPS_WORKFLOW_TRIGGER_TYPES,
|
|
631
|
+
LIFEOPS_X_CAPABILITIES,
|
|
632
|
+
LIFEOPS_X_FEED_TYPES,
|
|
633
|
+
capabilitiesForSide
|
|
634
|
+
};
|
|
635
|
+
//# sourceMappingURL=lifeops.js.map
|