broods 0.19.0 → 0.21.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
@@ -1870,8 +1870,11 @@ type AnyConnectionDefinition = TelegramConnectionDefinition | GitHubConnectionDe
1870
1870
  */
1871
1871
  type ChannelDefinitionConfig = {
1872
1872
  connection: AnyConnectionDefinition;
1873
- /** Provider id of the place, from the per-platform field on the input. */
1874
- externalId: string;
1873
+ /**
1874
+ * Provider id of the place, from the per-platform field on the input. A list
1875
+ * fans out to one record per id at deploy time.
1876
+ */
1877
+ externalId: string | readonly string[];
1875
1878
  /** Team, guild or repo owner the place sits in, when the provider has one. */
1876
1879
  workspaceRef?: string;
1877
1880
  /** Every one of these runs. Omit and the connection's own agent answers. */
@@ -1922,8 +1925,8 @@ type TelegramChannelInput = ChannelRulesInput & {
1922
1925
  };
1923
1926
  type ZaloChannelInput = ChannelRulesInput & {
1924
1927
  connection: ZaloConnectionDefinition;
1925
- /** Zalo user or group chat id. */
1926
- chatId: string;
1928
+ /** Zalo user or group chat id, or several that share one set of rules. */
1929
+ chatId: string | readonly string[];
1927
1930
  };
1928
1931
  type PancakeChannelInput = ChannelRulesInput & {
1929
1932
  connection: PancakeConnectionDefinition;
@@ -2155,6 +2158,11 @@ type AnyResource = AgentResource | WorkspaceResource | SandboxResource | CronRes
2155
2158
  * It compiles to a `${NAME}` placeholder the harness fills in at run time. This is
2156
2159
  * NOT `process.env`: agent configs are compiled locally, so `process.env.NAME` would
2157
2160
  * bake the literal local value into the deployed config instead of deferring it.
2161
+ *
2162
+ * The reference must resolve: syncing a manifest whose `env("NAME")` has no value
2163
+ * stored for the stage is rejected outright, so an unset or misspelled name fails
2164
+ * the sync instead of reaching the runtime as a literal `${NAME}`. `broods dev`
2165
+ * pushes matching `.env.local` values first, so a local value is enough there.
2158
2166
  */
2159
2167
  declare const env: EnvAccessor;
2160
2168
  declare function defineDiscordConnection(config: DiscordConnectionInput): DiscordConnectionDefinition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "broods",
3
- "version": "0.19.0",
3
+ "version": "0.21.0",
4
4
  "description": "CLI + TypeScript SDK for the broods agent platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",