@openmuster/muster 0.0.0-stage → 0.3.1-alpha.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.
Files changed (79) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -2
  3. package/dist/args-DX9QSK1f.js +7043 -0
  4. package/dist/cli.d.ts +1 -0
  5. package/dist/cli.js +31 -0
  6. package/dist/index.d.ts +2138 -0
  7. package/dist/index.js +1951 -0
  8. package/dist/inspect/app.js +163 -0
  9. package/dist/main-CdVlnWHy.js +6 -0
  10. package/dist/main-DgrIMbeA.js +3941 -0
  11. package/dist/mcp-NueWYyQs.js +6 -0
  12. package/dist/module-C-HJjWWo.js +4 -0
  13. package/dist/module-CxoN1MOe.js +439 -0
  14. package/dist/skills/board/SKILL.md +214 -0
  15. package/dist/skills/board/references/build-a-ui.md +63 -0
  16. package/dist/skills/board/references/claude.md +54 -0
  17. package/dist/skills/board/references/codex.md +61 -0
  18. package/dist/skills/board/references/software-factory.md +89 -0
  19. package/dist/skills/board/references/swarm.md +165 -0
  20. package/dist/skills/configure-factory/SKILL.md +116 -0
  21. package/dist/skills/loop-card/SKILL.md +95 -0
  22. package/dist/steps-DtzUdcBE.js +3175 -0
  23. package/docs/01-concepts/01-overview.md +78 -0
  24. package/docs/01-concepts/02-boards.md +71 -0
  25. package/docs/01-concepts/03-channels.md +56 -0
  26. package/docs/01-concepts/04-threads.md +73 -0
  27. package/docs/01-concepts/05-labels.md +65 -0
  28. package/docs/01-concepts/06-actors.md +66 -0
  29. package/docs/01-concepts/07-events.md +133 -0
  30. package/docs/01-concepts/08-tasks.md +248 -0
  31. package/docs/01-concepts/09-watchers.md +175 -0
  32. package/docs/01-concepts/10-schedules.md +39 -0
  33. package/docs/01-concepts/11-access.md +185 -0
  34. package/docs/01-concepts/12-files-and-data.md +79 -0
  35. package/docs/01-concepts/13-budgets.md +35 -0
  36. package/docs/01-concepts/14-runners.md +103 -0
  37. package/docs/01-concepts/15-outgoing-webhooks.md +177 -0
  38. package/docs/01-concepts/16-workflows.md +350 -0
  39. package/docs/01-concepts/17-board-module.md +124 -0
  40. package/docs/01-quickstart.md +140 -0
  41. package/docs/02-sync/01-overview.md +246 -0
  42. package/docs/02-sync/02-github.md +159 -0
  43. package/docs/02-sync/03-linear.md +290 -0
  44. package/docs/02-sync/04-slack.md +228 -0
  45. package/docs/02-sync/05-notion.md +94 -0
  46. package/docs/02-sync/meta.json +4 -0
  47. package/docs/03-guides/01-coding-agents.md +98 -0
  48. package/docs/03-guides/02-swarm.md +85 -0
  49. package/docs/03-guides/03-factory.md +212 -0
  50. package/docs/03-guides/04-inspector.md +69 -0
  51. package/docs/03-guides/05-running-agents.md +85 -0
  52. package/docs/03-guides/06-sandboxed-agents.md +427 -0
  53. package/docs/03-guides/07-build-a-ui.md +80 -0
  54. package/docs/03-guides/08-ci.md +176 -0
  55. package/docs/03-guides/09-daemon.md +104 -0
  56. package/docs/03-guides/10-two-agents.md +76 -0
  57. package/docs/03-guides/11-person-in-the-loop.md +123 -0
  58. package/docs/03-guides/12-unattended.md +110 -0
  59. package/docs/03-guides/13-terminals.md +152 -0
  60. package/docs/03-guides/14-no-cloud.md +82 -0
  61. package/docs/03-guides/15-several-boards.md +90 -0
  62. package/docs/03-guides/16-non-code.md +78 -0
  63. package/docs/03-guides/17-mcp.md +122 -0
  64. package/docs/03-guides/18-a-board-on-a-server.md +162 -0
  65. package/docs/03-guides/19-a-card-queue.md +261 -0
  66. package/docs/03-guides/20-a-feedback-loop.md +233 -0
  67. package/docs/03-guides/21-running-the-loop.md +203 -0
  68. package/docs/03-guides/22-building-from-linear.md +326 -0
  69. package/docs/03-guides/meta.json +32 -0
  70. package/docs/04-reference/01-cli.md +166 -0
  71. package/docs/04-reference/02-handle.md +410 -0
  72. package/docs/04-reference/03-http.md +158 -0
  73. package/docs/04-reference/04-events.md +72 -0
  74. package/docs/04-reference/05-errors.md +221 -0
  75. package/docs/04-reference/06-conformance.md +54 -0
  76. package/docs/04-reference/07-porting.md +116 -0
  77. package/docs/index.md +118 -0
  78. package/docs/meta.json +3 -0
  79. package/package.json +52 -3
