@sean.holung/minicode 0.1.1 → 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 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=false
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 | `false` | If `true`, blocks destructive shell commands unless confirmed |
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": false,
184
+ "confirmDestructive": true,
185
185
  "maxFileSizeBytes": 1000000,
186
186
  "keepRecentMessages": 12,
187
187
  "loopDetectionWindow": 6,
@@ -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 ?? false),
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.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "A coding agent for mini models",
5
5
  "type": "module",
6
6
  "engines": {