broods 0.42.0 → 0.43.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/account.d.ts CHANGED
@@ -382,6 +382,7 @@ interface AgentChannelsConfig {
382
382
  telegram?: AgentTelegramChannelConfig;
383
383
  gchat?: AgentGoogleChatChannelConfig;
384
384
  github?: AgentGitHubChannelConfig;
385
+ linear?: AgentLinearChannelConfig;
385
386
  slack?: AgentSlackChannelConfig;
386
387
  discord?: AgentDiscordChannelConfig;
387
388
  pancake?: AgentPancakeChannelConfig;
@@ -389,6 +390,8 @@ interface AgentChannelsConfig {
389
390
  twilio?: AgentTwilioChannelConfig;
390
391
  zalo?: AgentZaloChannelConfig;
391
392
  matrix?: AgentMatrixChannelConfig;
393
+ instagram?: AgentInstagramChannelConfig;
394
+ messenger?: AgentMessengerChannelConfig;
392
395
  whatsapp?: AgentWhatsAppChannelConfig;
393
396
  [key: string]: unknown;
394
397
  }
@@ -438,6 +441,25 @@ interface AgentGitHubChannelConfig {
438
441
  partition?: ChannelPartition;
439
442
  [key: string]: unknown;
440
443
  }
444
+ /**
445
+ * A Linear member the agent comments as, through that member's personal API
446
+ * key. The agent answers comments that mention `@userName` on issues, and
447
+ * `webhookSecret` checks every delivery.
448
+ */
449
+ interface AgentLinearChannelConfig {
450
+ allowedChannelIds?: string[];
451
+ allowedUserIds?: string[];
452
+ id?: string;
453
+ apiKey?: string;
454
+ /** Linear GraphQL endpoint. Defaults to `https://api.linear.app/graphql`. */
455
+ apiUrl?: string;
456
+ /** The member's display name, e.g. `acme-agent`. `@acme-agent` addresses the agent. */
457
+ userName?: string;
458
+ webhookSecret?: string;
459
+ trace?: "enabled" | "disabled";
460
+ partition?: ChannelPartition;
461
+ [key: string]: unknown;
462
+ }
441
463
  interface AgentSlackChannelConfig {
442
464
  id?: string;
443
465
  apiUrl?: string;
@@ -514,6 +536,47 @@ interface AgentZaloChannelConfig {
514
536
  partition?: ChannelPartition;
515
537
  [key: string]: unknown;
516
538
  }
539
+ /**
540
+ * An Instagram professional account, reached through a Meta app with
541
+ * Instagram Login. `accountId` is the account the webhook entries name.
542
+ */
543
+ interface AgentInstagramChannelConfig {
544
+ allowedChannelIds?: string[];
545
+ allowedUserIds?: string[];
546
+ id?: string;
547
+ /** Instagram user access token with `instagram_business_manage_messages`. */
548
+ accessToken?: string;
549
+ /** Instagram professional account id. */
550
+ accountId?: string;
551
+ /** Graph API version, e.g. `v26.0`. Defaults to the SDK's. */
552
+ apiVersion?: string;
553
+ /** Meta app secret; signs every webhook POST. */
554
+ appSecret?: string;
555
+ userName?: string;
556
+ /** The verify token typed into the Meta webhook settings. */
557
+ verifyToken?: string;
558
+ trace?: "enabled" | "disabled";
559
+ partition?: ChannelPartition;
560
+ [key: string]: unknown;
561
+ }
562
+ /** A Facebook Page the agent answers Messenger DMs for. */
563
+ interface AgentMessengerChannelConfig {
564
+ allowedChannelIds?: string[];
565
+ allowedUserIds?: string[];
566
+ id?: string;
567
+ /** Graph API version, e.g. `v21.0`. Defaults to the SDK's. */
568
+ apiVersion?: string;
569
+ /** Meta app secret; signs every webhook POST. */
570
+ appSecret?: string;
571
+ /** Page access token for the Page the app is subscribed to. */
572
+ pageAccessToken?: string;
573
+ userName?: string;
574
+ /** The verify token typed into the Meta webhook settings. */
575
+ verifyToken?: string;
576
+ trace?: "enabled" | "disabled";
577
+ partition?: ChannelPartition;
578
+ [key: string]: unknown;
579
+ }
517
580
  /**
518
581
  * A Google Chat app on the HTTP endpoint connection. It posts as the service
519
582
  * account in `credentials`, and a webhook is accepted when its Google-signed