@elizaos/shared 2.0.0-alpha.173 → 2.0.0-alpha.191

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.
Files changed (72) hide show
  1. package/config/types.agent-defaults.d.ts +71 -0
  2. package/config/types.agent-defaults.d.ts.map +1 -1
  3. package/config/types.agents.d.ts +2 -0
  4. package/config/types.agents.d.ts.map +1 -1
  5. package/config/types.eliza.d.ts +60 -4
  6. package/config/types.eliza.d.ts.map +1 -1
  7. package/connectors.d.ts.map +1 -1
  8. package/connectors.js +8 -3
  9. package/connectors.js.map +1 -1
  10. package/contracts/apps.d.ts +53 -0
  11. package/contracts/apps.d.ts.map +1 -1
  12. package/contracts/apps.js.map +1 -1
  13. package/contracts/cloud-topology.d.ts.map +1 -1
  14. package/contracts/cloud-topology.js +2 -4
  15. package/contracts/cloud-topology.js.map +1 -1
  16. package/contracts/config.d.ts.map +1 -1
  17. package/contracts/inbox.d.ts +26 -0
  18. package/contracts/inbox.d.ts.map +1 -0
  19. package/contracts/inbox.js +2 -0
  20. package/contracts/inbox.js.map +1 -0
  21. package/contracts/index.d.ts +1 -1
  22. package/contracts/index.d.ts.map +1 -1
  23. package/contracts/index.js +1 -1
  24. package/contracts/index.js.map +1 -1
  25. package/contracts/lifeops-extensions.d.ts +181 -0
  26. package/contracts/lifeops-extensions.d.ts.map +1 -0
  27. package/contracts/lifeops-extensions.js +31 -0
  28. package/contracts/lifeops-extensions.js.map +1 -0
  29. package/contracts/lifeops.d.ts +259 -0
  30. package/contracts/lifeops.d.ts.map +1 -1
  31. package/contracts/lifeops.js +62 -0
  32. package/contracts/lifeops.js.map +1 -1
  33. package/contracts/onboarding.d.ts +5 -0
  34. package/contracts/onboarding.d.ts.map +1 -1
  35. package/contracts/onboarding.js +7 -6
  36. package/contracts/onboarding.js.map +1 -1
  37. package/contracts/service-routing.d.ts.map +1 -1
  38. package/contracts/service-routing.js +1 -3
  39. package/contracts/service-routing.js.map +1 -1
  40. package/contracts/wallet.d.ts +30 -103
  41. package/contracts/wallet.d.ts.map +1 -1
  42. package/dev-settings-table.d.ts.map +1 -1
  43. package/dev-settings-table.js +4 -4
  44. package/dev-settings-table.js.map +1 -1
  45. package/eliza-core-roles.d.ts.map +1 -1
  46. package/eliza-core-roles.js.map +1 -1
  47. package/env-utils.impl.d.ts.map +1 -1
  48. package/env-utils.impl.js +1 -8
  49. package/env-utils.impl.js.map +1 -1
  50. package/i18n/keyword-matching.d.ts.map +1 -1
  51. package/i18n/keyword-matching.js.map +1 -1
  52. package/i18n/validation-keywords.d.ts +1 -1
  53. package/i18n/validation-keywords.d.ts.map +1 -1
  54. package/i18n/validation-keywords.js +1 -1
  55. package/i18n/validation-keywords.js.map +1 -1
  56. package/index.d.ts +3 -3
  57. package/index.d.ts.map +1 -1
  58. package/index.js +3 -3
  59. package/index.js.map +1 -1
  60. package/onboarding-presets.characters.d.ts.map +1 -1
  61. package/onboarding-presets.characters.js +15 -5
  62. package/onboarding-presets.characters.js.map +1 -1
  63. package/onboarding-presets.d.ts.map +1 -1
  64. package/onboarding-presets.js +5 -1
  65. package/onboarding-presets.js.map +1 -1
  66. package/package.json +2 -2
  67. package/runtime-env.d.ts.map +1 -1
  68. package/runtime-env.js +2 -7
  69. package/runtime-env.js.map +1 -1
  70. package/settings-debug.d.ts.map +1 -1
  71. package/settings-debug.js +1 -3
  72. package/settings-debug.js.map +1 -1
