@vellumai/plugin-api 0.11.6-dev.202608261418.c95fed6 → 0.11.6-dev.202608261630.6360d02

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.
Files changed (2) hide show
  1. package/index.d.ts +14 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1115,6 +1115,12 @@ declare const AssistantConfigSchema: z.ZodObject<{
1115
1115
  mention_then_thread: "mention_then_thread";
1116
1116
  }>>;
1117
1117
  }, z.core.$strip>>;
1118
+ discord: z.ZodDefault<z.ZodObject<{
1119
+ botUserId: z.ZodDefault<z.ZodString>;
1120
+ botUsername: z.ZodDefault<z.ZodString>;
1121
+ applicationId: z.ZodDefault<z.ZodString>;
1122
+ inviteUrl: z.ZodDefault<z.ZodString>;
1123
+ }, z.core.$strip>>;
1118
1124
  a2a: z.ZodDefault<z.ZodObject<{
1119
1125
  enabled: z.ZodDefault<z.ZodBoolean>;
1120
1126
  }, z.core.$strip>>;
@@ -6580,6 +6586,14 @@ export declare interface SendMessageConfig {
6580
6586
  * JSON request bodies.
6581
6587
  */
6582
6588
  usageAttributionHeaders?: Record<string, string>;
6589
+ /**
6590
+ * Per-request HTTP headers merged onto the transport. `RetryProvider`
6591
+ * stamps these for providers that need support-lookup headers (OpenCode
6592
+ * `x-opencode-session` / `x-opencode-request`). Provider clients pass
6593
+ * them through SDK request options only and must never include this
6594
+ * object in provider JSON request bodies.
6595
+ */
6596
+ requestHeaders?: Record<string, string>;
6583
6597
  /**
6584
6598
  * Controls local usage-ledger writes for attributed provider calls.
6585
6599
  * Defaults to `auto`; conversation paths that aggregate usage separately
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.6-dev.202608261418.c95fed6",
3
+ "version": "0.11.6-dev.202608261630.6360d02",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",