refacil-sdd-ai 4.5.3 → 4.5.5
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 +1 -1
- package/agents/proposer.md +1 -1
- package/lib/installer.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,7 +174,7 @@ Some skills delegate their heavy work to **sub-agents** that run in isolated con
|
|
|
174
174
|
|
|
175
175
|
**Common properties**: specialized system prompt, direct-invocation guardrail, output contract with a fenced JSON block per skill. Read-only sub-agents (`investigator`, `validator`, `auditor`) do not have `Edit`/`Write`. Write sub-agents (`tester`, `implementer`, `debugger`, `proposer`) do.
|
|
176
176
|
|
|
177
|
-
**Model**: `refacil-proposer` runs with `model: opusplan` (uses Opus during plan mode for highest-stakes planning, then switches to Sonnet for execution). Other sub-agents use `model: sonnet` by default.
|
|
177
|
+
**Model**: `refacil-proposer` runs with `model: opusplan` (uses Opus during plan mode for highest-stakes planning, then switches to Sonnet for execution). Other sub-agents use `model: sonnet` by default for Claude Code, others use inherit model.
|
|
178
178
|
|
|
179
179
|
**Triple-platform**: `.claude/agents/refacil-*.md` uses `tools:` (granular allowlist). `.cursor/agents/refacil-*.md` is auto-generated: `readonly: true` for agents without `Edit`/`Write`, `readonly: false` for those that have them; always `model: inherit`. `.opencode/agents/refacil-*.md` is auto-generated via `transformFrontmatterForOpenCode()`: converts `tools:` to a `permission:` block (`edit: allow/deny`, `bash: allow/deny`, `webfetch: deny`), adds `mode: subagent`, adds `hidden: true` for internal agents, and removes `model:`. The installer transforms the frontmatter automatically for all three IDEs.
|
|
180
180
|
|
package/agents/proposer.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: refacil-proposer
|
|
3
3
|
description: Generates SDD-AI planning artifacts (proposal, specs, design, tasks) for any codebase. Delegated by /refacil:propose — do not invoke directly.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
|
-
model:
|
|
5
|
+
model: opusplan
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# refacil-proposer — Planning Artifact Generator
|
package/lib/installer.js
CHANGED
|
@@ -141,7 +141,9 @@ function transformFrontmatterForCursor(content) {
|
|
|
141
141
|
}
|
|
142
142
|
if (line.startsWith('model:')) {
|
|
143
143
|
const value = line.slice('model:'.length).trim();
|
|
144
|
-
|
|
144
|
+
// Claude Code short aliases (and plan-mode alias) → Cursor always inherits session model
|
|
145
|
+
const ccAlias = value.toLowerCase();
|
|
146
|
+
if (ccAlias === 'sonnet' || ccAlias === 'opus' || ccAlias === 'haiku' || ccAlias === 'opusplan') {
|
|
145
147
|
out.push('model: inherit');
|
|
146
148
|
} else {
|
|
147
149
|
out.push(line);
|
package/package.json
CHANGED