@vellumai/plugin-api 0.10.0-dev.202606230105.081b3b9 → 0.10.0-dev.202606230530.bc0f32e
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 +4 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1261,8 +1261,6 @@ declare type _DocumentsServerMessages = DocumentEditorShow | DocumentEditorUpdat
|
|
|
1261
1261
|
* the resolver's `withImpliedProviderForKnownModel`).
|
|
1262
1262
|
* - For a mix profile, returns `true` if any constituent arm supports vision
|
|
1263
1263
|
* (the mix can route to it) and `false` only if every arm is text-only.
|
|
1264
|
-
* - The "auto" meta-profile returns `false` — it has no concrete model and
|
|
1265
|
-
* may route to a text-only profile at runtime.
|
|
1266
1264
|
* - Unknown `(provider, model)` pairs default to `true` (fail-open), matching
|
|
1267
1265
|
* the config GET route's `enrichProfilesWithVisionFlag`.
|
|
1268
1266
|
*/
|
|
@@ -1509,14 +1507,13 @@ export declare function getConfiguredProvider(callSite: LLMCallSite, opts?: {
|
|
|
1509
1507
|
/**
|
|
1510
1508
|
* List the workspace inference profiles a plugin can route to, in the order the
|
|
1511
1509
|
* `/model` picker presents them (`llm.profileOrder` first, then the rest
|
|
1512
|
-
* alphabetically).
|
|
1510
|
+
* alphabetically). Metadata-only entries without a provider, model, or mix are
|
|
1511
|
+
* not routing targets, so plugins never see them. Disabled profiles are
|
|
1512
|
+
* included and flagged via
|
|
1513
1513
|
* {@link ModelProfileInfo.isDisabled}; weighted "mix" profiles are included and
|
|
1514
1514
|
* flagged via {@link ModelProfileInfo.isMix}, since a mix is itself a valid
|
|
1515
1515
|
* routing target (it resolves to one constituent per conversation).
|
|
1516
1516
|
*
|
|
1517
|
-
* The meta-"auto" profile is excluded — it has no concrete provider/model and
|
|
1518
|
-
* cannot be used as a dispatch target by a plugin sending an actual LLM call.
|
|
1519
|
-
*
|
|
1520
1517
|
* Reads the live in-memory config, so the result reflects the current profile
|
|
1521
1518
|
* set each time it is called.
|
|
1522
1519
|
*/
|
|
@@ -2473,7 +2470,7 @@ declare const MessageRequestCompleteEventSchema: z.ZodObject<{
|
|
|
2473
2470
|
runStillActive: z.ZodOptional<z.ZodBoolean>;
|
|
2474
2471
|
}, z.core.$strip>;
|
|
2475
2472
|
|
|
2476
|
-
declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent | ToolInputDelta | ToolResultEvent | ConfirmationRequestEvent | SecretRequestEvent | QuestionRequestEvent | MessageCompleteEvent | ErrorEvent_2 | MessageQueuedEvent | MessageDequeuedEvent | MessageRequestCompleteEvent | MessageQueuedDeletedEvent | MessageSteered | SuggestionResponse | TraceEvent | ConfirmationStateChanged | AssistantActivityStateEvent |
|
|
2473
|
+
declare type _MessagesServerMessages = UserMessageEchoEvent | AssistantTurnStartEvent | AssistantTextDeltaEvent | AssistantThinkingDeltaEvent | ToolUseStartEvent | ToolUsePreviewStartEvent | ToolOutputChunkEvent | ToolInputDelta | ToolResultEvent | ConfirmationRequestEvent | SecretRequestEvent | QuestionRequestEvent | MessageCompleteEvent | ErrorEvent_2 | MessageQueuedEvent | MessageDequeuedEvent | MessageRequestCompleteEvent | MessageQueuedDeletedEvent | MessageSteered | SuggestionResponse | TraceEvent | ConfirmationStateChanged | AssistantActivityStateEvent | ConversationInferenceProfileUpdated | InteractionResolvedEvent;
|
|
2477
2474
|
|
|
2478
2475
|
declare interface MessageSteered {
|
|
2479
2476
|
type: "message_steered";
|
|
@@ -4480,15 +4477,6 @@ declare const TraceEventSchema: z.ZodObject<{
|
|
|
4480
4477
|
*/
|
|
4481
4478
|
declare type TrustClass = "guardian" | "trusted_contact" | "unverified_contact" | "unknown";
|
|
4482
4479
|
|
|
4483
|
-
declare type TurnProfileAutoRoutedEvent = z.infer<typeof TurnProfileAutoRoutedEventSchema>;
|
|
4484
|
-
|
|
4485
|
-
declare const TurnProfileAutoRoutedEventSchema: z.ZodObject<{
|
|
4486
|
-
type: z.ZodLiteral<"turn_profile_auto_routed">;
|
|
4487
|
-
conversationId: z.ZodString;
|
|
4488
|
-
profile: z.ZodString;
|
|
4489
|
-
profileLabel: z.ZodString;
|
|
4490
|
-
}, z.core.$strip>;
|
|
4491
|
-
|
|
4492
4480
|
declare interface UiSurfaceComplete {
|
|
4493
4481
|
type: "ui_surface_complete";
|
|
4494
4482
|
conversationId: string;
|
package/package.json
CHANGED