mini-coder 0.3.1 → 0.4.1

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.
@@ -40,9 +40,15 @@ _prompt_
40
40
  `/model`
41
41
  : List all available models.
42
42
 
43
+ `/models`
44
+ : Alias for `/model`.
45
+
43
46
  `/model` _id_
44
47
  : Switch model.
45
48
 
49
+ `/models` _id_
50
+ : Alias for `/model` _id_.
51
+
46
52
  `/model effort` _low|medium|high|xhigh|off_
47
53
  : Set reasoning effort.
48
54
 
@@ -177,16 +183,17 @@ Local discovery walks up from cwd to the git worktree root.
177
183
 
178
184
  Config roots: `.agents/`, `.claude/` — local (repo) or global (`~/`).
179
185
 
180
- **Context files** (one global + one local loaded into the system prompt):
186
+ **Context files** (global files first, then the nearest local directory with context files):
181
187
 
182
- - Global: `~/.agents/AGENTS.md` → `~/.agents/CLAUDE.md`
183
- - Local: `./.agents/AGENTS.md` → `./CLAUDE.md` → `./AGENTS.md`
188
+ - Global files concatenate in this order: `~/.agents/AGENTS.md` → `~/.agents/CLAUDE.md` → `~/.claude/CLAUDE.md`
189
+ - Local files concatenate in this order within the nearest matching directory (the same nearest-directory precedence applies to both `AGENTS.md` and `CLAUDE.md`): `./.agents/AGENTS.md` → `./.agents/CLAUDE.md` → `./.claude/CLAUDE.md` → `./CLAUDE.md` → `./AGENTS.md`
184
190
 
185
191
  **Precedence:**
186
192
 
187
- 1. Local overrides global.
188
- 2. Same scope: `.agents` wins over `.claude`.
189
- 3. Skills: nearest ancestor directory wins.
193
+ 1. Local context is loaded from the nearest directory between cwd and the git root.
194
+ 2. Within one scope, matching files are concatenated in the order above.
195
+ 3. Global context appears before local context in the system prompt.
196
+ 4. Skills: nearest ancestor directory wins.
190
197
 
191
198
  ## ENVIRONMENT
192
199
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mini-coder",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "A small, fast CLI coding agent",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",