@mycadet/plugin-api 0.12.7-dev.202610102207.24bf931 → 0.12.7-dev.202610111049.d2b52a8

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 +17 -17
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -12200,7 +12200,7 @@ export declare function getMessages(conversationId: string): Promise<MessageRow[
12200
12200
  /**
12201
12201
  * List the workspace inference profiles a plugin can route to, in the order a
12202
12202
  * user-facing model picker presents them (`llm.profileOrder` first, then the
12203
- * rest alphabetically). Managed backup routes and the managed Jev profile
12203
+ * rest alphabetically). Managed backup routes and the cloud Jev profile
12204
12204
  * are omitted with the rest of the conversation view: a plugin routes
12205
12205
  * conversation turns, and a decision model cannot answer them.
12206
12206
  * Metadata-only entries without a provider, model, or mix are not routing
@@ -19171,7 +19171,7 @@ generated: undefined;
19171
19171
  }, {}, {
19172
19172
  length: number | undefined;
19173
19173
  }>;
19174
- managedServiceConfigKey: SQLiteColumn< {
19174
+ cloudServiceConfigKey: SQLiteColumn< {
19175
19175
  name: "managed_service_config_key";
19176
19176
  tableName: "oauth_providers";
19177
19177
  dataType: "string";
@@ -20530,7 +20530,7 @@ generated: undefined;
20530
20530
  dialect: "sqlite";
20531
20531
  }>;
20532
20532
 
20533
- declare type ProviderCredentialSource = "byok" | "no-auth" | "oauth-subscription" | "cadet-managed";
20533
+ declare type ProviderCredentialSource = "byok" | "no-auth" | "oauth-subscription" | "cadet-cloud";
20534
20534
 
20535
20535
  export declare type ProviderEvent = {
20536
20536
  type: "text_delta";
@@ -20614,9 +20614,9 @@ export declare interface ProviderResponse {
20614
20614
  declare interface ProviderRouteAttribution {
20615
20615
  connectionName?: string;
20616
20616
  profileName?: string;
20617
- isManagedRoute?: boolean;
20617
+ isCloudRoute?: boolean;
20618
20618
  /**
20619
- * Credential surface used for this request. Finer than `isManagedRoute`:
20619
+ * Credential surface used for this request. Finer than `isCloudRoute`:
20620
20620
  * it separates personal provider keys, keyless endpoints, and subscription
20621
20621
  * logins from each other so error copy can name what the user must fix.
20622
20622
  */
@@ -21071,7 +21071,7 @@ export declare function resolveMediaSourceData(source: MediaSource_2): {
21071
21071
  * across attempts, which is what an exact-match `redirect_uri` check needs.
21072
21072
  *
21073
21073
  * @throws when no public ingress is configured and the assistant is not
21074
- * connected to the platform. There is no URL that would work in that
21074
+ * connected to the cloud. There is no URL that would work in that
21075
21075
  * case, and returning a plausible one produces an authorization request
21076
21076
  * whose callback silently never arrives.
21077
21077
  */
@@ -21092,12 +21092,12 @@ export declare function resolveUserName(workspaceDir: string): string | null;
21092
21092
  /**
21093
21093
  * Resolve the public URL a third party should deliver to for `path`.
21094
21094
  *
21095
- * On the managed branches this registers a callback route with the platform,
21095
+ * On the cloud branches this registers a callback route with the cloud,
21096
21096
  * which is idempotent and matches what `assistant webhooks register` does.
21097
21097
  *
21098
21098
  * @throws when the plugin cannot be determined, when `path` is not one the
21099
21099
  * gateway would serve, or when no ingress is configured and the assistant is
21100
- * not connected to the platform. That last case has no URL that would work,
21100
+ * not connected to the cloud. That last case has no URL that would work,
21101
21101
  * and a plausible one would produce a vendor registration that silently
21102
21102
  * receives nothing.
21103
21103
  */
@@ -22604,7 +22604,7 @@ export declare interface SendMessageConfig {
22604
22604
  * True when the caller appended {@link NATIVE_WEB_SEARCH_TOOL_NAME} purely
22605
22605
  * to activate the route's provider-native web search, rather than passing an
22606
22606
  * app-executed search tool of the same name (which is what runs when a
22607
- * search backend like Brave or the platform search proxy is configured).
22607
+ * search backend like Brave or the cloud search proxy is configured).
22608
22608
  * Only the caller can tell those apart, and a route change after that
22609
22609
  * decision has to: `RetryProvider` drops the tool on a backup that runs no
22610
22610
  * native search, and must not touch it when the daemon executes it itself.
@@ -22643,9 +22643,9 @@ export declare interface SendMessageConfig {
22643
22643
  */
22644
22644
  promptCacheKey?: string;
22645
22645
  /**
22646
- * Internal per-request HTTP headers for managed-proxy usage attribution.
22646
+ * Internal per-request HTTP headers for cloud-proxy usage attribution.
22647
22647
  * Provider clients may pass these through SDK request options only when the
22648
- * transport is Cadet-managed, and must never include this object in provider
22648
+ * transport is Cadet Cloud, and must never include this object in provider
22649
22649
  * JSON request bodies.
22650
22650
  */
22651
22651
  usageAttributionHeaders?: Record<string, string>;
@@ -23549,8 +23549,8 @@ export declare type SttProviderId = "openai-whisper" | "deepgram"
23549
23549
  */
23550
23550
  | "deepgram-flux" | "google-gemini" | "xai" | "cadet"
23551
23551
  /**
23552
- * Managed Flux: the same conversational model as `deepgram-flux`, reached
23553
- * through the platform's speech relay instead of a Deepgram key. Dials the
23552
+ * Cloud Flux: the same conversational model as `deepgram-flux`, reached
23553
+ * through the cloud's speech relay instead of a Deepgram key. Dials the
23554
23554
  * relay's STT v2 endpoint asking for native Flux frames, so it keeps the
23555
23555
  * turn events the relay's default v1-shaped translation drops.
23556
23556
  */
@@ -24255,7 +24255,7 @@ export declare interface ToolContext {
24255
24255
  */
24256
24256
  toolUseId?: string;
24257
24257
  /**
24258
- * True when the assistant is running as a platform-managed remote instance. Used to auto-approve sandboxed bash tools.
24258
+ * True when the assistant is running as a cloud-managed remote instance. Used to auto-approve sandboxed bash tools.
24259
24259
  * @legacy
24260
24260
  */
24261
24261
  isCloudHosted?: boolean;
@@ -25765,10 +25765,10 @@ dialect: "sqlite";
25765
25765
  *
25766
25766
  * A plugin that receives third-party webhooks has to tell the vendor where to
25767
25767
  * deliver. Which URL is correct depends on how the assistant is reachable:
25768
- * a platform pod and a platform-connected assistant are served through a
25768
+ * a cloud pod and a cloud-connected assistant are served through a
25769
25769
  * managed callback route, while a self-hosted deployment is served through its
25770
25770
  * configured public ingress. `ingress.publicBaseUrl` alone does not decide it,
25771
- * because on a platform-connected assistant that value holds the Tunnel
25771
+ * because on a cloud-connected assistant that value holds the Tunnel
25772
25772
  * address, which is not where plugin routes are served.
25773
25773
  *
25774
25774
  * `resolveCallbackUrl` owns that decision for every caller in the codebase
@@ -25788,7 +25788,7 @@ export declare interface WebhookUrlOptions {
25788
25788
  * explicitly from a plugin route handler, where no context is established.
25789
25789
  */
25790
25790
  plugin?: string;
25791
- /** Human-readable label for the platform's admin display. */
25791
+ /** Human-readable label for the cloud's admin display. */
25792
25792
  sourceIdentifier?: string;
25793
25793
  }
25794
25794
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mycadet/plugin-api",
3
- "version": "0.12.7-dev.202610102207.24bf931",
3
+ "version": "0.12.7-dev.202610111049.d2b52a8",
4
4
  "description": "Public TypeScript authoring contract for Cadet assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",