@questionbase/deskfree 0.2.0-alpha.7 → 0.3.0-alpha.10

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 (52) hide show
  1. package/README.md +25 -14
  2. package/dist/index.d.ts +742 -6
  3. package/dist/index.js +9181 -18
  4. package/dist/index.js.map +1 -1
  5. package/package.json +4 -3
  6. package/skills/deskfree/SKILL.md +201 -203
  7. package/skills/deskfree/references/tools.md +141 -0
  8. package/dist/channel.d.ts +0 -3
  9. package/dist/channel.d.ts.map +0 -1
  10. package/dist/channel.js +0 -505
  11. package/dist/channel.js.map +0 -1
  12. package/dist/client.d.ts +0 -150
  13. package/dist/client.d.ts.map +0 -1
  14. package/dist/client.js +0 -255
  15. package/dist/client.js.map +0 -1
  16. package/dist/deliver.d.ts +0 -22
  17. package/dist/deliver.d.ts.map +0 -1
  18. package/dist/deliver.js +0 -350
  19. package/dist/deliver.js.map +0 -1
  20. package/dist/gateway.d.ts +0 -13
  21. package/dist/gateway.d.ts.map +0 -1
  22. package/dist/gateway.js +0 -777
  23. package/dist/gateway.js.map +0 -1
  24. package/dist/index.d.ts.map +0 -1
  25. package/dist/llm-definitions.d.ts +0 -111
  26. package/dist/llm-definitions.d.ts.map +0 -1
  27. package/dist/llm-definitions.js +0 -143
  28. package/dist/llm-definitions.js.map +0 -1
  29. package/dist/offline-queue.d.ts +0 -45
  30. package/dist/offline-queue.d.ts.map +0 -1
  31. package/dist/offline-queue.js +0 -109
  32. package/dist/offline-queue.js.map +0 -1
  33. package/dist/paths.d.ts +0 -10
  34. package/dist/paths.d.ts.map +0 -1
  35. package/dist/paths.js +0 -29
  36. package/dist/paths.js.map +0 -1
  37. package/dist/runtime.d.ts +0 -17
  38. package/dist/runtime.d.ts.map +0 -1
  39. package/dist/runtime.js +0 -24
  40. package/dist/runtime.js.map +0 -1
  41. package/dist/tools.d.ts +0 -35
  42. package/dist/tools.d.ts.map +0 -1
  43. package/dist/tools.js +0 -523
  44. package/dist/tools.js.map +0 -1
  45. package/dist/types.d.ts +0 -393
  46. package/dist/types.d.ts.map +0 -1
  47. package/dist/types.js +0 -2
  48. package/dist/types.js.map +0 -1
  49. package/dist/workspace.d.ts +0 -18
  50. package/dist/workspace.d.ts.map +0 -1
  51. package/dist/workspace.js +0 -83
  52. package/dist/workspace.js.map +0 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  OpenClaw plugin that connects AI agents to [DeskFree](https://github.com/deskfree) — a task management platform built for human-AI collaboration.
4
4
 
5
- Agents can pick up tasks, post progress updates, mark work as done, and exchange messages with humans — all through a structured workflow with human oversight gates.
5
+ Agents can pick up tasks, post progress updates, mark work as done or blocked, manage activities (knowledge containers), and exchange messages with humans — all through a structured workflow with human oversight gates.
6
6
 
7
7
  ## How it works
8
8
 
@@ -12,27 +12,35 @@ Agents can pick up tasks, post progress updates, mark work as done, and exchange
12
12
  │ │
13
13
  │ Tools (HTTP) Channel (WebSocket + polling) │
14
14
  │ ───────────── ────────────────────────────── │
15
- get_next_task Inbound messages from humans │
16
- comment / done / giveup Outbound replies from agent │
17
- list_tasks / create_task Real-time notifications │
15
+ deskfree_state Inbound messages from humans │
16
+ deskfree_start_task Outbound replies from agent │
17
+ deskfree_complete_task Real-time notifications │
18
+ │ deskfree_create_task │
19
+ │ deskfree_create_activity │
20
+ │ deskfree_update_activity │
21
+ │ deskfree_classify_task │
22
+ │ deskfree_learn_from_task │
23
+ │ deskfree_update_deliverable │
24
+ │ deskfree_send_message │
25
+ │ deskfree_suggest_tasks │
18
26
  └──────────┬───────────────────────────┬───────────────────────────┘
19
27
  │ │
20
28
  ▼ ▼
21
29
  ┌──────────────────────────────────────────────────────────────────┐
22
30
  │ DeskFree Backend │
23
31
  │ │
24
- │ Tasks Messages WebSocket Gateway
25
- │ ────── ──────── ─────────────────
26
- │ State machine 1:1 bot↔user DynamoDB-backed
27
- │ RLS-scoped Threaded by Thin notifications
28
- │ Atomic claims task + polling fallback
32
+ │ Tasks Activities Messages WebSocket Gateway│
33
+ │ ────── ────────── ──────── ───────────────
34
+ │ State machine Knowledge 1:1 bot↔user DynamoDB-backed
35
+ │ RLS-scoped containers Threaded by Thin notifs
36
+ │ Atomic claims Learn loop task + polling fallback│
29
37
  └──────────────────────────────────────────────────────────────────┘
30
38
  ```
31
39
 
32
40
  The plugin registers three things with OpenClaw:
33
41
 
34
42
  1. **Channel** — bidirectional messaging between DeskFree users and the agent
35
- 2. **Tools** — 8 task management tools the agent can call
43
+ 2. **Tools** — 10 task, activity, and messaging tools the agent can call (+ 1 suggest tool)
36
44
  3. **Skill** — workflow knowledge that teaches the agent how to use the tools correctly
37
45
 
38
46
  ## Install
@@ -108,12 +116,15 @@ Edit your OpenClaw config file (`~/.openclaw/config.json5`):
108
116
 
109
117
  ## Task workflow
110
118
 
111
- Tasks follow a strict state machine. The agent claims a task, works on it, and either completes or gives it up — always returning control to a human.
119
+ Tasks follow a strict state machine. The agent claims a task, works on it, and completes it (done or blocked) — always returning control to a human.
112
120
 
113
121
  ```
114
- ready_for_bot ──[get_next_task]──> working_on_it ──[done]──> waiting_for_human
115
-
116
- └───[giveup]──> waiting_for_human
122
+ ready_for_bot ──[start_task]──> working_on_it ──[complete_task(done)]──> waiting_for_human
123
+
124
+ └──[complete_task(blocked)]──>
125
+ human approves/declines
126
+
127
+ [approve] → done
117
128
  ```
118
129
 
119
130
  See [docs/tools.md](docs/tools.md) for the full tool reference and [docs/architecture.md](docs/architecture.md) for how the system works under the hood.