@@ -0,0 +1,26 @@
1
+ export interface InboxAutoReplyConfig {
2
+ enabled?: boolean;
3
+ confidenceThreshold?: number;
4
+ senderWhitelist?: string[];
5
+ channelWhitelist?: string[];
6
+ maxAutoRepliesPerHour?: number;
7
+ }
8
+ export interface InboxTriageRules {
9
+ alwaysUrgent?: string[];
10
+ alwaysIgnore?: string[];
11
+ alwaysNotify?: string[];
12
+ }
13
+ export interface InboxTriageConfig {
14
+ enabled?: boolean;
15
+ triageCron?: string;
16
+ digestCron?: string;
17
+ digestTimezone?: string;
18
+ channels?: string[];
19
+ prioritySenders?: string[];
20
+ priorityChannels?: string[];
21
+ autoReply?: InboxAutoReplyConfig;
22
+ triageRules?: InboxTriageRules;
23
+ digestDeliveryChannel?: string;
24
+ retentionDays?: number;
25
+ }
26
+ //# sourceMappingURL=inbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../src/contracts/inbox.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=inbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbox.js","sourceRoot":"","sources":["../../src/contracts/inbox.ts"],"names":[],"mappings":""}
@@ -4,10 +4,10 @@ export * from "./cloud-topology.js";
4
4
  export * from "./config.js";
5
5
  export * from "./content-pack.js";
6
6
  export * from "./drop.js";
7
+ export * from "./lifeops.js";
7
8
  export * from "./onboarding.js";
8
9
  export * from "./permissions.js";
9
10
  export * from "./service-routing.js";
10
11
  export * from "./verification.js";
11
12
  export * from "./wallet.js";
12
- export * from "./lifeops.js";
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
@@ -4,10 +4,10 @@ export * from "./cloud-topology.js";
4
4
  export * from "./config.js";
5
5
  export * from "./content-pack.js";
6
6
  export * from "./drop.js";
7
+ export * from "./lifeops.js";
7
8
  export * from "./onboarding.js";
8
9
  export * from "./permissions.js";
9
10
  export * from "./service-routing.js";
10
11
  export * from "./verification.js";
11
12
  export * from "./wallet.js";
