mini-coder 0.5.13 → 0.5.14
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/PROGRESS.md +3 -2
- package/README.md +2 -1
- package/package.json +1 -1
- package/src/agent.ts +506 -13
- package/src/assistant-output.ts +73 -0
- package/src/delegation.ts +238 -0
- package/src/headless.ts +12 -39
- package/src/index.ts +191 -11
- package/src/prompt.ts +9 -1
- package/src/session-message.ts +57 -65
- package/src/session.ts +389 -42
- package/src/submit.ts +7 -2
- package/src/tool-delegate.ts +125 -0
- package/src/tool-shell.ts +52 -2
- package/src/tools.ts +331 -6
- package/src/ui/agent.ts +3 -0
- package/src/ui/commands.test.ts +50 -6
- package/src/ui/commands.ts +14 -0
package/PROGRESS.md
CHANGED
package/README.md
CHANGED
|
@@ -39,9 +39,10 @@ $ mc
|
|
|
39
39
|
|
|
40
40
|
## Tools
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Seven built-in tools, plus a conditional read-only image tool and any configured MCP tools:
|
|
43
43
|
|
|
44
44
|
- **`shell`** — runs commands in the user's shell. Returns stdout, stderr, and exit code. Large output is truncated to protect model context.
|
|
45
|
+
- **`delegate`** — runs a bounded subtask in an isolated subagent session using the current model, prompt context, and tools.
|
|
45
46
|
- **`read`** — reads UTF-8 text files from disk, optionally by line window.
|
|
46
47
|
- **`grep`** — searches file contents with ripgrep-style options and returns structured matches.
|
|
47
48
|
- **`edit`** — exact-text replacement in a single file. Fails deterministically if the target is missing or ambiguous. Creates new files when old text is empty.
|