@vellumai/plugin-api 0.11.4-dev.202608191823.2d04996 → 0.11.4-dev.202608192008.2b8f565

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 +38 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2091,6 +2091,25 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
2091
2091
  }, z.core.$strip>, z.ZodObject<{
2092
2092
  type: z.ZodLiteral<"relationship_state_updated">;
2093
2093
  updatedAt: z.ZodString;
2094
+ }, z.core.$strip>, z.ZodObject<{
2095
+ type: z.ZodLiteral<"resource_pressure_status_changed">;
2096
+ status: z.ZodObject<{
2097
+ enabled: z.ZodBoolean;
2098
+ state: z.ZodEnum<{
2099
+ unknown: "unknown";
2100
+ ok: "ok";
2101
+ disabled: "disabled";
2102
+ elevated: "elevated";
2103
+ }>;
2104
+ cpuPercent: z.ZodNullable<z.ZodNumber>;
2105
+ memoryPercent: z.ZodNullable<z.ZodNumber>;
2106
+ cpuElevated: z.ZodBoolean;
2107
+ memoryElevated: z.ZodBoolean;
2108
+ cpuThresholdPercent: z.ZodNumber;
2109
+ memoryThresholdPercent: z.ZodNumber;
2110
+ lastCheckedAt: z.ZodNullable<z.ZodString>;
2111
+ error: z.ZodNullable<z.ZodString>;
2112
+ }, z.core.$strip>;
2094
2113
  }, z.core.$strip>, z.ZodObject<{
2095
2114
  type: z.ZodLiteral<"schedule_conversation_created">;
2096
2115
  conversationId: z.ZodString;
@@ -3550,6 +3569,25 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3550
3569
  }, z.core.$strip>, z.ZodObject<{
3551
3570
  type: z.ZodLiteral<"relationship_state_updated">;
3552
3571
  updatedAt: z.ZodString;
3572
+ }, z.core.$strip>, z.ZodObject<{
3573
+ type: z.ZodLiteral<"resource_pressure_status_changed">;
3574
+ status: z.ZodObject<{
3575
+ enabled: z.ZodBoolean;
3576
+ state: z.ZodEnum<{
3577
+ unknown: "unknown";
3578
+ ok: "ok";
3579
+ disabled: "disabled";
3580
+ elevated: "elevated";
3581
+ }>;
3582
+ cpuPercent: z.ZodNullable<z.ZodNumber>;
3583
+ memoryPercent: z.ZodNullable<z.ZodNumber>;
3584
+ cpuElevated: z.ZodBoolean;
3585
+ memoryElevated: z.ZodBoolean;
3586
+ cpuThresholdPercent: z.ZodNumber;
3587
+ memoryThresholdPercent: z.ZodNumber;
3588
+ lastCheckedAt: z.ZodNullable<z.ZodString>;
3589
+ error: z.ZodNullable<z.ZodString>;
3590
+ }, z.core.$strip>;
3553
3591
  }, z.core.$strip>, z.ZodObject<{
3554
3592
  type: z.ZodLiteral<"schedule_conversation_created">;
3555
3593
  conversationId: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.11.4-dev.202608191823.2d04996",
3
+ "version": "0.11.4-dev.202608192008.2b8f565",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",