@compilr-dev/sdk 0.7.19 → 0.7.20

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/config.d.ts CHANGED
@@ -60,7 +60,7 @@ export interface ToolConfig {
60
60
  files?: boolean;
61
61
  /** Include shell tools (bash). Default: true for coding preset */
62
62
  shell?: boolean;
63
- /** Include web tools (web_fetch). Default: false */
63
+ /** Include web tools (web_fetch). Default: true */
64
64
  web?: boolean;
65
65
  /** Allowlist of tool names (overrides flags above) */
66
66
  filter?: string[];
package/dist/tools.js CHANGED
@@ -62,7 +62,7 @@ export function assembleTools(preset, toolConfig) {
62
62
  continue;
63
63
  }
64
64
  if (WEB_TOOL_NAMES.has(name)) {
65
- if (toolConfig.web === true) {
65
+ if (toolConfig.web !== false) {
66
66
  result.push(tool);
67
67
  }
68
68
  continue;
@@ -70,8 +70,8 @@ export function assembleTools(preset, toolConfig) {
70
70
  // Utility tools (todo, suggest) — always include
71
71
  result.push(tool);
72
72
  }
73
- // If web tools were requested but not in the preset, add them
74
- if (toolConfig.web === true) {
73
+ // Add web tools unless explicitly disabled (not in preset by default)
74
+ if (toolConfig.web !== false) {
75
75
  const hasWeb = result.some((t) => WEB_TOOL_NAMES.has(t.definition.name));
76
76
  if (!hasWeb) {
77
77
  result.push(...codingWebTools);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.7.19",
3
+ "version": "0.7.20",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",