@builder.io/ai-utils 0.11.2 → 0.11.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.d.ts +11 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -249,6 +249,16 @@ export interface CodeGenInputOptions {
249
249
  repoIndexingConfig?: RepoIndexingConfig;
250
250
  enabledTools?: CodeGenTools[];
251
251
  enabledMCPs?: string[];
252
+ /**
253
+ * Local MCP tool definitions from stdio servers (CLI-side only)
254
+ * These tools will be executed on the client side and passed through from the server
255
+ */
256
+ localMCPTools?: Array<{
257
+ name: string;
258
+ description?: string;
259
+ inputSchema?: any;
260
+ serverName: string;
261
+ }>;
252
262
  maxAgentLoops?: number;
253
263
  maxAgentTiming?: number;
254
264
  /**
@@ -796,7 +806,7 @@ export interface GenerateCodeEventUser {
796
806
  export interface MCPClientStatus {
797
807
  status: "ok" | "error" | "disabled";
798
808
  message?: string;
799
- protocol?: "streamable-http" | "sse";
809
+ protocol?: "streamable-http" | "sse" | "stdio";
800
810
  connectionDurationMs: number;
801
811
  resolutionDurationMs: number;
802
812
  }