loadouts 0.1.14 → 0.2.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 (44) hide show
  1. package/README.md +8 -8
  2. package/bundled/loadouts/loadouts.yaml +1 -1
  3. package/bundled/skills/{loadout-usage → loadouts-usage}/SKILL.md +1 -1
  4. package/dist/builtins/index.d.ts.map +1 -1
  5. package/dist/builtins/index.js +4 -0
  6. package/dist/builtins/index.js.map +1 -1
  7. package/dist/builtins/kinds/opencode-config.d.ts +3 -0
  8. package/dist/builtins/kinds/opencode-config.d.ts.map +1 -0
  9. package/dist/builtins/kinds/opencode-config.js +8 -0
  10. package/dist/builtins/kinds/opencode-config.js.map +1 -0
  11. package/dist/builtins/kinds/opencode-plugin.d.ts +3 -0
  12. package/dist/builtins/kinds/opencode-plugin.d.ts.map +1 -0
  13. package/dist/builtins/kinds/opencode-plugin.js +9 -0
  14. package/dist/builtins/kinds/opencode-plugin.js.map +1 -0
  15. package/dist/builtins/tools/opencode.d.ts.map +1 -1
  16. package/dist/builtins/tools/opencode.js +14 -28
  17. package/dist/builtins/tools/opencode.js.map +1 -1
  18. package/dist/cli/commands/doctor.d.ts +11 -0
  19. package/dist/cli/commands/doctor.d.ts.map +1 -0
  20. package/dist/cli/commands/doctor.js +109 -0
  21. package/dist/cli/commands/doctor.js.map +1 -0
  22. package/dist/cli/commands/list.d.ts.map +1 -1
  23. package/dist/cli/commands/list.js +12 -1
  24. package/dist/cli/commands/list.js.map +1 -1
  25. package/dist/cli/commands/skill.js +1 -1
  26. package/dist/cli/commands/skill.js.map +1 -1
  27. package/dist/cli/commands/update.d.ts.map +1 -1
  28. package/dist/cli/commands/update.js +21 -17
  29. package/dist/cli/commands/update.js.map +1 -1
  30. package/dist/cli/index.d.ts.map +1 -1
  31. package/dist/cli/index.js +2 -0
  32. package/dist/cli/index.js.map +1 -1
  33. package/dist/core/types.d.ts.map +1 -1
  34. package/dist/lib/fs.d.ts.map +1 -1
  35. package/dist/lib/fs.js +2 -1
  36. package/dist/lib/fs.js.map +1 -1
  37. package/dist/lib/gitignore.d.ts +30 -10
  38. package/dist/lib/gitignore.d.ts.map +1 -1
  39. package/dist/lib/gitignore.js +228 -44
  40. package/dist/lib/gitignore.js.map +1 -1
  41. package/docs/authoring.md +40 -0
  42. package/docs/concepts.md +9 -7
  43. package/docs/troubleshooting.md +1 -4
  44. package/package.json +1 -1
package/docs/concepts.md CHANGED
@@ -78,16 +78,18 @@ include:
78
78
  | `prompt` | file | Slash command templates |
79
79
  | `extension` | directory | Runtime code extensions |
80
80
  | `theme` | file | UI theme configuration |
81
+ | `opencode-config` | file | Whole-file OpenCode runtime configuration |
82
+ | `opencode-plugin` | file | Local OpenCode plugin modules |
81
83
 
82
84
  ## Supported Tools
83
85
 
84
- | Tool | Rules | Skills | Instructions |
85
- |------|-------|--------|--------------|
86
- | Claude Code | `.claude/rules/*.md` | `.claude/skills/` | `CLAUDE.md` |
87
- | Cursor | `.cursor/rules/*.mdc` | `.cursor/skills/` | `AGENTS.md` |
88
- | OpenCode | `.opencode/rules/*.md` | `.opencode/skills/` | `AGENTS.md` |
89
- | Codex | — | `.agents/skills/` | `AGENTS.md` |
90
- | Pi | `.pi/rules/*.md` | `.pi/skills/` | `AGENTS.md` |
86
+ | Tool | Rules | Skills | Instructions | Extra Artifacts |
87
+ |------|-------|--------|--------------|-----------------|
88
+ | Claude Code | `.claude/rules/*.md` | `.claude/skills/` | `CLAUDE.md` | — |
89
+ | Cursor | `.cursor/rules/*.mdc` | `.cursor/skills/` | `AGENTS.md` | — |
90
+ | OpenCode | `.opencode/rules/*.md` | `.opencode/skills/` | `AGENTS.md` | `opencode.json(c)`, `.opencode/plugins/` |
91
+ | Codex | — | `.agents/skills/` | `AGENTS.md` | — |
92
+ | Pi | `.pi/rules/*.md` | `.pi/skills/` | `AGENTS.md` | `.pi/extensions/`, `.pi/themes/` |
91
93
 
92
94
  ## Sources (Cross-Project Config)
93
95
 
@@ -51,10 +51,7 @@ loadouts sync # Re-render if needed
51
51
 
52
52
  **Cursor:** Rules need `.mdc` extension — loadouts handles this automatically. Restart Cursor if rules don't appear immediately.
53
53
 
54
- **OpenCode:** Rules require the `opencode-rules` plugin. Add to `opencode.json`:
55
- ```json
56
- { "plugins": ["opencode-rules"] }
57
- ```
54
+ **OpenCode:** Rules render to `.opencode/rules/`. Local plugins render to `.opencode/plugins/`, and NPM plugins are configured with the `plugin` array in `opencode.json(c)`.
58
55
 
59
56
  **Claude Code:** Verify rules exist in `.claude/rules/`. May require restarting the session.
60
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loadouts",
3
- "version": "0.1.14",
3
+ "version": "0.2.0",
4
4
  "description": "Composable configuration bundles for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {