micro-models-agent 0.15.0 → 0.15.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/dist/cli/setup.js
CHANGED
|
@@ -185,7 +185,7 @@ export async function runSetup() {
|
|
|
185
185
|
}
|
|
186
186
|
console.log(t("setup.agent_settings"));
|
|
187
187
|
const contextWindow = parseInt(await ask(rl, t("setup.context_window"), "32768"));
|
|
188
|
-
const maxIterations = parseInt(await ask(rl, t("setup.max_iters"), "
|
|
188
|
+
const maxIterations = parseInt(await ask(rl, t("setup.max_iters"), "1000"));
|
|
189
189
|
rl.close();
|
|
190
190
|
const answers = {
|
|
191
191
|
provider,
|
package/dist/config/security.js
CHANGED
|
@@ -45,7 +45,8 @@ export const DEFAULT_SECURITY_CONFIG = {
|
|
|
45
45
|
// If whitelist is non-empty, only these commands are allowed
|
|
46
46
|
whitelist: [],
|
|
47
47
|
// Block dangerous flags like --force, -rf, etc.
|
|
48
|
-
|
|
48
|
+
// Disabled by default — enable in config if needed.
|
|
49
|
+
blockDangerousFlags: false,
|
|
49
50
|
// Log all executed commands to audit log
|
|
50
51
|
logCommands: true,
|
|
51
52
|
// Dangerous flags that are always blocked
|
|
@@ -3,7 +3,7 @@ import { DEFAULT_SECURITY_CONFIG } from "../../config/security";
|
|
|
3
3
|
const FALLBACK_BASH_CONFIG = {
|
|
4
4
|
blacklist: ['rm', 'dd', 'chmod', 'wget', 'curl', 'scp', 'ssh', 'nc', 'netcat'],
|
|
5
5
|
whitelist: [],
|
|
6
|
-
blockDangerousFlags:
|
|
6
|
+
blockDangerousFlags: false,
|
|
7
7
|
dangerousFlags: ['--force', '-rf', '--no-preserve-root'],
|
|
8
8
|
dangerousOperators: ['>', '>>', '2>', '2>>', '|', '&&', '||', ';', '`'],
|
|
9
9
|
logCommands: true,
|