12
- export * from "./lifeops.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,181 @@
1
+ export declare const LIFEOPS_MESSAGE_CHANNELS: readonly ["email", "telegram", "discord", "signal", "sms", "twilio_voice", "imessage", "whatsapp", "x_dm"];
2
+ export type LifeOpsMessageChannel = (typeof LIFEOPS_MESSAGE_CHANNELS)[number];
3
+ export declare const LIFEOPS_FOLLOW_UP_STATUSES: readonly ["pending", "completed", "snoozed", "cancelled"];
4
+ export type LifeOpsFollowUpStatus = (typeof LIFEOPS_FOLLOW_UP_STATUSES)[number];
5
+ export declare const LIFEOPS_X_FEED_TYPES: readonly ["home_timeline", "mentions", "search"];
6
+ export type LifeOpsXFeedType = (typeof LIFEOPS_X_FEED_TYPES)[number];
7
+ export interface LifeOpsRelationship {
8
+ id: string;
9
+ agentId: string;
10
+ name: string;
11
+ primaryChannel: string;
12
+ primaryHandle: string;
13
+ email: string | null;
14
+ phone: string | null;
15
+ notes: string;
16
+ tags: string[];
17
+ relationshipType: string;
18
+ lastContactedAt: string | null;
19
+ metadata: Record<string, unknown>;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ }
23
+ export interface LifeOpsRelationshipInteraction {
24
+ id: string;
25
+ agentId: string;
26
+ relationshipId: string;
27
+ channel: string;
28
+ direction: "inbound" | "outbound";
29
+ summary: string;
30
+ occurredAt: string;
31
+ metadata: Record<string, unknown>;
32
+ createdAt: string;
33
+ }
34
+ export interface LifeOpsFollowUp {
35
+ id: string;
36
+ agentId: string;
37
+ relationshipId: string;
38
+ dueAt: string;
39
+ reason: string;
40
+ status: LifeOpsFollowUpStatus;
41
+ priority: number;
42
+ draft: LifeOpsCrossChannelDraft | null;
43
+ completedAt: string | null;
44
+ metadata: Record<string, unknown>;
45
+ createdAt: string;
46
+ updatedAt: string;
47
+ }
48
+ export interface LifeOpsCrossChannelDraft {
49
+ channel: LifeOpsMessageChannel;
50
+ target: string;
51
+ subject: string | null;
52
+ body: string;
53
+ metadata: Record<string, unknown>;
54
+ }
55
+ export interface LifeOpsCrossChannelSendRequest {
56
+ draft: LifeOpsCrossChannelDraft;
57
+ confirmed: boolean;
58
+ }
59
+ export interface LifeOpsXDm {
60
+ id: string;
61
+ agentId: string;
62
+ externalDmId: string;
63
+ conversationId: string;
64
+ senderHandle: string;
65
+ senderId: string;
66
+ isInbound: boolean;
67
+ text: string;
68
+ receivedAt: string;
69
+ readAt: string | null;
70
+ repliedAt: string | null;
71
+ metadata: Record<string, unknown>;
72
+ syncedAt: string;
73
+ updatedAt: string;
74
+ }
75
+ export interface LifeOpsXFeedItem {
76
+ id: string;
77
+ agentId: string;
78
+ externalTweetId: string;
79
+ authorHandle: string;
80
+ authorId: string;
81
+ text: string;
82
+ createdAtSource: string;
83
+ feedType: LifeOpsXFeedType;
84
+ metadata: Record<string, unknown>;
85
+ syncedAt: string;
86
+ updatedAt: string;
87
+ }
88
+ export interface LifeOpsXSyncState {
89
+ id: string;
90
+ agentId: string;
91
+ feedType: LifeOpsXFeedType;
92
+ lastCursor: string | null;
93
+ syncedAt: string;
94
+ updatedAt: string;
95
+ }
96
+ export interface LifeOpsScreenTimeSession {
97
+ id: string;
98
+ agentId: string;
99
+ source: "app" | "website";
100
+ identifier: string;
101
+ displayName: string;
102
+ startAt: string;
103
+ endAt: string | null;
104
+ durationSeconds: number;
105
+ isActive: boolean;
106
+ metadata: Record<string, unknown>;
107
+ createdAt: string;
108
+ updatedAt: string;
109
+ }
110
+ export interface LifeOpsScreenTimeDaily {
111
+ id: string;
112
+ agentId: string;
113
+ source: "app" | "website";
114
+ identifier: string;
115
+ date: string;
116
+ totalSeconds: number;
117
+ sessionCount: number;
118
+ metadata: Record<string, unknown>;
119
+ createdAt: string;
120
+ updatedAt: string;
121
+ }
122
+ export interface LifeOpsDossier {
123
+ id: string;
124
+ agentId: string;
125
+ calendarEventId: string | null;
126
+ subject: string;
127
+ generatedForAt: string;
128
+ contentMd: string;
129
+ sources: Array<{
130
+ kind: string;
131
+ ref: string;
132
+ snippet?: string;
133
+ }>;
134
+ metadata: Record<string, unknown>;
135
+ createdAt: string;
136
+ updatedAt: string;
137
+ }
138
+ export interface LifeOpsIMessageConnectorStatus {
139
+ available: boolean;
140
+ connected: boolean;
141
+ bridgeType: "imsg" | "bluebubbles" | "none";
142
+ accountHandle: string | null;
143
+ sendMode: "cli" | "private-api" | "apple-script" | "none";
144
+ helperConnected: boolean | null;
145
+ privateApiEnabled: boolean | null;
146
+ diagnostics: string[];
147
+ lastSyncAt: string | null;
148
+ lastCheckedAt: string | null;
149
+ error: string | null;
150
+ }
151
+ export interface LifeOpsIMessageChat {
152
+ id: string;
153
+ name: string;
154
+ participants: string[];
155
+ lastMessageAt?: string;
156
+ }
157
+ export interface LifeOpsIMessageMessage {
158
+ id: string;
159
+ fromHandle: string;
160
+ toHandles: string[];
161
+ text: string;
162
+ isFromMe: boolean;
163
+ sentAt: string;
164
+ chatId?: string;
165
+ attachments?: Array<{
166
+ name: string;
167
+ mimeType?: string;
168
+ path?: string;
169
+ }>;
170
+ }
171
+ export interface GetLifeOpsIMessageMessagesRequest {
172
+ chatId?: string;
173
+ since?: string;
174
+ limit?: number;
175
+ }
176
+ export interface SendLifeOpsIMessageRequest {
177
+ to: string;
178
+ text: string;
179
+ attachmentPaths?: string[];
180
+ }
181
+ //# sourceMappingURL=lifeops-extensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifeops-extensions.d.ts","sourceRoot":"","sources":["../../src/contracts/lifeops-extensions.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,wBAAwB,4GAU3B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAI9E,eAAO,MAAM,0BAA0B,2DAK7B,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAIhF,eAAO,MAAM,oBAAoB,kDAIvB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAQrE,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,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CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,0BAA0B;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B"}
@@ -0,0 +1,31 @@
1
+ // Extensions added by Wave 1+ for new LifeOps features (relationships, X read,
2
+ // cross-channel send, screen time, scheduling, dossier, iMessage, WhatsApp).
3
+ // These were supposed to be appended to `./lifeops.ts` by Wave 0 but the agent
4
+ // reported done without actually writing them.
5
+ // Re-exported from `./lifeops.ts` so downstream imports work unchanged.
6
+ // ── Message channels ─────────────────────────────────────────────────────────
7
+ export const LIFEOPS_MESSAGE_CHANNELS = [
8
+ "email",
9
+ "telegram",
10
+ "discord",
11
+ "signal",
12
+ "sms",
13
+ "twilio_voice",
14
+ "imessage",
15
+ "whatsapp",
16
+ "x_dm",
17
+ ];
18
+ // ── Follow-up statuses ───────────────────────────────────────────────────────
19
+ export const LIFEOPS_FOLLOW_UP_STATUSES = [
20
+ "pending",
21
+ "completed",
22
+ "snoozed",
23
+ "cancelled",
24
+ ];
25
+ // ── X feed types ─────────────────────────────────────────────────────────────
26
+ export const LIFEOPS_X_FEED_TYPES = [
27
+ "home_timeline",
28
+ "mentions",
29
+ "search",
30
+ ];
31
+ //# sourceMappingURL=lifeops-extensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifeops-extensions.js","sourceRoot":"","sources":["../../src/contracts/lifeops-extensions.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,6EAA6E;AAC7E,+EAA+E;AAC/E,+CAA+C;AAC/C,wEAAwE;AAExE,gFAAgF;AAEhF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,OAAO;IACP,UAAU;IACV,SAAS;IACT,QAAQ;IACR,KAAK;IACL,cAAc;IACd,UAAU;IACV,UAAU;IACV,MAAM;CACE,CAAC;AAIX,gFAAgF;AAEhF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,SAAS;IACT,WAAW;IACX,SAAS;IACT,WAAW;CACH,CAAC;AAIX,gFAAgF;AAEhF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,eAAe;IACf,UAAU;IACV,QAAQ;CACA,CAAC"}
@@ -16,6 +16,39 @@ export declare const LIFEOPS_WORKFLOW_RUN_STATUSES: readonly ["queued", "running
16
16
  export type LifeOpsWorkflowRunStatus = (typeof LIFEOPS_WORKFLOW_RUN_STATUSES)[number];
17
17
  export declare const LIFEOPS_WORKFLOW_TRIGGER_TYPES: readonly ["manual", "schedule"];
18
18
  export type LifeOpsWorkflowTriggerType = (typeof LIFEOPS_WORKFLOW_TRIGGER_TYPES)[number];
19
+ export declare const LIFEOPS_NEGOTIATION_STATES: readonly ["initiated", "proposals_sent", "awaiting_response", "confirmed", "cancelled"];
20
+ export type LifeOpsNegotiationState = (typeof LIFEOPS_NEGOTIATION_STATES)[number];
21
+ export declare const LIFEOPS_PROPOSAL_STATUSES: readonly ["pending", "accepted", "declined", "expired"];
22
+ export type LifeOpsProposalStatus = (typeof LIFEOPS_PROPOSAL_STATUSES)[number];
23
+ export declare const LIFEOPS_PROPOSAL_PROPOSERS: readonly ["agent", "owner", "counterparty"];
24
+ export type LifeOpsProposalProposer = (typeof LIFEOPS_PROPOSAL_PROPOSERS)[number];
25
+ export interface LifeOpsSchedulingNegotiation {
26
+ id: string;
27
+ agentId: string;
28
+ subject: string;
29
+ relationshipId: string | null;
30
+ durationMinutes: number;
31
+ timezone: string;
32
+ state: LifeOpsNegotiationState;
33
+ acceptedProposalId: string | null;
34
+ startedAt: string;
35
+ finalizedAt: string | null;
36
+ metadata: Record<string, unknown>;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ }
40
+ export interface LifeOpsSchedulingProposal {
41
+ id: string;
42
+ agentId: string;
43
+ negotiationId: string;
44
+ startAt: string;
45
+ endAt: string;
46
+ proposedBy: LifeOpsProposalProposer;
47
+ status: LifeOpsProposalStatus;
48
+ metadata: Record<string, unknown>;
49
+ createdAt: string;
50
+ updatedAt: string;
51
+ }
19
52
  export declare const LIFEOPS_CONNECTOR_PROVIDERS: readonly ["google", "x", "telegram", "discord", "twilio", "signal", "whatsapp", "imessage"];
20
53
  export type LifeOpsConnectorProvider = (typeof LIFEOPS_CONNECTOR_PROVIDERS)[number];
21
54
  export declare const LIFEOPS_CONNECTOR_MODES: readonly ["local", "remote", "cloud_managed"];
@@ -30,6 +63,13 @@ export declare const LIFEOPS_GOOGLE_CAPABILITIES: readonly ["google.basic_identi
30
63
  export type LifeOpsGoogleCapability = (typeof LIFEOPS_GOOGLE_CAPABILITIES)[number];
31
64
  export declare const LIFEOPS_X_CAPABILITIES: readonly ["x.read", "x.write"];
32
65
  export type LifeOpsXCapability = (typeof LIFEOPS_X_CAPABILITIES)[number];
66
+ export declare const LIFEOPS_SIGNAL_CAPABILITIES: readonly ["signal.read", "signal.send"];
67
+ export type LifeOpsSignalCapability = (typeof LIFEOPS_SIGNAL_CAPABILITIES)[number];
68
+ export declare const LIFEOPS_DISCORD_CAPABILITIES: readonly ["discord.read", "discord.send"];
69
+ export type LifeOpsDiscordCapability = (typeof LIFEOPS_DISCORD_CAPABILITIES)[number];
70
+ export declare const LIFEOPS_TELEGRAM_CAPABILITIES: readonly ["telegram.read", "telegram.send"];
71
+ export type LifeOpsTelegramCapability = (typeof LIFEOPS_TELEGRAM_CAPABILITIES)[number];
72
+ export declare function capabilitiesForSide<T extends string>(allCapabilities: readonly T[], side: LifeOpsConnectorSide): T[];
33
73
  export declare const LIFEOPS_REMINDER_CHANNELS: readonly ["in_app", "sms", "voice", "telegram", "discord", "signal", "whatsapp", "imessage"];
34
74
  export type LifeOpsReminderChannel = (typeof LIFEOPS_REMINDER_CHANNELS)[number];
35
75
  export declare const LIFEOPS_CHANNEL_TYPES: readonly ["in_app", "sms", "voice", "telegram", "discord", "signal", "whatsapp", "imessage", "x", "browser"];
@@ -483,6 +523,27 @@ export interface LifeOpsBrowserCompanionPairingResponse {
483
523
  companion: LifeOpsBrowserCompanionStatus;
484
524
  pairingToken: string;
485
525
  }
526
+ export interface LifeOpsBrowserCompanionConfig {
527
+ apiBaseUrl: string;
528
+ companionId: string;
529
+ pairingToken: string;
530
+ browser: LifeOpsBrowserKind;
531
+ profileId: string;
532
+ profileLabel: string;
533
+ label: string;
534
+ }
535
+ export interface CreateLifeOpsBrowserCompanionAutoPairRequest {
536
+ browser: LifeOpsBrowserKind;
537
+ profileId?: string | null;
538
+ profileLabel?: string | null;
539
+ label?: string | null;
540
+ extensionVersion?: string | null;
541
+ metadata?: Record<string, unknown>;
542
+ }
543
+ export interface LifeOpsBrowserCompanionAutoPairResponse {
544
+ companion: LifeOpsBrowserCompanionStatus;
545
+ config: LifeOpsBrowserCompanionConfig;
546
+ }
486
547
  export interface UpdateLifeOpsBrowserSessionProgressRequest {
487
548
  currentActionIndex?: number;
488
549
  result?: Record<string, unknown>;
@@ -754,6 +815,10 @@ export interface LifeOpsCalendarEvent {
754
815
  metadata: Record<string, unknown>;
755
816
  syncedAt: string;
756
817
  updatedAt: string;
818
+ /** Set when aggregating across multiple Google accounts. */
819
+ grantId?: string;
820
+ /** Set when aggregating across multiple Google accounts. */
821
+ accountEmail?: string;
757
822
  }
758
823
  export interface LifeOpsCalendarFeed {
759
824
  calendarId: string;
@@ -766,6 +831,8 @@ export interface LifeOpsCalendarFeed {
766
831
  export interface GetLifeOpsCalendarFeedRequest {
767
832
  side?: LifeOpsConnectorSide;
768
833
  mode?: LifeOpsConnectorMode;
834
+ /** Target a specific Google account by grant ID (multi-account). */
835
+ grantId?: string;
769
836
  calendarId?: string;
770
837
  timeMin?: string;
771
838
  timeMax?: string;
@@ -797,6 +864,10 @@ export interface LifeOpsGmailMessageSummary {
797
864
  metadata: Record<string, unknown>;
798
865
  syncedAt: string;
799
866
  updatedAt: string;
867
+ /** Set when aggregating across multiple Google accounts. */
868
+ grantId?: string;
869
+ /** Set when aggregating across multiple Google accounts. */
870
+ accountEmail?: string;
800
871
  }
801
872
  export interface LifeOpsGmailTriageSummary {
802
873
  unreadCount: number;
@@ -823,6 +894,8 @@ export interface LifeOpsGmailNeedsResponseFeed {
823
894
  export interface GetLifeOpsGmailTriageRequest {
824
895
  side?: LifeOpsConnectorSide;
825
896
  mode?: LifeOpsConnectorMode;
897
+ /** Target a specific Google account by grant ID (multi-account). */
898
+ grantId?: string;
826
899
  forceSync?: boolean;
827
900
  maxResults?: number;
828
901
  }
@@ -833,6 +906,7 @@ export interface GetLifeOpsGmailSearchRequest {
833
906
  maxResults?: number;
834
907
  query: string;
835
908
  replyNeededOnly?: boolean;
909
+ grantId?: string;
836
910
  }
837
911
  export interface LifeOpsGmailSearchSummary {
838
912
  totalCount: number;
@@ -853,6 +927,7 @@ export interface CreateLifeOpsGmailReplyDraftRequest {
853
927
  side?: LifeOpsConnectorSide;
854
928
  mode?: LifeOpsConnectorMode;
855
929
  messageId: string;
930
+ grantId?: string;
856
931
  tone?: LifeOpsGmailDraftTone;
857
932
  intent?: string;
858
933
  includeQuotedOriginal?: boolean;
@@ -874,6 +949,7 @@ export interface LifeOpsGmailReplyDraft {
874
949
  export interface CreateLifeOpsGmailBatchReplyDraftsRequest {
875
950
  side?: LifeOpsConnectorSide;
876
951
  mode?: LifeOpsConnectorMode;
952
+ grantId?: string;
877
953
  forceSync?: boolean;
878
954
  maxResults?: number;
879
955
  query?: string;
@@ -902,6 +978,7 @@ export interface LifeOpsGmailBatchReplyDraftsFeed {
902
978
  export interface SendLifeOpsGmailReplyRequest {
903
979
  side?: LifeOpsConnectorSide;
904
980
  mode?: LifeOpsConnectorMode;
981
+ grantId?: string;
905
982
  messageId: string;
906
983
  bodyText: string;
907
984
  subject?: string;
@@ -912,6 +989,7 @@ export interface SendLifeOpsGmailReplyRequest {
912
989
  export interface SendLifeOpsGmailMessageRequest {
913
990
  side?: LifeOpsConnectorSide;
914
991
  mode?: LifeOpsConnectorMode;
992
+ grantId?: string;
915
993
  to: string[];
916
994
  cc?: string[];
917
995
  bcc?: string[];
@@ -929,6 +1007,7 @@ export interface LifeOpsGmailBatchReplySendItem {
929
1007
  export interface SendLifeOpsGmailBatchReplyRequest {
930
1008
  side?: LifeOpsConnectorSide;
931
1009
  mode?: LifeOpsConnectorMode;
1010
+ grantId?: string;
932
1011
  confirmSend?: boolean;
933
1012
  items: LifeOpsGmailBatchReplySendItem[];
934
1013
  }
@@ -947,6 +1026,7 @@ export interface CreateLifeOpsCalendarEventRequest {
947
1026
  side?: LifeOpsConnectorSide;
948
1027
  mode?: LifeOpsConnectorMode;
949
1028
  calendarId?: string;
1029
+ grantId?: string;
950
1030
  title: string;
951
1031
  description?: string;
952
1032
  location?: string;
@@ -1000,11 +1080,174 @@ export interface LifeOpsXConnectorStatus {
1000
1080
  grantedScopes: string[];
1001
1081
  identity: Record<string, unknown> | null;
1002
1082
  hasCredentials: boolean;
1083
+ /**
1084
+ * DM inbound read is supported when `x.read` capability is granted.
1085
+ * Use `syncXDms()` to pull and persist, then `getXDms()` or
1086
+ * `readXInboundDms()` to retrieve.
1087
+ */
1088
+ dmInbound: boolean;
1089
+ grant: LifeOpsConnectorGrant | null;
1090
+ }
1091
+ export declare const LIFEOPS_MESSAGING_CONNECTOR_REASONS: readonly ["connected", "disconnected", "pairing", "auth_pending", "auth_expired", "session_revoked"];
1092
+ export type LifeOpsMessagingConnectorReason = (typeof LIFEOPS_MESSAGING_CONNECTOR_REASONS)[number];
1093
+ export interface LifeOpsSignalConnectorStatus {
1094
+ provider: "signal";
1095
+ side: LifeOpsConnectorSide;
1096
+ connected: boolean;
1097
+ inbound: boolean;
1098
+ reason: LifeOpsMessagingConnectorReason;
1099
+ identity: {
1100
+ phoneNumber?: string;
1101
+ uuid?: string;
1102
+ deviceName?: string;
1103
+ } | null;
1104
+ grantedCapabilities: LifeOpsSignalCapability[];
1105
+ pairing: LifeOpsSignalPairingStatus | null;
1003
1106
  grant: LifeOpsConnectorGrant | null;
1004
1107
  }
1108
+ export interface LifeOpsDiscordDmPreview {
1109
+ channelId: string | null;
1110
+ href: string | null;
1111
+ label: string;
1112
+ selected: boolean;
1113
+ unread: boolean;
1114
+ snippet: string | null;
1115
+ }
1116
+ export interface LifeOpsDiscordDmInboxStatus {
1117
+ visible: boolean;
1118
+ count: number;
1119
+ selectedChannelId: string | null;
1120
+ previews: LifeOpsDiscordDmPreview[];
1121
+ }
1122
+ export interface LifeOpsDiscordConnectorStatus {
1123
+ provider: "discord";
1124
+ side: LifeOpsConnectorSide;
1125
+ /** A LifeOps browser path is available via the browser companion or the desktop browser workspace. */
1126
+ available: boolean;
1127
+ /** A logged-in Discord session was detected from the active browser path. */
1128
+ connected: boolean;
1129
+ reason: LifeOpsMessagingConnectorReason;
1130
+ identity: {
1131
+ id?: string;
1132
+ username?: string;
1133
+ discriminator?: string;
1134
+ email?: string;
1135
+ } | null;
1136
+ /** Whether the owner's DM inbox is visible inside the Discord tab right now. */
1137
+ dmInbox: LifeOpsDiscordDmInboxStatus;
1138
+ grantedCapabilities: LifeOpsDiscordCapability[];
1139
+ lastError: string | null;
1140
+ /** Browser Workspace tab hosting Discord, when that desktop path is in use. */
1141
+ tabId: string | null;
1142
+ grant: LifeOpsConnectorGrant | null;
1143
+ }
1144
+ export declare const LIFEOPS_TELEGRAM_AUTH_STATES: readonly ["idle", "waiting_for_provisioning_code", "waiting_for_code", "waiting_for_password", "connected", "error"];
1145
+ export type LifeOpsTelegramAuthState = (typeof LIFEOPS_TELEGRAM_AUTH_STATES)[number];
1146
+ export interface LifeOpsWhatsAppConnectorStatus {
1147
+ provider: "whatsapp";
1148
+ connected: boolean;
1149
+ /**
1150
+ * Inbound is always true for WhatsApp. Messages arrive via webhook push and
1151
+ * are buffered for periodic drain via `syncWhatsAppInbound()`.
1152
+ */
1153
+ inbound: true;
1154
+ phoneNumberId?: string;
1155
+ lastCheckedAt: string;
1156
+ }
1157
+ export interface LifeOpsTelegramConnectorStatus {
1158
+ provider: "telegram";
1159
+ side: LifeOpsConnectorSide;
1160
+ connected: boolean;
1161
+ reason: LifeOpsMessagingConnectorReason;
1162
+ identity: {
1163
+ id?: string;
1164
+ username?: string;
1165
+ firstName?: string;
1166
+ phone?: string;
1167
+ } | null;
1168
+ grantedCapabilities: LifeOpsTelegramCapability[];
1169
+ authState: LifeOpsTelegramAuthState;
1170
+ authError: string | null;
1171
+ phone: string | null;
1172
+ managedCredentialsAvailable: boolean;
1173
+ storedCredentialsAvailable: boolean;
1174
+ grant: LifeOpsConnectorGrant | null;
1175
+ }
1176
+ export interface LifeOpsTelegramDialogSummary {
1177
+ id: string;
1178
+ title: string;
1179
+ username: string | null;
1180
+ lastMessageText: string | null;
1181
+ lastMessageAt: string | null;
1182
+ unreadCount: number;
1183
+ }
1184
+ export interface VerifyLifeOpsTelegramConnectorRequest {
1185
+ side?: LifeOpsConnectorSide;
1186
+ recentLimit?: number;
1187
+ sendTarget?: string;
1188
+ sendMessage?: string;
1189
+ }
1190
+ export interface VerifyLifeOpsTelegramConnectorResponse {
1191
+ provider: "telegram";
1192
+ side: LifeOpsConnectorSide;
1193
+ verifiedAt: string;
1194
+ read: {
1195
+ ok: boolean;
1196
+ error: string | null;
1197
+ dialogCount: number;
1198
+ dialogs: LifeOpsTelegramDialogSummary[];
1199
+ };
1200
+ send: {
1201
+ ok: boolean;
1202
+ error: string | null;
1203
+ target: string;
1204
+ message: string;
1205
+ messageId: string | null;
1206
+ };
1207
+ }
1208
+ export interface StartLifeOpsSignalPairingRequest {
1209
+ side?: LifeOpsConnectorSide;
1210
+ }
1211
+ export interface StartLifeOpsSignalPairingResponse {
1212
+ provider: "signal";
1213
+ side: LifeOpsConnectorSide;
1214
+ sessionId: string;
1215
+ }
1216
+ export interface LifeOpsSignalPairingStatus {
1217
+ sessionId: string;
1218
+ state: "idle" | "generating_qr" | "waiting_for_scan" | "linking" | "connected" | "failed";
1219
+ qrDataUrl: string | null;
1220
+ error: string | null;
1221
+ }
1222
+ export interface StartLifeOpsDiscordConnectorRequest {
1223
+ side?: LifeOpsConnectorSide;
1224
+ }
1225
+ export interface StartLifeOpsTelegramAuthRequest {
1226
+ side?: LifeOpsConnectorSide;
1227
+ phone: string;
1228
+ apiId?: number;
1229
+ apiHash?: string;
1230
+ }
1231
+ export interface StartLifeOpsTelegramAuthResponse {
1232
+ provider: "telegram";
1233
+ side: LifeOpsConnectorSide;
1234
+ state: "waiting_for_provisioning_code" | "waiting_for_code" | "waiting_for_password" | "connected" | "error";
1235
+ error?: string;
1236
+ }
1237
+ export interface SubmitLifeOpsTelegramAuthRequest {
1238
+ side?: LifeOpsConnectorSide;
1239
+ code?: string;
1240
+ password?: string;
1241
+ }
1242
+ export interface DisconnectLifeOpsMessagingConnectorRequest {
1243
+ side?: LifeOpsConnectorSide;
1244
+ provider: "signal" | "discord" | "telegram";
1245
+ }
1005
1246
  export interface StartLifeOpsGoogleConnectorRequest {
1006
1247
  side?: LifeOpsConnectorSide;
1007
1248
  mode?: LifeOpsConnectorMode;
1249
+ /** Re-authenticate an existing account by grant ID (multi-account). */
1250
+ grantId?: string;
1008
1251
  capabilities?: LifeOpsGoogleCapability[];
1009
1252
  redirectUrl?: string;
1010
1253
  }
@@ -1334,4 +1577,20 @@ export interface CompleteLifeOpsBrowserSessionRequest {
1334
1577
  status?: Extract<LifeOpsBrowserSessionStatus, "done" | "failed">;
1335
1578
  result?: Record<string, unknown>;
1336
1579
  }
1580
+ export type AppBlockerSettingsMode = "desktop" | "mobile" | "web";
1581
+ export interface AppBlockerSettingsCardProps {
1582
+ mode: AppBlockerSettingsMode;
1583
+ }
1584
+ export type WebsiteBlockerSettingsMode = "desktop" | "mobile" | "web";
1585
+ export interface WebsiteBlockerSettingsCardProps {
1586
+ mode: WebsiteBlockerSettingsMode;
1587
+ permission?: import("./permissions.js").PermissionState;
1588
+ platform?: string;
1589
+ onOpenPermissionSettings?: () => void | Promise<void>;
1590
+ onRequestPermission?: () => void | Promise<void>;
1591
+ }
1592
+ export interface LifeOpsOccurrenceActionResult {
1593
+ occurrence: LifeOpsOccurrenceView;
1594
+ }
1595
+ export * from "./lifeops-extensions.js";
1337
1596
  //# sourceMappingURL=lifeops.d.ts.map