@openmuster/muster 0.3.1-alpha.2 → 0.3.1-alpha.4

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 (70) hide show
  1. package/README.md +19 -17
  2. package/dist/{args-DHgAmYge.js → args-9ZZDcPxa.js} +2 -2
  3. package/dist/cli.js +5 -5
  4. package/dist/index.js +16 -3
  5. package/dist/inspect/app.js +45 -40
  6. package/dist/main-D5aX7Jaj.js +6 -0
  7. package/dist/{main-A4nHL5oa.js → main-Doit2DDY.js} +242 -21
  8. package/dist/mcp-Cm96TIb3.js +6 -0
  9. package/dist/{module-DOkWwWoU.js → module-D8qcE3e7.js} +1 -1
  10. package/dist/{module-CT_R33MB.js → module-DjDMSEKu.js} +2 -2
  11. package/dist/{steps-ByzmEzLQ.js → steps-BUPRIOe3.js} +1 -1
  12. package/docs/01-concepts/01-overview.md +7 -2
  13. package/docs/01-concepts/02-boards.md +4 -4
  14. package/docs/01-concepts/03-channels.md +1 -1
  15. package/docs/01-concepts/04-threads.md +1 -3
  16. package/docs/01-concepts/05-labels.md +1 -1
  17. package/docs/01-concepts/06-actors.md +1 -1
  18. package/docs/01-concepts/07-events.md +11 -4
  19. package/docs/01-concepts/08-tasks.md +8 -4
  20. package/docs/01-concepts/09-watchers.md +7 -4
  21. package/docs/01-concepts/10-schedules.md +1 -1
  22. package/docs/01-concepts/11-access.md +46 -43
  23. package/docs/01-concepts/12-files-and-data.md +1 -1
  24. package/docs/01-concepts/13-budgets.md +1 -1
  25. package/docs/01-concepts/14-runners.md +9 -8
  26. package/docs/01-concepts/15-outgoing-webhooks.md +2 -2
  27. package/docs/01-concepts/16-workflows.md +6 -6
  28. package/docs/01-concepts/17-board-module.md +8 -6
  29. package/docs/01-quickstart.md +8 -6
  30. package/docs/02-sync/01-overview.md +33 -26
  31. package/docs/02-sync/02-github.md +5 -4
  32. package/docs/02-sync/03-linear.md +21 -21
  33. package/docs/02-sync/04-slack.md +7 -11
  34. package/docs/02-sync/05-notion.md +3 -1
  35. package/docs/02-sync/meta.json +4 -0
  36. package/docs/03-guides/01-coding-agents.md +2 -2
  37. package/docs/03-guides/02-swarm.md +4 -4
  38. package/docs/03-guides/03-factory.md +1 -5
  39. package/docs/03-guides/04-inspector.md +36 -1
  40. package/docs/03-guides/05-running-agents.md +13 -1
  41. package/docs/03-guides/06-sandboxed-agents.md +15 -29
  42. package/docs/03-guides/07-build-a-ui.md +21 -2
  43. package/docs/03-guides/08-ci.md +13 -5
  44. package/docs/03-guides/09-daemon.md +6 -5
  45. package/docs/03-guides/10-two-agents.md +1 -1
  46. package/docs/03-guides/11-person-in-the-loop.md +1 -1
  47. package/docs/03-guides/12-unattended.md +1 -1
  48. package/docs/03-guides/13-terminals.md +4 -5
  49. package/docs/03-guides/14-no-cloud.md +1 -1
  50. package/docs/03-guides/15-several-boards.md +21 -2
  51. package/docs/03-guides/16-non-code.md +12 -3
  52. package/docs/03-guides/17-mcp.md +2 -6
  53. package/docs/03-guides/18-a-board-on-a-server.md +1 -1
  54. package/docs/03-guides/19-a-card-queue.md +22 -22
  55. package/docs/03-guides/20-a-feedback-loop.md +14 -6
  56. package/docs/03-guides/21-running-the-loop.md +16 -9
  57. package/docs/03-guides/22-building-from-linear.md +326 -0
  58. package/docs/03-guides/meta.json +32 -0
  59. package/docs/04-reference/01-cli.md +2 -1
  60. package/docs/04-reference/02-handle.md +4 -3
  61. package/docs/04-reference/03-http.md +3 -2
  62. package/docs/04-reference/04-events.md +1 -1
  63. package/docs/04-reference/05-errors.md +3 -3
  64. package/docs/04-reference/06-conformance.md +4 -2
  65. package/docs/04-reference/07-porting.md +1 -1
  66. package/docs/index.md +60 -24
  67. package/docs/meta.json +3 -0
  68. package/package.json +1 -1
  69. package/dist/main-CuIC8iF4.js +0 -6
  70. package/dist/mcp-GkdeWAnr.js +0 -6
