@mycadet/plugin-api 0.12.8 → 0.12.9

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 +22 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1927,8 +1927,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
1927
1927
  weight: z.ZodNumber;
1928
1928
  }, z.core.$strip>>>;
1929
1929
  fallbackProfile: z.ZodOptional<z.ZodString>;
1930
- supportsVision: z.ZodOptional<z.ZodBoolean>;
1931
- invariant: z.ZodOptional<z.ZodBoolean>;
1932
1930
  }, z.core.$strip>>>;
1933
1931
  profileOrder: z.ZodDefault<z.ZodArray<z.ZodString>>;
1934
1932
  callSites: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodRecord<z.ZodEnum<{
@@ -2394,6 +2392,26 @@ declare const AssistantConfigSchema: z.ZodObject<{
2394
2392
  maxRequestsPerMinute: z.ZodDefault<z.ZodNumber>;
2395
2393
  maxRequestsPerHour: z.ZodDefault<z.ZodNumber>;
2396
2394
  }, z.core.$strip>>;
2395
+ assistantId: z.ZodOptional<z.ZodString>;
2396
+ lastTunnel: z.ZodOptional<z.ZodObject<{
2397
+ provider: z.ZodEnum<{
2398
+ cadet: "cadet";
2399
+ ngrok: "ngrok";
2400
+ cloudflare: "cloudflare";
2401
+ tailscale: "tailscale";
2402
+ }>;
2403
+ publicBaseUrl: z.ZodString;
2404
+ }, z.core.$strip>>;
2405
+ pairingTunnel: z.ZodOptional<z.ZodObject<{
2406
+ provider: z.ZodEnum<{
2407
+ cadet: "cadet";
2408
+ ngrok: "ngrok";
2409
+ cloudflare: "cloudflare";
2410
+ tailscale: "tailscale";
2411
+ }>;
2412
+ publicBaseUrl: z.ZodString;
2413
+ }, z.core.$strip>>;
2414
+ publicBaseUrlManagedBy: z.ZodOptional<z.ZodString>;
2397
2415
  }, z.core.$strip>>;
2398
2416
  cloud: z.ZodDefault<z.ZodObject<{
2399
2417
  baseUrl: z.ZodDefault<z.ZodString>;
@@ -3543,7 +3561,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
3543
3561
  targetVersion: z.ZodString;
3544
3562
  expectedDowntimeSeconds: z.ZodNumber;
3545
3563
  }, z.core.$strip>, z.ZodObject<{
3546
- type: z.ZodLiteral<"show_platform_login">;
3564
+ type: z.ZodLiteral<"show_cloud_login">;
3547
3565
  }, z.core.$strip>, z.ZodObject<{
3548
3566
  type: z.ZodLiteral<"skills_state_changed">;
3549
3567
  name: z.ZodString;
@@ -5192,7 +5210,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5192
5210
  targetVersion: z.ZodString;
5193
5211
  expectedDowntimeSeconds: z.ZodNumber;
5194
5212
  }, z.core.$strip>, z.ZodObject<{
5195
- type: z.ZodLiteral<"show_platform_login">;
5213
+ type: z.ZodLiteral<"show_cloud_login">;
5196
5214
  }, z.core.$strip>, z.ZodObject<{
5197
5215
  type: z.ZodLiteral<"skills_state_changed">;
5198
5216
  name: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycadet/plugin-api",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "description": "Public TypeScript authoring contract for Cadet assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",