mini-coder 0.0.15 → 0.0.16

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.
@@ -46,6 +46,8 @@ into the conversation.
46
46
  |---|---|---|
47
47
  | `description` | No | Shown in `/help`. Defaults to filename. |
48
48
  | `model` | No | Override the active model for this agent. |
49
+ | `mode` | No | `primary` — interactive only (via `/agent <name>`); `subagent` — callable via the `subagent` tool only (default); `all` — both. |
50
+
49
51
 
50
52
  The markdown body (after frontmatter) is the agent's system prompt.
51
53
 
@@ -20,7 +20,8 @@ Create a markdown file. The filename becomes the command name.
20
20
  ```md
21
21
  ---
22
22
  description: Summarise what changed since yesterday
23
- model: zen/claude-3-5-haiku
23
+ model: zen/claude-haiku-4-5
24
+
24
25
  ---
25
26
 
26
27
  Run `!`git log --oneline --since=yesterday`` and summarise the changes
@@ -38,8 +39,11 @@ Then in the REPL:
38
39
  | Field | Required | Description |
39
40
  |---|---|---|
40
41
  | `description` | No | Shown in `/help`. Defaults to the command name. |
41
- | `model` | No | Override the active model for this command (subagent execution). |
42
- | `execution` | No | Where the command runs: `subagent` (default) or `inline`. |
42
+ | `model` | No | Override the active model for this command (only applies when `context: fork`). |
43
+ | `context` | No | Set to `fork` to run the command as an isolated subagent; default runs inline. |
44
+ | `subtask` | No | Set to `true` to force subagent execution (OpenCode-compatible alias for `context: fork`). |
45
+ | `agent` | No | Run the command under a named agent's system prompt (only applies when `context: fork`). |
46
+
43
47
 
44
48
 
45
49
  ## Arguments
@@ -51,7 +55,8 @@ Use `$ARGUMENTS` for the full argument string, or `$1`, `$2`, … `$9` for indiv
51
55
  ```md
52
56
  ---
53
57
  description: Search the codebase for a topic
54
- model: zen/claude-3-5-haiku
58
+ model: zen/claude-haiku-4-5
59
+
55
60
  ---
56
61
 
57
62
  Search the codebase for: $ARGUMENTS
@@ -111,7 +116,8 @@ lightweight tasks regardless of what the session is currently set to.
111
116
  ```md
112
117
  ---
113
118
  description: Quick grep for a symbol
114
- model: zen/claude-3-5-haiku
119
+ model: zen/claude-haiku-4-5
120
+
115
121
  ---
116
122
 
117
123
  Find all usages of $ARGUMENTS across the codebase using grep and glob.
@@ -120,31 +126,14 @@ List each occurrence with file path and line number. No explanations needed.
120
126
 
121
127
  Large models for deep analysis, small models for search and lookup.
122
128
 
123
- ## Execution mode
124
-
125
- By default, commands run with `execution: subagent` (even if `execution`
126
- is omitted).
127
-
128
- Use `execution: inline` to run the command in the main agent context
129
- instead of spawning a subagent worktree.
130
-
131
- ```md
132
- ---
133
- description: Safe release flow
134
- execution: inline
135
- ---
136
-
137
- Run the release steps in this main repo checkout.
138
- ```
139
-
140
- Use `inline` for repo-sensitive workflows (like release flows) where branch
141
- context must be exactly the current session branch.
142
-
143
129
 
144
130
  ## Precedence
145
131
 
146
- Custom commands shadow built-ins. If you create `.agents/commands/review.md`
147
- it will replace the built-in `/review` for that project.
132
+ Custom commands shadow built-ins. If you create `.agents/commands/plan.md`
133
+ it will replace the built-in `/plan` for that project. The global `/review`
134
+ command (auto-created at `~/.agents/commands/review.md` on first run) works
135
+ the same way — a local `.agents/commands/review.md` will override it.
136
+
148
137
 
149
138
  ## Listing commands
150
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mini-coder",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "A small, fast CLI coding agent",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",
@@ -14,27 +14,27 @@
14
14
  "lint": "biome check src",
15
15
  "format": "biome format --write src",
16
16
  "knip": "knip",
17
- "test": "bun test",
17
+ "test": "bun test --only-failures",
18
+ "test:verbose": "bun test",
18
19
  "jscpd": "jscpd src"
19
20
  },
20
21
  "dependencies": {
21
- "@ai-sdk/anthropic": "^3.0.46",
22
- "@ai-sdk/google": "^3.0.30",
23
- "@ai-sdk/openai": "^3.0.30",
24
- "@ai-sdk/openai-compatible": "^2.0.30",
25
- "@modelcontextprotocol/sdk": "^1.26.0",
26
- "ai": "^6.0.94",
22
+ "@ai-sdk/anthropic": "^3.0.58",
23
+ "@ai-sdk/google": "^3.0.43",
24
+ "@ai-sdk/openai": "^3.0.41",
25
+ "@ai-sdk/openai-compatible": "^2.0.35",
26
+ "@modelcontextprotocol/sdk": "^1.27.1",
27
+ "ai": "^6.0.116",
27
28
  "ignore": "^7.0.5",
28
- "ollama-ai-provider": "^1.2.0",
29
- "yoctocolors": "^2.1.1",
29
+ "yoctocolors": "^2.1.2",
30
30
  "zod": "^4.3.6"
31
31
  },
32
32
  "devDependencies": {
33
- "@biomejs/biome": "^1.9.4",
33
+ "@biomejs/biome": "^2.4.6",
34
34
  "@types/bun": "latest",
35
35
  "jscpd": "^4.0.8",
36
36
  "knip": "^5.86.0",
37
- "typescript": "^5.8.3"
37
+ "typescript": "^5.9.3"
38
38
  },
39
39
  "license": "MIT"
40
40
  }