@vellumai/plugin-api 0.10.11-dev.202607231425.01b751a → 0.10.11-dev.202607231649.18b8bbb
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 +58 -244
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -42,12 +42,12 @@ declare const AcpSessionUpdateEventSchema: z.ZodObject<{
|
|
|
42
42
|
type: z.ZodLiteral<"acp_session_update">;
|
|
43
43
|
acpSessionId: z.ZodString;
|
|
44
44
|
updateType: z.ZodEnum<{
|
|
45
|
-
plan: "plan";
|
|
46
45
|
agent_message_chunk: "agent_message_chunk";
|
|
47
46
|
agent_thought_chunk: "agent_thought_chunk";
|
|
48
47
|
user_message_chunk: "user_message_chunk";
|
|
49
48
|
tool_call: "tool_call";
|
|
50
49
|
tool_call_update: "tool_call_update";
|
|
50
|
+
plan: "plan";
|
|
51
51
|
}>;
|
|
52
52
|
content: z.ZodOptional<z.ZodString>;
|
|
53
53
|
toolCallId: z.ZodOptional<z.ZodString>;
|
|
@@ -710,6 +710,7 @@ declare const AssistantConfigSchema: z.ZodObject<{
|
|
|
710
710
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
711
711
|
blockIngress: z.ZodDefault<z.ZodBoolean>;
|
|
712
712
|
allowOneTimeSend: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
blockTokenShapedMessages: z.ZodDefault<z.ZodBoolean>;
|
|
713
714
|
}, z.core.$strip>>;
|
|
714
715
|
auditLog: z.ZodDefault<z.ZodObject<{
|
|
715
716
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1480,15 +1481,6 @@ export declare interface AssistantEventSubscription {
|
|
|
1480
1481
|
readonly connectionId: string;
|
|
1481
1482
|
}
|
|
1482
1483
|
|
|
1483
|
-
/**
|
|
1484
|
-
* Managed skill authored by the assistant's retrospective. Identical shape to a
|
|
1485
|
-
* custom skill — it stays managed/deletable — but carries a distinct origin so
|
|
1486
|
-
* the UI badges it as "Assistant's Memory" instead of "Custom".
|
|
1487
|
-
*/
|
|
1488
|
-
declare interface AssistantMemorySlimSkill extends SlimSkillBase {
|
|
1489
|
-
origin: "assistant-memory";
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
1484
|
declare interface AssistantStatusMessage {
|
|
1493
1485
|
type: "assistant_status";
|
|
1494
1486
|
version?: string;
|
|
@@ -1549,8 +1541,8 @@ declare const BackgroundToolCompletedEventSchema: z.ZodObject<{
|
|
|
1549
1541
|
conversationId: z.ZodString;
|
|
1550
1542
|
status: z.ZodEnum<{
|
|
1551
1543
|
cancelled: "cancelled";
|
|
1552
|
-
failed: "failed";
|
|
1553
1544
|
completed: "completed";
|
|
1545
|
+
failed: "failed";
|
|
1554
1546
|
}>;
|
|
1555
1547
|
exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1556
1548
|
output: z.ZodOptional<z.ZodString>;
|
|
@@ -1837,17 +1829,6 @@ declare const ChoiceSurfaceDataSchema: z.ZodObject<{
|
|
|
1837
1829
|
submitLabel: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1838
1830
|
}, z.core.$strip>;
|
|
1839
1831
|
|
|
1840
|
-
declare interface ClawhubSlimSkill extends SlimSkillBase {
|
|
1841
|
-
origin: "clawhub";
|
|
1842
|
-
slug: string;
|
|
1843
|
-
author: string;
|
|
1844
|
-
stars: number;
|
|
1845
|
-
installs: number;
|
|
1846
|
-
reports: number;
|
|
1847
|
-
publishedAt?: string;
|
|
1848
|
-
version: string;
|
|
1849
|
-
}
|
|
1850
|
-
|
|
1851
1832
|
export declare const CLI_COMMAND_HELP: readonly CliCommandHelp[];
|
|
1852
1833
|
|
|
1853
1834
|
declare interface CliArgumentHelp {
|
|
@@ -1905,14 +1886,13 @@ declare interface ClientEntry extends BaseSubscriberEntry {
|
|
|
1905
1886
|
actorPrincipalId?: string;
|
|
1906
1887
|
}
|
|
1907
1888
|
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
key:
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
}
|
|
1889
|
+
declare type ClientSettingsUpdateEvent = z.infer<typeof ClientSettingsUpdateEventSchema>;
|
|
1890
|
+
|
|
1891
|
+
declare const ClientSettingsUpdateEventSchema: z.ZodObject<{
|
|
1892
|
+
type: z.ZodLiteral<"client_settings_update">;
|
|
1893
|
+
key: z.ZodString;
|
|
1894
|
+
value: z.ZodString;
|
|
1895
|
+
}, z.core.$strip>;
|
|
1916
1896
|
|
|
1917
1897
|
declare interface CliOptionHelp {
|
|
1918
1898
|
/** Commander flag spec, e.g. `"--path <file>"` or `"-l, --limit <n>"`. */
|
|
@@ -1965,10 +1945,11 @@ declare const CompactionCircuitOpenEventSchema: z.ZodObject<{
|
|
|
1965
1945
|
|
|
1966
1946
|
declare type _ComputerUseServerMessages = RecordingStartEvent | RecordingStopEvent | RecordingPauseEvent | RecordingResumeEvent;
|
|
1967
1947
|
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1948
|
+
declare type ConfigChangedEvent = z.infer<typeof ConfigChangedEventSchema>;
|
|
1949
|
+
|
|
1950
|
+
declare const ConfigChangedEventSchema: z.ZodObject<{
|
|
1951
|
+
type: z.ZodLiteral<"config_changed">;
|
|
1952
|
+
}, z.core.$strip>;
|
|
1972
1953
|
|
|
1973
1954
|
declare type ConfiguredProviderOptions = Pick<ResolveCallSiteOpts, "overrideProfile" | "forceOverrideProfile" | "selectionSeed">;
|
|
1974
1955
|
|
|
@@ -2214,8 +2195,8 @@ declare const ConversationListInvalidatedEventSchema: z.ZodObject<{
|
|
|
2214
2195
|
type: z.ZodLiteral<"conversation_list_invalidated">;
|
|
2215
2196
|
reason: z.ZodEnum<{
|
|
2216
2197
|
created: "created";
|
|
2217
|
-
deleted: "deleted";
|
|
2218
2198
|
renamed: "renamed";
|
|
2199
|
+
deleted: "deleted";
|
|
2219
2200
|
reordered: "reordered";
|
|
2220
2201
|
seen_changed: "seen_changed";
|
|
2221
2202
|
}>;
|
|
@@ -2407,10 +2388,6 @@ export declare class CredentialResolutionError extends Error {
|
|
|
2407
2388
|
constructor(message: string);
|
|
2408
2389
|
}
|
|
2409
2390
|
|
|
2410
|
-
declare interface CustomSlimSkill extends SlimSkillBase {
|
|
2411
|
-
origin: "custom";
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
2391
|
/**
|
|
2415
2392
|
* Delete a conversation, yielding the event loop between row batches, and
|
|
2416
2393
|
* enqueue vector-store cleanup for the memory segments and summaries the
|
|
@@ -2437,8 +2414,8 @@ declare const DiskPressureStatusChangedEventSchema: z.ZodObject<{
|
|
|
2437
2414
|
unknown: "unknown";
|
|
2438
2415
|
disabled: "disabled";
|
|
2439
2416
|
critical: "critical";
|
|
2440
|
-
ok: "ok";
|
|
2441
2417
|
warning: "warning";
|
|
2418
|
+
ok: "ok";
|
|
2442
2419
|
}>;
|
|
2443
2420
|
locked: z.ZodBoolean;
|
|
2444
2421
|
acknowledged: z.ZodBoolean;
|
|
@@ -2512,13 +2489,15 @@ declare const DocumentCommentResolvedEventSchema: z.ZodObject<{
|
|
|
2512
2489
|
|
|
2513
2490
|
declare type _DocumentCommentsServerMessages = DocumentCommentCreatedEvent | DocumentCommentResolvedEvent | DocumentCommentReopenedEvent | DocumentCommentDeletedEvent;
|
|
2514
2491
|
|
|
2515
|
-
declare
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2492
|
+
declare type DocumentEditorShowEvent = z.infer<typeof DocumentEditorShowEventSchema>;
|
|
2493
|
+
|
|
2494
|
+
declare const DocumentEditorShowEventSchema: z.ZodObject<{
|
|
2495
|
+
type: z.ZodLiteral<"document_editor_show">;
|
|
2496
|
+
conversationId: z.ZodString;
|
|
2497
|
+
surfaceId: z.ZodString;
|
|
2498
|
+
title: z.ZodString;
|
|
2499
|
+
initialContent: z.ZodString;
|
|
2500
|
+
}, z.core.$strip>;
|
|
2522
2501
|
|
|
2523
2502
|
declare type DocumentEditorUpdateEvent = z.infer<typeof DocumentEditorUpdateEventSchema>;
|
|
2524
2503
|
|
|
@@ -2530,31 +2509,6 @@ declare const DocumentEditorUpdateEventSchema: z.ZodObject<{
|
|
|
2530
2509
|
mode: z.ZodString;
|
|
2531
2510
|
}, z.core.$strip>;
|
|
2532
2511
|
|
|
2533
|
-
declare interface DocumentListResponse {
|
|
2534
|
-
type: "document_list_response";
|
|
2535
|
-
documents: Array<{
|
|
2536
|
-
surfaceId: string;
|
|
2537
|
-
conversationId: string;
|
|
2538
|
-
title: string;
|
|
2539
|
-
wordCount: number;
|
|
2540
|
-
createdAt: number;
|
|
2541
|
-
updatedAt: number;
|
|
2542
|
-
}>;
|
|
2543
|
-
}
|
|
2544
|
-
|
|
2545
|
-
declare interface DocumentLoadResponse {
|
|
2546
|
-
type: "document_load_response";
|
|
2547
|
-
surfaceId: string;
|
|
2548
|
-
conversationId: string;
|
|
2549
|
-
title: string;
|
|
2550
|
-
content: string;
|
|
2551
|
-
wordCount: number;
|
|
2552
|
-
createdAt: number;
|
|
2553
|
-
updatedAt: number;
|
|
2554
|
-
success: boolean;
|
|
2555
|
-
error?: string;
|
|
2556
|
-
}
|
|
2557
|
-
|
|
2558
2512
|
declare type DocumentPreviewSurfaceData = z.infer<typeof DocumentPreviewSurfaceDataSchema>;
|
|
2559
2513
|
|
|
2560
2514
|
declare const DocumentPreviewSurfaceDataSchema: z.ZodObject<{
|
|
@@ -2565,14 +2519,7 @@ declare const DocumentPreviewSurfaceDataSchema: z.ZodObject<{
|
|
|
2565
2519
|
mimeType: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
2566
2520
|
}, z.core.$strip>;
|
|
2567
2521
|
|
|
2568
|
-
declare
|
|
2569
|
-
type: "document_save_response";
|
|
2570
|
-
surfaceId: string;
|
|
2571
|
-
success: boolean;
|
|
2572
|
-
error?: string;
|
|
2573
|
-
}
|
|
2574
|
-
|
|
2575
|
-
declare type _DocumentsServerMessages = DocumentEditorShow | DocumentEditorUpdateEvent | DocumentSaveResponse | DocumentLoadResponse | DocumentListResponse;
|
|
2522
|
+
declare type _DocumentsServerMessages = DocumentEditorShowEvent | DocumentEditorUpdateEvent;
|
|
2576
2523
|
|
|
2577
2524
|
/**
|
|
2578
2525
|
* Whether the given model or profile can process image input.
|
|
@@ -2706,8 +2653,8 @@ declare const FormSurfaceDataSchema: z.ZodObject<{
|
|
|
2706
2653
|
type: z.ZodCatch<z.ZodEnum<{
|
|
2707
2654
|
number: "number";
|
|
2708
2655
|
text: "text";
|
|
2709
|
-
select: "select";
|
|
2710
2656
|
textarea: "textarea";
|
|
2657
|
+
select: "select";
|
|
2711
2658
|
toggle: "toggle";
|
|
2712
2659
|
password: "password";
|
|
2713
2660
|
}>>;
|
|
@@ -2730,8 +2677,8 @@ declare const FormSurfaceDataSchema: z.ZodObject<{
|
|
|
2730
2677
|
type: z.ZodCatch<z.ZodEnum<{
|
|
2731
2678
|
number: "number";
|
|
2732
2679
|
text: "text";
|
|
2733
|
-
select: "select";
|
|
2734
2680
|
textarea: "textarea";
|
|
2681
|
+
select: "select";
|
|
2735
2682
|
toggle: "toggle";
|
|
2736
2683
|
password: "password";
|
|
2737
2684
|
}>>;
|
|
@@ -2756,15 +2703,6 @@ declare const FormSurfaceDataSchema: z.ZodObject<{
|
|
|
2756
2703
|
}>>>;
|
|
2757
2704
|
}, z.core.$strip>;
|
|
2758
2705
|
|
|
2759
|
-
/** Response to a generate_avatar request indicating success or failure. */
|
|
2760
|
-
declare interface GenerateAvatarResponse {
|
|
2761
|
-
type: "generate_avatar_response";
|
|
2762
|
-
/** Whether the avatar was generated successfully. */
|
|
2763
|
-
success: boolean;
|
|
2764
|
-
/** Error message when success is false. */
|
|
2765
|
-
error?: string;
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
2706
|
declare type GenerationCancelledEvent = z.infer<typeof GenerationCancelledEventSchema>;
|
|
2769
2707
|
|
|
2770
2708
|
declare const GenerationCancelledEventSchema: z.ZodObject<{
|
|
@@ -4078,10 +4016,10 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
4078
4016
|
subagentId: z.ZodString;
|
|
4079
4017
|
label: z.ZodString;
|
|
4080
4018
|
status: z.ZodEnum<{
|
|
4081
|
-
failed: "failed";
|
|
4082
|
-
aborted: "aborted";
|
|
4083
4019
|
completed: "completed";
|
|
4020
|
+
failed: "failed";
|
|
4084
4021
|
running: "running";
|
|
4022
|
+
aborted: "aborted";
|
|
4085
4023
|
}>;
|
|
4086
4024
|
error: z.ZodOptional<z.ZodString>;
|
|
4087
4025
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
@@ -4121,8 +4059,8 @@ declare const messageMetadataSchema: z.ZodObject<{
|
|
|
4121
4059
|
startedAt: z.ZodNumber;
|
|
4122
4060
|
status: z.ZodEnum<{
|
|
4123
4061
|
cancelled: "cancelled";
|
|
4124
|
-
failed: "failed";
|
|
4125
4062
|
completed: "completed";
|
|
4063
|
+
failed: "failed";
|
|
4126
4064
|
}>;
|
|
4127
4065
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
4128
4066
|
output: z.ZodString;
|
|
@@ -4380,26 +4318,6 @@ declare const OpenUrlEventSchema: z.ZodObject<{
|
|
|
4380
4318
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
4381
4319
|
}, z.core.$strip>;
|
|
4382
4320
|
|
|
4383
|
-
/**
|
|
4384
|
-
* Identifies what owns a tool: the built-in default set, or a skill / plugin /
|
|
4385
|
-
* MCP server / workspace override. Tracked by the tool registry keyed by tool
|
|
4386
|
-
* name, not stored on the `Tool` object itself — query via
|
|
4387
|
-
* {@link ../tools/registry.getToolOwner}.
|
|
4388
|
-
*/
|
|
4389
|
-
declare interface OwnerInfo {
|
|
4390
|
-
kind: OwnerKind;
|
|
4391
|
-
/** ID of the owner: skill id / plugin name / MCP server id / workspace path, or `"default"` for built-ins. */
|
|
4392
|
-
id: string;
|
|
4393
|
-
}
|
|
4394
|
-
|
|
4395
|
-
/**
|
|
4396
|
-
* The kind of entity that owns a tool. `"default"` is the built-in tool set
|
|
4397
|
-
* that ships with the assistant; the others are extension surfaces. Every
|
|
4398
|
-
* *registered* tool has an owner — {@link ../tools/registry.getToolOwner}
|
|
4399
|
-
* returns `undefined` only for a name that is not registered at all.
|
|
4400
|
-
*/
|
|
4401
|
-
declare type OwnerKind = "default" | "skill" | "mcp" | "plugin" | "workspace";
|
|
4402
|
-
|
|
4403
4321
|
/** Parse a stored message-metadata JSON string; undefined when absent/invalid. */
|
|
4404
4322
|
export declare function parseMessageMetadata(metadataJson: string | null): Promise<MessageMetadata>;
|
|
4405
4323
|
|
|
@@ -4413,13 +4331,6 @@ export declare function parseMessageMetadata(metadataJson: string | null): Promi
|
|
|
4413
4331
|
*/
|
|
4414
4332
|
declare function parseMessageMetadata_2(metadataJson: string | null): MessageMetadata_2 | undefined;
|
|
4415
4333
|
|
|
4416
|
-
declare interface PartnerAudit {
|
|
4417
|
-
risk: RiskLevel_2;
|
|
4418
|
-
alerts?: number;
|
|
4419
|
-
score?: number;
|
|
4420
|
-
analyzedAt: string;
|
|
4421
|
-
}
|
|
4422
|
-
|
|
4423
4334
|
declare interface PlatformConfigResponse {
|
|
4424
4335
|
type: "platform_config_response";
|
|
4425
4336
|
baseUrl: string;
|
|
@@ -5212,15 +5123,6 @@ export declare enum RiskLevel {
|
|
|
5212
5123
|
High = "high"
|
|
5213
5124
|
}
|
|
5214
5125
|
|
|
5215
|
-
/**
|
|
5216
|
-
* Audit types for SkillSSH partner security analysis.
|
|
5217
|
-
*
|
|
5218
|
-
* Extracted as a leaf module so daemon message types can reference
|
|
5219
|
-
* PartnerAudit without pulling in the full skillssh-registry module
|
|
5220
|
-
* (which transitively imports cli/program and the entire CLI graph).
|
|
5221
|
-
*/
|
|
5222
|
-
declare type RiskLevel_2 = "safe" | "low" | "medium" | "high" | "critical" | "unknown";
|
|
5223
|
-
|
|
5224
5126
|
/**
|
|
5225
5127
|
* Run a full conversation agent-loop turn: persist the user message, execute
|
|
5226
5128
|
* the agent loop (history, tools, compaction, injections), and return the
|
|
@@ -5569,7 +5471,7 @@ declare const ServiceGroupUpdateStartingEventSchema: z.ZodObject<{
|
|
|
5569
5471
|
expectedDowntimeSeconds: z.ZodNumber;
|
|
5570
5472
|
}, z.core.$strip>;
|
|
5571
5473
|
|
|
5572
|
-
declare type _SettingsServerMessages =
|
|
5474
|
+
declare type _SettingsServerMessages = ClientSettingsUpdateEvent | AvatarUpdatedEvent | ConfigChangedEvent | SoundsConfigUpdatedEvent;
|
|
5573
5475
|
|
|
5574
5476
|
declare interface ShareAppCloudResponse {
|
|
5575
5477
|
type: "share_app_cloud_response";
|
|
@@ -5654,14 +5556,6 @@ declare interface SignBundlePayloadRequest {
|
|
|
5654
5556
|
payload: string;
|
|
5655
5557
|
}
|
|
5656
5558
|
|
|
5657
|
-
declare interface SkillBodyResponse {
|
|
5658
|
-
type: "skill_detail_response";
|
|
5659
|
-
skillId: string;
|
|
5660
|
-
body: string;
|
|
5661
|
-
icon?: string;
|
|
5662
|
-
error?: string;
|
|
5663
|
-
}
|
|
5664
|
-
|
|
5665
5559
|
declare interface SkillInstallMeta {
|
|
5666
5560
|
origin: "vellum" | "clawhub" | "skillssh" | "custom";
|
|
5667
5561
|
installedAt: string;
|
|
@@ -5677,61 +5571,6 @@ declare interface SkillInstallMeta {
|
|
|
5677
5571
|
lastUsedAt?: string;
|
|
5678
5572
|
}
|
|
5679
5573
|
|
|
5680
|
-
declare interface SkillsDraftResponse {
|
|
5681
|
-
type: "skills_draft_response";
|
|
5682
|
-
success: boolean;
|
|
5683
|
-
draft?: {
|
|
5684
|
-
skillId: string;
|
|
5685
|
-
name: string;
|
|
5686
|
-
description: string;
|
|
5687
|
-
emoji?: string;
|
|
5688
|
-
bodyMarkdown: string;
|
|
5689
|
-
};
|
|
5690
|
-
warnings?: string[];
|
|
5691
|
-
error?: string;
|
|
5692
|
-
}
|
|
5693
|
-
|
|
5694
|
-
declare interface SkillsInspectResponse {
|
|
5695
|
-
type: "skills_inspect_response";
|
|
5696
|
-
slug: string;
|
|
5697
|
-
data?: {
|
|
5698
|
-
skill: {
|
|
5699
|
-
slug: string;
|
|
5700
|
-
displayName: string;
|
|
5701
|
-
summary: string;
|
|
5702
|
-
};
|
|
5703
|
-
owner?: {
|
|
5704
|
-
handle: string;
|
|
5705
|
-
displayName: string;
|
|
5706
|
-
image?: string;
|
|
5707
|
-
} | null;
|
|
5708
|
-
stats?: {
|
|
5709
|
-
stars: number;
|
|
5710
|
-
installs: number;
|
|
5711
|
-
downloads: number;
|
|
5712
|
-
versions: number;
|
|
5713
|
-
} | null;
|
|
5714
|
-
createdAt?: number | null;
|
|
5715
|
-
updatedAt?: number | null;
|
|
5716
|
-
latestVersion?: {
|
|
5717
|
-
version: string;
|
|
5718
|
-
changelog?: string;
|
|
5719
|
-
} | null;
|
|
5720
|
-
files?: Array<{
|
|
5721
|
-
path: string;
|
|
5722
|
-
size: number;
|
|
5723
|
-
contentType?: string;
|
|
5724
|
-
}> | null;
|
|
5725
|
-
skillMdContent?: string | null;
|
|
5726
|
-
};
|
|
5727
|
-
error?: string;
|
|
5728
|
-
}
|
|
5729
|
-
|
|
5730
|
-
declare interface SkillsListResponse {
|
|
5731
|
-
type: "skills_list_response";
|
|
5732
|
-
skills: SlimSkillResponse[];
|
|
5733
|
-
}
|
|
5734
|
-
|
|
5735
5574
|
/**
|
|
5736
5575
|
* Origin of a skill in the merged catalog.
|
|
5737
5576
|
*
|
|
@@ -5746,21 +5585,20 @@ declare interface SkillsListResponse {
|
|
|
5746
5585
|
*/
|
|
5747
5586
|
declare type SkillSource = "bundled" | "managed" | "workspace" | "extra" | "plugin";
|
|
5748
5587
|
|
|
5749
|
-
declare type _SkillsServerMessages =
|
|
5588
|
+
declare type _SkillsServerMessages = SkillStateChangedEvent;
|
|
5750
5589
|
|
|
5751
|
-
declare
|
|
5752
|
-
origin: "skillssh";
|
|
5753
|
-
slug: string;
|
|
5754
|
-
sourceRepo: string;
|
|
5755
|
-
installs: number;
|
|
5756
|
-
audit?: Record<string, PartnerAudit>;
|
|
5757
|
-
}
|
|
5590
|
+
declare type SkillStateChangedEvent = z.infer<typeof SkillStateChangedEventSchema>;
|
|
5758
5591
|
|
|
5759
|
-
declare
|
|
5760
|
-
type: "skills_state_changed"
|
|
5761
|
-
name:
|
|
5762
|
-
state:
|
|
5763
|
-
|
|
5592
|
+
declare const SkillStateChangedEventSchema: z.ZodObject<{
|
|
5593
|
+
type: z.ZodLiteral<"skills_state_changed">;
|
|
5594
|
+
name: z.ZodString;
|
|
5595
|
+
state: z.ZodEnum<{
|
|
5596
|
+
enabled: "enabled";
|
|
5597
|
+
disabled: "disabled";
|
|
5598
|
+
installed: "installed";
|
|
5599
|
+
uninstalled: "uninstalled";
|
|
5600
|
+
}>;
|
|
5601
|
+
}, z.core.$strip>;
|
|
5764
5602
|
|
|
5765
5603
|
declare interface SlackWebhookConfigResponse {
|
|
5766
5604
|
type: "slack_webhook_config_response";
|
|
@@ -5769,31 +5607,11 @@ declare interface SlackWebhookConfigResponse {
|
|
|
5769
5607
|
error?: string;
|
|
5770
5608
|
}
|
|
5771
5609
|
|
|
5772
|
-
|
|
5773
|
-
declare interface SlimSkillBase {
|
|
5774
|
-
id: string;
|
|
5775
|
-
name: string;
|
|
5776
|
-
description: string;
|
|
5777
|
-
icon?: string;
|
|
5778
|
-
emoji?: string;
|
|
5779
|
-
kind: "bundled" | "installed" | "catalog";
|
|
5780
|
-
status: "enabled" | "disabled" | "available";
|
|
5781
|
-
category: string;
|
|
5782
|
-
/**
|
|
5783
|
-
* Extension that ships this skill, reusing the tool registry's
|
|
5784
|
-
* {@link OwnerInfo} model. Set for plugin-resident skills as
|
|
5785
|
-
* `{ kind: "plugin", id: <plugin dir name> }` so clients can attribute
|
|
5786
|
-
* them to the owning plugin instead of collapsing to their `kind`/`origin`.
|
|
5787
|
-
*/
|
|
5788
|
-
owner?: OwnerInfo;
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
|
-
declare type SlimSkillResponse = VellumSlimSkill | ClawhubSlimSkill | SkillsshSlimSkill | CustomSlimSkill | AssistantMemorySlimSkill;
|
|
5610
|
+
declare type SoundsConfigUpdatedEvent = z.infer<typeof SoundsConfigUpdatedEventSchema>;
|
|
5792
5611
|
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
}
|
|
5612
|
+
declare const SoundsConfigUpdatedEventSchema: z.ZodObject<{
|
|
5613
|
+
type: z.ZodLiteral<"sounds_config_updated">;
|
|
5614
|
+
}, z.core.$strip>;
|
|
5797
5615
|
|
|
5798
5616
|
/**
|
|
5799
5617
|
* The full `stop` context a hook receives — the dispatching call site's
|
|
@@ -6068,11 +5886,11 @@ declare const SubagentStatusChangedEventSchema: z.ZodObject<{
|
|
|
6068
5886
|
type: z.ZodLiteral<"subagent_status_changed">;
|
|
6069
5887
|
subagentId: z.ZodString;
|
|
6070
5888
|
status: z.ZodEnum<{
|
|
6071
|
-
pending: "pending";
|
|
6072
|
-
failed: "failed";
|
|
6073
|
-
aborted: "aborted";
|
|
6074
5889
|
completed: "completed";
|
|
5890
|
+
failed: "failed";
|
|
6075
5891
|
running: "running";
|
|
5892
|
+
aborted: "aborted";
|
|
5893
|
+
pending: "pending";
|
|
6076
5894
|
awaiting_input: "awaiting_input";
|
|
6077
5895
|
interrupted: "interrupted";
|
|
6078
5896
|
}>;
|
|
@@ -6147,13 +5965,13 @@ declare type SurfaceType = z.infer<typeof SurfaceTypeSchema>;
|
|
|
6147
5965
|
|
|
6148
5966
|
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
6149
5967
|
table: "table";
|
|
6150
|
-
form: "form";
|
|
6151
|
-
list: "list";
|
|
6152
5968
|
card: "card";
|
|
6153
5969
|
channel_setup: "channel_setup";
|
|
6154
5970
|
choice: "choice";
|
|
6155
5971
|
copy_block: "copy_block";
|
|
6156
5972
|
oauth_connect: "oauth_connect";
|
|
5973
|
+
form: "form";
|
|
5974
|
+
list: "list";
|
|
6157
5975
|
confirmation: "confirmation";
|
|
6158
5976
|
dynamic_page: "dynamic_page";
|
|
6159
5977
|
file_upload: "file_upload";
|
|
@@ -7234,10 +7052,6 @@ declare interface UserPromptSubmitInputContext {
|
|
|
7234
7052
|
latestMessages: Message[];
|
|
7235
7053
|
}
|
|
7236
7054
|
|
|
7237
|
-
declare interface VellumSlimSkill extends SlimSkillBase {
|
|
7238
|
-
origin: "vellum";
|
|
7239
|
-
}
|
|
7240
|
-
|
|
7241
7055
|
declare interface VercelApiConfigResponse {
|
|
7242
7056
|
type: "vercel_api_config_response";
|
|
7243
7057
|
hasToken: boolean;
|
|
@@ -7310,10 +7124,10 @@ declare const WorkflowCompletedEventSchema: z.ZodObject<{
|
|
|
7310
7124
|
runId: z.ZodString;
|
|
7311
7125
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
7312
7126
|
status: z.ZodEnum<{
|
|
7313
|
-
failed: "failed";
|
|
7314
|
-
aborted: "aborted";
|
|
7315
7127
|
completed: "completed";
|
|
7128
|
+
failed: "failed";
|
|
7316
7129
|
running: "running";
|
|
7130
|
+
aborted: "aborted";
|
|
7317
7131
|
interrupted: "interrupted";
|
|
7318
7132
|
cap_exceeded: "cap_exceeded";
|
|
7319
7133
|
}>;
|
|
@@ -7331,8 +7145,8 @@ declare const WorkflowLeafFinishedEventSchema: z.ZodObject<{
|
|
|
7331
7145
|
conversationId: z.ZodString;
|
|
7332
7146
|
seq: z.ZodNumber;
|
|
7333
7147
|
status: z.ZodEnum<{
|
|
7334
|
-
failed: "failed";
|
|
7335
7148
|
completed: "completed";
|
|
7149
|
+
failed: "failed";
|
|
7336
7150
|
}>;
|
|
7337
7151
|
label: z.ZodOptional<z.ZodString>;
|
|
7338
7152
|
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7381,10 +7195,10 @@ declare type WorkResultSurfaceData = z.infer<typeof WorkResultSurfaceDataSchema>
|
|
|
7381
7195
|
declare const WorkResultSurfaceDataSchema: z.ZodObject<{
|
|
7382
7196
|
eyebrow: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
7383
7197
|
status: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
|
|
7198
|
+
completed: "completed";
|
|
7384
7199
|
failed: "failed";
|
|
7385
7200
|
partial: "partial";
|
|
7386
7201
|
in_progress: "in_progress";
|
|
7387
|
-
completed: "completed";
|
|
7388
7202
|
}>>>;
|
|
7389
7203
|
summary: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
7390
7204
|
metrics: z.ZodCatch<z.ZodOptional<z.ZodPipe<z.ZodTransform<Record<string, unknown>[], unknown>, z.ZodArray<z.ZodObject<{
|
package/package.json
CHANGED