@mycadet/plugin-api 0.12.8 → 0.12.9-dev.202610131855.f70f62a
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/index.d.ts +23 -22
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1892,10 +1892,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1892
1892
|
"suppress-cjk": "suppress-cjk";
|
|
1893
1893
|
}>>;
|
|
1894
1894
|
disableCache: z.ZodOptional<z.ZodBoolean>;
|
|
1895
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
1896
|
-
managed: "managed";
|
|
1897
|
-
user: "user";
|
|
1898
|
-
}>>;
|
|
1899
1895
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1900
1896
|
description: z.ZodOptional<z.ZodString>;
|
|
1901
1897
|
provider_connection: z.ZodOptional<z.ZodString>;
|
|
@@ -1927,12 +1923,9 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1927
1923
|
weight: z.ZodNumber;
|
|
1928
1924
|
}, z.core.$strip>>>;
|
|
1929
1925
|
fallbackProfile: z.ZodOptional<z.ZodString>;
|
|
1930
|
-
supportsVision: z.ZodOptional<z.ZodBoolean>;
|
|
1931
|
-
invariant: z.ZodOptional<z.ZodBoolean>;
|
|
1932
1926
|
}, z.core.$strip>>>;
|
|
1933
1927
|
profileOrder: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1934
1928
|
callSites: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
1935
|
-
autoProfileRouter: "autoProfileRouter";
|
|
1936
1929
|
voiceEscalationJudge: "voiceEscalationJudge";
|
|
1937
1930
|
voiceContinuationJudge: "voiceContinuationJudge";
|
|
1938
1931
|
memoryV3SelectL2: "memoryV3SelectL2";
|
|
@@ -2394,6 +2387,26 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
2394
2387
|
maxRequestsPerMinute: z.ZodDefault<z.ZodNumber>;
|
|
2395
2388
|
maxRequestsPerHour: z.ZodDefault<z.ZodNumber>;
|
|
2396
2389
|
}, z.core.$strip>>;
|
|
2390
|
+
assistantId: z.ZodOptional<z.ZodString>;
|
|
2391
|
+
lastTunnel: z.ZodOptional<z.ZodObject<{
|
|
2392
|
+
provider: z.ZodEnum<{
|
|
2393
|
+
cadet: "cadet";
|
|
2394
|
+
ngrok: "ngrok";
|
|
2395
|
+
cloudflare: "cloudflare";
|
|
2396
|
+
tailscale: "tailscale";
|
|
2397
|
+
}>;
|
|
2398
|
+
publicBaseUrl: z.ZodString;
|
|
2399
|
+
}, z.core.$strip>>;
|
|
2400
|
+
pairingTunnel: z.ZodOptional<z.ZodObject<{
|
|
2401
|
+
provider: z.ZodEnum<{
|
|
2402
|
+
cadet: "cadet";
|
|
2403
|
+
ngrok: "ngrok";
|
|
2404
|
+
cloudflare: "cloudflare";
|
|
2405
|
+
tailscale: "tailscale";
|
|
2406
|
+
}>;
|
|
2407
|
+
publicBaseUrl: z.ZodString;
|
|
2408
|
+
}, z.core.$strip>>;
|
|
2409
|
+
publicBaseUrlManagedBy: z.ZodOptional<z.ZodString>;
|
|
2397
2410
|
}, z.core.$strip>>;
|
|
2398
2411
|
cloud: z.ZodDefault<z.ZodObject<{
|
|
2399
2412
|
baseUrl: z.ZodDefault<z.ZodString>;
|
|
@@ -2436,7 +2449,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
2436
2449
|
}>>;
|
|
2437
2450
|
checkIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
2438
2451
|
}, z.core.$strip>>;
|
|
2439
|
-
legacyTelemetryOptOut: z.ZodOptional<z.ZodBoolean>;
|
|
2440
2452
|
legacyDiagnosticsOptOut: z.ZodOptional<z.ZodBoolean>;
|
|
2441
2453
|
maxStepsPerSession: z.ZodDefault<z.ZodNumber>;
|
|
2442
2454
|
}, z.core.$strip>;
|
|
@@ -3543,7 +3555,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
3543
3555
|
targetVersion: z.ZodString;
|
|
3544
3556
|
expectedDowntimeSeconds: z.ZodNumber;
|
|
3545
3557
|
}, z.core.$strip>, z.ZodObject<{
|
|
3546
|
-
type: z.ZodLiteral<"
|
|
3558
|
+
type: z.ZodLiteral<"show_cloud_login">;
|
|
3547
3559
|
}, z.core.$strip>, z.ZodObject<{
|
|
3548
3560
|
type: z.ZodLiteral<"skills_state_changed">;
|
|
3549
3561
|
name: z.ZodString;
|
|
@@ -5192,7 +5204,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5192
5204
|
targetVersion: z.ZodString;
|
|
5193
5205
|
expectedDowntimeSeconds: z.ZodNumber;
|
|
5194
5206
|
}, z.core.$strip>, z.ZodObject<{
|
|
5195
|
-
type: z.ZodLiteral<"
|
|
5207
|
+
type: z.ZodLiteral<"show_cloud_login">;
|
|
5196
5208
|
}, z.core.$strip>, z.ZodObject<{
|
|
5197
5209
|
type: z.ZodLiteral<"skills_state_changed">;
|
|
5198
5210
|
name: z.ZodString;
|
|
@@ -5851,9 +5863,6 @@ export declare interface AudioEmbeddingInput {
|
|
|
5851
5863
|
mimeType: string;
|
|
5852
5864
|
}
|
|
5853
5865
|
|
|
5854
|
-
/** `profileSource` reported for a turn whose profile the Auto router chose. */
|
|
5855
|
-
declare const AUTO_PROFILE_SOURCE = "auto";
|
|
5856
|
-
|
|
5857
5866
|
/**
|
|
5858
5867
|
* Media payload for an image or file content block. One unified type covers
|
|
5859
5868
|
* both blocks and both storage forms:
|
|
@@ -13146,7 +13155,6 @@ export declare type LLMCallSite = z.infer<typeof LLMCallSiteEnum>;
|
|
|
13146
13155
|
* this list in sync with the resolver and registry (introduced in PR 2).
|
|
13147
13156
|
*/
|
|
13148
13157
|
declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
13149
|
-
autoProfileRouter: "autoProfileRouter";
|
|
13150
13158
|
voiceEscalationJudge: "voiceEscalationJudge";
|
|
13151
13159
|
voiceContinuationJudge: "voiceContinuationJudge";
|
|
13152
13160
|
memoryV3SelectL2: "memoryV3SelectL2";
|
|
@@ -22560,13 +22568,6 @@ export declare interface SendMessageConfig {
|
|
|
22560
22568
|
* silently fall through.
|
|
22561
22569
|
*/
|
|
22562
22570
|
overrideProfile?: string;
|
|
22563
|
-
/**
|
|
22564
|
-
* Who chose `overrideProfile`: `"auto"` when the Auto profile's router
|
|
22565
|
-
* picked it for the turn. Usage attribution reports it as the profile
|
|
22566
|
-
* source so a routed turn is not counted as a user pin. A routing-time
|
|
22567
|
-
* concern only; stripped before any provider wire request.
|
|
22568
|
-
*/
|
|
22569
|
-
overrideProfileOrigin?: "auto";
|
|
22570
22571
|
/**
|
|
22571
22572
|
* When true, the resolver floats `overrideProfile` above the call-site
|
|
22572
22573
|
* layers (named site profile + call-site override) for non-main-agent call
|
|
@@ -24877,7 +24878,7 @@ declare interface UiSurfaceContent {
|
|
|
24877
24878
|
/** Merge the given keys into a message's metadata JSON. */
|
|
24878
24879
|
export declare function updateMessageMetadata(messageId: string, updates: Record<string, unknown>): Promise<void>;
|
|
24879
24880
|
|
|
24880
|
-
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" |
|
|
24881
|
+
declare type UsageAttributionProfileSource = "call_site" | "conversation" | "active" | "default" | "unknown";
|
|
24881
24882
|
|
|
24882
24883
|
declare interface UsageAttributionSnapshot {
|
|
24883
24884
|
callSite: LLMCallSite | null;
|