@elizaos/plugin-goals 2.0.3-beta.2 → 2.0.3-beta.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/README.md CHANGED
@@ -1,14 +1,12 @@
1
1
  # @elizaos/plugin-goals
2
2
 
3
- Life direction plugin for elizaOS: owner-set long-horizon goals, recurring
4
- routines, reminders, alarms, daily check-ins, and a self-care / mood / journal
5
- panel.
3
+ Life direction plugin for elizaOS: owner-set long-horizon goals, daily
4
+ check-ins, and a self-care / mood / journal panel.
6
5
 
7
- Decomposed out of `@elizaos/plugin-personal-assistant`. During the migration phase three
8
- of the four action handlers (`OWNER_ROUTINES`, `OWNER_REMINDERS`, `OWNER_ALARMS`) are
9
- scaffold stubs that point back to their LifeOps source via `TODO(migrate)` comments.
10
- `OWNER_GOALS` is fully implemented via `GoalsService`. The plugin registers cleanly,
11
- compiles standalone, and serves a real (if minimal) view.
6
+ Decomposed out of `@elizaos/plugin-personal-assistant`. This plugin registers
7
+ only the fully migrated `OWNER_GOALS` action via `GoalsService`. Routines,
8
+ reminders, and alarms remain host-adapted owner surfaces in
9
+ `@elizaos/plugin-personal-assistant` and are not exported here.
12
10
 
13
11
  ## Install
14
12
 
@@ -22,22 +20,19 @@ on the plugin object).
22
20
 
23
21
  ## Plugin surface
24
22
 
25
- - Actions: `OWNER_GOALS` (real — CRUD via GoalsService), `OWNER_ROUTINES`, `OWNER_REMINDERS`, `OWNER_ALARMS` (scaffold stubs)
23
+ - Actions: `OWNER_GOALS` (real — CRUD via GoalsService)
26
24
  - Back-end: `GoalsService` (`src/goals-service.ts`) — goal CRUD, dedup, similarity scoring
27
25
  - Service: `GoalsCheckinService` (daily check-in engine, stub)
28
26
  - View: `goals` (`/goals`) — three sections (Life Goals / Routines / Today)
29
27
  plus a self-care / mood / journal panel
30
- - Schema: `pgSchema('app_goals')` with tables `goals`, `routines`,
31
- `reminders`, `alarms`, `checkins`
28
+ - Schema: `pgSchema('app_goals')` with the carved goal tables. Reminder /
29
+ alarm / routine delivery state lives in `@elizaos/plugin-reminders`.
32
30
 
33
- ## Migration mapping (`plugin-lifeops` -> `plugin-goals`)
31
+ ## Migration mapping (`plugin-personal-assistant` -> `plugin-goals`)
34
32
 
35
33
  | LifeOps source | Plugin-goals target |
36
34
  |--------------------------------------------------------------------------------------|--------------------------------------|
37
35
  | `src/actions/owner-surfaces.ts` (`OWNER_GOALS`) | `src/actions/goals.ts` |
38
- | `src/actions/owner-surfaces.ts` (`OWNER_ROUTINES`) | `src/actions/routines.ts` |
39
- | `src/actions/owner-surfaces.ts` (`OWNER_REMINDERS`) | `src/actions/reminders.ts` |
40
- | `src/actions/owner-surfaces.ts` (`OWNER_ALARMS`) | `src/actions/alarms.ts` |
41
36
  | `src/lifeops/checkin/checkin-service.ts` + `schedule-resolver.ts` + `types.ts` | `src/services/checkin.ts` |
42
37
  | `src/followup/followup-tracker.ts` + `src/followup/actions/` | `src/followup/` (added in phase 2) |
43
38
  | `src/default-packs/{daily-rhythm,habit-starters,followup-starter}.ts` | `src/default-packs/` (phase 2) |
@@ -45,11 +40,9 @@ on the plugin object).
45
40
 
46
41
  ## Status
47
42
 
48
- `OWNER_GOALS` is fully implemented (goal CRUD via `GoalsService`). The remaining
49
- three owner actions (`OWNER_ROUTINES`, `OWNER_REMINDERS`, `OWNER_ALARMS`) are scaffold
50
- stubs: handlers return `success: false` with a `scaffold_stub` reason and include a
51
- `TODO(migrate)` pointer back to the LifeOps source. The follow-up phase migrates the
52
- real handler bodies + default packs + check-in implementation from `plugin-lifeops`.
43
+ `OWNER_GOALS` is fully implemented (goal CRUD via `GoalsService`). The plugin no
44
+ longer ships scaffold actions for routines, reminders, or alarms; those owner
45
+ surfaces are registered by `@elizaos/plugin-personal-assistant`.
53
46
 
54
47
  ## Layout
55
48
 
@@ -63,7 +56,7 @@ src/
63
56
  goal-normalize.ts GoalsServiceError + input normalizers
64
57
  goal-grounding.ts Goal grounding / semantic-review metadata helpers
65
58
  goal-semantic-evaluator.ts evaluateGoalProgressWithLlm (LLM goal review)
66
- actions/{goals,routines,reminders,alarms}.ts
59
+ actions/goals.ts
67
60
  services/checkin.ts GoalsCheckinService (stub)
68
61
  db/
69
62
  index.ts Re-exports schema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-goals",
3
- "version": "2.0.3-beta.2",
3
+ "version": "2.0.3-beta.3",
4
4
  "type": "module",
5
5
  "description": "Life direction plugin: owner-set long-horizon goals, recurring routines, reminders, alarms, daily check-ins, plus a self-care/mood/journal panel.",
