broods 0.54.0 → 0.54.1

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/account.d.ts CHANGED
@@ -17,129 +17,8 @@ type AgentHookEventName = (typeof AGENT_HOOK_EVENT_NAMES)[number];
17
17
  * Image-, speech- and transcription-only providers are deliberately absent:
18
18
  * they cannot back `config.model`.
19
19
  */
20
- declare const MODEL_PROVIDERS: {
21
- readonly alibaba: {
22
- readonly label: "Alibaba Qwen";
23
- readonly modelPlaceholder: "qwen3-max";
24
- };
25
- readonly anthropic: {
26
- readonly label: "Anthropic";
27
- readonly modelPlaceholder: "claude-sonnet-4-5-20250929";
28
- };
29
- readonly azure: {
30
- readonly label: "Azure OpenAI";
31
- readonly modelPlaceholder: "gpt-4.1-mini";
32
- };
33
- readonly baseten: {
34
- readonly label: "Baseten";
35
- readonly modelPlaceholder: "deepseek-ai/DeepSeek-V3";
36
- };
37
- readonly bedrock: {
38
- readonly label: "Amazon Bedrock";
39
- readonly modelPlaceholder: "anthropic.claude-sonnet-4-5-20250929-v1:0";
40
- };
41
- readonly cerebras: {
42
- readonly label: "Cerebras";
43
- readonly modelPlaceholder: "llama3.1-8b";
44
- };
45
- readonly chatgpt: {
46
- readonly label: "ChatGPT plan";
47
- readonly modelPlaceholder: "gpt-5.5";
48
- };
49
- readonly cloudflare: {
50
- readonly label: "Cloudflare";
51
- readonly modelPlaceholder: "@cf/meta/llama-3.3-70b-instruct-fp8-fast";
52
- };
53
- readonly cohere: {
54
- readonly label: "Cohere";
55
- readonly modelPlaceholder: "command-a-03-2025";
56
- };
57
- readonly custom: {
58
- readonly label: "Custom OpenAI-compatible";
59
- readonly modelPlaceholder: "gpt-oss-120b";
60
- };
61
- readonly deepinfra: {
62
- readonly label: "DeepInfra";
63
- readonly modelPlaceholder: "deepseek-ai/DeepSeek-V3";
64
- };
65
- readonly deepseek: {
66
- readonly label: "DeepSeek";
67
- readonly modelPlaceholder: "deepseek-chat";
68
- };
69
- readonly fireworks: {
70
- readonly label: "Fireworks";
71
- readonly modelPlaceholder: "accounts/fireworks/models/deepseek-v3";
72
- };
73
- readonly google: {
74
- readonly label: "Google";
75
- readonly modelPlaceholder: "gemini-2.5-flash";
76
- };
77
- readonly groq: {
78
- readonly label: "Groq";
79
- readonly modelPlaceholder: "llama-3.3-70b-versatile";
80
- };
81
- readonly huggingface: {
82
- readonly label: "Hugging Face";
83
- readonly modelPlaceholder: "meta-llama/Llama-3.3-70B-Instruct";
84
- };
85
- readonly llmgateway: {
86
- readonly label: "LLM Gateway";
87
- readonly modelPlaceholder: "openai/gpt-4.1-mini";
88
- };
89
- readonly minimax: {
90
- readonly label: "MiniMax";
91
- readonly modelPlaceholder: "MiniMax-M2.7";
92
- };
93
- readonly mistral: {
94
- readonly label: "Mistral";
95
- readonly modelPlaceholder: "mistral-large-latest";
96
- };
97
- readonly moonshotai: {
98
- readonly label: "Moonshot AI Kimi";
99
- readonly modelPlaceholder: "kimi-k2.6";
100
- };
101
- readonly ollama: {
102
- readonly label: "Ollama";
103
- readonly modelPlaceholder: "gpt-oss:120b";
104
- };
105
- readonly openai: {
106
- readonly label: "OpenAI";
107
- readonly modelPlaceholder: "gpt-4.1-mini";
108
- };
109
- readonly openrouter: {
110
- readonly label: "OpenRouter";
111
- readonly modelPlaceholder: "anthropic/claude-sonnet-4.5";
112
- };
113
- readonly perplexity: {
114
- readonly label: "Perplexity";
115
- readonly modelPlaceholder: "low";
116
- };
117
- readonly togetherai: {
118
- readonly label: "Together.ai";
119
- readonly modelPlaceholder: "deepseek-ai/DeepSeek-V3";
120
- };
121
- readonly v0: {
122
- readonly label: "Vercel v0";
123
- readonly modelPlaceholder: "v0-1.0-md";
124
- };
125
- readonly vercel: {
126
- readonly label: "Vercel AI Gateway";
127
- readonly modelPlaceholder: "openai/gpt-4.1-mini";
128
- };
129
- readonly vertex: {
130
- readonly label: "Google Vertex AI";
131
- readonly modelPlaceholder: "gemini-2.5-flash";
132
- };
133
- readonly xai: {
134
- readonly label: "xAI Grok";
135
- readonly modelPlaceholder: "grok-4";
136
- };
137
- readonly zai: {
138
- readonly label: "Z.ai GLM";
139
- readonly modelPlaceholder: "glm-4.7";
140
- };
141
- };
142
- type AccountModelProviderName = keyof typeof MODEL_PROVIDERS;
20
+ declare const ACCOUNT_MODEL_PROVIDER_NAMES: readonly ["alibaba", "anthropic", "azure", "baseten", "bedrock", "cerebras", "chatgpt", "cloudflare", "cohere", "custom", "deepinfra", "deepseek", "fireworks", "google", "groq", "huggingface", "llmgateway", "minimax", "mistral", "moonshotai", "ollama", "openai", "openrouter", "perplexity", "togetherai", "v0", "vercel", "vertex", "xai", "zai"];
21
+ type AccountModelProviderName = (typeof ACCOUNT_MODEL_PROVIDER_NAMES)[number];
143
22
 
144
23
  /**
145
24
  * Agent config validation, the only copy of it: Convex config HTTP checks a
@@ -323,8 +202,6 @@ interface AgentProviderSettings {
323
202
  baseURL?: string;
324
203
  /** Cloudflare AI Gateway id (`cloudflare`). Set, requests go through the gateway. */
325
204
  gatewayId?: string;
326
- /** A streamed model request with no response within this many ms is sent again. Unset: no limit. */
327
- firstByteTimeoutMs?: number;
328
205
  headers?: Record<string, string>;
329
206
  /** Endpoint label; becomes the provider id and the pi harness env prefix. */
330
207
  name?: string;
@@ -447,7 +324,7 @@ interface AgentTelegramChannelConfig {
447
324
  webhookSecret?: string;
448
325
  allowedChannelIds?: string[];
449
326
  allowedUserIds?: string[];
450
- /** Bot's @username, e.g. `tracy_bot`. Set it to answer only when the agent is mentioned. */
327
+ /** Bot's @username, e.g. `support_bot`. Set it to answer only when the agent is mentioned. */
451
328
  botUsername?: string;
452
329
  reactionEmoji?: string;
453
330
  trace?: "enabled" | "disabled";
package/dist/account.js CHANGED
@@ -1 +1 @@
1
- import{p,fe,N,_}from"./chunk-1fn0c0fe.js";export{p as BroodsAccountApiError,_ as BroodsAccountClient,fe as envPlaceholder,N as resolveEnvCredential};
1
+ import{p,he,j,_}from"./chunk-xv88e799.js";export{p as BroodsAccountApiError,_ as BroodsAccountClient,he as envPlaceholder,j as resolveEnvCredential};