@elizaos/plugin-todos 2.0.0-beta.1 → 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/LICENSE +21 -0
- package/README.md +69 -0
- package/assets/hero.svg +67 -0
- package/package.json +48 -7
- package/registry-entry.json +26 -0
- package/dist/actions/todo.d.ts +0 -3
- package/dist/actions/todo.d.ts.map +0 -1
- package/dist/db/index.d.ts +0 -2
- package/dist/db/index.d.ts.map +0 -1
- package/dist/db/schema.d.ts +0 -249
- package/dist/db/schema.d.ts.map +0 -1
- package/dist/index.d.ts +0 -9
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4991
- package/dist/index.js.map +0 -88
- package/dist/providers/current-todos.d.ts +0 -11
- package/dist/providers/current-todos.d.ts.map +0 -1
- package/dist/service.d.ts +0 -70
- package/dist/service.d.ts.map +0 -1
- package/dist/types.d.ts +0 -33
- package/dist/types.d.ts.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Shaw Walters and elizaOS Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# @elizaos/plugin-todos
|
|
2
|
+
|
|
3
|
+
User-scoped persistent todo list for Eliza agents.
|
|
4
|
+
|
|
5
|
+
## What it does
|
|
6
|
+
|
|
7
|
+
Gives an Eliza agent a durable, queryable todo list keyed per user (`entityId`). The agent can create, update, complete, cancel, delete, and bulk-replace todos through a single `TODO` action, and the user's active todos are automatically injected into the planner's context on every turn.
|
|
8
|
+
|
|
9
|
+
Data is stored in a Postgres table (`pgSchema("todos")`) via drizzle-orm; the plugin requires `@elizaos/plugin-sql` to supply the DB connection.
|
|
10
|
+
|
|
11
|
+
## Capabilities
|
|
12
|
+
|
|
13
|
+
### Action: `TODO`
|
|
14
|
+
|
|
15
|
+
A single umbrella action that dispatches on the `action` (or `op`) parameter:
|
|
16
|
+
|
|
17
|
+
| op | what it does |
|
|
18
|
+
|---|---|
|
|
19
|
+
| `create` | Add one todo (`content` required; `status` defaults to `pending`) |
|
|
20
|
+
| `write` | Bulk-replace the user's entire list with the provided `todos` array |
|
|
21
|
+
| `update` | Patch a todo by `id` (content, status, activeForm, parentTodoId) |
|
|
22
|
+
| `complete` | Set status → `completed` by `id` |
|
|
23
|
+
| `cancel` | Set status → `cancelled` by `id` |
|
|
24
|
+
| `delete` | Remove a todo by `id` |
|
|
25
|
+
| `list` | Return todos (pending + in-progress by default; pass `includeCompleted: true` for all) |
|
|
26
|
+
| `clear` | Delete all todos for the current user/agent/room |
|
|
27
|
+
|
|
28
|
+
Todos have an optional `activeForm` field (present-continuous string, e.g. "Adding tests") and support a `parentTodoId` for sub-tasks.
|
|
29
|
+
|
|
30
|
+
### Provider: `CURRENT_TODOS`
|
|
31
|
+
|
|
32
|
+
Injected at position `-5` on every planner turn (in the `tasks`, `todos`, and `automation` contexts). Shows pending and in-progress todos as a markdown checklist so the agent always knows what is outstanding.
|
|
33
|
+
|
|
34
|
+
## Requirements
|
|
35
|
+
|
|
36
|
+
- `@elizaos/plugin-sql` must be loaded before this plugin (provides `runtime.db`).
|
|
37
|
+
- The agent entity must have at minimum the `ADMIN` role for the `TODO` action to fire.
|
|
38
|
+
|
|
39
|
+
## Enabling the plugin
|
|
40
|
+
|
|
41
|
+
Add `@elizaos/plugin-todos` to the agent's plugin list in your character configuration:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"plugins": ["@elizaos/plugin-sql", "@elizaos/plugin-todos"]
|
|
46
|
+
}
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Environment variables
|
|
50
|
+
|
|
51
|
+
| Variable | Effect | Required |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| `ELIZA_PARENT_TRAJECTORY_STEP_ID` | Attached to new todos as `parentTrajectoryStepId` for trajectory linking | No |
|
|
54
|
+
|
|
55
|
+
## Exported API
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
import {
|
|
59
|
+
todosPlugin, // default Plugin export
|
|
60
|
+
todoAction, // the TODO action
|
|
61
|
+
currentTodosProvider, // the CURRENT_TODOS provider
|
|
62
|
+
TodosService, // the drizzle-backed service class
|
|
63
|
+
getTodosService, // helper: runtime → TodosService (throws if missing)
|
|
64
|
+
todosSchema, // drizzle pgSchema
|
|
65
|
+
todosTable, // drizzle table
|
|
66
|
+
} from "@elizaos/plugin-todos";
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Key types: `Todo`, `TodoStatus`, `TodoActionName`, `CreateTodoInput`, `UpdateTodoInput`, `TodoFilter`, `TodoRow`, `TodoInsert`.
|
package/assets/hero.svg
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024" role="img" aria-label="Todos">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="bg-todos" x1="0" y1="0" x2="1" y2="1">
|
|
4
|
+
<stop offset="0" stop-color="#282615"/>
|
|
5
|
+
<stop offset="1" stop-color="#18190b"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<radialGradient id="blobA-todos" cx="0.5" cy="0.5" r="0.5">
|
|
8
|
+
<stop offset="0" stop-color="#dac32f" stop-opacity="0.55"/>
|
|
9
|
+
<stop offset="1" stop-color="#dac32f" stop-opacity="0"/>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
<radialGradient id="blobB-todos" cx="0.5" cy="0.5" r="0.5">
|
|
12
|
+
<stop offset="0" stop-color="#8fc328" stop-opacity="0.5"/>
|
|
13
|
+
<stop offset="1" stop-color="#8fc328" stop-opacity="0"/>
|
|
14
|
+
</radialGradient>
|
|
15
|
+
<radialGradient id="vig-todos" cx="0.5" cy="0.42" r="0.75">
|
|
16
|
+
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
|
|
17
|
+
<stop offset="0.72" stop-color="#000000" stop-opacity="0"/>
|
|
18
|
+
<stop offset="1" stop-color="#000000" stop-opacity="0.5"/>
|
|
19
|
+
</radialGradient>
|
|
20
|
+
<linearGradient id="label-todos" x1="0" y1="0" x2="0" y2="1">
|
|
21
|
+
<stop offset="0" stop-color="#000000" stop-opacity="0"/>
|
|
22
|
+
<stop offset="1" stop-color="#000000" stop-opacity="0.55"/>
|
|
23
|
+
</linearGradient>
|
|
24
|
+
<filter id="soft-todos" x="-30%" y="-30%" width="160%" height="160%">
|
|
25
|
+
<feGaussianBlur stdDeviation="46"/>
|
|
26
|
+
</filter>
|
|
27
|
+
<filter id="iglow-todos" x="-40%" y="-40%" width="180%" height="180%">
|
|
28
|
+
<feDropShadow dx="0" dy="0" stdDeviation="14" flood-color="#edd645" flood-opacity="0.45"/>
|
|
29
|
+
</filter>
|
|
30
|
+
</defs>
|
|
31
|
+
|
|
32
|
+
<rect width="1024" height="1024" fill="url(#bg-todos)"/>
|
|
33
|
+
|
|
34
|
+
<g opacity="0.9">
|
|
35
|
+
<circle cx="232" cy="220" r="300" fill="url(#blobA-todos)" filter="url(#soft-todos)"/>
|
|
36
|
+
<circle cx="840" cy="800" r="340" fill="url(#blobB-todos)" filter="url(#soft-todos)"/>
|
|
37
|
+
</g>
|
|
38
|
+
|
|
39
|
+
<g stroke="#eae7d7" stroke-width="1.4" opacity="0.06">
|
|
40
|
+
<line x1="0" y1="256" x2="1024" y2="256"/>
|
|
41
|
+
<line x1="0" y1="512" x2="1024" y2="512"/>
|
|
42
|
+
<line x1="0" y1="768" x2="1024" y2="768"/>
|
|
43
|
+
<line x1="256" y1="0" x2="256" y2="1024"/>
|
|
44
|
+
<line x1="512" y1="0" x2="512" y2="1024"/>
|
|
45
|
+
<line x1="768" y1="0" x2="768" y2="1024"/>
|
|
46
|
+
</g>
|
|
47
|
+
|
|
48
|
+
<g opacity="0.5">
|
|
49
|
+
<path d="M120 470 A 400 400 0 0 1 904 470" fill="none" stroke="#edd645" stroke-width="3" opacity="0.35"/>
|
|
50
|
+
</g>
|
|
51
|
+
|
|
52
|
+
<g transform="translate(512 432)" filter="url(#iglow-todos)"
|
|
53
|
+
color="#eae7d7" stroke="#eae7d7" stroke-width="20"
|
|
54
|
+
stroke-linecap="round" stroke-linejoin="round" fill="none">
|
|
55
|
+
<rect x="-150" y="-150" width="300" height="300" rx="36"/>
|
|
56
|
+
<polyline points="-92,-6 -36,52 92,-78" fill="none"/>
|
|
57
|
+
</g>
|
|
58
|
+
|
|
59
|
+
<rect x="0" y="784" width="1024" height="240" fill="url(#label-todos)"/>
|
|
60
|
+
<text x="512" y="892" text-anchor="middle"
|
|
61
|
+
font-family="system-ui, -apple-system, Segoe UI, Roboto, sans-serif"
|
|
62
|
+
font-size="76" font-weight="600" letter-spacing="0.5"
|
|
63
|
+
fill="#eae7d7">Todos</text>
|
|
64
|
+
<rect x="460" y="924" width="104" height="6" rx="3" fill="#edd645"/>
|
|
65
|
+
|
|
66
|
+
<rect width="1024" height="1024" fill="url(#vig-todos)"/>
|
|
67
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-todos",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3-beta.3",
|
|
4
4
|
"description": "User-scoped persistent todos with CRUD. Single TODO umbrella action (op-based: write/create/update/complete/cancel/delete/list/clear) and a currentTodosProvider that surfaces the user's pending + in-progress todos to the planner each turn. Backed by drizzle pgSchema('todos').",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,11 +15,29 @@
|
|
|
15
15
|
"./package.json": "./package.json",
|
|
16
16
|
".": {
|
|
17
17
|
"types": "./dist/index.d.ts",
|
|
18
|
+
"eliza-source": {
|
|
19
|
+
"types": "./src/index.ts",
|
|
20
|
+
"import": "./src/index.ts",
|
|
21
|
+
"default": "./src/index.ts"
|
|
22
|
+
},
|
|
18
23
|
"import": "./dist/index.js",
|
|
19
24
|
"default": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./*.css": "./dist/*.css",
|
|
27
|
+
"./*": {
|
|
28
|
+
"types": "./dist/*.d.ts",
|
|
29
|
+
"eliza-source": {
|
|
30
|
+
"types": "./src/*.ts",
|
|
31
|
+
"import": "./src/*.ts",
|
|
32
|
+
"default": "./src/*.ts"
|
|
33
|
+
},
|
|
34
|
+
"import": "./dist/*.js",
|
|
35
|
+
"default": "./dist/*.js"
|
|
20
36
|
}
|
|
21
37
|
},
|
|
22
38
|
"files": [
|
|
39
|
+
"registry-entry.json",
|
|
40
|
+
"assets",
|
|
23
41
|
"dist"
|
|
24
42
|
],
|
|
25
43
|
"keywords": [
|
|
@@ -33,23 +51,39 @@
|
|
|
33
51
|
"author": "elizaOS",
|
|
34
52
|
"license": "MIT",
|
|
35
53
|
"dependencies": {
|
|
36
|
-
"@elizaos/
|
|
37
|
-
"
|
|
54
|
+
"@elizaos/agent": "2.0.3-beta.3",
|
|
55
|
+
"@elizaos/app-core": "2.0.3-beta.3",
|
|
56
|
+
"@elizaos/core": "2.0.3-beta.3",
|
|
57
|
+
"@elizaos/shared": "2.0.3-beta.3",
|
|
58
|
+
"@elizaos/ui": "2.0.3-beta.3",
|
|
59
|
+
"drizzle-orm": "^0.45.1",
|
|
60
|
+
"lucide-react": "^1.0.0"
|
|
38
61
|
},
|
|
39
62
|
"peerDependencies": {
|
|
40
|
-
"@elizaos/plugin-sql": "2.0.
|
|
63
|
+
"@elizaos/plugin-sql": "2.0.3-beta.3",
|
|
64
|
+
"react": "^19.0.0",
|
|
65
|
+
"react-dom": "^19.0.0"
|
|
41
66
|
},
|
|
42
67
|
"devDependencies": {
|
|
43
68
|
"@types/node": "^25.0.3",
|
|
69
|
+
"@types/react": "^19.0.0",
|
|
70
|
+
"@types/react-dom": "^19.0.0",
|
|
71
|
+
"react": "^19.0.0",
|
|
72
|
+
"react-dom": "^19.0.0",
|
|
73
|
+
"tsup": "^8.5.1",
|
|
44
74
|
"typescript": "^6.0.3",
|
|
75
|
+
"vite": "^8.0.0",
|
|
45
76
|
"vitest": "^4.0.0"
|
|
46
77
|
},
|
|
47
78
|
"scripts": {
|
|
48
|
-
"build": "bun run build
|
|
79
|
+
"build": "bun run build:js && bun run build:views && bun run build:types",
|
|
80
|
+
"build:js": "tsup --config ../tsup.plugin-packages.shared.ts",
|
|
81
|
+
"build:views": "bunx --bun vite build --config vite.config.views.ts",
|
|
82
|
+
"build:types": "tsc --noCheck -p tsconfig.build.json",
|
|
49
83
|
"dev": "bun --hot build.ts",
|
|
50
84
|
"clean": "rm -rf dist .turbo",
|
|
51
85
|
"test": "vitest run",
|
|
52
|
-
"typecheck": "
|
|
86
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
53
87
|
"lint": "echo \"Lint skipped\"",
|
|
54
88
|
"lint:check": "bun run lint",
|
|
55
89
|
"check": "bun run typecheck && bun run test"
|
|
@@ -61,6 +95,12 @@
|
|
|
61
95
|
"pluginType": "elizaos:plugin:1.0.0",
|
|
62
96
|
"pluginParameters": {}
|
|
63
97
|
},
|
|
98
|
+
"elizaos": {
|
|
99
|
+
"app": {
|
|
100
|
+
"displayName": "Todos",
|
|
101
|
+
"category": "productivity"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
64
104
|
"eliza": {
|
|
65
105
|
"platforms": [
|
|
66
106
|
"node"
|
|
@@ -69,5 +109,6 @@
|
|
|
69
109
|
"platformDetails": {
|
|
70
110
|
"node": "Default export (Node.js)"
|
|
71
111
|
}
|
|
72
|
-
}
|
|
112
|
+
},
|
|
113
|
+
"gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420"
|
|
73
114
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "todos",
|
|
3
|
+
"name": "Todos",
|
|
4
|
+
"description": "User-scoped persistent todos with CRUD. Single TODO umbrella action with op-based dispatch (write/create/update/complete/cancel/delete/list/clear). The currentTodosProvider surfaces the user's pending + in-progress todos to the planner each turn. Backed by drizzle pgSchema('todos'); requires plugin-sql.",
|
|
5
|
+
"npmName": "@elizaos/plugin-todos",
|
|
6
|
+
"version": "0.2.0",
|
|
7
|
+
"source": "bundled",
|
|
8
|
+
"tags": ["todos", "tasks", "agent", "claude-code", "crud"],
|
|
9
|
+
"config": {},
|
|
10
|
+
"render": {
|
|
11
|
+
"visible": true,
|
|
12
|
+
"pinTo": [],
|
|
13
|
+
"style": "card",
|
|
14
|
+
"icon": "ListChecks",
|
|
15
|
+
"group": "devtools",
|
|
16
|
+
"groupOrder": 6,
|
|
17
|
+
"actions": ["enable", "configure"]
|
|
18
|
+
},
|
|
19
|
+
"resources": {
|
|
20
|
+
"homepage": "https://github.com/elizaos/eliza#readme",
|
|
21
|
+
"repository": "https://github.com/elizaos/eliza"
|
|
22
|
+
},
|
|
23
|
+
"dependsOn": ["sql"],
|
|
24
|
+
"kind": "plugin",
|
|
25
|
+
"subtype": "devtools"
|
|
26
|
+
}
|
package/dist/actions/todo.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"todo.d.ts","sourceRoot":"","sources":["../../src/actions/todo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAOZ,MAAM,eAAe,CAAC;AA2ZvB,eAAO,MAAM,UAAU,EAAE,MA6MxB,CAAC"}
|
package/dist/db/index.d.ts
DELETED
package/dist/db/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/db/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/dist/db/schema.d.ts
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
export declare const todosSchema: import("drizzle-orm/pg-core").PgSchema<"todos">;
|
|
2
|
-
export declare const todosTable: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3
|
-
name: "todos";
|
|
4
|
-
schema: "todos";
|
|
5
|
-
columns: {
|
|
6
|
-
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
7
|
-
name: "id";
|
|
8
|
-
tableName: "todos";
|
|
9
|
-
dataType: "string";
|
|
10
|
-
columnType: "PgUUID";
|
|
11
|
-
data: string;
|
|
12
|
-
driverParam: string;
|
|
13
|
-
notNull: true;
|
|
14
|
-
hasDefault: true;
|
|
15
|
-
isPrimaryKey: true;
|
|
16
|
-
isAutoincrement: false;
|
|
17
|
-
hasRuntimeDefault: false;
|
|
18
|
-
enumValues: undefined;
|
|
19
|
-
baseColumn: never;
|
|
20
|
-
identity: undefined;
|
|
21
|
-
generated: undefined;
|
|
22
|
-
}, {}, {}>;
|
|
23
|
-
agentId: import("drizzle-orm/pg-core").PgColumn<{
|
|
24
|
-
name: "agent_id";
|
|
25
|
-
tableName: "todos";
|
|
26
|
-
dataType: "string";
|
|
27
|
-
columnType: "PgUUID";
|
|
28
|
-
data: string;
|
|
29
|
-
driverParam: string;
|
|
30
|
-
notNull: true;
|
|
31
|
-
hasDefault: false;
|
|
32
|
-
isPrimaryKey: false;
|
|
33
|
-
isAutoincrement: false;
|
|
34
|
-
hasRuntimeDefault: false;
|
|
35
|
-
enumValues: undefined;
|
|
36
|
-
baseColumn: never;
|
|
37
|
-
identity: undefined;
|
|
38
|
-
generated: undefined;
|
|
39
|
-
}, {}, {}>;
|
|
40
|
-
entityId: import("drizzle-orm/pg-core").PgColumn<{
|
|
41
|
-
name: "entity_id";
|
|
42
|
-
tableName: "todos";
|
|
43
|
-
dataType: "string";
|
|
44
|
-
columnType: "PgUUID";
|
|
45
|
-
data: string;
|
|
46
|
-
driverParam: string;
|
|
47
|
-
notNull: true;
|
|
48
|
-
hasDefault: false;
|
|
49
|
-
isPrimaryKey: false;
|
|
50
|
-
isAutoincrement: false;
|
|
51
|
-
hasRuntimeDefault: false;
|
|
52
|
-
enumValues: undefined;
|
|
53
|
-
baseColumn: never;
|
|
54
|
-
identity: undefined;
|
|
55
|
-
generated: undefined;
|
|
56
|
-
}, {}, {}>;
|
|
57
|
-
roomId: import("drizzle-orm/pg-core").PgColumn<{
|
|
58
|
-
name: "room_id";
|
|
59
|
-
tableName: "todos";
|
|
60
|
-
dataType: "string";
|
|
61
|
-
columnType: "PgUUID";
|
|
62
|
-
data: string;
|
|
63
|
-
driverParam: string;
|
|
64
|
-
notNull: false;
|
|
65
|
-
hasDefault: false;
|
|
66
|
-
isPrimaryKey: false;
|
|
67
|
-
isAutoincrement: false;
|
|
68
|
-
hasRuntimeDefault: false;
|
|
69
|
-
enumValues: undefined;
|
|
70
|
-
baseColumn: never;
|
|
71
|
-
identity: undefined;
|
|
72
|
-
generated: undefined;
|
|
73
|
-
}, {}, {}>;
|
|
74
|
-
worldId: import("drizzle-orm/pg-core").PgColumn<{
|
|
75
|
-
name: "world_id";
|
|
76
|
-
tableName: "todos";
|
|
77
|
-
dataType: "string";
|
|
78
|
-
columnType: "PgUUID";
|
|
79
|
-
data: string;
|
|
80
|
-
driverParam: string;
|
|
81
|
-
notNull: false;
|
|
82
|
-
hasDefault: false;
|
|
83
|
-
isPrimaryKey: false;
|
|
84
|
-
isAutoincrement: false;
|
|
85
|
-
hasRuntimeDefault: false;
|
|
86
|
-
enumValues: undefined;
|
|
87
|
-
baseColumn: never;
|
|
88
|
-
identity: undefined;
|
|
89
|
-
generated: undefined;
|
|
90
|
-
}, {}, {}>;
|
|
91
|
-
content: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
-
name: "content";
|
|
93
|
-
tableName: "todos";
|
|
94
|
-
dataType: "string";
|
|
95
|
-
columnType: "PgText";
|
|
96
|
-
data: string;
|
|
97
|
-
driverParam: string;
|
|
98
|
-
notNull: true;
|
|
99
|
-
hasDefault: false;
|
|
100
|
-
isPrimaryKey: false;
|
|
101
|
-
isAutoincrement: false;
|
|
102
|
-
hasRuntimeDefault: false;
|
|
103
|
-
enumValues: [string, ...string[]];
|
|
104
|
-
baseColumn: never;
|
|
105
|
-
identity: undefined;
|
|
106
|
-
generated: undefined;
|
|
107
|
-
}, {}, {}>;
|
|
108
|
-
activeForm: import("drizzle-orm/pg-core").PgColumn<{
|
|
109
|
-
name: "active_form";
|
|
110
|
-
tableName: "todos";
|
|
111
|
-
dataType: "string";
|
|
112
|
-
columnType: "PgText";
|
|
113
|
-
data: string;
|
|
114
|
-
driverParam: string;
|
|
115
|
-
notNull: true;
|
|
116
|
-
hasDefault: false;
|
|
117
|
-
isPrimaryKey: false;
|
|
118
|
-
isAutoincrement: false;
|
|
119
|
-
hasRuntimeDefault: false;
|
|
120
|
-
enumValues: [string, ...string[]];
|
|
121
|
-
baseColumn: never;
|
|
122
|
-
identity: undefined;
|
|
123
|
-
generated: undefined;
|
|
124
|
-
}, {}, {}>;
|
|
125
|
-
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
126
|
-
name: "status";
|
|
127
|
-
tableName: "todos";
|
|
128
|
-
dataType: "string";
|
|
129
|
-
columnType: "PgText";
|
|
130
|
-
data: string;
|
|
131
|
-
driverParam: string;
|
|
132
|
-
notNull: true;
|
|
133
|
-
hasDefault: false;
|
|
134
|
-
isPrimaryKey: false;
|
|
135
|
-
isAutoincrement: false;
|
|
136
|
-
hasRuntimeDefault: false;
|
|
137
|
-
enumValues: [string, ...string[]];
|
|
138
|
-
baseColumn: never;
|
|
139
|
-
identity: undefined;
|
|
140
|
-
generated: undefined;
|
|
141
|
-
}, {}, {}>;
|
|
142
|
-
parentTodoId: import("drizzle-orm/pg-core").PgColumn<{
|
|
143
|
-
name: "parent_todo_id";
|
|
144
|
-
tableName: "todos";
|
|
145
|
-
dataType: "string";
|
|
146
|
-
columnType: "PgUUID";
|
|
147
|
-
data: string;
|
|
148
|
-
driverParam: string;
|
|
149
|
-
notNull: false;
|
|
150
|
-
hasDefault: false;
|
|
151
|
-
isPrimaryKey: false;
|
|
152
|
-
isAutoincrement: false;
|
|
153
|
-
hasRuntimeDefault: false;
|
|
154
|
-
enumValues: undefined;
|
|
155
|
-
baseColumn: never;
|
|
156
|
-
identity: undefined;
|
|
157
|
-
generated: undefined;
|
|
158
|
-
}, {}, {}>;
|
|
159
|
-
parentTrajectoryStepId: import("drizzle-orm/pg-core").PgColumn<{
|
|
160
|
-
name: "parent_trajectory_step_id";
|
|
161
|
-
tableName: "todos";
|
|
162
|
-
dataType: "string";
|
|
163
|
-
columnType: "PgText";
|
|
164
|
-
data: string;
|
|
165
|
-
driverParam: string;
|
|
166
|
-
notNull: false;
|
|
167
|
-
hasDefault: false;
|
|
168
|
-
isPrimaryKey: false;
|
|
169
|
-
isAutoincrement: false;
|
|
170
|
-
hasRuntimeDefault: false;
|
|
171
|
-
enumValues: [string, ...string[]];
|
|
172
|
-
baseColumn: never;
|
|
173
|
-
identity: undefined;
|
|
174
|
-
generated: undefined;
|
|
175
|
-
}, {}, {}>;
|
|
176
|
-
metadata: import("drizzle-orm/pg-core").PgColumn<{
|
|
177
|
-
name: "metadata";
|
|
178
|
-
tableName: "todos";
|
|
179
|
-
dataType: "json";
|
|
180
|
-
columnType: "PgJsonb";
|
|
181
|
-
data: unknown;
|
|
182
|
-
driverParam: unknown;
|
|
183
|
-
notNull: true;
|
|
184
|
-
hasDefault: true;
|
|
185
|
-
isPrimaryKey: false;
|
|
186
|
-
isAutoincrement: false;
|
|
187
|
-
hasRuntimeDefault: false;
|
|
188
|
-
enumValues: undefined;
|
|
189
|
-
baseColumn: never;
|
|
190
|
-
identity: undefined;
|
|
191
|
-
generated: undefined;
|
|
192
|
-
}, {}, {}>;
|
|
193
|
-
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
194
|
-
name: "created_at";
|
|
195
|
-
tableName: "todos";
|
|
196
|
-
dataType: "date";
|
|
197
|
-
columnType: "PgTimestamp";
|
|
198
|
-
data: Date;
|
|
199
|
-
driverParam: string;
|
|
200
|
-
notNull: true;
|
|
201
|
-
hasDefault: true;
|
|
202
|
-
isPrimaryKey: false;
|
|
203
|
-
isAutoincrement: false;
|
|
204
|
-
hasRuntimeDefault: false;
|
|
205
|
-
enumValues: undefined;
|
|
206
|
-
baseColumn: never;
|
|
207
|
-
identity: undefined;
|
|
208
|
-
generated: undefined;
|
|
209
|
-
}, {}, {}>;
|
|
210
|
-
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
211
|
-
name: "updated_at";
|
|
212
|
-
tableName: "todos";
|
|
213
|
-
dataType: "date";
|
|
214
|
-
columnType: "PgTimestamp";
|
|
215
|
-
data: Date;
|
|
216
|
-
driverParam: string;
|
|
217
|
-
notNull: true;
|
|
218
|
-
hasDefault: true;
|
|
219
|
-
isPrimaryKey: false;
|
|
220
|
-
isAutoincrement: false;
|
|
221
|
-
hasRuntimeDefault: false;
|
|
222
|
-
enumValues: undefined;
|
|
223
|
-
baseColumn: never;
|
|
224
|
-
identity: undefined;
|
|
225
|
-
generated: undefined;
|
|
226
|
-
}, {}, {}>;
|
|
227
|
-
completedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
228
|
-
name: "completed_at";
|
|
229
|
-
tableName: "todos";
|
|
230
|
-
dataType: "date";
|
|
231
|
-
columnType: "PgTimestamp";
|
|
232
|
-
data: Date;
|
|
233
|
-
driverParam: string;
|
|
234
|
-
notNull: false;
|
|
235
|
-
hasDefault: false;
|
|
236
|
-
isPrimaryKey: false;
|
|
237
|
-
isAutoincrement: false;
|
|
238
|
-
hasRuntimeDefault: false;
|
|
239
|
-
enumValues: undefined;
|
|
240
|
-
baseColumn: never;
|
|
241
|
-
identity: undefined;
|
|
242
|
-
generated: undefined;
|
|
243
|
-
}, {}, {}>;
|
|
244
|
-
};
|
|
245
|
-
dialect: "pg";
|
|
246
|
-
}>;
|
|
247
|
-
export type TodoRow = typeof todosTable.$inferSelect;
|
|
248
|
-
export type TodoInsert = typeof todosTable.$inferInsert;
|
|
249
|
-
//# sourceMappingURL=schema.d.ts.map
|
package/dist/db/schema.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/db/schema.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,iDAAoB,CAAC;AAE7C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCtB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,OAAO,UAAU,CAAC,YAAY,CAAC;AACrD,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,YAAY,CAAC"}
|
package/dist/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from "@elizaos/core";
|
|
2
|
-
export declare const todosPlugin: Plugin;
|
|
3
|
-
export default todosPlugin;
|
|
4
|
-
export { todoAction } from "./actions/todo.js";
|
|
5
|
-
export { currentTodosProvider } from "./providers/current-todos.js";
|
|
6
|
-
export { type CreateTodoInput, type TodoFilter, type UpdateTodoInput, TodosService, getTodosService, } from "./service.js";
|
|
7
|
-
export { type TodoRow, type TodoInsert, todosSchema, todosTable, } from "./db/schema.js";
|
|
8
|
-
export * from "./types.js";
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,eAAO,MAAM,WAAW,EAAE,MASzB,CAAC;AAEF,eAAe,WAAW,CAAC;AAE3B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,YAAY,EACZ,eAAe,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,WAAW,EACX,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,cAAc,YAAY,CAAC"}
|