Releases: av/mi
Releases · av/mi
v1.7.2
v1.7.1
v1.7.0
~/.mirc config file
Optional JSON config at ~/.mirc — keys become env var defaults. Shell env always wins.
{
"MODEL": "o3",
"OPENAI_BASE_URL": "http://localhost:11434",
"REASONING_EFFORT": "high"
}Any env var mi reads can be set here: OPENAI_API_KEY, MODEL, OPENAI_BASE_URL, REASONING_EFFORT, SYSTEM_PROMPT.
Zero new lines — still 30 LOC.
v1.6.3
v1.6.2
Full Changelog: v1.6.1...v1.6.2
v1.6.1
Self-Extending Agent
The agent can now write its own tools via the self skill, including tools that spawn sub-agents.
Changes
- Improved tool authoring guidance in
selfskill with step-by-step procedure - Added recursive mi example (tools that spawn sub-agents)
- Clarified skill vs tool distinction in
new-skill - Added "Be concise" and agent identity to system prompt
- README: added self-extending and recursive agents features
Verified
- Agent successfully creates new tools following the
selfskill - Recursive mi tools (sub-agents) work correctly
v1.6.0
Modular Tools
Tools now live in separate files (tools/*.mjs) and are auto-discovered at startup. This makes it easier to add new tools without modifying the core harness.
Changes
- Extract
bashandskilltools intotools/bash.mjsandtools/skill.mjs - Harness auto-discovers tool modules at startup
- Common Node modules exposed as globals for tool authors
- Add CLAUDE.md symlink to AGENTS.md
- Update self skill with tool authoring guide
Tool Authoring
New tools can be added by creating a .mjs file in the tools/ directory:
export default {
name: 'mytool',
description: 'What it does',
parameters: { type: 'object', properties: { arg: { type: 'string' } }, required: ['arg'] },
handler: async ({arg}) => 'result'
};Total line count: 30 (23 harness + 4 bash + 3 skill)
v1.5.1
v1.5.0
What's new
- Streaming: assistant tokens now stream to stdout via SSE as they arrive, instead of waiting for the full reply. Works in REPL,
-p, and stdin modes. - REPL polish: version banner on startup, error recovery (failed requests pop the user message instead of crashing).
Internals
run()sendsstream: trueand iteratesres.body, parsing SSEdeltaevents. Content writes to stdout incrementally; tool-call fragments merge byindexinto one assistant message.- Test mock server converted to emit SSE.
- 27 → 29 LOC.
v1.4.0
Skills overhaul
All 9 bundled skills improved across 12 iterations:
- Sharper descriptions — every skill now leads with concrete trigger phrases so the model selects the right one
- Cross-references — debug→tdd, tdd→refactor, plan↔tasks wired up at decision points
- Red Flags sections — added to debug, tdd, verify, refactor, review so agents know when to stop and ask
- Concrete examples — review FINDINGS format, debug observation template, verify per-tool output patterns
- File-writing guidance — debug and tdd now warn against echo+\n and sed for multi-line files
- Portability — harness exports MI_PATH; delegate skill uses it instead of hardcoded paths
- plan — explicit /tmp/mi-/plan.md path with copy-pasteable command
- tasks — explicit work loop (pick → mark in-progress → do → mark done); slug collision guidance
- delegate — log-reading strategies (tail, grep, wc); blocked-subagent handling in review
Fixes
- Fixed test suite deleting bundled skills/ directory after test runs
- Harness now sets MI_PATH env var so subagents can spawn further subagents
- .gitignore added; .npmignore tightened