@vellumai/plugin-api 0.10.7-dev.202607092332.9deedf4 → 0.10.7-dev.202607100051.bd9658e
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 +3 -35
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -189,29 +189,6 @@ declare interface AppRestoreResponse {
|
|
|
189
189
|
error?: string;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
declare type ApprovalRequired = z.infer<typeof ApprovalRequiredSchema>;
|
|
193
|
-
|
|
194
|
-
declare const ApprovalRequiredSchema: z.ZodObject<{
|
|
195
|
-
proposal: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
196
|
-
type: z.ZodLiteral<"http">;
|
|
197
|
-
credentialHandle: z.ZodString;
|
|
198
|
-
method: z.ZodString;
|
|
199
|
-
url: z.ZodString;
|
|
200
|
-
purpose: z.ZodString;
|
|
201
|
-
allowedUrlPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
-
type: z.ZodLiteral<"command">;
|
|
204
|
-
credentialHandle: z.ZodString;
|
|
205
|
-
command: z.ZodString;
|
|
206
|
-
purpose: z.ZodString;
|
|
207
|
-
allowedCommandPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
-
}, z.core.$strip>], "type">;
|
|
209
|
-
proposalHash: z.ZodString;
|
|
210
|
-
renderedProposal: z.ZodString;
|
|
211
|
-
sessionId: z.ZodString;
|
|
212
|
-
conversationId: z.ZodOptional<z.ZodString>;
|
|
213
|
-
}, z.core.$strip>;
|
|
214
|
-
|
|
215
192
|
declare interface AppsListResponse {
|
|
216
193
|
type: "apps_list_response";
|
|
217
194
|
apps: Array<{
|
|
@@ -2289,8 +2266,8 @@ declare type ConversationListInvalidatedEvent = z.infer<typeof ConversationListI
|
|
|
2289
2266
|
declare const ConversationListInvalidatedEventSchema: z.ZodObject<{
|
|
2290
2267
|
type: z.ZodLiteral<"conversation_list_invalidated">;
|
|
2291
2268
|
reason: z.ZodEnum<{
|
|
2292
|
-
deleted: "deleted";
|
|
2293
2269
|
created: "created";
|
|
2270
|
+
deleted: "deleted";
|
|
2294
2271
|
renamed: "renamed";
|
|
2295
2272
|
reordered: "reordered";
|
|
2296
2273
|
seen_changed: "seen_changed";
|
|
@@ -2479,8 +2456,8 @@ declare const DiskPressureStatusChangedEventSchema: z.ZodObject<{
|
|
|
2479
2456
|
state: z.ZodEnum<{
|
|
2480
2457
|
unknown: "unknown";
|
|
2481
2458
|
disabled: "disabled";
|
|
2482
|
-
ok: "ok";
|
|
2483
2459
|
critical: "critical";
|
|
2460
|
+
ok: "ok";
|
|
2484
2461
|
warning: "warning";
|
|
2485
2462
|
}>;
|
|
2486
2463
|
locked: z.ZodBoolean;
|
|
@@ -3575,9 +3552,9 @@ declare const InteractionResolvedEventSchema: z.ZodObject<{
|
|
|
3575
3552
|
requestId: z.ZodString;
|
|
3576
3553
|
conversationId: z.ZodString;
|
|
3577
3554
|
state: z.ZodEnum<{
|
|
3578
|
-
approved: "approved";
|
|
3579
3555
|
cancelled: "cancelled";
|
|
3580
3556
|
superseded: "superseded";
|
|
3557
|
+
approved: "approved";
|
|
3581
3558
|
rejected: "rejected";
|
|
3582
3559
|
answered: "answered";
|
|
3583
3560
|
}>;
|
|
@@ -5967,15 +5944,6 @@ export declare interface ToolExecutionResult {
|
|
|
5967
5944
|
scope: string;
|
|
5968
5945
|
label: string;
|
|
5969
5946
|
}>;
|
|
5970
|
-
/**
|
|
5971
|
-
* When present, indicates that a CES tool returned an `approval_required`
|
|
5972
|
-
* response. The executor uses the approval bridge to prompt the guardian,
|
|
5973
|
-
* commit the grant decision to CES, and retry the original tool invocation
|
|
5974
|
-
* with the granted grantId. CES tools populate this field rather than
|
|
5975
|
-
* returning a textual error so the executor can intercept and handle the
|
|
5976
|
-
* approval flow transparently.
|
|
5977
|
-
*/
|
|
5978
|
-
cesApprovalRequired?: ApprovalRequired;
|
|
5979
5947
|
/** Structured activity metadata for client rendering (web search, web fetch, etc).
|
|
5980
5948
|
* Populated by daemon-internal tools; plugins must not set this. */
|
|
5981
5949
|
activityMetadata?: ToolActivityMetadata;
|
package/package.json
CHANGED