@agentapps/app.todo-list 0.0.0-stage → 1.0.1

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 (4) hide show
  1. package/README.md +45 -2
  2. package/agentapp.json +110 -0
  3. package/dist/app.js +23990 -0
  4. package/package.json +30 -4
package/README.md CHANGED
@@ -1,3 +1,46 @@
1
- # Temporary Holding Version
1
+ # @agentapps/app.todo-list
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Workflowy-style hierarchical outliner — single-tree architecture.
4
+
5
+ ## Features
6
+
7
+ - **Single tree** — no lists, every node is part of one tree per user
8
+ - **Rich nodes** — text, description, instructions (markdown), chronological log
9
+ - **Toggle complete** — cascades to all descendants
10
+ - **Collapse/expand** — hide/show children (Workflowy-style)
11
+ - **Move subtrees** — with circular reference detection
12
+ - **Search** — case-insensitive with breadcrumb paths
13
+ - **Storage via callbacks** — no direct database connection, uses host storage
14
+
15
+ ## Tools
16
+
17
+ | Tool | Description |
18
+ |------|-------------|
19
+ | `add-node` | Add a node (root or nested) |
20
+ | `get-node` | Get full detail of a single node (instructions + log) |
21
+ | `get-tree` | Get the full nested tree (lightweight, no instructions/log) |
22
+ | `update-node` | Update text, description, and/or instructions |
23
+ | `toggle-complete` | Toggle completion (cascades to descendants + logs) |
24
+ | `toggle-collapse` | Toggle collapse/expand |
25
+ | `move-node` | Move node to different parent/position (with circular detection) |
26
+ | `delete-node` | Delete a node and its entire subtree |
27
+ | `search-nodes` | Search nodes by text with breadcrumb paths |
28
+ | `add-log-entry` | Add a chronological log entry to a node |
29
+
30
+ ## Events
31
+
32
+ - `node.added` — a new node was added
33
+ - `node.updated` — a node was updated
34
+ - `node.completed` — a node was toggled complete/incomplete
35
+ - `node.moved` — a node was moved
36
+ - `node.deleted` — a node and its subtree were deleted
37
+
38
+ ## Lifecycle
39
+
40
+ - `onInstall` — creates a default root node "My Tasks"
41
+ - `onSessionOpen` — verifies root node exists; creates it if missing
42
+ - `onUninstall` — no-op (data persists for reinstallation)
43
+
44
+ ## Storage
45
+
46
+ All nodes live in the Installation's Storage (`ctx.storage`), collection `nodes`, one document per node, scoped by `installationId`. No direct database connection required.
package/agentapp.json ADDED
@@ -0,0 +1,110 @@
1
+ {
2
+ "$schema": "https://agentapps.dev/schemas/app-manifest.json",
3
+ "id": "app.todo-list",
4
+ "version": "1.0.1",
5
+ "name": "Todo List",
6
+ "description": "Workflowy-style hierarchical outliner. Single-tree architecture — no lists, every node is part of one tree. Nodes have text, description, instructions (markdown), and a chronological log. Toggle complete (cascades to descendants), collapse/expand, move subtrees, and search.",
7
+ "tagline": "Hierarchical outliner with markdown, logs, and tree operations",
8
+ "author": { "name": "Pablo López Torres", "email": "pablolopeztorres@gmail.com" },
9
+ "license": "MIT",
10
+ "icon": "icon.svg",
11
+ "logo": "assets/logo.svg",
12
+ "logoMono": "assets/logo-mono.svg",
13
+ "terms": "https://agentapps.tech/terms",
14
+ "category": "productivity",
15
+ "keywords": [
16
+ "todo",
17
+ "list",
18
+ "outliner",
19
+ "workflowy",
20
+ "hierarchy",
21
+ "bullets",
22
+ "tasks",
23
+ "checklist",
24
+ "tree",
25
+ "log"
26
+ ],
27
+
28
+ "entrypoint": {
29
+ "type": "module",
30
+ "path": "src/app.ts",
31
+ "export": "factory"
32
+ },
33
+
34
+ "runtime": {
35
+ "transport": "stdio",
36
+ "command": "tsx",
37
+ "args": ["src/app.ts"]
38
+ },
39
+
40
+ "capabilities": {
41
+ "tools": true,
42
+ "events": true,
43
+ "health": true,
44
+ "streaming": false,
45
+ "ui": true,
46
+ "auth": false,
47
+ "storage": true,
48
+ "intents": false
49
+ },
50
+
51
+ "auth": {
52
+ "type": "none",
53
+ "systemSecrets": []
54
+ },
55
+
56
+ "installation": {
57
+ "singleton": false,
58
+ "requiresUserConsent": false
59
+ },
60
+
61
+ "screens": [
62
+ {
63
+ "name": "tree-view",
64
+ "title": "My Tasks",
65
+ "description": "Full hierarchical tree of todo nodes — collapsible/expandable.",
66
+ "icon": "list-tree",
67
+ "bundleUrl": "./static/tree.html",
68
+ "launcher": true
69
+ },
70
+ {
71
+ "name": "node-detail",
72
+ "title": "Node Detail",
73
+ "description": "Single node with instructions (markdown) and chronological log.",
74
+ "icon": "file-text",
75
+ "bundleUrl": "./static/detail.html",
76
+ "propsSchema": {
77
+ "type": "object",
78
+ "properties": {
79
+ "nodeId": {
80
+ "type": "string",
81
+ "description": "The node ID to display."
82
+ }
83
+ },
84
+ "required": ["nodeId"]
85
+ },
86
+ "launcher": false
87
+ },
88
+ {
89
+ "name": "node-form",
90
+ "title": "Add / Edit Node",
91
+ "description": "Form for creating or editing a todo node (text, description, instructions).",
92
+ "icon": "edit",
93
+ "bundleUrl": "./static/form.html",
94
+ "propsSchema": {
95
+ "type": "object",
96
+ "properties": {
97
+ "nodeId": {
98
+ "type": "string",
99
+ "description": "Optional: the node to edit. Omit for add mode."
100
+ },
101
+ "parentId": {
102
+ "type": "string",
103
+ "description": "Optional: parent node to nest under. Omit for root-level."
104
+ }
105
+ }
106
+ },
107
+ "launcher": false
108
+ }
109
+ ]
110
+ }