mini-coder 0.5.14 → 0.6.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.
- package/README.md +26 -109
- package/bin/mc.ts +8 -11
- package/bun.lock +79 -269
- package/nono-mini-coder.json +42 -0
- package/package.json +17 -22
- package/src/agent.ts +243 -1403
- package/src/args.ts +289 -0
- package/src/headless.ts +41 -359
- package/src/index.ts +29 -1016
- package/src/oauth.ts +117 -0
- package/src/prompt.ts +219 -284
- package/src/session.ts +55 -1306
- package/src/shared.ts +117 -38
- package/src/tool-bash.ts +110 -0
- package/src/tool-edit.ts +133 -0
- package/src/tool-read.ts +80 -293
- package/src/tui-components.ts +150 -0
- package/src/tui-conversation.ts +271 -0
- package/src/tui-editor.ts +29 -0
- package/src/tui-overlay.ts +403 -0
- package/src/tui.ts +228 -0
- package/src/types.ts +164 -0
- package/tsconfig.json +17 -0
- package/BENCHMARK.md +0 -107
- package/LICENSE +0 -9
- package/PROGRESS.md +0 -5
- package/assets/icon-1-minimal.svg +0 -31
- package/assets/icon-2-dark-terminal.svg +0 -48
- package/assets/icon-3-gradient-modern.svg +0 -45
- package/assets/icon-4-filled-bold.svg +0 -54
- package/assets/icon-5-community-badge.svg +0 -63
- package/assets/mc-claude-smart.png +0 -0
- package/assets/mc-gpt-smart.png +0 -0
- package/assets/preview-0-5-0.png +0 -0
- package/assets/preview.gif +0 -0
- package/benchmark-baseline.sh +0 -15
- package/benchmark-loop.sh +0 -19
- package/skills-lock.json +0 -15
- package/src/assistant-output.ts +0 -73
- package/src/cli.ts +0 -134
- package/src/delegation.ts +0 -238
- package/src/errors.ts +0 -15
- package/src/git.ts +0 -247
- package/src/input.ts +0 -168
- package/src/mcp.ts +0 -609
- package/src/paths.ts +0 -37
- package/src/session-message.ts +0 -385
- package/src/settings.ts +0 -449
- package/src/skills.ts +0 -271
- package/src/submit.ts +0 -376
- package/src/text.ts +0 -71
- package/src/theme.ts +0 -330
- package/src/tool-common.ts +0 -93
- package/src/tool-delegate.ts +0 -125
- package/src/tool-grep.ts +0 -606
- package/src/tool-shell.ts +0 -1051
- package/src/tools.ts +0 -1179
- package/src/ui/agent.ts +0 -320
- package/src/ui/commands.test.ts +0 -957
- package/src/ui/commands.ts +0 -848
- package/src/ui/conversation.test.ts +0 -585
- package/src/ui/conversation.ts +0 -1836
- package/src/ui/help.ts +0 -158
- package/src/ui/input.test.ts +0 -64
- package/src/ui/input.ts +0 -138
- package/src/ui/overlay.ts +0 -59
- package/src/ui/runtime.ts +0 -69
- package/src/ui/status.ts +0 -220
- package/src/ui.ts +0 -1190
- package/src/version.ts +0 -48
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"name": "mini-coder",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "Profile for mini-coder / mc, a Bun-based coding agent"
|
|
6
|
+
},
|
|
7
|
+
"extends": "default",
|
|
8
|
+
"workdir": {
|
|
9
|
+
"access": "readwrite"
|
|
10
|
+
},
|
|
11
|
+
"security": {
|
|
12
|
+
"groups": [
|
|
13
|
+
"node_runtime",
|
|
14
|
+
"git_config",
|
|
15
|
+
"user_caches_linux",
|
|
16
|
+
"linux_sysfs_read",
|
|
17
|
+
"unlink_protection"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"filesystem": {
|
|
21
|
+
"allow": [
|
|
22
|
+
"$HOME/.config/mini-coder",
|
|
23
|
+
"$HOME/.bun",
|
|
24
|
+
"$TMPDIR"
|
|
25
|
+
],
|
|
26
|
+
"read": [
|
|
27
|
+
"$HOME/.agents/"
|
|
28
|
+
],
|
|
29
|
+
"write": [],
|
|
30
|
+
"allow_file": [
|
|
31
|
+
"$HOME/AGENTS.md"
|
|
32
|
+
],
|
|
33
|
+
"read_file": [],
|
|
34
|
+
"write_file": []
|
|
35
|
+
},
|
|
36
|
+
"rollback": {
|
|
37
|
+
"exclude_patterns": [
|
|
38
|
+
"node_modules"
|
|
39
|
+
],
|
|
40
|
+
"exclude_globs": []
|
|
41
|
+
}
|
|
42
|
+
}
|
package/package.json
CHANGED
|
@@ -1,35 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mini-coder",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A small, fast CLI coding agent",
|
|
5
|
-
"module": "src/index.ts",
|
|
3
|
+
"version": "0.6.1",
|
|
6
4
|
"type": "module",
|
|
5
|
+
"packageManager": "bun@1.3.12",
|
|
7
6
|
"bin": {
|
|
8
7
|
"mc": "bin/mc.ts"
|
|
9
8
|
},
|
|
10
9
|
"scripts": {
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"format": "prettier --check ."
|
|
16
|
-
"format:fix": "prettier --write .",
|
|
17
|
-
"typecheck": "tsc --noEmit",
|
|
18
|
-
"test": "bun test"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@cel-tui/components": "^0.8.1",
|
|
22
|
-
"@cel-tui/core": "^0.8.1",
|
|
23
|
-
"@cel-tui/types": "^0.8.1",
|
|
24
|
-
"@mariozechner/pi-ai": "^0.67.68",
|
|
25
|
-
"@modelcontextprotocol/sdk": "^1.29.0"
|
|
10
|
+
"dev": "bun run bin/mc.ts",
|
|
11
|
+
"check": "bun run lint && bun run typecheck",
|
|
12
|
+
"lint": "bun run biome check .",
|
|
13
|
+
"typecheck": "bun run tsc -p tsconfig.json --noEmit",
|
|
14
|
+
"format": "bun run prettier --write *.md && bun run biome format --write . && bun run biome check --write ."
|
|
26
15
|
},
|
|
27
16
|
"devDependencies": {
|
|
28
|
-
"@biomejs/biome": "^2.4.
|
|
29
|
-
"@types/bun": "^1.3.
|
|
30
|
-
"lefthook": "^2.1.6",
|
|
17
|
+
"@biomejs/biome": "^2.4.13",
|
|
18
|
+
"@types/bun": "^1.3.13",
|
|
31
19
|
"prettier": "^3.8.3",
|
|
32
20
|
"typescript": "^6.0.3"
|
|
33
21
|
},
|
|
34
|
-
"
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@cel-tui/components": "^0.8.3",
|
|
24
|
+
"@cel-tui/core": "^0.8.3",
|
|
25
|
+
"@mariozechner/pi-ai": "^0.70.6",
|
|
26
|
+
"diff": "^9.0.0",
|
|
27
|
+
"simple-git": "^3.36.0",
|
|
28
|
+
"yaml": "^2.8.3"
|
|
29
|
+
}
|
|
35
30
|
}
|