@agentic-patterns/runtime 0.1.8 → 0.1.9
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/index.cjs +1 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +4 -14
package/dist/index.cjs
CHANGED
|
@@ -2315,10 +2315,7 @@ var ClaudeCodeAPIRunner = class extends ClaudeCodeRunner {
|
|
|
2315
2315
|
const sdkOpts = super._buildOptions(agent, options, context);
|
|
2316
2316
|
sdkOpts.tools = [];
|
|
2317
2317
|
if (this._extraDisallowed.length > 0) {
|
|
2318
|
-
sdkOpts.disallowedTools = [
|
|
2319
|
-
...sdkOpts.disallowedTools ?? [],
|
|
2320
|
-
...this._extraDisallowed
|
|
2321
|
-
];
|
|
2318
|
+
sdkOpts.disallowedTools = [...sdkOpts.disallowedTools ?? [], ...this._extraDisallowed];
|
|
2322
2319
|
}
|
|
2323
2320
|
if (!this._disableSandbox && this._isolatedConfigDir) {
|
|
2324
2321
|
const oauth = loadMaxSubOAuth();
|