@elizaos/ui 2.0.0-alpha.211 → 2.0.0-alpha.214
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/apps/app-lifeops/src/actions/autofill.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/autofill.js +90 -0
- package/apps/app-lifeops/src/actions/calendar.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/calendar.js +1 -0
- package/apps/app-lifeops/src/actions/calendly.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/calendly.js +12 -1
- package/apps/app-lifeops/src/actions/checkin.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/checkin.js +60 -0
- package/apps/app-lifeops/src/actions/intent-sync.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/intent-sync.js +4 -41
- package/apps/app-lifeops/src/actions/life.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/life.js +14 -5
- package/apps/app-lifeops/src/actions/password-manager.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/password-manager.js +1 -32
- package/apps/app-lifeops/src/actions/remote-desktop.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/remote-desktop.js +1 -40
- package/apps/app-lifeops/src/actions/scheduling.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/scheduling.js +30 -0
- package/apps/app-lifeops/src/actions/screen-time.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/screen-time.js +1 -20
- package/apps/app-lifeops/src/actions/subscriptions.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/subscriptions.js +23 -84
- package/apps/app-lifeops/src/actions/website-blocker.d.ts.map +1 -1
- package/apps/app-lifeops/src/actions/website-blocker.js +1 -3
- package/apps/app-lifeops/src/lifeops/repository.d.ts +14 -0
- package/apps/app-lifeops/src/lifeops/repository.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/repository.js +25 -0
- package/apps/app-lifeops/src/lifeops/service-helpers-browser.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/service-helpers-browser.js +8 -0
- package/apps/app-lifeops/src/lifeops/service-mixin-reminders.js +5 -1
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts +2 -1
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/service-mixin-workflows.js +187 -13
- package/apps/app-lifeops/src/lifeops/service-normalize-connector.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/service-normalize-connector.js +52 -1
- package/apps/app-lifeops/src/lifeops/service-types.d.ts +8 -0
- package/apps/app-lifeops/src/lifeops/service-types.d.ts.map +1 -1
- package/apps/app-lifeops/src/lifeops/service.d.ts +5 -0
- package/apps/app-lifeops/src/lifeops/service.d.ts.map +1 -1
- package/package.json +1 -1
- package/packages/agent/src/actions/app-control.d.ts.map +1 -1
- package/packages/agent/src/actions/app-control.js +60 -0
- package/packages/agent/src/actions/browser-session.d.ts.map +1 -1
- package/packages/agent/src/actions/browser-session.js +30 -0
- package/packages/agent/src/actions/entity-actions.d.ts.map +1 -1
- package/packages/agent/src/actions/entity-actions.js +90 -0
- package/packages/agent/src/actions/extract-page.d.ts.map +1 -1
- package/packages/agent/src/actions/extract-page.js +30 -0
- package/packages/agent/src/actions/read-channel.d.ts.map +1 -1
- package/packages/agent/src/actions/read-channel.js +30 -0
- package/packages/agent/src/actions/restart.d.ts.map +1 -1
- package/packages/agent/src/actions/restart.js +30 -0
- package/packages/agent/src/actions/search-conversations.d.ts.map +1 -1
- package/packages/agent/src/actions/search-conversations.js +30 -0
- package/packages/agent/src/actions/send-admin-message.d.ts.map +1 -1
- package/packages/agent/src/actions/send-admin-message.js +30 -0
- package/packages/agent/src/actions/send-message.d.ts.map +1 -1
- package/packages/agent/src/actions/send-message.js +30 -0
- package/packages/agent/src/actions/set-user-name.d.ts.map +1 -1
- package/packages/agent/src/actions/set-user-name.js +30 -0
- package/packages/agent/src/actions/skill-command.d.ts.map +1 -1
- package/packages/agent/src/actions/skill-command.js +1 -0
- package/packages/agent/src/actions/terminal.d.ts.map +1 -1
- package/packages/agent/src/actions/terminal.js +43 -144
- package/packages/agent/src/actions/web-search.d.ts.map +1 -1
- package/packages/agent/src/actions/web-search.js +8 -0
- package/packages/agent/src/runtime/eliza.js +2 -2
- package/packages/app-core/src/api/client-types-config.d.ts +1 -1
- package/packages/app-core/src/api/client-types-config.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/AutomationsView.d.ts.map +1 -1
- package/packages/app-core/src/components/pages/AutomationsView.js +3 -0
- package/packages/shared/src/contracts/lifeops.d.ts +29 -1
- package/packages/shared/src/contracts/lifeops.d.ts.map +1 -1
- package/packages/shared/src/contracts/lifeops.js +14 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LIFEOPS_BROWSER_KINDS, LIFEOPS_BROWSER_SITE_ACCESS_MODES, LIFEOPS_BROWSER_TRACKING_MODES, LIFEOPS_CONNECTOR_MODES, LIFEOPS_CONNECTOR_SIDES, LIFEOPS_GOOGLE_CAPABILITIES, LIFEOPS_REMINDER_CHANNELS, LIFEOPS_TIME_WINDOW_NAMES, LIFEOPS_WORKFLOW_TRIGGER_TYPES, } from "@elizaos/shared/contracts/lifeops";
|
|
1
|
+
import { LIFEOPS_BROWSER_KINDS, LIFEOPS_BROWSER_SITE_ACCESS_MODES, LIFEOPS_BROWSER_TRACKING_MODES, LIFEOPS_CONNECTOR_MODES, LIFEOPS_CONNECTOR_SIDES, LIFEOPS_EVENT_KINDS, LIFEOPS_GOOGLE_CAPABILITIES, LIFEOPS_REMINDER_CHANNELS, LIFEOPS_TIME_WINDOW_NAMES, LIFEOPS_WORKFLOW_TRIGGER_TYPES, } from "@elizaos/shared/contracts/lifeops";
|
|
2
2
|
import { parseCronExpression } from "@elizaos/agent/triggers/scheduling";
|
|
3
3
|
import { LifeOpsServiceError } from "./service-types.js";
|
|
4
4
|
import { fail, normalizeEnumValue, normalizeFiniteNumber, normalizeIsoString, normalizeOptionalBoolean, normalizeOptionalIsoString, normalizeOptionalString, normalizePositiveInteger, normalizeValidTimeZone, requireNonEmptyString, } from "./service-normalize.js";
|
|
@@ -80,6 +80,9 @@ export function normalizeWorkflowSchedule(value, triggerType) {
|
|
|
80
80
|
return { kind: "manual" };
|
|
81
81
|
}
|
|
82
82
|
const schedule = requireRecord(value, "schedule");
|
|
83
|
+
if (triggerType === "event") {
|
|
84
|
+
return normalizeEventTrigger(schedule);
|
|
85
|
+
}
|
|
83
86
|
const kind = normalizeEnumValue(schedule.kind, "schedule.kind", [
|
|
84
87
|
"once",
|
|
85
88
|
"interval",
|
|
@@ -109,6 +112,54 @@ export function normalizeWorkflowSchedule(value, triggerType) {
|
|
|
109
112
|
timezone: normalizeValidTimeZone(schedule.timezone, "schedule.timezone"),
|
|
110
113
|
};
|
|
111
114
|
}
|
|
115
|
+
function normalizeEventTrigger(schedule) {
|
|
116
|
+
const kind = normalizeEnumValue(schedule.kind, "schedule.kind", [
|
|
117
|
+
"event",
|
|
118
|
+
]);
|
|
119
|
+
const eventKind = normalizeEnumValue(schedule.eventKind, "schedule.eventKind", LIFEOPS_EVENT_KINDS);
|
|
120
|
+
const rawFilters = schedule.filters;
|
|
121
|
+
if (rawFilters === undefined || rawFilters === null) {
|
|
122
|
+
return { kind, eventKind };
|
|
123
|
+
}
|
|
124
|
+
const filtersRecord = requireRecord(rawFilters, "schedule.filters");
|
|
125
|
+
if (eventKind === "calendar.event.ended") {
|
|
126
|
+
return {
|
|
127
|
+
kind,
|
|
128
|
+
eventKind,
|
|
129
|
+
filters: {
|
|
130
|
+
kind: "calendar.event.ended",
|
|
131
|
+
filters: normalizeCalendarEventEndedFilters(filtersRecord),
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
return { kind, eventKind };
|
|
136
|
+
}
|
|
137
|
+
function normalizeCalendarEventEndedFilters(input) {
|
|
138
|
+
const filters = {};
|
|
139
|
+
if (input.calendarIds !== undefined) {
|
|
140
|
+
filters.calendarIds = normalizeStringArray(input.calendarIds, "schedule.filters.calendarIds");
|
|
141
|
+
}
|
|
142
|
+
if (input.titleIncludesAny !== undefined) {
|
|
143
|
+
filters.titleIncludesAny = normalizeStringArray(input.titleIncludesAny, "schedule.filters.titleIncludesAny");
|
|
144
|
+
}
|
|
145
|
+
if (input.minDurationMinutes !== undefined) {
|
|
146
|
+
filters.minDurationMinutes = normalizePositiveInteger(input.minDurationMinutes, "schedule.filters.minDurationMinutes");
|
|
147
|
+
}
|
|
148
|
+
if (input.attendeeEmailIncludesAny !== undefined) {
|
|
149
|
+
filters.attendeeEmailIncludesAny = normalizeStringArray(input.attendeeEmailIncludesAny, "schedule.filters.attendeeEmailIncludesAny");
|
|
150
|
+
}
|
|
151
|
+
return filters;
|
|
152
|
+
}
|
|
153
|
+
function normalizeStringArray(value, field) {
|
|
154
|
+
if (!Array.isArray(value)) {
|
|
155
|
+
fail(400, `${field} must be an array of strings`);
|
|
156
|
+
}
|
|
157
|
+
const out = [];
|
|
158
|
+
for (const entry of value) {
|
|
159
|
+
out.push(requireNonEmptyString(entry, `${field}[]`));
|
|
160
|
+
}
|
|
161
|
+
return out;
|
|
162
|
+
}
|
|
112
163
|
export function normalizeWorkflowPermissionPolicy(value, current = DEFAULT_WORKFLOW_PERMISSION_POLICY) {
|
|
113
164
|
if (value === undefined) {
|
|
114
165
|
return { ...current };
|
|
@@ -7,6 +7,14 @@ export type LifeOpsWorkflowSchedulerState = {
|
|
|
7
7
|
lastRunId: string | null;
|
|
8
8
|
lastRunStatus: LifeOpsWorkflowRun["status"] | null;
|
|
9
9
|
updatedAt: string;
|
|
10
|
+
/**
|
|
11
|
+
* Tuple cursor for event-triggered workflows. Processing is ordered by
|
|
12
|
+
* (end_at ASC, id ASC); after each fire we advance to the (end_at, id) of
|
|
13
|
+
* the last-fired event so we never re-fire for an event we already ran.
|
|
14
|
+
* Null for non-event workflows.
|
|
15
|
+
*/
|
|
16
|
+
lastFiredEventEndAt?: string | null;
|
|
17
|
+
lastFiredEventId?: string | null;
|
|
10
18
|
};
|
|
11
19
|
export type ExecuteWorkflowResult = {
|
|
12
20
|
run: LifeOpsWorkflowRun;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-types.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/lifeops/service-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAE3E,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,EAAE,aAAa,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;IAClD,SAAS,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"service-types.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/lifeops/service-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAE3E,MAAM,MAAM,6BAA6B,GAAG;IAC1C,SAAS,EAAE,aAAa,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,aAAa,EAAE,kBAAkB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;IAClD,SAAS,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IA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flowNextDueAt(workflow: import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition, cursorIso?: string | null): string | null;
|
|
826
826
|
withWorkflowSchedulerState(workflow: import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition, state: import("./service-types.js").LifeOpsWorkflowSchedulerState | null): import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition;
|
|
827
827
|
initializeWorkflowSchedulerState(workflow: import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition): import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition;
|
|
828
|
+
buildInitialSchedulerState(workflow: import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowDefinition): import("./service-types.js").LifeOpsWorkflowSchedulerState | null;
|
|
828
829
|
runDueWorkflows(args: {
|
|
829
830
|
now: string;
|
|
830
831
|
limit: number;
|
|
831
832
|
}): Promise<import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowRun[]>;
|
|
833
|
+
runDueEventWorkflows(args: {
|
|
834
|
+
now: string;
|
|
835
|
+
limit: number;
|
|
836
|
+
}): Promise<import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowRun[]>;
|
|
832
837
|
listWorkflows(): Promise<import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowRecord[]>;
|
|
833
838
|
getWorkflow(workflowId: string): Promise<import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowRecord>;
|
|
834
839
|
createWorkflow(request: import("@elizaos/shared/contracts/lifeops.js").CreateLifeOpsWorkflowRequest): Promise<import("@elizaos/shared/contracts/lifeops.js").LifeOpsWorkflowRecord>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../../../../apps/app-lifeops/src/lifeops/service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO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names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app-control.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/app-control.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAyB,MAAM,eAAe,CAAC;AAuGnE,eAAO,MAAM,eAAe,EAAE,MAwH7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,MAmH3B,CAAC"}
|
|
@@ -140,6 +140,36 @@ export const launchAppAction = {
|
|
|
140
140
|
schema: { type: "string" },
|
|
141
141
|
},
|
|
142
142
|
],
|
|
143
|
+
examples: [
|
|
144
|
+
[
|
|
145
|
+
{
|
|
146
|
+
name: "{{name1}}",
|
|
147
|
+
content: {
|
|
148
|
+
text: "Fire up the Shopify app.",
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "{{agentName}}",
|
|
153
|
+
content: {
|
|
154
|
+
text: "Shopify is now running. Open it here: http://localhost:2138/#/apps/shopify",
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
[
|
|
159
|
+
{
|
|
160
|
+
name: "{{name1}}",
|
|
161
|
+
content: {
|
|
162
|
+
text: "Open the companion overlay on my screen.",
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: "{{agentName}}",
|
|
167
|
+
content: {
|
|
168
|
+
text: "Companion is now running. Open it here: http://localhost:2138/#/apps/companion",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
],
|
|
143
173
|
};
|
|
144
174
|
export const stopAppAction = {
|
|
145
175
|
name: "STOP_APP",
|
|
@@ -209,4 +239,34 @@ export const stopAppAction = {
|
|
|
209
239
|
schema: { type: "string" },
|
|
210
240
|
},
|
|
211
241
|
],
|
|
242
|
+
examples: [
|
|
243
|
+
[
|
|
244
|
+
{
|
|
245
|
+
name: "{{name1}}",
|
|
246
|
+
content: {
|
|
247
|
+
text: "Shut down Shopify, I'm done with it for now.",
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: "{{agentName}}",
|
|
252
|
+
content: {
|
|
253
|
+
text: "shopify has been stopped.",
|
|
254
|
+
},
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
[
|
|
258
|
+
{
|
|
259
|
+
name: "{{name1}}",
|
|
260
|
+
content: {
|
|
261
|
+
text: "Close the companion overlay.",
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: "{{agentName}}",
|
|
266
|
+
content: {
|
|
267
|
+
text: "companion has been stopped.",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
],
|
|
212
272
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-session.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/browser-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"browser-session.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/browser-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAA+D,MAAM,eAAe,CAAC;AAmHzG,eAAO,MAAM,oBAAoB,EAAE,MA8LlC,CAAC"}
|
|
@@ -204,4 +204,34 @@ export const browserSessionAction = {
|
|
|
204
204
|
schema: { type: "string" },
|
|
205
205
|
},
|
|
206
206
|
],
|
|
207
|
+
examples: [
|
|
208
|
+
[
|
|
209
|
+
{
|
|
210
|
+
name: "{{name1}}",
|
|
211
|
+
content: {
|
|
212
|
+
text: "Open elizaos.ai in a new browser tab.",
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "{{agentName}}",
|
|
217
|
+
content: {
|
|
218
|
+
text: "open completed in desktop mode.\nelizaOS\nhttps://elizaos.ai",
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
{
|
|
224
|
+
name: "{{name1}}",
|
|
225
|
+
content: {
|
|
226
|
+
text: "Click the sign-in button on that page.",
|
|
227
|
+
},
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: "{{agentName}}",
|
|
231
|
+
content: {
|
|
232
|
+
text: "click completed in desktop mode.",
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
],
|
|
236
|
+
],
|
|
207
237
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-actions.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/entity-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"entity-actions.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/entity-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAKP,MAAM,eAAe,CAAC;AA+IvB,eAAO,MAAM,kBAAkB,EAAE,MAsKhC,CAAC;AAWF,eAAO,MAAM,gBAAgB,EAAE,MAuK9B,CAAC;AA8FF,eAAO,MAAM,gBAAgB,EAAE,MA2O9B,CAAC"}
|
|
@@ -217,6 +217,36 @@ export const searchEntityAction = {
|
|
|
217
217
|
schema: { type: "number" },
|
|
218
218
|
},
|
|
219
219
|
],
|
|
220
|
+
examples: [
|
|
221
|
+
[
|
|
222
|
+
{
|
|
223
|
+
name: "{{name1}}",
|
|
224
|
+
content: {
|
|
225
|
+
text: "Look up Jill in my contacts.",
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "{{agentName}}",
|
|
230
|
+
content: {
|
|
231
|
+
text: 'Search results for "Jill" | 2 contacts found\n 1 | Jill Park — discord, telegram — 12 facts\n 2 | Jill Summers — slack — 3 facts',
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
[
|
|
236
|
+
{
|
|
237
|
+
name: "{{name1}}",
|
|
238
|
+
content: {
|
|
239
|
+
text: "Who do I know on Discord with the handle marco?",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: "{{agentName}}",
|
|
244
|
+
content: {
|
|
245
|
+
text: 'Search results for "marco" | 1 contact found\n 1 | Marco Pierre — discord — 4 facts',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
],
|
|
220
250
|
};
|
|
221
251
|
export const readEntityAction = {
|
|
222
252
|
name: "READ_ENTITY",
|
|
@@ -341,6 +371,36 @@ export const readEntityAction = {
|
|
|
341
371
|
schema: { type: "string" },
|
|
342
372
|
},
|
|
343
373
|
],
|
|
374
|
+
examples: [
|
|
375
|
+
[
|
|
376
|
+
{
|
|
377
|
+
name: "{{name1}}",
|
|
378
|
+
content: {
|
|
379
|
+
text: "Give me the full rundown on Jill Park.",
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: "{{agentName}}",
|
|
384
|
+
content: {
|
|
385
|
+
text: "## Identity\nName: Jill Park\nPlatforms: discord, telegram\n## Facts\n- Works at Acme on the Ops team.",
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
],
|
|
389
|
+
[
|
|
390
|
+
{
|
|
391
|
+
name: "{{name1}}",
|
|
392
|
+
content: {
|
|
393
|
+
text: "Show me everything you know about entity 9f1c3a22-...",
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: "{{agentName}}",
|
|
398
|
+
content: {
|
|
399
|
+
text: "## Identity\nName: Marco Pierre\nPlatforms: discord\n## Facts\n- Met at the 2025 offsite.",
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
],
|
|
344
404
|
};
|
|
345
405
|
const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
346
406
|
function parseLinkEntityExtraction(text) {
|
|
@@ -573,4 +633,34 @@ export const linkEntityAction = {
|
|
|
573
633
|
schema: { type: "string" },
|
|
574
634
|
},
|
|
575
635
|
],
|
|
636
|
+
examples: [
|
|
637
|
+
[
|
|
638
|
+
{
|
|
639
|
+
name: "{{name1}}",
|
|
640
|
+
content: {
|
|
641
|
+
text: "My Telegram contact Jill and my Discord contact jill_park are the same person.",
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
name: "{{agentName}}",
|
|
646
|
+
content: {
|
|
647
|
+
text: "Proposed a link between those two entities. Confirm to apply.",
|
|
648
|
+
},
|
|
649
|
+
},
|
|
650
|
+
],
|
|
651
|
+
[
|
|
652
|
+
{
|
|
653
|
+
name: "{{name1}}",
|
|
654
|
+
content: {
|
|
655
|
+
text: "Yes, go ahead and merge those two contacts — same human.",
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
name: "{{agentName}}",
|
|
660
|
+
content: {
|
|
661
|
+
text: "Linked the two entities. Their identities and facts now share one rolodex entry.",
|
|
662
|
+
},
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
],
|
|
576
666
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-page.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/extract-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"extract-page.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/extract-page.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAA+D,MAAM,eAAe,CAAC;AAqCzG,eAAO,MAAM,iBAAiB,EAAE,MA+I/B,CAAC"}
|
|
@@ -121,4 +121,34 @@ export const extractPageAction = {
|
|
|
121
121
|
schema: { type: "number" },
|
|
122
122
|
},
|
|
123
123
|
],
|
|
124
|
+
examples: [
|
|
125
|
+
[
|
|
126
|
+
{
|
|
127
|
+
name: "{{name1}}",
|
|
128
|
+
content: {
|
|
129
|
+
text: "Pull the main content from https://example.com/blog/post-42 for me.",
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: "{{agentName}}",
|
|
134
|
+
content: {
|
|
135
|
+
text: "Extracted https://example.com/blog/post-42\n\n# Post 42 — a short summary of the article body.",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
[
|
|
140
|
+
{
|
|
141
|
+
name: "{{name1}}",
|
|
142
|
+
content: {
|
|
143
|
+
text: "Give me the text off this docs page: https://docs.elizaos.ai/guide",
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: "{{agentName}}",
|
|
148
|
+
content: {
|
|
149
|
+
text: "Extracted https://docs.elizaos.ai/guide\n\n# Guide — intro paragraph and first section.",
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
],
|
|
124
154
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-channel.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/read-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"read-channel.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/read-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AAsFvB,eAAO,MAAM,iBAAiB,EAAE,MA+M/B,CAAC"}
|
|
@@ -221,4 +221,34 @@ export const readChannelAction = {
|
|
|
221
221
|
schema: { type: "number" },
|
|
222
222
|
},
|
|
223
223
|
],
|
|
224
|
+
examples: [
|
|
225
|
+
[
|
|
226
|
+
{
|
|
227
|
+
name: "{{name1}}",
|
|
228
|
+
content: {
|
|
229
|
+
text: "What's been going on in the #dev-ops Discord channel lately?",
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: "{{agentName}}",
|
|
234
|
+
content: {
|
|
235
|
+
text: "Channel: dev-ops (discord) | 20 messages\n 1 | 2026-04-18 alice: rolling out the new deploy pipeline tomorrow",
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
],
|
|
239
|
+
[
|
|
240
|
+
{
|
|
241
|
+
name: "{{name1}}",
|
|
242
|
+
content: {
|
|
243
|
+
text: "Pull messages from the general chat between April 10 and April 15.",
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "{{agentName}}",
|
|
248
|
+
content: {
|
|
249
|
+
text: "Channel: general (slack) | 42 messages",
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
],
|
|
224
254
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restart.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/restart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"restart.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/restart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,MAAM,EAA+C,MAAM,eAAe,CAAC;AAiCzF,eAAO,MAAM,aAAa,EAAE,MAsH3B,CAAC"}
|
|
@@ -106,4 +106,34 @@ export const restartAction = {
|
|
|
106
106
|
schema: { type: "string" },
|
|
107
107
|
},
|
|
108
108
|
],
|
|
109
|
+
examples: [
|
|
110
|
+
[
|
|
111
|
+
{
|
|
112
|
+
name: "{{name1}}",
|
|
113
|
+
content: {
|
|
114
|
+
text: "Please bounce yourself — I just changed a config file.",
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: "{{agentName}}",
|
|
119
|
+
content: {
|
|
120
|
+
text: "Restarting… (config reload)",
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
{
|
|
126
|
+
name: "{{name1}}",
|
|
127
|
+
content: {
|
|
128
|
+
text: "/restart",
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "{{agentName}}",
|
|
133
|
+
content: {
|
|
134
|
+
text: "Restarting…",
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
],
|
|
109
139
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-conversations.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/search-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"search-conversations.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/search-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AA4CvB,eAAO,MAAM,yBAAyB,EAAE,MAuNvC,CAAC"}
|
|
@@ -178,4 +178,34 @@ export const searchConversationsAction = {
|
|
|
178
178
|
schema: { type: "number" },
|
|
179
179
|
},
|
|
180
180
|
],
|
|
181
|
+
examples: [
|
|
182
|
+
[
|
|
183
|
+
{
|
|
184
|
+
name: "{{name1}}",
|
|
185
|
+
content: {
|
|
186
|
+
text: "Find any chats where someone mentioned the offsite budget.",
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: "{{agentName}}",
|
|
191
|
+
content: {
|
|
192
|
+
text: 'Search results for "offsite budget" | 4 messages found\n 1 | [slack] finance (2026-04-10) alice: the offsite budget came in under target',
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
[
|
|
197
|
+
{
|
|
198
|
+
name: "{{name1}}",
|
|
199
|
+
content: {
|
|
200
|
+
text: "Dig up the conversation where Jill talked about the onboarding redesign.",
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
name: "{{agentName}}",
|
|
205
|
+
content: {
|
|
206
|
+
text: 'Search results for "onboarding redesign" | 2 messages found',
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
],
|
|
181
211
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-admin-message.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/send-admin-message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"send-admin-message.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/send-admin-message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAMP,MAAM,eAAe,CAAC;AAsCvB,eAAO,MAAM,sBAAsB,EAAE,MA0IpC,CAAC"}
|
|
@@ -103,4 +103,34 @@ export const sendAdminMessageAction = {
|
|
|
103
103
|
},
|
|
104
104
|
},
|
|
105
105
|
],
|
|
106
|
+
examples: [
|
|
107
|
+
[
|
|
108
|
+
{
|
|
109
|
+
name: "{{name1}}",
|
|
110
|
+
content: {
|
|
111
|
+
text: "Let the owner know the deploy just finished cleanly.",
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: "{{agentName}}",
|
|
116
|
+
content: {
|
|
117
|
+
text: "Message sent to admin.",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
[
|
|
122
|
+
{
|
|
123
|
+
name: "{{name1}}",
|
|
124
|
+
content: {
|
|
125
|
+
text: "Alert the owner right now — the webhook is returning 500s.",
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: "{{agentName}}",
|
|
130
|
+
content: {
|
|
131
|
+
text: "Message sent to admin (URGENT).",
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
],
|
|
106
136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/send-message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,
|
|
1
|
+
{"version":3,"file":"send-message.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/send-message.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAKN,aAAa,EACb,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAC;AAyCvB,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAQf;AA+LD,eAAO,MAAM,iBAAiB,EAAE,MAqQ/B,CAAC"}
|
|
@@ -361,4 +361,34 @@ export const sendMessageAction = {
|
|
|
361
361
|
},
|
|
362
362
|
},
|
|
363
363
|
],
|
|
364
|
+
examples: [
|
|
365
|
+
[
|
|
366
|
+
{
|
|
367
|
+
name: "{{name1}}",
|
|
368
|
+
content: {
|
|
369
|
+
text: "Tell Jill I'm running 10 minutes late.",
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
name: "{{agentName}}",
|
|
374
|
+
content: {
|
|
375
|
+
text: "Message sent to Jill Park on telegram.",
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
{
|
|
381
|
+
name: "{{name1}}",
|
|
382
|
+
content: {
|
|
383
|
+
text: "Drop a quick note in the #announcements room that the release is out.",
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
name: "{{agentName}}",
|
|
388
|
+
content: {
|
|
389
|
+
text: "Message sent to room announcements on discord.",
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
],
|
|
364
394
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-user-name.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/set-user-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"set-user-name.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/set-user-name.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,OAAO,KAAK,EAAE,MAAM,EAAwC,MAAM,eAAe,CAAC;AA+BlF,eAAO,MAAM,iBAAiB,EAAE,MA2F/B,CAAC"}
|
|
@@ -79,4 +79,34 @@ export const setUserNameAction = {
|
|
|
79
79
|
schema: { type: "string" },
|
|
80
80
|
},
|
|
81
81
|
],
|
|
82
|
+
examples: [
|
|
83
|
+
[
|
|
84
|
+
{
|
|
85
|
+
name: "{{name1}}",
|
|
86
|
+
content: {
|
|
87
|
+
text: "By the way, everyone calls me Sam.",
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "{{agentName}}",
|
|
92
|
+
content: {
|
|
93
|
+
text: "Got it, Sam.",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
{
|
|
99
|
+
name: "{{name1}}",
|
|
100
|
+
content: {
|
|
101
|
+
text: "Please call me Jordan from now on.",
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "{{agentName}}",
|
|
106
|
+
content: {
|
|
107
|
+
text: "Sure thing, Jordan.",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
],
|
|
82
112
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-command.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/skill-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,MAAM,EAMP,MAAM,eAAe,CAAC;AAQvB;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEzD;AAED,wBAAgB,yBAAyB,IAAI,IAAI,CAEhD;AAuBD,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"skill-command.d.ts","sourceRoot":"","sources":["../../../../../../agent/src/actions/skill-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,MAAM,EAMP,MAAM,eAAe,CAAC;AAQvB;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEzD;AAED,wBAAgB,yBAAyB,IAAI,IAAI,CAEhD;AAuBD,eAAO,MAAM,kBAAkB,EAAE,MA+HhC,CAAC"}
|