@opencow-ai/opencow-agent-sdk 0.4.7 → 0.4.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.
@@ -108,6 +108,12 @@ export type ToolRuntimeContext = {
108
108
  * wire/endpoint than the main session gets its own provider override.
109
109
  */
110
110
  modelProviders?: ModelProviders;
111
+ /**
112
+ * Tool names excluded from sub-agents only (see Options.subagentDisallowedTools).
113
+ * Applied by runAgent via filterSubagentDisallowedTools and propagated to
114
+ * nested subagents via agentOptions; the main loop never filters on it.
115
+ */
116
+ subagentDisallowedTools?: string[];
111
117
  };
112
118
  abortController: AbortController;
113
119
  readFileState: FileStateCache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencow-ai/opencow-agent-sdk",
3
- "version": "0.4.7",
3
+ "version": "0.4.9",
4
4
  "description": "Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk.js",
@@ -71,12 +71,12 @@
71
71
  "test:coverage": "bun test --coverage --coverage-reporter=lcov --coverage-dir=coverage --max-concurrency=1 && bun run scripts/render-coverage-heatmap.ts",
72
72
  "test:coverage:ui": "bun run scripts/render-coverage-heatmap.ts",
73
73
  "security:pr-scan": "bun run scripts/pr-intent-scan.ts",
74
- "test:provider-recommendation": "bun test src/utils/providerRecommendation.test.ts src/utils/providerProfile.test.ts",
74
+ "test:provider-recommendation": "bun test src/providers/shared/providerRecommendation.test.ts src/providers/shared/providerProfile.test.ts",
75
75
  "typecheck": "tsc --noEmit",
76
76
  "smoke": "bun run build && node dist/cli.mjs --version",
77
77
  "verify:privacy": "bun run scripts/verify-no-phone-home.ts",
78
78
  "build:verified": "bun run build && bun run verify:privacy",
79
- "test:provider": "bun test src/services/api/*.test.ts src/utils/context.test.ts",
79
+ "test:provider": "bun test src/session/context.test.ts src/providers/shared/api.test.ts",
80
80
  "doctor:runtime": "bun run scripts/system-check.ts",
81
81
  "doctor:runtime:json": "bun run scripts/system-check.ts --json",
82
82
  "doctor:report": "bun run scripts/system-check.ts --out reports/doctor-runtime.json",