broods 0.21.0 → 0.22.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/index.d.ts CHANGED
@@ -307,6 +307,8 @@ interface AgentTelegramChannelConfig {
307
307
  webhookSecret?: string;
308
308
  allowedChannelIds?: string[];
309
309
  allowedUserIds?: string[];
310
+ /** Bot's @username, e.g. `tracy_bot`. Set it to answer only when the agent is mentioned. */
311
+ botUsername?: string;
310
312
  reactionEmoji?: string;
311
313
  trace?: "enabled" | "disabled";
312
314
  partition?: ChannelPartition;
@@ -1841,7 +1843,7 @@ type ConnectionIdentityInput = {
1841
1843
  /** Provider user ids allowed to trigger the agent. `["*"]` or omitted is everyone. */
1842
1844
  allowedUserIds?: readonly string[];
1843
1845
  };
1844
- type TelegramConnectionInput = EnvRefString<RequiredChannelKeys<Pick<AgentTelegramChannelConfig, "apiUrl" | "botToken" | "webhookSecret" | "reactionEmoji">, "botToken" | "webhookSecret">> & ConnectionIdentityInput;
1846
+ type TelegramConnectionInput = EnvRefString<RequiredChannelKeys<Pick<AgentTelegramChannelConfig, "apiUrl" | "botToken" | "webhookSecret" | "botUsername" | "reactionEmoji">, "botToken" | "webhookSecret">> & ConnectionIdentityInput;
1845
1847
  type GitHubConnectionInput = EnvRefString<RequiredChannelKeys<Pick<AgentGitHubChannelConfig, "apiUrl" | "webhookSecret" | "appId" | "privateKey" | "userName" | "botUserId" | "triggerOnIssueOpen" | "triggerOnPROpen">, "webhookSecret" | "appId" | "privateKey">> & ConnectionIdentityInput;
1846
1848
  type SlackConnectionInput = EnvRefString<RequiredChannelKeys<Pick<AgentSlackChannelConfig, "apiUrl" | "botToken" | "signingSecret" | "reactionEmoji">, "botToken" | "signingSecret">> & ConnectionIdentityInput;
1847
1849
  type DiscordConnectionInput = EnvRefString<RequiredChannelKeys<Pick<AgentDiscordChannelConfig, "apiUrl" | "botToken" | "publicKey" | "botUserId" | "mentionRoleIds">, "botToken" | "publicKey">> & ConnectionIdentityInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "broods",
3
- "version": "0.21.0",
3
+ "version": "0.22.1",
4
4
  "description": "CLI + TypeScript SDK for the broods agent platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -60,10 +60,10 @@
60
60
  "esbuild": "^0.28.2"
61
61
  },
62
62
  "peerDependencies": {
63
- "ai": "^7.0.68"
63
+ "ai": "^7.0.77"
64
64
  },
65
65
  "devDependencies": {
66
- "@ai-sdk/tui": "^1.0.69",
66
+ "@ai-sdk/tui": "1.0.78",
67
67
  "@arethetypeswrong/cli": "^0.18.5",
68
68
  "@chat-adapter/discord": "^4.38.1",
69
69
  "@chat-adapter/github": "^4.38.1",
@@ -71,7 +71,7 @@
71
71
  "@chat-adapter/telegram": "^4.38.1",
72
72
  "@types/bun": "^1.3.14",
73
73
  "@typescript/typescript6": "6.0.2",
74
- "ai": "^7.0.68",
74
+ "ai": "^7.0.77",
75
75
  "publint": "^0.3.23",
76
76
  "rollup": "^4.62.4",
77
77
  "rollup-plugin-dts": "^6.5.1",