oh-my-muse 0.1.0

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 (41) hide show
  1. package/LICENSE +26 -0
  2. package/README.md +100 -0
  3. package/bin/lib.mjs +606 -0
  4. package/bin/omm.mjs +311 -0
  5. package/hooks/notify.mjs +133 -0
  6. package/models.json +38 -0
  7. package/omm.jsonc +25 -0
  8. package/pack/agents/architect.ts +26 -0
  9. package/pack/agents/critic.ts +26 -0
  10. package/pack/agents/data-scientist.ts +26 -0
  11. package/pack/agents/debugger.ts +26 -0
  12. package/pack/agents/designer.ts +25 -0
  13. package/pack/agents/docs-writer.ts +26 -0
  14. package/pack/agents/file-picker.ts +24 -0
  15. package/pack/agents/implementer.ts +26 -0
  16. package/pack/agents/muse-advisor.ts +63 -0
  17. package/pack/agents/muse-autopilot.ts +65 -0
  18. package/pack/agents/muse-deep-interview.ts +71 -0
  19. package/pack/agents/muse-pipeline.ts +49 -0
  20. package/pack/agents/muse-ralph.ts +48 -0
  21. package/pack/agents/muse-ralplan.ts +70 -0
  22. package/pack/agents/muse-team.ts +95 -0
  23. package/pack/agents/muse-ultraqa.ts +55 -0
  24. package/pack/agents/muse-ultrawork.ts +46 -0
  25. package/pack/agents/planner.ts +26 -0
  26. package/pack/agents/refactorer.ts +26 -0
  27. package/pack/agents/researcher.ts +25 -0
  28. package/pack/agents/reviewer.ts +26 -0
  29. package/pack/agents/security-reviewer.ts +27 -0
  30. package/pack/agents/tester.ts +27 -0
  31. package/pack/skills/design/SKILL.md +24 -0
  32. package/pack/skills/docs/SKILL.md +23 -0
  33. package/pack/skills/harness/SKILL.md +24 -0
  34. package/pack/skills/security/SKILL.md +24 -0
  35. package/pack/skills/tdd/SKILL.md +24 -0
  36. package/pack/skills/verify/SKILL.md +28 -0
  37. package/package.json +48 -0
  38. package/src/harness/DESIGN.md +29 -0
  39. package/src/harness/HARNESS.md +42 -0
  40. package/types/agent-definition.ts +18 -0
  41. package/types/orchestrator.ts +37 -0
package/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 oh-my-muse 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.
22
+
23
+ ---
24
+
25
+ Attribution: Inspired by oh-my-freebuff (MIT) by c8dhjp4tyv-bit and
26
+ oh-my-claudecode (MIT) by Yeachan-Heo. Not affiliated with Meta.
package/README.md ADDED
@@ -0,0 +1,100 @@
1
+ # oh-my-muse
2
+
3
+ [![CI](https://github.com/javi/oh-my-muse/actions/workflows/ci.yml/badge.svg)](https://github.com/javi/oh-my-muse/actions/workflows/ci.yml)
4
+ [![Node >= 20](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org)
5
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
6
+ [![ESM](https://img.shields.io/badge/modules-ESM-yellow)](package.json)
7
+
8
+ Token-efficient agent pack runner for Muse Spark. Three literal tiers
9
+ (`budget` | `balanced` | `premium`), atomic installs, validated configs,
10
+ and redacted secrets.
11
+
12
+ ## Install
13
+
14
+ Requires Node.js `>= 20` (ES modules).
15
+
16
+ ```sh
17
+ git clone https://github.com/javi/oh-my-muse.git
18
+ cd oh-my-muse
19
+ node bin/omm.mjs --help
20
+ ```
21
+
22
+ Use it in a project (paths are absolute; `--dir` defaults to cwd):
23
+
24
+ ```sh
25
+ node /absolute/path/to/oh-my-muse/bin/omm.mjs setup --dir /absolute/path/to/project
26
+ node /absolute/path/to/oh-my-muse/bin/omm.mjs install --dir /absolute/path/to/project
27
+ node /absolute/path/to/oh-my-muse/bin/omm.mjs doctor --dir /absolute/path/to/project
28
+ ```
29
+
30
+ Or link the binary once:
31
+
32
+ ```sh
33
+ npm link
34
+ omm setup --dir /absolute/path/to/project
35
+ omm install --dir /absolute/path/to/project
36
+ ```
37
+
38
+ ## Examples
39
+
40
+ List configured agents with resolved tier and model:
41
+
42
+ ```sh
43
+ omm list --dir /absolute/path/to/project
44
+ omm list --json --dir /absolute/path/to/project
45
+ ```
46
+
47
+ Show or apply a model preset (`code`, `chat`, `reason`, plus custom ones
48
+ in `models.json`):
49
+
50
+ ```sh
51
+ omm preset code --dir /absolute/path/to/project
52
+ omm preset reason --apply planner --dir /absolute/path/to/project
53
+ ```
54
+
55
+ Read and change config (values support `$ENV` / `${VAR:-default}`):
56
+
57
+ ```sh
58
+ omm config show --dir /absolute/path/to/project
59
+ omm config get defaultTier --dir /absolute/path/to/project
60
+ omm config set defaultTier premium --dir /absolute/path/to/project
61
+ ```
62
+
63
+ Skills, notifications, and maintenance:
64
+
65
+ ```sh
66
+ omm skill list --dir /absolute/path/to/project
67
+ omm notify --channel file --message "deploy done" --file /absolute/path/to/notify.log
68
+ omm update --dir /absolute/path/to/project
69
+ omm uninstall --dir /absolute/path/to/project
70
+ ```
71
+
72
+ ## Tiers
73
+
74
+ | Tier | Model | Use for |
75
+ | ---------- | -------------------- | ------------------- |
76
+ | `budget` | `muse-spark-fast` | fast, low-cost chat |
77
+ | `balanced` | `muse-spark` | general coding work |
78
+ | `premium` | `muse-spark-reasoning` | deep reasoning |
79
+
80
+ Details: [docs/MODES.md](docs/MODES.md),
81
+ [docs/MODEL-COMPATIBILITY.md](docs/MODEL-COMPATIBILITY.md),
82
+ [docs/PARITY.md](docs/PARITY.md).
83
+
84
+ ## Development
85
+
86
+ ```sh
87
+ npm run typecheck # tsc --noEmit
88
+ npm test # node --test test/
89
+ node test/smoke.mjs # agent shape validation
90
+ ```
91
+
92
+ See [CONTRIBUTING.md](CONTRIBUTING.md), [CHANGELOG.md](CHANGELOG.md),
93
+ and [SECURITY.md](SECURITY.md).
94
+
95
+ ## Attribution
96
+
97
+ Built for the Muse Spark ecosystem. This is a community project and is
98
+ **not affiliated with Meta**. "Muse" and "Muse Spark" model names belong
99
+ to their respective owners; model availability and pricing are governed
100
+ by the provider, including OpenRouter-routed models.