@getworkle/cli 0.3.1 → 0.3.2
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.js +4 -2
- package/dist/cli.js.map +1 -1
- package/package.json +37 -3
package/dist/cli.js
CHANGED
|
@@ -8135,6 +8135,9 @@ function buildSdkSettings(settings) {
|
|
|
8135
8135
|
sdk.permissions = sdkPerms;
|
|
8136
8136
|
}
|
|
8137
8137
|
}
|
|
8138
|
+
if (typeof settings.autoMemoryEnabled === "boolean") {
|
|
8139
|
+
sdk.autoMemoryEnabled = settings.autoMemoryEnabled;
|
|
8140
|
+
}
|
|
8138
8141
|
return sdk;
|
|
8139
8142
|
}
|
|
8140
8143
|
var AgentConfigMaterializer = class {
|
|
@@ -8315,14 +8318,13 @@ async function runAgent(opts) {
|
|
|
8315
8318
|
executable: process.execPath,
|
|
8316
8319
|
// Full path to node — launchd doesn't have node in PATH
|
|
8317
8320
|
cwd: agentDir,
|
|
8318
|
-
settingSources: ["project"],
|
|
8319
8321
|
...permissionMode ? { permissionMode } : {},
|
|
8320
8322
|
...permissionMode === "bypassPermissions" ? { allowDangerouslySkipPermissions: true } : {},
|
|
8321
8323
|
...model ? { model } : {},
|
|
8322
8324
|
...allowedTools && allowedTools.length > 0 ? { allowedTools } : {},
|
|
8323
8325
|
...sessionId ? { resume: sessionId } : {},
|
|
8324
8326
|
...typeof maxTurns === "number" ? { maxTurns } : {},
|
|
8325
|
-
...
|
|
8327
|
+
...autoMemoryEnabled === false ? { settings: { autoMemoryEnabled: false } } : {},
|
|
8326
8328
|
...mcpServers ? { mcpServers } : {},
|
|
8327
8329
|
...abortController ? { abortController } : {}
|
|
8328
8330
|
}
|