@elizaos/plugin-cron 2.0.0-alpha.3
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/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-QQWDOGXP.js +1311 -0
- package/dist/dist-KM2GC6Y3.js +1089 -0
- package/dist/index-CcftVpZH.d.ts +553 -0
- package/dist/index.d.ts +561 -0
- package/dist/index.js +2753 -0
- package/dist/otto/index.d.ts +2 -0
- package/dist/otto/index.js +47 -0
- package/package.json +49 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { s as CronDelivery, t as CronDeliveryMode, u as CronDeliveryPatch, v as CronDeliveryPlan, w as CronJob, x as CronJobCreate, y as CronJobPatch, z as CronMessageChannel, A as CronPayload, B as CronPayloadPatch, E as CronRunLogEntry, c as CronSchedule, F as CronSessionTarget, G as CronStoreFile, H as CronWakeMode, T as TimestampValidationError, I as TimestampValidationResult, J as TimestampValidationSuccess, K as appendCronRunLog, L as applyJobPatch, M as assertDeliverySupport, N as assertSupportedJobSpec, O as executeOttoJob, P as isOttoPayload, Q as loadCronStore, R as migrateLegacyCronPayload, S as normalizeCronJobCreate, U as normalizeCronJobInput, V as normalizeCronJobPatch, W as normalizeOptionalAgentId, X as normalizeOptionalText, Y as normalizeRequiredName, Z as parseAbsoluteTimeMs, _ as readCronRunLogEntries, $ as resolveCronDeliveryPlan, a0 as resolveCronRunLogPath, a1 as resolveCronStorePath, a2 as saveCronStore, a3 as validateScheduleTimestamp } from '../index-CcftVpZH.js';
|
|
2
|
+
import '@elizaos/core';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appendCronRunLog,
|
|
3
|
+
applyJobPatch,
|
|
4
|
+
assertDeliverySupport,
|
|
5
|
+
assertSupportedJobSpec,
|
|
6
|
+
executeOttoJob,
|
|
7
|
+
isOttoPayload,
|
|
8
|
+
loadCronStore,
|
|
9
|
+
migrateLegacyCronPayload,
|
|
10
|
+
normalizeCronJobCreate,
|
|
11
|
+
normalizeCronJobInput,
|
|
12
|
+
normalizeCronJobPatch,
|
|
13
|
+
normalizeOptionalAgentId,
|
|
14
|
+
normalizeOptionalText,
|
|
15
|
+
normalizeRequiredName,
|
|
16
|
+
parseAbsoluteTimeMs,
|
|
17
|
+
readCronRunLogEntries,
|
|
18
|
+
resolveCronDeliveryPlan,
|
|
19
|
+
resolveCronRunLogPath,
|
|
20
|
+
resolveCronStorePath,
|
|
21
|
+
saveCronStore,
|
|
22
|
+
validateScheduleTimestamp
|
|
23
|
+
} from "../chunk-QQWDOGXP.js";
|
|
24
|
+
import "../chunk-MLKGABMK.js";
|
|
25
|
+
export {
|
|
26
|
+
appendCronRunLog,
|
|
27
|
+
applyJobPatch,
|
|
28
|
+
assertDeliverySupport,
|
|
29
|
+
assertSupportedJobSpec,
|
|
30
|
+
executeOttoJob,
|
|
31
|
+
isOttoPayload,
|
|
32
|
+
loadCronStore,
|
|
33
|
+
migrateLegacyCronPayload,
|
|
34
|
+
normalizeCronJobCreate,
|
|
35
|
+
normalizeCronJobInput,
|
|
36
|
+
normalizeCronJobPatch,
|
|
37
|
+
normalizeOptionalAgentId,
|
|
38
|
+
normalizeOptionalText,
|
|
39
|
+
normalizeRequiredName,
|
|
40
|
+
parseAbsoluteTimeMs,
|
|
41
|
+
readCronRunLogEntries,
|
|
42
|
+
resolveCronDeliveryPlan,
|
|
43
|
+
resolveCronRunLogPath,
|
|
44
|
+
resolveCronStorePath,
|
|
45
|
+
saveCronStore,
|
|
46
|
+
validateScheduleTimestamp
|
|
47
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elizaos/plugin-cron",
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
|
+
"description": "Cron scheduling plugin for ElizaOS agents - schedule recurring or one-time jobs that execute actions, run prompts, or trigger events",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "tsup src/index.ts src/otto/index.ts --format esm --dts --clean",
|
|
20
|
+
"dev": "tsup src/index.ts src/otto/index.ts --format esm --dts --watch",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"clean": "rm -rf dist .turbo node_modules",
|
|
23
|
+
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
24
|
+
"lint:check": "bunx @biomejs/biome check .",
|
|
25
|
+
"format": "bunx @biomejs/biome format --write .",
|
|
26
|
+
"format:check": "bunx @biomejs/biome format .",
|
|
27
|
+
"typecheck": "tsc --noEmit"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@elizaos/core": "2.0.0-alpha.3",
|
|
31
|
+
"@elizaos/plugin-cli": "2.0.0-alpha.3",
|
|
32
|
+
"croner": "9.0.0",
|
|
33
|
+
"uuid": "11.0.5"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@elizaos/core": "2.0.0-alpha.3"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@types/node": "22.10.9",
|
|
40
|
+
"@types/uuid": "10.0.0",
|
|
41
|
+
"tsup": "8.4.0",
|
|
42
|
+
"typescript": "5.7.3",
|
|
43
|
+
"vitest": "3.0.2",
|
|
44
|
+
"@biomejs/biome": "^2.3.11"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
}
|
|
49
|
+
}
|