package/docs/index.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: muster
3
- description: A work queue for coding agents, with the threads people read, in one SQLite file.
3
+ description: A work queue for coding agents, in one SQLite file. Agents claim tasks under a lease and work them in threads that people read and answer, from the mu CLI or from TypeScript.
4
4
  ---
5
5
 
6
6
  ## What it is
@@ -18,6 +18,27 @@ mu run --ready db/ --agent claude --as worker-1
18
18
  mu inspect
19
19
  ```
20
20
 
21
+ ## Several agents, one queue
22
+
23
+ Agents never share a task. Several agents take work from the same queue, and
24
+ the board makes sure each task is held by one of them at a time: a claim
25
+ comes with a lease, the holder renews it while it works, and nobody else can
26
+ claim the task meanwhile. If the agent dies or stalls, the lease runs out, the
27
+ task is ready again, and the next free agent takes it.
28
+
29
+ You run several agents when there is more than one thing to do:
30
+
31
+ - **In parallel.** Split a feature into tasks that touch different files,
32
+ and start a few workers that each take one: [A swarm](./03-guides/02-swarm.md).
33
+ - **One builds, one checks.** A second agent reviews in a fresh session once
34
+ the first completes: [Two agents](./03-guides/10-two-agents.md).
35
+ - **Work that arrives.** Issues from Linear, GitHub or Slack land on the
36
+ board, and whoever is free takes the next one:
37
+ [Building from Linear](./03-guides/22-building-from-linear.md).
38
+ - **While you are away.** Leave a queue with a budget, and workers take the
39
+ tasks one after another until it is empty:
40
+ [Running unattended](./03-guides/12-unattended.md).
41
+
21
42
  ## What a board gives you
22
43
 
23
44
  - **Work that can't be taken twice.** A task is claimed under a lease, and
@@ -28,8 +49,8 @@ mu inspect
28
49
  checks the board's log, at most a second apart.
29
50
  - **Things that happen while nobody types.** Schedules send messages later;
30
51
  watchers wake an agent when something happens.
31
- - **The outside world.** GitHub, Linear and Slack threads sync in and out.
32
- All three have been run against the live services.
52
+ - **The outside world.** GitHub, Linear, Slack and Notion threads sync in
53
+ and out.
33
54
  - **Agents started for you.** `mu run` starts Claude Code, Codex, or any
34
55
  command on a task, here or, experimentally, in a cloud sandbox.
35
56
 
@@ -60,37 +81,52 @@ mu inspect
60
81
  - [Workflows](./01-concepts/16-workflows.md)
61
82
  - [The board module and hosts](./01-concepts/17-board-module.md)
62
83
 
63
- ## Sync
64
-
65
- - [Overview](./02-sync/01-overview.md)
66
- - [GitHub](./02-sync/02-github.md)
67
- - [Linear](./02-sync/03-linear.md)
68
- - [Slack](./02-sync/04-slack.md)
69
- - [Notion](./02-sync/05-notion.md)
70
-
71
84
  ## Guides
72
85
 
86
+ **Agents on a board**
87
+
73
88
  - [Coding agents](./03-guides/01-coding-agents.md)
74
- - [A swarm](./03-guides/02-swarm.md)
75
- - [A software factory](./03-guides/03-factory.md)
76
- - [The inspector](./03-guides/04-inspector.md)
77
89
  - [Running agents](./03-guides/05-running-agents.md)
78
- - [Agents in cloud sandboxes](./03-guides/06-sandboxed-agents.md)
79
- - [Build a UI](./03-guides/07-build-a-ui.md)
90
+ - [The inspector](./03-guides/04-inspector.md)
91
+ - [With your terminal: tmux, Herdr, Rex](./03-guides/13-terminals.md)
92
+ - [An agent with no shell: MCP](./03-guides/17-mcp.md)
93
+
94
+ **Work from your tools**
95
+
96
+ - [Building from Linear](./03-guides/22-building-from-linear.md)
97
+ - [A feedback loop](./03-guides/20-a-feedback-loop.md)
98
+ - [Running the feedback loop](./03-guides/21-running-the-loop.md)
99
+ - [A card queue](./03-guides/19-a-card-queue.md)
100
+ - [A software factory](./03-guides/03-factory.md)
80
101
  - [CI](./03-guides/08-ci.md)
81
- - [Keep the daemon running](./03-guides/09-daemon.md)
102
+
103
+ **Patterns**
104
+
82
105
  - [Two agents: one builds, one reviews](./03-guides/10-two-agents.md)
83
106
  - [A person in the loop](./03-guides/11-person-in-the-loop.md)
84
107
  - [Running unattended](./03-guides/12-unattended.md)
85
- - [With your terminal: tmux, Herdr, Rex](./03-guides/13-terminals.md)
86
- - [With no cloud at all](./03-guides/14-no-cloud.md)
87
- - [Several repositories, several boards](./03-guides/15-several-boards.md)
108
+ - [A swarm](./03-guides/02-swarm.md)
88
109
  - [Work that isn't code](./03-guides/16-non-code.md)
89
- - [An agent with no shell: MCP](./03-guides/17-mcp.md)
110
+
111
+ **Where it runs**
112
+
113
+ - [Several repositories, several boards](./03-guides/15-several-boards.md)
114
+ - [Keep the daemon running](./03-guides/09-daemon.md)
115
+ - [With no cloud at all](./03-guides/14-no-cloud.md)
90
116
  - [A board on a server](./03-guides/18-a-board-on-a-server.md)
91
- - [A card queue](./03-guides/19-a-card-queue.md)
92
- - [A feedback loop](./03-guides/20-a-feedback-loop.md)
93
- - [Running the feedback loop](./03-guides/21-running-the-loop.md)
117
+ - [Agents in cloud sandboxes](./03-guides/06-sandboxed-agents.md)
118
+
119
+ **Build your own**
120
+
121
+ - [Build a UI](./03-guides/07-build-a-ui.md)
122
+
123
+ ## Integrations
124
+
125
+ - [Overview](./02-sync/01-overview.md)
126
+ - [GitHub](./02-sync/02-github.md)
127
+ - [Linear](./02-sync/03-linear.md)
128
+ - [Slack](./02-sync/04-slack.md)
129
+ - [Notion](./02-sync/05-notion.md)
94
130
 
95
131
  ## Reference
96
132
 
package/docs/meta.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "pages": ["index", "01-quickstart", "01-concepts", "03-guides", "02-sync", "04-reference"]
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmuster/muster",
3
- "version": "0.3.1-alpha.2",
3
+ "version": "0.3.1-alpha.4",
4
4
  "description": "A local-first work queue for coding agents, with the threads people read: leased tasks, one log, wait and tail, schedules and watchers.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -1,6 +0,0 @@
1
- import { E as VERSION } from "./args-DHgAmYge.js";
2
- import "./steps-ByzmEzLQ.js";
3
- import { a as main, i as attend, n as agentPrompt, o as meantCommand, r as agentToken, s as repoUrl, t as SPECS } from "./main-A4nHL5oa.js";
4
- import "./module-DOkWwWoU.js";
5
-
6
- export { SPECS, VERSION, agentPrompt, agentToken, attend, main, meantCommand, repoUrl };
@@ -1,6 +0,0 @@
1
- import "./args-DHgAmYge.js";
2
- import "./steps-ByzmEzLQ.js";
3
- import { c as answer, l as mcp, u as refusal } from "./main-A4nHL5oa.js";
4
- import "./module-DOkWwWoU.js";
5
-
6
- export { answer, mcp, refusal };