@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.js
CHANGED
|
@@ -2149,10 +2149,7 @@ var ClaudeCodeAPIRunner = class extends ClaudeCodeRunner {
|
|
|
2149
2149
|
const sdkOpts = super._buildOptions(agent, options, context);
|
|
2150
2150
|
sdkOpts.tools = [];
|
|
2151
2151
|
if (this._extraDisallowed.length > 0) {
|
|
2152
|
-
sdkOpts.disallowedTools = [
|
|
2153
|
-
...sdkOpts.disallowedTools ?? [],
|
|
2154
|
-
...this._extraDisallowed
|
|
2155
|
-
];
|
|
2152
|
+
sdkOpts.disallowedTools = [...sdkOpts.disallowedTools ?? [], ...this._extraDisallowed];
|
|
2156
2153
|
}
|
|
2157
2154
|
if (!this._disableSandbox && this._isolatedConfigDir) {
|
|
2158
2155
|
const oauth = loadMaxSubOAuth();
|