@haposoft/cafekit 0.8.15 → 0.8.17

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Claude Code-first spec-driven workflow and runtime bundle for AI coding assistants.
4
4
 
5
- [![Version](https://img.shields.io/badge/version-0.8.11-blue.svg)](https://github.com/haposoft/cafekit)
5
+ [![Version](https://img.shields.io/badge/version-0.8.16-blue.svg)](https://github.com/haposoft/cafekit)
6
6
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
7
7
  [![Claude%20Code](https://img.shields.io/badge/Claude%20Code-Primary-orange.svg)](https://claude.ai/code)
8
8
 
@@ -20,7 +20,7 @@ This package currently focuses on the Claude Code runtime:
20
20
  - installs runtime hooks, statusline, and managed settings
21
21
  - merges Claude settings safely on re-run
22
22
 
23
- Antigravity remains in the repository as a legacy path, but Claude Code is the primary supported runtime for this release.
23
+ OpenCode install support installs command wrappers under `.opencode/commands/`, converted OpenCode agents under `.opencode/agents/`, root `AGENTS.md`, merged `opencode.json`, and CafeKit skills under `.claude/skills/` so OpenCode can read the Claude-compatible skill bundle. OpenCode command names intentionally omit the `hapo:` prefix.
24
24
 
25
25
  ## Install
26
26
 
@@ -38,7 +38,7 @@ npx @haposoft/cafekit --upgrade
38
38
 
39
39
  Requirements:
40
40
  - Node.js 18+
41
- - Claude Code project with a `.claude/` directory, or choose Claude when prompted
41
+ - Claude Code project with a `.claude/` directory, OpenCode project with `.opencode/` or `opencode.json`, or choose a runtime when prompted
42
42
 
43
43
  ## What Gets Installed
44
44
 
@@ -57,18 +57,43 @@ Claude Code install targets:
57
57
  └── CLAUDE.md
58
58
  ```
59
59
 
60
+ OpenCode install targets:
61
+
62
+ ```text
63
+ .opencode/
64
+ ├── commands/
65
+ ├── agents/
66
+ └── cafekit.json
67
+
68
+ .claude/
69
+ ├── .gitignore
70
+ ├── skills/
71
+ ├── rules/
72
+ ├── scripts/
73
+ └── runtime.json
74
+
75
+ AGENTS.md
76
+ opencode.json
77
+ ```
78
+
79
+ OpenCode setup also:
80
+ - binds generated commands to the matching CafeKit subagent with `agent` + `subtask`
81
+ - configures `permission.skill` and `permission.task` for CafeKit skills/subtasks
82
+ - optionally writes `model` to `opencode.json` from `OPENCODE_MODEL`, `OPENCODE_DEFAULT_MODEL`, or installer input
83
+
60
84
  Managed runtime features include:
61
85
  - Claude Code statusline
62
86
  - session and subagent hooks
63
87
  - rule/context injection
64
88
  - spec state awareness
65
89
  - safe settings merge on reinstall
66
- - installed CafeKit version tracking in `.claude/cafekit.json`
90
+ - installed CafeKit version tracking in `.claude/cafekit.json` or `.opencode/cafekit.json`
67
91
 
68
92
  To check the installed CafeKit package version:
69
93
 
70
94
  ```bash
71
95
  cat .claude/cafekit.json
96
+ cat .opencode/cafekit.json
72
97
  ```
73
98
 
74
99
  ## Core Skills
@@ -87,8 +112,22 @@ CafeKit ships many skills, but the main release surface is:
87
112
 
88
113
  Common companion skills bundled in this package include `inspect`, `impact-analysis`, `research`, `ai-multimodal`, `frontend-development`, `backend-development`, and `react-best-practices`.
89
114
 
115
+ CafeKit uses rule-based skill routing guidance instead of an automatic prompt-scoring hook. See `.claude/rules/skill-workflow-routing.md`, `.claude/rules/skill-domain-routing.md`, or run:
116
+
117
+ ```bash
118
+ node .claude/scripts/generate-skill-catalog.cjs --skills
119
+ ```
120
+
90
121
  ## Quick Start
91
122
 
123
+ OpenCode uses the generated command names without the Claude `hapo:` prefix:
124
+
125
+ ```bash
126
+ /specs Build a Google Meet transcript extension with AI summaries
127
+ /develop meet-transcript-mvp
128
+ /test --full
129
+ ```
130
+
92
131
  For unclear ideas, brainstorm first:
93
132
 
94
133
  ```bash