@sean.holung/minicode 0.1.0 → 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.
- package/README.md +3 -3
- package/dist/src/agent/config.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ MAX_CONTEXT_TOKENS=120000
|
|
|
25
25
|
WORKSPACE_ROOT=.
|
|
26
26
|
COMMAND_TIMEOUT_MS=30000
|
|
27
27
|
MAX_FILE_SIZE_BYTES=1000000
|
|
28
|
-
CONFIRM_DESTRUCTIVE=
|
|
28
|
+
CONFIRM_DESTRUCTIVE=true
|
|
29
29
|
KEEP_RECENT_MESSAGES=12
|
|
30
30
|
LOOP_DETECTION_WINDOW=6
|
|
31
31
|
EOF
|
|
@@ -162,7 +162,7 @@ Nothing is written inside your workspace; config and cache live under `~/.minico
|
|
|
162
162
|
| `WORKSPACE_ROOT` | No | current working directory | Root directory tools are allowed to access |
|
|
163
163
|
| `COMMAND_TIMEOUT_MS` | No | `30000` | Timeout for shell/search commands |
|
|
164
164
|
| `MAX_FILE_SIZE_BYTES` | No | `1000000` | Read limit for `read_file` |
|
|
165
|
-
| `CONFIRM_DESTRUCTIVE` | No | `
|
|
165
|
+
| `CONFIRM_DESTRUCTIVE` | No | `true` | If `true`, blocks destructive shell commands unless confirmed |
|
|
166
166
|
| `KEEP_RECENT_MESSAGES` | No | `12` | Minimum number of latest messages kept during trimming |
|
|
167
167
|
| `LOOP_DETECTION_WINDOW` | No | `6` | Window for repeated tool-call loop detection |
|
|
168
168
|
|
|
@@ -181,7 +181,7 @@ Create `agent.config.json` in `~/.minicode/` for user-level defaults, or in the
|
|
|
181
181
|
"workspaceRoot": ".",
|
|
182
182
|
"commandTimeout": 30000,
|
|
183
183
|
"commandDenylist": [],
|
|
184
|
-
"confirmDestructive":
|
|
184
|
+
"confirmDestructive": true,
|
|
185
185
|
"maxFileSizeBytes": 1000000,
|
|
186
186
|
"keepRecentMessages": 12,
|
|
187
187
|
"loopDetectionWindow": 6,
|
package/dist/src/agent/config.js
CHANGED
|
@@ -141,7 +141,7 @@ export async function loadAgentConfig(cwd = process.cwd()) {
|
|
|
141
141
|
commandTimeoutMs: parseNumber(process.env.COMMAND_TIMEOUT_MS, fileConfig.commandTimeout ?? 30_000),
|
|
142
142
|
maxFileSizeBytes: parseNumber(process.env.MAX_FILE_SIZE_BYTES, fileConfig.maxFileSizeBytes ?? 1_000_000),
|
|
143
143
|
commandDenylist,
|
|
144
|
-
confirmDestructive: parseBoolean(process.env.CONFIRM_DESTRUCTIVE, fileConfig.confirmDestructive ??
|
|
144
|
+
confirmDestructive: parseBoolean(process.env.CONFIRM_DESTRUCTIVE, fileConfig.confirmDestructive ?? true),
|
|
145
145
|
keepRecentMessages: parseNumber(process.env.KEEP_RECENT_MESSAGES, fileConfig.keepRecentMessages ?? 12),
|
|
146
146
|
loopDetectionWindow: parseNumber(process.env.LOOP_DETECTION_WINDOW, fileConfig.loopDetectionWindow ?? 6),
|
|
147
147
|
maxToolOutputChars: parseNumber(process.env.MAX_TOOL_OUTPUT_CHARS, fileConfig.maxToolOutputChars ?? 15_000),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sean.holung/minicode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A coding agent for mini models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
"dotenv": "^17.3.1",
|
|
31
31
|
"ink": "^6.8.0",
|
|
32
32
|
"picocolors": "^1.1.1",
|
|
33
|
-
"react": "^19.2.4"
|
|
33
|
+
"react": "^19.2.4",
|
|
34
|
+
"typescript": "^5.9.3"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@types/node": "^25.2.3",
|
|
37
38
|
"@types/react": "^19.2.14",
|
|
38
39
|
"eslint": "^10.0.0",
|
|
39
40
|
"tsx": "^4.21.0",
|
|
40
|
-
"typescript": "^5.9.3",
|
|
41
41
|
"typescript-eslint": "^8.56.0"
|
|
42
42
|
}
|
|
43
43
|
}
|