mini-coder 0.1.2 → 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.
@@ -46,31 +46,19 @@ Developer-focused CLI coding agent. Prioritizes dev flow — no slow startup, no
46
46
  `/model effort` *low|medium|high|xhigh|off*
47
47
  : Set reasoning effort.
48
48
 
49
- `/reasoning` \[*on|off*\]
50
- : Toggle reasoning display.
51
-
52
- `/context prune` *off|balanced|aggressive*
53
- : Pruning strategy.
54
-
55
- `/context cap` *off|bytes|kb*
56
- : Tool result payload cap.
57
-
58
- `/cache` *on|off*
59
- : Toggle prompt caching globally.
60
-
61
- `/cache openai` *in_memory|24h*
62
- : OpenAI cache retention.
49
+ `/session` \[*id*\]
50
+ : List sessions or switch to one.
63
51
 
64
- `/cache gemini` *off|cachedContents/...*
65
- : Gemini cached content.
52
+ `/new`
53
+ : Start a fresh session.
66
54
 
67
55
  `/undo`
68
56
  : Remove last turn (does NOT revert filesystem).
69
57
 
70
- `/new`
71
- : Start a fresh session.
58
+ `/reasoning` \[*on|off*\]
59
+ : Toggle reasoning display.
72
60
 
73
- `/verbose`
61
+ `/verbose` \[*on|off*\]
74
62
  : Toggle output truncation.
75
63
 
76
64
  `/mcp list`
@@ -85,11 +73,8 @@ Developer-focused CLI coding agent. Prioritizes dev flow — no slow startup, no
85
73
  `/mcp remove` *name*
86
74
  : Remove MCP server.
87
75
 
88
- `/agent` \[*name*\]
89
- : Set or clear active agent.
90
-
91
76
  `/review`
92
- : Review changes (custom command, auto-created globally).
77
+ : Review recent changes (global skill, auto-created at first run).
93
78
 
94
79
  `/login`
95
80
  : Show OAuth login status.
@@ -109,10 +94,30 @@ Developer-focused CLI coding agent. Prioritizes dev flow — no slow startup, no
109
94
  ## INLINE FEATURES
110
95
 
111
96
  `!` prefix
112
- : Runs shell commands inline.
97
+ : Runs shell commands inline — output is sent to the LLM as a user message.
113
98
 
114
99
  `@` prefix
115
- : References files or skills (with tab completion).
100
+ : Embeds a file into the prompt (Tab to complete file paths).
101
+
102
+ `/` prefix
103
+ : Reference a skill in the prompt (Tab to complete skill names).
104
+
105
+ ## KEYS
106
+
107
+ `ESC`
108
+ : Interrupt the assistant response — partial output is preserved in history.
109
+
110
+ `Ctrl+C`
111
+ : Exit forcefully.
112
+
113
+ `Ctrl+D`
114
+ : Graceful exit (EOF).
115
+
116
+ `↑` / `↓`
117
+ : Navigate command history.
118
+
119
+ `Ctrl+R`
120
+ : Search command history.
116
121
 
117
122
  ## BUILT-IN TOOLS
118
123
 
@@ -150,46 +155,6 @@ mc-edit <path> (--old <text> | --old-file <path>) [--new <text> | --new-file <pa
150
155
 
151
156
  Workflow: inspect with **shell** → edit with **mc-edit** → verify with **shell**.
152
157
 
153
- ## CUSTOM COMMANDS
154
-
155
- Drop a `.md` file in `.agents/commands/` (local) or `~/.agents/commands/` (global) and it becomes a `/command`. Filename equals command name (`standup.md` → `/standup`).
156
-
157
- `.claude/commands/*.md` is also supported.
158
-
159
- **Frontmatter fields:**
160
-
161
- `description`
162
- : Shown in `/help`.
163
-
164
- `model`
165
- : Optional metadata field.
166
-
167
- **Argument substitution:**
168
-
169
- `$ARGUMENTS` expands to the full argument string; `$1`–`$9` expand to positional tokens.
170
-
171
- **Shell interpolation:**
172
-
173
- `` !`cmd` `` injects shell output at expansion time (10 s timeout).
174
-
175
- **Precedence:** custom commands shadow built-ins. Local overrides global.
176
-
177
- ## CUSTOM AGENTS
178
-
179
- Drop a `.md` file in `.agents/agents/` (local) or `~/.agents/agents/` (global). Filename equals agent name. Activate with `/agent <name>`.
180
-
181
- `.claude/agents/*.md` is also supported.
182
-
183
- **Frontmatter fields:**
184
-
185
- `description`
186
- : Shown in `/help`.
187
-
188
- `model`
189
- : Optional metadata field.
190
-
191
- Body is the agent system prompt.
192
-
193
158
  ## SKILLS
194
159
 
195
160
  Skills are reusable instruction files at `.agents/skills/<name>/SKILL.md`.
@@ -206,18 +171,18 @@ Skills are reusable instruction files at `.agents/skills/<name>/SKILL.md`.
206
171
 
207
172
  Skills are never auto-loaded. Load explicitly:
208
173
 
209
- - `@skill-name` in prompts (injects body wrapped in `<skill>` XML).
174
+ - `/skill-name` in prompts (injects body as a user message).
210
175
  - **listSkills** / **readSkill** tools at runtime.
211
176
 
212
177
  Local discovery walks up from cwd to the git worktree root.
213
178
 
214
- ## CONFIGURATION
179
+ A default **review** skill is created at `~/.agents/skills/review/SKILL.md` on first run if it doesn't exist. It can be customized or shadowed locally.
215
180
 
216
- Supports `.agents` and `.claude` layouts for commands, skills, agents, and context.
181
+ ## CONFIGURATION
217
182
 
218
183
  Config roots: `.agents/`, `.claude/` — local (repo) or global (`~/`).
219
184
 
220
- **Context files** (one global + one local loaded):
185
+ **Context files** (one global + one local loaded into the system prompt):
221
186
 
222
187
  - Global: `~/.agents/AGENTS.md` → `~/.agents/CLAUDE.md`
223
188
  - Local: `./.agents/AGENTS.md` → `./CLAUDE.md` → `./AGENTS.md`
@@ -254,7 +219,7 @@ Config roots: `.agents/`, `.claude/` — local (repo) or global (`~/`).
254
219
  : App data directory (sessions.db, api.log, errors.log).
255
220
 
256
221
  `.agents/` or `.claude/`
257
- : Config directories for commands, agents, skills.
222
+ : Config directories for skills and context files.
258
223
 
259
224
  `AGENTS.md` / `CLAUDE.md`
260
225
  : Project context files.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mini-coder",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "A small, fast CLI coding agent",
5
5
  "module": "src/index.ts",
6
6
  "type": "module",