6
6
  "main": "./dist/index.js",
@@ -8,11 +8,12 @@
8
8
  "typecheck": "tsc --noEmit -p tsconfig.json",
9
9
  "lint": "bunx @biomejs/biome check src/",
10
10
  "test": "bunx vitest run --config ./vitest.config.ts",
11
+ "test:harness": "bunx vitest run --config ./vitest.harness.config.ts",
11
12
  "build": "bun run build:js && bun run build:views && bun run build:types",
12
13
  "clean": "rm -rf dist",
13
14
  "build:js": "tsup --config ../tsup.plugin-packages.shared.ts",
14
15
  "build:views": "bunx --bun vite build --config vite.config.views.ts",
15
- "build:types": "tsc --noCheck -p tsconfig.build.json"
16
+ "build:types": "tsc --noCheck -p tsconfig.build.json && node ../../packages/scripts/rewrite-dist-relative-imports-node-esm.mjs"
16
17
  },
17
18
  "exports": {
18
19
  "./package.json": "./package.json",
@@ -49,21 +50,22 @@
49
50
  }
50
51
  },
51
52
  "dependencies": {
52
- "@elizaos/agent": "2.0.3-beta.2",
53
- "@elizaos/app-core": "2.0.3-beta.2",
54
- "@elizaos/core": "2.0.3-beta.2",
55
- "@elizaos/shared": "2.0.3-beta.2",
56
- "@elizaos/ui": "2.0.3-beta.2",
53
+ "@elizaos/agent": "2.0.3-beta.3",
54
+ "@elizaos/app-core": "2.0.3-beta.3",
55
+ "@elizaos/core": "2.0.3-beta.3",
56
+ "@elizaos/shared": "2.0.3-beta.3",
57
+ "@elizaos/ui": "2.0.3-beta.3",
57
58
  "drizzle-orm": "0.45.2",
58
59
  "lucide-react": "^1.0.0"
59
60
  },
60
61
  "peerDependencies": {
61
- "@elizaos/plugin-sql": "2.0.3-beta.2",
62
+ "@elizaos/plugin-sql": "2.0.3-beta.3",
62
63
  "react": "^19.0.0",
63
64
  "react-dom": "^19.0.0"
64
65
  },
65
66
  "devDependencies": {
66
67
  "@biomejs/biome": "^2.4.14",
68
+ "@elizaos/test-harness": "2.0.3-beta.3",
67
69
  "@types/node": "^25.0.6",
68
70
  "@types/react": "^19.0.0",
69
71
  "@types/react-dom": "^19.0.0",
@@ -86,8 +88,9 @@
86
88
  },
87
89
  "types": "./dist/index.d.ts",
88
90
  "files": [
91
+ "registry-entry.json",
89
92
  "assets",
90
93
  "dist"
91
94
  ],
92
- "gitHead": "82fe0f44215954c2417328203f5bd6510985c1fc"
95
+ "gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420"
93
96
  }
@@ -0,0 +1,77 @@
1
+ {
2
+ "id": "goals",
3
+ "name": "Goals",
4
+ "description": "Goals for your agent",
5
+ "npmName": "@elizaos/plugin-goals",
6
+ "version": "2.0.0-beta.0",
7
+ "source": "bundled",
8
+ "tags": ["goals", "objectives", "task-management"],
9
+ "config": {
10
+ "GOAL_BATCH_SIZE": {
11
+ "type": "number",
12
+ "required": false,
13
+ "sensitive": false,
14
+ "label": "Batch Size",
15
+ "help": "Batch processing size",
16
+ "advanced": false
17
+ },
18
+ "GOAL_CHECK_INTERVAL": {
19
+ "type": "number",
20
+ "required": false,
21
+ "sensitive": false,
22
+ "label": "Check Interval",
23
+ "help": "Check interval",
24
+ "advanced": false,
25
+ "min": 0,
26
+ "unit": "ms"
27
+ },
28
+ "GOAL_MAX_CONCURRENT": {
29
+ "type": "number",
30
+ "required": false,
31
+ "sensitive": false,
32
+ "label": "Max Concurrent",
33
+ "help": "Maximum concurrent operations",
34
+ "advanced": false
35
+ },
36
+ "GOAL_ENABLE_MONITORING": {
37
+ "type": "boolean",
38
+ "required": false,
39
+ "sensitive": false,
40
+ "label": "Enable Monitoring",
41
+ "help": "Enable monitoring",
42
+ "advanced": false
43
+ },
44
+ "GOAL_REMINDER_COOLDOWN": {
45
+ "type": "number",
46
+ "required": false,
47
+ "sensitive": false,
48
+ "label": "Reminder Cooldown",
49
+ "help": "Cooldown period",
50
+ "advanced": false
51
+ },
52
+ "GOAL_ENABLE_SMART_REMINDERS": {
53
+ "type": "boolean",
54
+ "required": false,
55
+ "sensitive": false,
56
+ "label": "Enable Smart Reminders",
57
+ "help": "Enable smart reminder features",
58
+ "advanced": false
59
+ }
60
+ },
61
+ "render": {
62
+ "visible": true,
63
+ "pinTo": [],
64
+ "style": "card",
65
+ "icon": "Target",
66
+ "group": "agents",
67
+ "groupOrder": 7,
68
+ "actions": ["enable", "configure"]
69
+ },
70
+ "resources": {
71
+ "homepage": "https://elizaos.ai",
72
+ "repository": "https://github.com/elizaos/elizaos"
73
+ },
74
+ "dependsOn": [],
75
+ "kind": "plugin",
76
+ "subtype": "agents"
77
+ }