broods 0.40.0 → 0.41.0

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.d.ts CHANGED
@@ -76,7 +76,7 @@ declare const MODEL_PROVIDERS: {
76
76
  };
77
77
  readonly perplexity: {
78
78
  readonly label: "Perplexity";
79
- readonly modelPlaceholder: "sonar-pro";
79
+ readonly modelPlaceholder: "low";
80
80
  };
81
81
  readonly togetherai: {
82
82
  readonly label: "Together.ai";
@@ -612,7 +612,7 @@ declare const AGENT_POLICY_ACTIONS: readonly ["agent.invoke", "tool.call", "work
612
612
  * resource route. Roles carry the same PolicyDocument shape as agent policies;
613
613
  * each caller passes its action set to `normalizePolicyDocument`.
614
614
  */
615
- declare const API_POLICY_ACTIONS: readonly ["account:read", "account:write", "agents:read", "agents:write", "channels:read", "channels:write", "crons:read", "crons:write", "env:read", "env:write", "hooks:read", "hooks:write", "mcp:read", "mcp:write", "policies:read", "policies:write", "sandboxes:read", "sandboxes:write", "skills:read", "skills:write", "tools:read", "tools:write", "workspaces:read", "workspaces:write"];
615
+ declare const API_POLICY_ACTIONS: readonly ["account:read", "account:write", "agents:read", "agents:write", "channels:read", "channels:write", "crons:read", "crons:write", "env:read", "env:write", "hooks:read", "hooks:write", "mcp:read", "mcp:write", "policies:read", "policies:write", "sandboxes:read", "sandboxes:write", "skills:read", "skills:write", "workspaces:read", "workspaces:write"];
616
616
  type AgentPolicyAction = (typeof AGENT_POLICY_ACTIONS)[number];
617
617
  type ApiPolicyAction = (typeof API_POLICY_ACTIONS)[number];
618
618
  type PolicyAction = AgentPolicyAction | ApiPolicyAction;
@@ -896,6 +896,11 @@ type AgentRunAnswerInput = {
896
896
  input?: never;
897
897
  events?: never;
898
898
  };
899
+ /**
900
+ * A frame too large for NATS arrives as its own `type` with `truncated: true`
901
+ * and `originalBytes`, its payload dropped. Read the full result from the run
902
+ * status.
903
+ */
899
904
  type WebSocketStreamMessage = AgentStreamPart | {
900
905
  type: "question-request";
901
906
  questions: PendingQuestion[];
@@ -1013,6 +1018,10 @@ interface AsyncRequestAccepted {
1013
1018
  }
1014
1019
  interface AsyncStatus {
1015
1020
  status: "accepted" | "queued" | "applied" | "processing" | "awaiting_approval" | "awaiting_input" | "completed" | "failed" | "expired" | "not_found";
1021
+ /** Set on every core answer. Absent only on the `not_found` the SDK returns for a 404. */
1022
+ runId?: string;
1023
+ eventId?: string;
1024
+ conversationKey?: string;
1016
1025
  requestedMode?: "reject" | "followup" | "collect" | "steer";
1017
1026
  appliedMode?: "reject" | "followup" | "collect" | "steer";
1018
1027
  appliedToEventId?: string;
@@ -1107,13 +1116,14 @@ type ObservabilitySpanRow = {
1107
1116
  startTimeMs: number;
1108
1117
  endTimeMs: number;
1109
1118
  durationMs: number;
1110
- status: "running" | "ok" | "error";
1119
+ status: "running" | "waiting" | "needs_input" | "ok" | "error";
1111
1120
  endpointId?: string;
1112
1121
  agentId?: string;
1113
1122
  conversationKey?: string;
1114
1123
  attributes?: Record<string, unknown>;
1115
1124
  error?: string;
1116
1125
  };
1126
+ type TaskWaitingOn = "question" | "approval" | "subagent" | "tool";
1117
1127
  type ObservabilitySubscribeMessage = {
1118
1128
  type: "subscribe";
1119
1129
  stream: "logs" | "traces";
@@ -1265,9 +1275,6 @@ type AgentHandle = {
1265
1275
  continue: (input: AgentContinueInput) => Promise<AsyncAgentRun>;
1266
1276
  stream: (input: AgentRunInput) => AsyncGenerator<TextStreamPart<ToolSet>>;
1267
1277
  };
1268
- type CreateClientCronInput = CreateCronInput | (Omit<CreateCronInput, "agentId"> & {
1269
- agent: AgentReference | string;
1270
- });
1271
1278
  declare class BroodsClient {
1272
1279
  private readonly baseUrl;
1273
1280
  private readonly apiKey?;
@@ -1319,14 +1326,6 @@ declare class BroodsClient {
1319
1326
  getAsyncStatus(status: AsyncRequestAccepted | string): Promise<AsyncStatus>;
1320
1327
  /** Poll async status until it reaches completed, failed, awaiting_approval, awaiting_input, or timeout. */
1321
1328
  waitForAsyncStatus(status: AsyncRequestAccepted | string, options?: AsyncPollOptions): Promise<AsyncStatus>;
1322
- createCron(input: CreateClientCronInput): Promise<Cron>;
1323
- listCrons(): Promise<Cron[]>;
1324
- getCron(cronId: string): Promise<Cron | null>;
1325
- listCronRuns(cronId: string, options?: {
1326
- limit?: number;
1327
- }): Promise<CronRun[]>;
1328
- updateCron(cronId: string, patch: UpdateCronInput): Promise<Cron>;
1329
- deleteCron(cronId: string): Promise<boolean>;
1330
1329
  /**
1331
1330
  * Scoped invoke URL for a deployed agent. When codegen embedded the runtime
1332
1331
  * key's scope, this is
@@ -1369,6 +1368,10 @@ declare function normalizeHttpServiceUrl(value: string): string;
1369
1368
  * (`********`) on reads.
1370
1369
  */
1371
1370
 
1371
+ /** A config PATCH body: objects merge key by key, `null` deletes a key, arrays and scalars replace. */
1372
+ type ConfigPatch<T> = T extends readonly unknown[] ? T : T extends object ? {
1373
+ [K in keyof T]?: ConfigPatch<T[K]> | null;
1374
+ } : T;
1372
1375
  interface BroodsAccountClientOptions {
1373
1376
  /** Base URL of the broods gateway. Falls back to `BROODS_BASE_URL`, then `https://gateway.broods.app`. */
1374
1377
  baseUrl?: string;
@@ -1416,7 +1419,7 @@ interface AccountEnvVar {
1416
1419
  interface UpdateAgentInput {
1417
1420
  name?: string;
1418
1421
  description?: string | null;
1419
- config?: unknown;
1422
+ config?: ConfigPatch<AgentConfig>;
1420
1423
  }
1421
1424
  /** Public workspace record returned by the workspaces routes. */
1422
1425
  interface AccountWorkspace {
@@ -1559,9 +1562,11 @@ interface AccountMcp {
1559
1562
  stageId: string;
1560
1563
  name: string;
1561
1564
  description?: string;
1562
- transport: "http" | "hosted";
1565
+ transport: "http" | "hosted" | "machine";
1563
1566
  /** External servers only; a hosted row has no endpoint of its own. */
1564
1567
  url?: string;
1568
+ /** Machine servers only: the machine sandbox (by name) whose daemon serves it. */
1569
+ sandbox?: string;
1565
1570
  /** Hosted servers only: content hash of the uploaded bundle. */
1566
1571
  sha256?: string;
1567
1572
  headers?: Record<string, string>;
@@ -1575,12 +1580,14 @@ interface AccountMcp {
1575
1580
  }
1576
1581
  /**
1577
1582
  * Fields accepted by `POST /v1/mcp`: `url` connects, `bundle` uploads inline
1578
- * (≤10 MB); a larger bundle goes through `uploadMcpBundle` first.
1583
+ * (≤10 MB); a larger bundle goes through `uploadMcpBundle` first; `sandbox`
1584
+ * runs it on that machine sandbox's daemon.
1579
1585
  */
1580
1586
  interface CreateMcpInput {
1581
1587
  name: string;
1582
1588
  description?: string;
1583
1589
  url?: string;
1590
+ sandbox?: string;
1584
1591
  bundle?: string;
1585
1592
  bundleStorageId?: string;
1586
1593
  sha256?: string;
@@ -1593,6 +1600,7 @@ interface UpdateMcpInput {
1593
1600
  name?: string;
1594
1601
  description?: string;
1595
1602
  url?: string;
1603
+ sandbox?: string;
1596
1604
  bundle?: string;
1597
1605
  bundleStorageId?: string;
1598
1606
  sha256?: string;
@@ -1702,7 +1710,7 @@ declare class BroodsAccountClient {
1702
1710
  createAgent(input: {
1703
1711
  name: string;
1704
1712
  description?: string;
1705
- config: unknown;
1713
+ config: AgentConfig;
1706
1714
  }): Promise<CreateAgentResult>;
1707
1715
  getAgent(agentId: string): Promise<AccountAgent | null>;
1708
1716
  /** PATCH an agent. `config` deep-merges into the stored config; `null` leaves delete keys. Returns null when the agent is gone. */
@@ -1727,13 +1735,13 @@ declare class BroodsAccountClient {
1727
1735
  createWorkspace(input: {
1728
1736
  name: string;
1729
1737
  description?: string;
1730
- config?: unknown;
1738
+ config?: WorkspaceConfig;
1731
1739
  }): Promise<AccountWorkspace>;
1732
1740
  getWorkspace(workspaceId: string): Promise<AccountWorkspace | null>;
1733
1741
  updateWorkspace(workspaceId: string, patch: {
1734
1742
  name?: string;
1735
1743
  description?: string | null;
1736
- config?: unknown;
1744
+ config?: ConfigPatch<WorkspaceConfig>;
1737
1745
  }): Promise<AccountWorkspace | null>;
1738
1746
  deleteWorkspace(workspaceId: string): Promise<boolean>;
1739
1747
  /** Flat listing of every file in the workspace's S3-backed filesystem. Returns [] when the workspace is gone. */
@@ -1746,22 +1754,22 @@ declare class BroodsAccountClient {
1746
1754
  contentBase64: string;
1747
1755
  contentType?: string;
1748
1756
  }): Promise<WorkspaceFileEntry>;
1749
- /** Rename a workspace file or folder. Returns false when the workspace or source path is gone. */
1750
- renameWorkspaceFile(workspaceId: string, path: string, newPath: string): Promise<boolean>;
1751
- /** Delete a workspace file or folder. Returns false when the workspace or path is gone. */
1752
- deleteWorkspaceFile(workspaceId: string, path: string): Promise<boolean>;
1757
+ /** Rename a workspace file or folder. Returns how many objects moved; throws when the workspace or source path is gone. */
1758
+ renameWorkspaceFile(workspaceId: string, path: string, newPath: string): Promise<number>;
1759
+ /** Delete a workspace file or folder. Returns how many objects were deleted, 0 when the workspace or path is gone. */
1760
+ deleteWorkspaceFile(workspaceId: string, path: string): Promise<number>;
1753
1761
  listSandboxes(): Promise<AccountSandbox[]>;
1754
1762
  createSandbox(input: {
1755
1763
  name: string;
1756
1764
  description?: string;
1757
- config?: unknown;
1765
+ config?: SandboxConfig;
1758
1766
  }): Promise<AccountSandbox>;
1759
1767
  getSandbox(sandboxId: string): Promise<AccountSandbox | null>;
1760
- /** PATCH a sandbox config. `config` fully replaces the stored config. Returns null when the sandbox is gone. */
1768
+ /** PATCH a sandbox config. `config` deep-merges into the stored config; `null` leaves delete keys. Returns null when the sandbox is gone. */
1761
1769
  updateSandbox(sandboxId: string, patch: {
1762
1770
  name?: string;
1763
1771
  description?: string | null;
1764
- config?: unknown;
1772
+ config?: ConfigPatch<SandboxConfig>;
1765
1773
  }): Promise<AccountSandbox | null>;
1766
1774
  deleteSandbox(sandboxId: string): Promise<boolean>;
1767
1775
  /** Suspend a persistent sandbox reservation. Throws on 404/403/409 (missing sandbox, foreign reservation, or unsupported provider). */
@@ -2503,4 +2511,4 @@ declare function isConnectionDefinition(value: unknown): value is AnyConnectionD
2503
2511
  declare function isResource(value: unknown): value is AnyResource;
2504
2512
 
2505
2513
  export { BroodsAccountApiError, BroodsAccountClient, BroodsClient, BroodsWebSocketClient, DEFAULT_CORE_BASE_URL, IngressAcceptedError, MAX_OBSERVABILITY_BACKFILL, BroodsWebSocketClient as WebSocketClient, BroodsWebSocketClient as WebsocketClient, defineAgent, defineBroods, defineCron, defineDiscordChannel, defineDiscordConnection, defineGitHubChannel, defineGitHubConnection, defineHarness, defineMatrixChannel, defineMatrixConnection, defineMcp, definePancakeChannel, definePancakeConnection, definePolicy, defineSandbox, defineSkill, defineSlackChannel, defineSlackConnection, defineTelegramChannel, defineTelegramConnection, defineWorkspace, defineZaloChannel, defineZaloConnection, env, envPlaceholder, isBroodsConfig, isConnectionDefinition, isLogLevel, isObservabilityClientMessage, isResource, isRootSpanKind, isSandboxLogId, isTraceId, normalizeHttpServiceUrl, readSseStream, resolveEnvCredential, resolveRunEvents, toWebSocketBaseUrl, webSocketSubprotocols };
2506
- export type { Account, AccountAgent, AccountChannel, AccountEnvVar, AccountMcp, AccountPolicy, AccountRole, AccountSandbox, AccountWorkspace, Agent, AgentChannelsConfig, AgentCodeHookConfig, AgentConfig, AgentConfigDoc, AgentContinueInput, AgentDefinitionConfig, AgentDiscordChannelConfig, AgentGitHubChannelConfig, AgentHandle, AgentHookEventName, AgentHooks, AgentHooksConfig, AgentMatrixChannelConfig, AgentPancakeChannelConfig, AgentProviderSettings, AgentReference, AgentResource, AgentRunAnswerInput, AgentRunEventInput, AgentRunInput, AgentRunModelOverrides, AgentRunOverrides, AgentRunResult, AgentSkillsDefinitionConfig, AgentSlackChannelConfig, AgentStreamPart, AgentSubagentDefinitionConfig, AgentTelegramChannelConfig, AgentWebhookHookConfig, AgentWorkspaceInput, AgentWorkspaceRef, AgentWorkspaceRefInput, AgentZaloChannelConfig, AnyConnectionDefinition, AnyResource, AssumeRoleResult, AsyncAgentRun, AsyncPollOptions, AsyncRequestAccepted, AsyncStatus, BroodsAccount, BroodsAccountClientOptions, BroodsClientOptions, BroodsConfigDefinition, BroodsProjectConfig, BroodsWebSocketClientOptions, ChannelAgentInput, ChannelDefinitionConfig, ChannelMessageReceived, ChannelPartition, ChannelRecordConfig, ChannelReference, ChannelReplyIn, ChannelResource, ChannelType, CliManifest, CliManifestResource, ConnectionDefinition, CreateAgentResult, CreateClientCronInput, CreateCronInput, CreateMcpInput, Cron, CronDefinitionConfig, CronDoc, CronLastStatus, CronResource, CronRun, CronStatus, DeleteAccountResult, DiscordChannelInput, DiscordConnectionDefinition, DiscordConnectionInput, DiscordMessageSource, DiscordSource, Doc, EnvAccessor, EnvRef, EnvRefString, GeneratedIds, GitHubChannelInput, GitHubConnectionDefinition, GitHubConnectionInput, GitHubMessageSource, GitHubSource, HarnessDefinition, HarnessType, HookContext, Id, IngressMode, IngressStatus, LogLevel, MatrixChannelInput, MatrixConnectionDefinition, MatrixConnectionInput, MatrixMessageSource, MatrixSource, McpDefinitionConfig, McpHandler, McpOauthInput, McpResource, ObservabilityBackfillMessage, ObservabilityClientMessage, ObservabilityErrorMessage, ObservabilityFetchTraceMessage, ObservabilityLogEntry, ObservabilityLogMessage, ObservabilityReadyMessage, ObservabilityServerMessage, ObservabilitySpanMessage, ObservabilitySpanRow, ObservabilitySubscribeMessage, ObservabilityUnsubscribeMessage, PancakeChannelInput, PancakeConnectionDefinition, PancakeConnectionInput, PancakeMessageSource, PancakeSource, PendingQuestion, PolicyDefinitionConfig, PolicyDocument, PolicyResource, ProjectDoc, ProviderConfigInput, ProviderSettingsInput, QuestionAnswer, ResourceApi, ResourceDefinition, ResourceInput, ResourceKind, RotateSecretResult, Sandbox, SandboxConfig, SandboxConfigDoc, SandboxDefinitionConfig, SandboxDefinitionOptions, SandboxLifecycleResult, SandboxResource, SandboxSnapshotResult, SandboxTerminalTicket, Skill, SkillDefinitionConfig, SkillResource, SkillUploadInput, SlackChannelInput, SlackConnectionDefinition, SlackConnectionInput, SlackMessageSource, SlackSource, StageDoc, StageScope, TelegramChannelInput, TelegramConnectionDefinition, TelegramConnectionInput, TelegramMessageSource, TelegramSource, ToolApprovalSummary, UpdateAgentInput, UpdateCronInput, UpdateMcpInput, WebSocketAttachInput, WebSocketClientAttachMessage, WebSocketClientCancelMessage, WebSocketClientControlMessage, WebSocketClientExecuteMessage, WebSocketClientMessage, WebSocketConstructorLike, WebSocketHandlers, WebSocketLike, WebSocketOutputMessage, WebSocketRunInput, WebSocketServerMessage, WebSocketStreamMessage, WebSocketSubscription, Workspace, WorkspaceConfig, WorkspaceConfigDoc, WorkspaceDefinitionConfig, WorkspaceFileEntry, WorkspaceResource, ZaloChannelInput, ZaloConnectionDefinition, ZaloConnectionInput, ZaloMessageSource, ZaloSource };
2514
+ export type { Account, AccountAgent, AccountChannel, AccountEnvVar, AccountMcp, AccountPolicy, AccountRole, AccountSandbox, AccountWorkspace, Agent, AgentChannelsConfig, AgentCodeHookConfig, AgentConfig, AgentConfigDoc, AgentContinueInput, AgentDefinitionConfig, AgentDiscordChannelConfig, AgentGitHubChannelConfig, AgentHandle, AgentHookEventName, AgentHooks, AgentHooksConfig, AgentMatrixChannelConfig, AgentPancakeChannelConfig, AgentProviderSettings, AgentReference, AgentResource, AgentRunAnswerInput, AgentRunEventInput, AgentRunInput, AgentRunModelOverrides, AgentRunOverrides, AgentRunResult, AgentSkillsDefinitionConfig, AgentSlackChannelConfig, AgentStreamPart, AgentSubagentDefinitionConfig, AgentTelegramChannelConfig, AgentWebhookHookConfig, AgentWorkspaceInput, AgentWorkspaceRef, AgentWorkspaceRefInput, AgentZaloChannelConfig, AnyConnectionDefinition, AnyResource, AssumeRoleResult, AsyncAgentRun, AsyncPollOptions, AsyncRequestAccepted, AsyncStatus, BroodsAccount, BroodsAccountClientOptions, BroodsClientOptions, BroodsConfigDefinition, BroodsProjectConfig, BroodsWebSocketClientOptions, ChannelAgentInput, ChannelDefinitionConfig, ChannelMessageReceived, ChannelPartition, ChannelRecordConfig, ChannelReference, ChannelReplyIn, ChannelResource, ChannelType, CliManifest, CliManifestResource, ConfigPatch, ConnectionDefinition, CreateAgentResult, CreateCronInput, CreateMcpInput, Cron, CronDefinitionConfig, CronDoc, CronLastStatus, CronResource, CronRun, CronStatus, DeleteAccountResult, DiscordChannelInput, DiscordConnectionDefinition, DiscordConnectionInput, DiscordMessageSource, DiscordSource, Doc, EnvAccessor, EnvRef, EnvRefString, GeneratedIds, GitHubChannelInput, GitHubConnectionDefinition, GitHubConnectionInput, GitHubMessageSource, GitHubSource, HarnessDefinition, HarnessType, HookContext, Id, IngressMode, IngressStatus, LogLevel, MatrixChannelInput, MatrixConnectionDefinition, MatrixConnectionInput, MatrixMessageSource, MatrixSource, McpDefinitionConfig, McpHandler, McpOauthInput, McpResource, ObservabilityBackfillMessage, ObservabilityClientMessage, ObservabilityErrorMessage, ObservabilityFetchTraceMessage, ObservabilityLogEntry, ObservabilityLogMessage, ObservabilityReadyMessage, ObservabilityServerMessage, ObservabilitySpanMessage, ObservabilitySpanRow, ObservabilitySubscribeMessage, ObservabilityUnsubscribeMessage, PancakeChannelInput, PancakeConnectionDefinition, PancakeConnectionInput, PancakeMessageSource, PancakeSource, PendingQuestion, PolicyDefinitionConfig, PolicyDocument, PolicyResource, ProjectDoc, ProviderConfigInput, ProviderSettingsInput, QuestionAnswer, ResourceApi, ResourceDefinition, ResourceInput, ResourceKind, RotateSecretResult, Sandbox, SandboxConfig, SandboxConfigDoc, SandboxDefinitionConfig, SandboxDefinitionOptions, SandboxLifecycleResult, SandboxResource, SandboxSnapshotResult, SandboxTerminalTicket, Skill, SkillDefinitionConfig, SkillResource, SkillUploadInput, SlackChannelInput, SlackConnectionDefinition, SlackConnectionInput, SlackMessageSource, SlackSource, StageDoc, StageScope, TaskWaitingOn, TelegramChannelInput, TelegramConnectionDefinition, TelegramConnectionInput, TelegramMessageSource, TelegramSource, ToolApprovalSummary, UpdateAgentInput, UpdateCronInput, UpdateMcpInput, WebSocketAttachInput, WebSocketClientAttachMessage, WebSocketClientCancelMessage, WebSocketClientControlMessage, WebSocketClientExecuteMessage, WebSocketClientMessage, WebSocketConstructorLike, WebSocketHandlers, WebSocketLike, WebSocketOutputMessage, WebSocketRunInput, WebSocketServerMessage, WebSocketStreamMessage, WebSocketSubscription, Workspace, WorkspaceConfig, WorkspaceConfigDoc, WorkspaceDefinitionConfig, WorkspaceFileEntry, WorkspaceResource, ZaloChannelInput, ZaloConnectionDefinition, ZaloConnectionInput, ZaloMessageSource, ZaloSource };
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{Z,me,xe,Ce,Oe,Ae,H,ze,C,he,D,K,Pe,W,E,Me,Ne,je,qe,De,Le,Ue,Be,Fe,Ze,He,Ve,Ke,We,Ge,Je,Ye,Xe,Qe,et,tt,nt,rt,ot,ne,w,g}from"./chunk-kafpmgd4.js";import{m,Te,U,B}from"./chunk-h06c1tg3.js";export{m as BroodsAccountApiError,B as BroodsAccountClient,D as BroodsClient,Pe as BroodsWebSocketClient,C as DEFAULT_CORE_BASE_URL,he as IngressAcceptedError,xe as MAX_OBSERVABILITY_BACKFILL,Pe as WebSocketClient,Pe as WebsocketClient,Ne as defineAgent,je as defineBroods,qe as defineCron,Xe as defineDiscordChannel,He as defineDiscordConnection,Qe as defineGitHubChannel,Ve as defineGitHubConnection,De as defineHarness,et as defineMatrixChannel,Ke as defineMatrixConnection,Le as defineMcp,tt as definePancakeChannel,We as definePancakeConnection,Ue as definePolicy,Be as defineSandbox,Fe as defineSkill,nt as defineSlackChannel,Ge as defineSlackConnection,rt as defineTelegramChannel,Je as defineTelegramConnection,Ze as defineWorkspace,ot as defineZaloChannel,Ye as defineZaloConnection,Me as env,Te as envPlaceholder,ne as isBroodsConfig,w as isConnectionDefinition,Ce as isLogLevel,Oe as isObservabilityClientMessage,g as isResource,Ae as isRootSpanKind,H as isSandboxLogId,ze as isTraceId,K as normalizeHttpServiceUrl,me as readSseStream,U as resolveEnvCredential,Z as resolveRunEvents,W as toWebSocketBaseUrl,E as webSocketSubprotocols};
1
+ import{V,ge,Me,Te,Ne,je,G,Ie,E,ye,U,J,xe,Y,C,qe,De,Le,Ue,Fe,Be,Ze,He,Ve,Ge,Ke,We,Je,Ye,Xe,Qe,et,tt,nt,rt,ot,st,it,at,ie,w,g}from"./chunk-n50ycxj1.js";import{m,Oe,B,Z}from"./chunk-a09r7men.js";export{m as BroodsAccountApiError,Z as BroodsAccountClient,U as BroodsClient,xe as BroodsWebSocketClient,E as DEFAULT_CORE_BASE_URL,ye as IngressAcceptedError,Me as MAX_OBSERVABILITY_BACKFILL,xe as WebSocketClient,xe as WebsocketClient,De as defineAgent,Le as defineBroods,Ue as defineCron,tt as defineDiscordChannel,Ke as defineDiscordConnection,nt as defineGitHubChannel,We as defineGitHubConnection,Fe as defineHarness,rt as defineMatrixChannel,Je as defineMatrixConnection,Be as defineMcp,ot as definePancakeChannel,Ye as definePancakeConnection,Ze as definePolicy,He as defineSandbox,Ve as defineSkill,st as defineSlackChannel,Xe as defineSlackConnection,it as defineTelegramChannel,Qe as defineTelegramConnection,Ge as defineWorkspace,at as defineZaloChannel,et as defineZaloConnection,qe as env,Oe as envPlaceholder,ie as isBroodsConfig,w as isConnectionDefinition,Te as isLogLevel,Ne as isObservabilityClientMessage,g as isResource,je as isRootSpanKind,G as isSandboxLogId,Ie as isTraceId,J as normalizeHttpServiceUrl,ge as readSseStream,B as resolveEnvCredential,V as resolveRunEvents,Y as toWebSocketBaseUrl,C as webSocketSubprotocols};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "broods",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "description": "CLI + TypeScript SDK for the broods agent platform.",
5
5
  "keywords": [
6
6
  "agents",
@@ -58,7 +58,7 @@
58
58
  "esbuild": "^0.28.2"
59
59
  },
60
60
  "devDependencies": {
61
- "@ai-sdk/tui": "1.0.108",
61
+ "@ai-sdk/tui": "1.0.121",
62
62
  "@arethetypeswrong/cli": "^0.18.5",
63
63
  "@chat-adapter/discord": "^4.38.1",
64
64
  "@chat-adapter/github": "^4.38.1",
@@ -67,7 +67,7 @@
67
67
  "@modelcontextprotocol/server": "2.0.0",
68
68
  "@types/bun": "^1.3.14",
69
69
  "@typescript/typescript6": "6.0.2",
70
- "ai": "^7.0.107",
70
+ "ai": "^7.0.120",
71
71
  "publint": "^0.3.23",
72
72
  "rollup": "^4.62.4",
73
73
  "rollup-plugin-dts": "^6.5.1",
@@ -75,7 +75,7 @@
75
75
  "zod": "^4.4.3"
76
76
  },
77
77
  "peerDependencies": {
78
- "ai": "^7.0.107"
78
+ "ai": "^7.0.120"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=22.15"