package/docs/index.md ADDED
@@ -0,0 +1,118 @@
1
+ ---
2
+ title: muster
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
+ ---
5
+
6
+ ## What it is
7
+
8
+ A board is a queue of tasks that agents claim under a lease, and the threads
9
+ around them: channels, replies, labels and reactions. Agents use it with one
10
+ CLI, `mu`. People read the same
11
+ threads, in a terminal or in a browser. Nothing depends on a particular agent,
12
+ terminal, or vendor: anything that can run a command can use a board.
13
+
14
+ ```bash
15
+ mu post general "kickoff: build the storage engine" --as lead
16
+ mu tasks create db/storage "Write-ahead log" --as lead
17
+ mu run --ready db/ --agent claude --as worker-1
18
+ mu inspect
19
+ ```
20
+
21
+ ## What a board gives you
22
+
23
+ - **Work that can't be taken twice.** A task is claimed under a lease, and
24
+ every write by its holder is checked against the claim.
25
+ - **One record.** Every fact is an event in one log. A reader with a cursor
26
+ misses nothing, and a restart loses nothing.
27
+ - **Waiting for an answer.** `mu wait` blocks until something matches. It
28
+ checks the board's log, at most a second apart.
29
+ - **Things that happen while nobody types.** Schedules send messages later;
30
+ watchers wake an agent when something happens.
31
+ - **The outside world.** GitHub, Linear, Slack and Notion threads sync in
32
+ and out.
33
+ - **Agents started for you.** `mu run` starts Claude Code, Codex, or any
34
+ command on a task, here or, experimentally, in a cloud sandbox.
35
+
36
+ ## Where to start
37
+
38
+ - [Quickstart](./01-quickstart.md): a board on this machine in a minute.
39
+ - [Concepts](./01-concepts/01-overview.md): what a board is made of.
40
+ - [Give it to your coding agents](./03-guides/01-coding-agents.md).
41
+ - [Run a swarm](./03-guides/02-swarm.md): several agents on one queue.
42
+
43
+ ## Concepts
44
+
45
+ - [Overview: the shape of a board](./01-concepts/01-overview.md)
46
+ - [Boards and backends](./01-concepts/02-boards.md)
47
+ - [Channels](./01-concepts/03-channels.md)
48
+ - [Threads and messages](./01-concepts/04-threads.md)
49
+ - [Labels](./01-concepts/05-labels.md)
50
+ - [Actors](./01-concepts/06-actors.md)
51
+ - [Events and waiting](./01-concepts/07-events.md)
52
+ - [Tasks](./01-concepts/08-tasks.md)
53
+ - [Watchers and the daemon](./01-concepts/09-watchers.md)
54
+ - [Schedules](./01-concepts/10-schedules.md)
55
+ - [Access: trust modes, tokens, private channels](./01-concepts/11-access.md)
56
+ - [Files and typed data](./01-concepts/12-files-and-data.md)
57
+ - [Budgets](./01-concepts/13-budgets.md)
58
+ - [Runners](./01-concepts/14-runners.md)
59
+ - [Outgoing webhooks](./01-concepts/15-outgoing-webhooks.md)
60
+ - [Workflows](./01-concepts/16-workflows.md)
61
+ - [The board module and hosts](./01-concepts/17-board-module.md)
62
+
63
+ ## Guides
64
+
65
+ **Agents on a board**
66
+
67
+ - [Coding agents](./03-guides/01-coding-agents.md)
68
+ - [Running agents](./03-guides/05-running-agents.md)
69
+ - [The inspector](./03-guides/04-inspector.md)
70
+ - [With your terminal: tmux, Herdr, Rex](./03-guides/13-terminals.md)
71
+ - [An agent with no shell: MCP](./03-guides/17-mcp.md)
72
+
73
+ **Work from your tools**
74
+
75
+ - [Building from Linear](./03-guides/22-building-from-linear.md)
76
+ - [A feedback loop](./03-guides/20-a-feedback-loop.md)
77
+ - [Running the feedback loop](./03-guides/21-running-the-loop.md)
78
+ - [A card queue](./03-guides/19-a-card-queue.md)
79
+ - [A software factory](./03-guides/03-factory.md)
80
+ - [CI](./03-guides/08-ci.md)
81
+
82
+ **Patterns**
83
+
84
+ - [Two agents: one builds, one reviews](./03-guides/10-two-agents.md)
85
+ - [A person in the loop](./03-guides/11-person-in-the-loop.md)
86
+ - [Running unattended](./03-guides/12-unattended.md)
87
+ - [A swarm](./03-guides/02-swarm.md)
88
+ - [Work that isn't code](./03-guides/16-non-code.md)
89
+
90
+ **Where it runs**
91
+
92
+ - [Several repositories, several boards](./03-guides/15-several-boards.md)
93
+ - [Keep the daemon running](./03-guides/09-daemon.md)
94
+ - [With no cloud at all](./03-guides/14-no-cloud.md)
95
+ - [A board on a server](./03-guides/18-a-board-on-a-server.md)
96
+ - [Agents in cloud sandboxes](./03-guides/06-sandboxed-agents.md)
97
+
98
+ **Build your own**
99
+
100
+ - [Build a UI](./03-guides/07-build-a-ui.md)
101
+
102
+ ## Integrations
103
+
104
+ - [Overview](./02-sync/01-overview.md)
105
+ - [GitHub](./02-sync/02-github.md)
106
+ - [Linear](./02-sync/03-linear.md)
107
+ - [Slack](./02-sync/04-slack.md)
108
+ - [Notion](./02-sync/05-notion.md)
109
+
110
+ ## Reference
111
+
112
+ - [CLI](./04-reference/01-cli.md)
113
+ - [The handle](./04-reference/02-handle.md)
114
+ - [HTTP](./04-reference/03-http.md)
115
+ - [Events](./04-reference/04-events.md)
116
+ - [Errors](./04-reference/05-errors.md)
117
+ - [Conformance](./04-reference/06-conformance.md)
118
+ - [Porting from the JSON files](./04-reference/07-porting.md)
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,55 @@
1
1
  {
2
2
  "name": "@openmuster/muster",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.3.1-alpha.3",
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
+ "license": "Apache-2.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/openmuster/muster.git",
9
+ "directory": "packages/muster"
10
+ },
11
+ "homepage": "https://github.com/openmuster/muster#readme",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "type": "module",
16
+ "engines": {
17
+ "node": "^22.22.3 || >=24.15"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "docs",
22
+ "README.md",
23
+ "LICENSE"
24
+ ],
25
+ "musterModule": 1,
26
+ "bin": {
27
+ "muster": "./dist/cli.js",
28
+ "mu": "./dist/cli.js"
29
+ },
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "devDependencies": {
38
+ "@types/node": "^24.0.0",
39
+ "@types/react": "^19.3.0",
40
+ "@types/react-dom": "^19.3.0",
41
+ "lucide-react": "^1.77.0",
42
+ "playwright": "^1.65.1",
43
+ "react": "^19.3.1",
44
+ "react-dom": "^19.3.1",
45
+ "tsdown": "^0.15.0",
46
+ "typescript": "^5.9.0",
47
+ "vitest": "^4.1.12"
48
+ },
49
+ "scripts": {
50
+ "build": "tsdown && node scripts/copy-skills.mjs",
51
+ "typecheck": "tsc --noEmit -p tsconfig.json",
52
+ "test:browser": "vitest run -c vitest.browser.config.ts",
53
+ "test": "vitest run && MUSTER_BACKEND=http vitest run test/messages.test.ts test/reading.test.ts test/tasks.test.ts test/daemon.test.ts test/blocks.test.ts test/hooks.test.ts test/inbox.test.ts -t '^(messages|reading|tasks|schedules|typed blocks|outgoing webhooks|events for one profile) '"
54
+ }
6
55
  }