@vellumai/plugin-api 0.11.11-staging.1 → 0.11.11-staging.3
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 +31 -20
- package/index.js +1 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -793,6 +793,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
793
793
|
vision: "vision";
|
|
794
794
|
voiceProgressNarration: "voiceProgressNarration";
|
|
795
795
|
voiceFrontDoor: "voiceFrontDoor";
|
|
796
|
+
voiceContinuationLabel: "voiceContinuationLabel";
|
|
796
797
|
trustRuleSuggestion: "trustRuleSuggestion";
|
|
797
798
|
homeGreeting: "homeGreeting";
|
|
798
799
|
homeSuggestedPrompts: "homeSuggestedPrompts";
|
|
@@ -960,17 +961,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
960
961
|
url: z.ZodString;
|
|
961
962
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
962
963
|
}, z.core.$strip>], "type">;
|
|
963
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
-
defaultRiskLevel: z.ZodDefault<z.ZodEnum<{
|
|
965
|
-
low: "low";
|
|
966
|
-
medium: "medium";
|
|
967
|
-
high: "high";
|
|
968
|
-
}>>;
|
|
969
|
-
maxTools: z.ZodDefault<z.ZodNumber>;
|
|
970
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
971
|
-
blockedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
972
964
|
}, z.core.$strip>>>;
|
|
973
|
-
globalMaxTools: z.ZodDefault<z.ZodNumber>;
|
|
974
965
|
}, z.core.$strip>>;
|
|
975
966
|
acp: z.ZodDefault<z.ZodObject<{
|
|
976
967
|
maxConcurrentSessions: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1031,6 +1022,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
1031
1022
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1032
1023
|
}, z.core.$strip>>;
|
|
1033
1024
|
interactiveGitTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1025
|
+
stageBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
1034
1026
|
enrichmentQueueSize: z.ZodDefault<z.ZodNumber>;
|
|
1035
1027
|
enrichmentConcurrency: z.ZodDefault<z.ZodNumber>;
|
|
1036
1028
|
enrichmentJobTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1607,6 +1599,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
1607
1599
|
type: z.ZodLiteral<"conversation_error">;
|
|
1608
1600
|
conversationId: z.ZodString;
|
|
1609
1601
|
code: z.ZodEnum<{
|
|
1602
|
+
UNKNOWN: "UNKNOWN";
|
|
1610
1603
|
PROVIDER_NETWORK: "PROVIDER_NETWORK";
|
|
1611
1604
|
PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
|
|
1612
1605
|
MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
|
|
@@ -1625,7 +1618,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
1625
1618
|
CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
|
|
1626
1619
|
CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
|
|
1627
1620
|
DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
|
|
1628
|
-
UNKNOWN: "UNKNOWN";
|
|
1629
1621
|
}>;
|
|
1630
1622
|
userMessage: z.ZodString;
|
|
1631
1623
|
retryable: z.ZodBoolean;
|
|
@@ -1646,6 +1638,7 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
1646
1638
|
memory_v3: "memory_v3";
|
|
1647
1639
|
}>;
|
|
1648
1640
|
code: z.ZodEnum<{
|
|
1641
|
+
UNKNOWN: "UNKNOWN";
|
|
1649
1642
|
PROVIDER_NETWORK: "PROVIDER_NETWORK";
|
|
1650
1643
|
PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
|
|
1651
1644
|
MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
|
|
@@ -1664,7 +1657,6 @@ declare const AssistantEventEnvelopeSchema: z.ZodObject<{
|
|
|
1664
1657
|
CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
|
|
1665
1658
|
CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
|
|
1666
1659
|
DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
|
|
1667
|
-
UNKNOWN: "UNKNOWN";
|
|
1668
1660
|
}>;
|
|
1669
1661
|
userMessage: z.ZodString;
|
|
1670
1662
|
errorCategory: z.ZodOptional<z.ZodString>;
|
|
@@ -2805,8 +2797,8 @@ declare const AssistantEventPublishOptionsSchema: z.ZodObject<{
|
|
|
2805
2797
|
macos: "macos";
|
|
2806
2798
|
windows: "windows";
|
|
2807
2799
|
linux: "linux";
|
|
2808
|
-
cli: "cli";
|
|
2809
2800
|
"chrome-extension": "chrome-extension";
|
|
2801
|
+
cli: "cli";
|
|
2810
2802
|
}>>;
|
|
2811
2803
|
excludeClientId: z.ZodOptional<z.ZodString>;
|
|
2812
2804
|
}, z.core.$strip>;
|
|
@@ -3130,6 +3122,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3130
3122
|
type: z.ZodLiteral<"conversation_error">;
|
|
3131
3123
|
conversationId: z.ZodString;
|
|
3132
3124
|
code: z.ZodEnum<{
|
|
3125
|
+
UNKNOWN: "UNKNOWN";
|
|
3133
3126
|
PROVIDER_NETWORK: "PROVIDER_NETWORK";
|
|
3134
3127
|
PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
|
|
3135
3128
|
MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
|
|
@@ -3148,7 +3141,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3148
3141
|
CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
|
|
3149
3142
|
CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
|
|
3150
3143
|
DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
|
|
3151
|
-
UNKNOWN: "UNKNOWN";
|
|
3152
3144
|
}>;
|
|
3153
3145
|
userMessage: z.ZodString;
|
|
3154
3146
|
retryable: z.ZodBoolean;
|
|
@@ -3169,6 +3161,7 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3169
3161
|
memory_v3: "memory_v3";
|
|
3170
3162
|
}>;
|
|
3171
3163
|
code: z.ZodEnum<{
|
|
3164
|
+
UNKNOWN: "UNKNOWN";
|
|
3172
3165
|
PROVIDER_NETWORK: "PROVIDER_NETWORK";
|
|
3173
3166
|
PROVIDER_RATE_LIMIT: "PROVIDER_RATE_LIMIT";
|
|
3174
3167
|
MANAGED_USAGE_LIMIT: "MANAGED_USAGE_LIMIT";
|
|
@@ -3187,7 +3180,6 @@ declare const AssistantEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3187
3180
|
CONVERSATION_ABORTED: "CONVERSATION_ABORTED";
|
|
3188
3181
|
CONVERSATION_PROCESSING_FAILED: "CONVERSATION_PROCESSING_FAILED";
|
|
3189
3182
|
DISK_SPACE_CRITICAL: "DISK_SPACE_CRITICAL";
|
|
3190
|
-
UNKNOWN: "UNKNOWN";
|
|
3191
3183
|
}>;
|
|
3192
3184
|
userMessage: z.ZodString;
|
|
3193
3185
|
errorCategory: z.ZodOptional<z.ZodString>;
|
|
@@ -4879,9 +4871,16 @@ export declare const HOOKS: {
|
|
|
4879
4871
|
};
|
|
4880
4872
|
|
|
4881
4873
|
/**
|
|
4882
|
-
*
|
|
4883
|
-
*
|
|
4884
|
-
*
|
|
4874
|
+
* Which client provides which host capability.
|
|
4875
|
+
*
|
|
4876
|
+
* This is the single source of truth for host routing. `supportsHostProxy` in
|
|
4877
|
+
* `channels/types.ts` answers from this table, and the `assistant clients` help
|
|
4878
|
+
* text renders it so the assistant can tell a user which client unblocks a
|
|
4879
|
+
* task. It lives in the shared leaf zone because the CLI reads it on every
|
|
4880
|
+
* `assistant clients --help`, and the CLI may not hoist daemon-internal
|
|
4881
|
+
* modules into its static import graph.
|
|
4882
|
+
*
|
|
4883
|
+
* Pure data and pure functions only: no imports, no daemon runtime graph.
|
|
4885
4884
|
*/
|
|
4886
4885
|
declare const HOST_PROXY_CAPABILITIES: readonly ["host_bash", "host_file", "host_cu", "host_cu_window_capture", "host_cu_annotate", "host_browser", "host_app_control", "host_ui_snapshot"];
|
|
4887
4886
|
|
|
@@ -5485,6 +5484,7 @@ declare const LLMCallSiteEnum: z.ZodEnum<{
|
|
|
5485
5484
|
vision: "vision";
|
|
5486
5485
|
voiceProgressNarration: "voiceProgressNarration";
|
|
5487
5486
|
voiceFrontDoor: "voiceFrontDoor";
|
|
5487
|
+
voiceContinuationLabel: "voiceContinuationLabel";
|
|
5488
5488
|
trustRuleSuggestion: "trustRuleSuggestion";
|
|
5489
5489
|
homeGreeting: "homeGreeting";
|
|
5490
5490
|
homeSuggestedPrompts: "homeSuggestedPrompts";
|
|
@@ -5565,8 +5565,8 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
5565
5565
|
discord: "discord";
|
|
5566
5566
|
plugin: "plugin";
|
|
5567
5567
|
}>>;
|
|
5568
|
-
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "
|
|
5569
|
-
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "
|
|
5568
|
+
userMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
|
|
5569
|
+
assistantMessageInterface: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli" | null, string>> & z.ZodType<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string, z.core.$ZodTypeInternals<"phone" | "telegram" | "whatsapp" | "slack" | "email" | "a2a" | "discord" | "plugin" | "route" | "web" | "ios" | "macos" | "windows" | "linux" | "chrome-extension" | "cli", string>>>;
|
|
5570
5570
|
client: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5571
5571
|
clientOsFromRequest: z.ZodOptional<z.ZodBoolean>;
|
|
5572
5572
|
subagentNotification: z.ZodOptional<z.ZodObject<{
|
|
@@ -5731,6 +5731,17 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
|
|
|
5731
5731
|
*/
|
|
5732
5732
|
declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
|
|
5733
5733
|
|
|
5734
|
+
/**
|
|
5735
|
+
* Read the `surfaceId` out of a `ui_show` tool result, or `undefined` when the
|
|
5736
|
+
* content is not a surface envelope.
|
|
5737
|
+
*
|
|
5738
|
+
* Trailing prose after the JSON object is tolerated: guidance belongs in a
|
|
5739
|
+
* `note` field, but a caller that appends it instead must not silently cost
|
|
5740
|
+
* the reader its `surfaceId`: losing the id makes a live progress surface
|
|
5741
|
+
* invisible to the completion nudge, and the user watches it spin forever.
|
|
5742
|
+
*/
|
|
5743
|
+
export declare function parseSurfaceShowResultId(content: string): string | undefined;
|
|
5744
|
+
|
|
5734
5745
|
/**
|
|
5735
5746
|
* Plugin-facing facade over the host's system-card writer: a daemon-authored
|
|
5736
5747
|
* transcript notice, persisted as an assistant row stamped
|
package/index.js
CHANGED
|
@@ -42,6 +42,7 @@ export const listInstalledSkills = api.listInstalledSkills;
|
|
|
42
42
|
export const mediaBlockAttachmentId = api.mediaBlockAttachmentId;
|
|
43
43
|
export const openTranscriptionSession = api.openTranscriptionSession;
|
|
44
44
|
export const parseMessageMetadata = api.parseMessageMetadata;
|
|
45
|
+
export const parseSurfaceShowResultId = api.parseSurfaceShowResultId;
|
|
45
46
|
export const persistSystemCard = api.persistSystemCard;
|
|
46
47
|
export const publishEvent = api.publishEvent;
|
|
47
48
|
export const quarantineRefusedExchanges = api.quarantineRefusedExchanges;
|