@sentry/junior-plugin-api 0.305.0 → 0.306.0
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/dist/index.d.ts +108 -14
- package/dist/index.js +60 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -958,6 +958,26 @@ export declare const replyAttributionSchema: z.ZodObject<{
|
|
|
958
958
|
label: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
959
959
|
detail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodString>>;
|
|
960
960
|
}, z.core.$strict>;
|
|
961
|
+
/**
|
|
962
|
+
* Plugin request to start work for one person. `input` becomes that person's
|
|
963
|
+
* first Message in a new public Conversation, so it must be what they asked
|
|
964
|
+
* for, not text that someone else wrote. Name the person by exactly one of:
|
|
965
|
+
*
|
|
966
|
+
* - `subjectId`: the provider account id that the OAuth account-linking flow
|
|
967
|
+
* stored. Core binds the provider to the calling plugin.
|
|
968
|
+
* - `verifiedEmail`: an address that the plugin proved this person sent from,
|
|
969
|
+
* such as the From address of an email that passed DMARC. Never an address
|
|
970
|
+
* that only appears in content.
|
|
971
|
+
*/
|
|
972
|
+
export declare const identityDispatchOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
973
|
+
idempotencyKey: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
974
|
+
input: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
975
|
+
subjectId: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
976
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
977
|
+
idempotencyKey: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
978
|
+
input: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
979
|
+
verifiedEmail: z.ZodEmail;
|
|
980
|
+
}, z.core.$strict>]>;
|
|
961
981
|
/** Plugin dispatch request accepted by Junior core. */
|
|
962
982
|
export declare const dispatchOptionsSchema: z.ZodObject<{
|
|
963
983
|
idempotencyKey: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
@@ -2053,6 +2073,20 @@ export declare const eventPersonSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2053
2073
|
email: z.ZodString;
|
|
2054
2074
|
}, z.core.$strict>]>;
|
|
2055
2075
|
export type EventPerson = z.output<typeof eventPersonSchema>;
|
|
2076
|
+
/**
|
|
2077
|
+
* The account that wrote the content of an Event, such as a commenter or a
|
|
2078
|
+
* reviewer. It is always an account of the publishing plugin's provider.
|
|
2079
|
+
* Core decides from it whether the author is a Trusted author. An Event with
|
|
2080
|
+
* no author is a system Event.
|
|
2081
|
+
*/
|
|
2082
|
+
export declare const eventAuthorSchema: z.ZodObject<{
|
|
2083
|
+
handle: z.ZodString;
|
|
2084
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2085
|
+
bot: z.ZodOptional<z.ZodBoolean>;
|
|
2086
|
+
trusted: z.ZodOptional<z.ZodBoolean>;
|
|
2087
|
+
text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
2088
|
+
}, z.core.$strict>;
|
|
2089
|
+
export type EventAuthor = z.output<typeof eventAuthorSchema>;
|
|
2056
2090
|
export declare const eventInputSchema: z.ZodObject<{
|
|
2057
2091
|
objectType: z.ZodOptional<z.ZodEnum<{
|
|
2058
2092
|
automation: "automation";
|
|
@@ -2087,12 +2121,13 @@ export declare const eventInputSchema: z.ZodObject<{
|
|
|
2087
2121
|
}, z.core.$strict>, z.ZodObject<{
|
|
2088
2122
|
email: z.ZodString;
|
|
2089
2123
|
}, z.core.$strict>]>>>;
|
|
2090
|
-
|
|
2091
|
-
provider: z.ZodString;
|
|
2124
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
2092
2125
|
handle: z.ZodString;
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2126
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
bot: z.ZodOptional<z.ZodBoolean>;
|
|
2128
|
+
trusted: z.ZodOptional<z.ZodBoolean>;
|
|
2129
|
+
text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
2130
|
+
}, z.core.$strict>>;
|
|
2096
2131
|
}, z.core.$strict>;
|
|
2097
2132
|
export type EventData = z.output<typeof eventDataSchema>;
|
|
2098
2133
|
export type EventInput = z.output<typeof eventInputSchema>;
|
|
@@ -2130,12 +2165,13 @@ export declare const eventSchema: z.ZodObject<{
|
|
|
2130
2165
|
}, z.core.$strict>, z.ZodObject<{
|
|
2131
2166
|
email: z.ZodString;
|
|
2132
2167
|
}, z.core.$strict>]>>>;
|
|
2133
|
-
|
|
2134
|
-
provider: z.ZodString;
|
|
2168
|
+
author: z.ZodOptional<z.ZodObject<{
|
|
2135
2169
|
handle: z.ZodString;
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2170
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
bot: z.ZodOptional<z.ZodBoolean>;
|
|
2172
|
+
trusted: z.ZodOptional<z.ZodBoolean>;
|
|
2173
|
+
text: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
2174
|
+
}, z.core.$strict>>;
|
|
2139
2175
|
namespace: z.ZodString;
|
|
2140
2176
|
}, z.core.$strict>;
|
|
2141
2177
|
export type Event = z.output<typeof eventSchema>;
|
|
@@ -2819,6 +2855,12 @@ export interface PluginEventToolContext {
|
|
|
2819
2855
|
* resource type guidance when a matching Event arrives.
|
|
2820
2856
|
*/
|
|
2821
2857
|
guidance?: Partial<Record<string, string>>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Event types, from `events`, that this Watch delivers quietly: core
|
|
2860
|
+
* saves each one as a Conversation note and starts no Turn. Use it for
|
|
2861
|
+
* outcomes that a later Turn must know but that need no action.
|
|
2862
|
+
*/
|
|
2863
|
+
quietEvents?: string[];
|
|
2822
2864
|
}): Promise<WatchResult>;
|
|
2823
2865
|
}
|
|
2824
2866
|
export interface PluginWorkspaceToolContext {
|
|
@@ -2865,6 +2907,28 @@ export interface PluginConversationToolContext {
|
|
|
2865
2907
|
limit?: number;
|
|
2866
2908
|
}): Promise<PluginConversationMatch[]>;
|
|
2867
2909
|
}
|
|
2910
|
+
/**
|
|
2911
|
+
* Whose work a Turn does. A person, with their stored Identity and User when
|
|
2912
|
+
* Junior has them, or the system record that started the work, such as an
|
|
2913
|
+
* Automation run.
|
|
2914
|
+
*/
|
|
2915
|
+
export type PluginWorkOwner = {
|
|
2916
|
+
kind: "person";
|
|
2917
|
+
/** The Turn Actor, when the person runs the Turn themselves. */
|
|
2918
|
+
actor?: Exclude<Actor, {
|
|
2919
|
+
platform: "system";
|
|
2920
|
+
}>;
|
|
2921
|
+
identity?: Identity;
|
|
2922
|
+
user?: User;
|
|
2923
|
+
} | {
|
|
2924
|
+
kind: "system";
|
|
2925
|
+
/** What started the work, such as `automation`. */
|
|
2926
|
+
name: string;
|
|
2927
|
+
id: string;
|
|
2928
|
+
runId?: string;
|
|
2929
|
+
/** Host-owned dashboard link to the record. */
|
|
2930
|
+
url?: string;
|
|
2931
|
+
};
|
|
2868
2932
|
interface BaseToolRegistrationHookContext extends PluginContext {
|
|
2869
2933
|
/**
|
|
2870
2934
|
* Opaque Junior conversation/session identity for this turn.
|
|
@@ -2876,10 +2940,12 @@ interface BaseToolRegistrationHookContext extends PluginContext {
|
|
|
2876
2940
|
annotations?: PluginAnnotations;
|
|
2877
2941
|
/** Other Conversations. Set only when the turn has a `conversationId`. */
|
|
2878
2942
|
conversations?: PluginConversationToolContext;
|
|
2879
|
-
/**
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2943
|
+
/**
|
|
2944
|
+
* Resolve whose work this Turn does: the person who runs it, else the
|
|
2945
|
+
* person who started its root Conversation, else the system record that
|
|
2946
|
+
* started the root. Returns nothing when nobody did.
|
|
2947
|
+
*/
|
|
2948
|
+
resolveWorkOwner(): Promise<PluginWorkOwner | undefined>;
|
|
2883
2949
|
/** Host-owned dashboard link to this conversation, when the dashboard is enabled. */
|
|
2884
2950
|
conversationLink?: {
|
|
2885
2951
|
url: string;
|
|
@@ -3305,6 +3371,7 @@ type UserPromptContext = Pick<PluginContext, "db" | "log" | "plugin"> & {
|
|
|
3305
3371
|
};
|
|
3306
3372
|
export type DestinationVisibility = z.output<typeof destinationVisibilitySchema>;
|
|
3307
3373
|
export type DispatchOptions = z.output<typeof dispatchOptionsSchema>;
|
|
3374
|
+
export type IdentityDispatchOptions = z.output<typeof identityDispatchOptionsSchema>;
|
|
3308
3375
|
/** Compact destination-visible context explaining what produced a reply. */
|
|
3309
3376
|
export type ReplyAttribution = z.output<typeof replyAttributionSchema>;
|
|
3310
3377
|
export type TaskOutcome = z.output<typeof taskOutcomeSchema>;
|
|
@@ -3312,6 +3379,16 @@ export interface DispatchResult {
|
|
|
3312
3379
|
id: string;
|
|
3313
3380
|
status: "created" | "already_exists";
|
|
3314
3381
|
}
|
|
3382
|
+
/**
|
|
3383
|
+
* Result of an Identity dispatch. `not_linked` means core found no current
|
|
3384
|
+
* Slack member for that person, so it started no work.
|
|
3385
|
+
*/
|
|
3386
|
+
export type IdentityDispatchResult = {
|
|
3387
|
+
conversationId: string;
|
|
3388
|
+
status: "created" | "already_exists";
|
|
3389
|
+
} | {
|
|
3390
|
+
status: "not_linked";
|
|
3391
|
+
};
|
|
3315
3392
|
export interface Dispatch {
|
|
3316
3393
|
errorMessage?: string;
|
|
3317
3394
|
id: string;
|
|
@@ -3724,6 +3801,11 @@ export interface HeartbeatHookContext extends PluginContext {
|
|
|
3724
3801
|
agent: {
|
|
3725
3802
|
dispatch(options: DispatchOptions): Promise<DispatchResult>;
|
|
3726
3803
|
get(id: string): Promise<Dispatch | undefined>;
|
|
3804
|
+
/**
|
|
3805
|
+
* Start a public Conversation for one person. Each call counts toward the
|
|
3806
|
+
* dispatch limit of this heartbeat. See the route context version.
|
|
3807
|
+
*/
|
|
3808
|
+
dispatchForIdentity(options: IdentityDispatchOptions): Promise<IdentityDispatchResult>;
|
|
3727
3809
|
};
|
|
3728
3810
|
/** Conversation annotations, as from a plugin route. */
|
|
3729
3811
|
annotations: PluginConversationAnnotations;
|
|
@@ -3848,6 +3930,18 @@ export type PluginRouteApp = {
|
|
|
3848
3930
|
fetch(request: Request, context?: PluginApiRouteRequestContext): Promise<Response> | Response;
|
|
3849
3931
|
};
|
|
3850
3932
|
export interface RouteRegistrationHookContext extends PluginContext {
|
|
3933
|
+
agent: {
|
|
3934
|
+
/**
|
|
3935
|
+
* Start a public Conversation for one person, as if they sent `input` from
|
|
3936
|
+
* the dashboard. It has no Slack Destination. Core starts work only when
|
|
3937
|
+
* the person maps to exactly one current Slack member on the allowed
|
|
3938
|
+
* domains: through an Identity of this plugin's provider that the OAuth
|
|
3939
|
+
* account-linking flow linked, or through a verified email that is the
|
|
3940
|
+
* User's primary email and the member's Slack email. Otherwise it returns
|
|
3941
|
+
* `not_linked` and calls no model.
|
|
3942
|
+
*/
|
|
3943
|
+
dispatchForIdentity(options: IdentityDispatchOptions): Promise<IdentityDispatchResult>;
|
|
3944
|
+
};
|
|
3851
3945
|
annotations: PluginConversationAnnotations;
|
|
3852
3946
|
/** Provider-neutral write boundary for Junior's native code index. */
|
|
3853
3947
|
codeChanges: CodeChangePublisher;
|
package/dist/index.js
CHANGED
|
@@ -1030,6 +1030,28 @@ const replyAttributionSchema = z.object({
|
|
|
1030
1030
|
label: exactNonBlankStringSchema.pipe(z.string().max(48)).refine((value) => !/[\r\n]/.test(value)),
|
|
1031
1031
|
detail: exactNonBlankStringSchema.pipe(z.string().max(128)).refine((value) => !/[\r\n]/.test(value)).optional()
|
|
1032
1032
|
}).strict();
|
|
1033
|
+
const identityDispatchFields = {
|
|
1034
|
+
idempotencyKey: nonBlankStringSchema.pipe(z.string().max(512)),
|
|
1035
|
+
input: nonBlankStringSchema.pipe(z.string().max(32e3))
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* Plugin request to start work for one person. `input` becomes that person's
|
|
1039
|
+
* first Message in a new public Conversation, so it must be what they asked
|
|
1040
|
+
* for, not text that someone else wrote. Name the person by exactly one of:
|
|
1041
|
+
*
|
|
1042
|
+
* - `subjectId`: the provider account id that the OAuth account-linking flow
|
|
1043
|
+
* stored. Core binds the provider to the calling plugin.
|
|
1044
|
+
* - `verifiedEmail`: an address that the plugin proved this person sent from,
|
|
1045
|
+
* such as the From address of an email that passed DMARC. Never an address
|
|
1046
|
+
* that only appears in content.
|
|
1047
|
+
*/
|
|
1048
|
+
const identityDispatchOptionsSchema = z.union([z.object({
|
|
1049
|
+
...identityDispatchFields,
|
|
1050
|
+
subjectId: exactNonBlankStringSchema.pipe(z.string().max(255))
|
|
1051
|
+
}).strict(), z.object({
|
|
1052
|
+
...identityDispatchFields,
|
|
1053
|
+
verifiedEmail: z.email().max(320)
|
|
1054
|
+
}).strict()]);
|
|
1033
1055
|
/** Plugin dispatch request accepted by Junior core. */
|
|
1034
1056
|
const dispatchOptionsSchema = z.object({
|
|
1035
1057
|
idempotencyKey: nonBlankStringSchema.pipe(z.string().max(512)),
|
|
@@ -1531,6 +1553,35 @@ const eventPersonSchema = z.union([z.object({
|
|
|
1531
1553
|
provider: z.string().min(1),
|
|
1532
1554
|
handle: z.string().min(1)
|
|
1533
1555
|
}).strict(), z.object({ email: z.string().trim().min(3) }).strict()]);
|
|
1556
|
+
/**
|
|
1557
|
+
* The account that wrote the content of an Event, such as a commenter or a
|
|
1558
|
+
* reviewer. It is always an account of the publishing plugin's provider.
|
|
1559
|
+
* Core decides from it whether the author is a Trusted author. An Event with
|
|
1560
|
+
* no author is a system Event.
|
|
1561
|
+
*/
|
|
1562
|
+
const eventAuthorSchema = z.object({
|
|
1563
|
+
/** Display handle, such as a login. It never proves who the author is. */
|
|
1564
|
+
handle: z.string().min(1),
|
|
1565
|
+
/**
|
|
1566
|
+
* The account id that the provider never changes or gives to another
|
|
1567
|
+
* account, such as the numeric GitHub user id. Set it only when the
|
|
1568
|
+
* provider authenticated that this account wrote the content. Core
|
|
1569
|
+
* matches it to an account that the OAuth account-linking flow linked.
|
|
1570
|
+
*/
|
|
1571
|
+
subjectId: z.string().min(1).optional(),
|
|
1572
|
+
/** The account is a bot, not a person. */
|
|
1573
|
+
bot: z.boolean().optional(),
|
|
1574
|
+
/**
|
|
1575
|
+
* The plugin's trusted authors list names this account. Core trusts the
|
|
1576
|
+
* author without a linked account. Core never reads the list itself.
|
|
1577
|
+
*/
|
|
1578
|
+
trusted: z.boolean().optional(),
|
|
1579
|
+
/**
|
|
1580
|
+
* The author's own text, without what they quote. Leave it out of
|
|
1581
|
+
* `untrustedText`: core shows it once, as context that names the author.
|
|
1582
|
+
*/
|
|
1583
|
+
text: z.string().transform((value) => value.slice(0, EVENT_TEXT_MAX_LENGTH)).optional()
|
|
1584
|
+
}).strict();
|
|
1534
1585
|
const eventInputSchema = z.object({
|
|
1535
1586
|
objectType: objectTypeSchema.optional(),
|
|
1536
1587
|
eventKey: z.string().min(1),
|
|
@@ -1546,15 +1597,19 @@ const eventInputSchema = z.object({
|
|
|
1546
1597
|
trustedSummary: z.string().min(1).transform((value) => value.slice(0, EVENT_SUMMARY_MAX_LENGTH)),
|
|
1547
1598
|
/** Trusted structured facts. Prefer ids and urls over long prose. */
|
|
1548
1599
|
data: eventDataSchema.optional(),
|
|
1600
|
+
/**
|
|
1601
|
+
* Provider text that is context, never instruction. When `author.text`
|
|
1602
|
+
* is set, this is only the rest, such as what the author quotes.
|
|
1603
|
+
*/
|
|
1549
1604
|
untrustedText: z.string().transform((value) => value.slice(0, EVENT_TEXT_MAX_LENGTH)).optional(),
|
|
1550
1605
|
/** People involved in the change. Watch Events list them as mentions. */
|
|
1551
1606
|
people: z.array(eventPersonSchema).max(20).optional(),
|
|
1552
1607
|
/**
|
|
1553
|
-
* The
|
|
1554
|
-
*
|
|
1555
|
-
*
|
|
1608
|
+
* The account that wrote the content. Core decides whether to trust it.
|
|
1609
|
+
* A trusted person writes the Event's Message. `text` is never an
|
|
1610
|
+
* instruction.
|
|
1556
1611
|
*/
|
|
1557
|
-
|
|
1612
|
+
author: eventAuthorSchema.optional()
|
|
1558
1613
|
}).strict();
|
|
1559
1614
|
const eventSchema = eventInputSchema.extend({ namespace: z.string().min(1) });
|
|
1560
1615
|
// src/event-triggers.ts
|
|
@@ -2324,4 +2379,4 @@ const pluginUserPageInputSchema = z.object({
|
|
|
2324
2379
|
limit: z.number().int().min(1).max(50),
|
|
2325
2380
|
query: pluginUserPageQuerySchema
|
|
2326
2381
|
}).strict();
|
|
2327
|
-
export { EVENT_DATA_MAX_JSON_BYTES, EVENT_DATA_MAX_KEYS, EVENT_GUIDANCE_MAX_LENGTH, EVENT_SUMMARY_MAX_LENGTH, EVENT_TEXT_MAX_LENGTH, EgressAuthRequired, EgressPolicyDenied, OBJECT_FACTS_MAX_BYTES, OBJECT_SUMMARY_MAX_LENGTH, PluginToolInputError, REQUIRED_TOOL_ANNOTATION_KEYS, actorSchema, actorUserIdSchema, agentEventKeys, agentEventMatchKey, agentEventMatchSchema, agentInvocationSourceSchema, anyResourceEvents, anyResourceMatchFields, codeChangeInputSchema, codeChangeStateSchema, conversationAnnotationInputSchema, conversationEventIconSchema, conversationEventPresentationSchema, conversationSidebarAnnotationSchema, conversationSidebarIconSchema, createEventSource, createLocalSource, createSlackSource, createWebSource, declaredEventKeys, decodeObjectImageRef, defineConversationEvent, defineJuniorPlugin, definePluginTool, definePromptContext, describeEventTrigger, destinationSchema, destinationVisibilitySchema, dispatchOptionsSchema, encodeObjectImageRef, enforceEgressPolicy, eventAutomationSourceSchema, eventDataSchema, eventIdentifierSchema, eventInputSchema, eventMatchFieldSchema, eventMatchFieldsSchema, eventMatchFilterText, eventMatchSchema, eventMatches, eventPersonSchema, eventReachSchema, eventSchema, eventSourceSchema, eventTriggerChoices, eventTriggerFiltersText, eventTriggerProblems, eventTriggerText, eventTypeSchema, eventTypeText, eventsWithoutMatchField, formatDuration, getSourceKey, identitySchema, isPluginModelCostEventName, isPrivateSource, isSlackDestination, localActorSchema, localDestinationSchema, localSourceSchema, locationSchema, mergeEventMatchFields, missingToolAnnotationKeys, nonBlankStringSchema, normalizeEventIdentifier, normalizeEventMatch, objectAnnotationSchema, objectFactFields, objectFactsBytes, objectFactsMatchType, objectFactsSchema, objectIconPath, objectIconPaths, objectLinkFilterMatches, objectLinkFilterSchema, objectLinkFilterSpecificity, objectPresentation, objectSummary, objectTypeSchema, ownedObjectAnnotationSchema, parseShellCommands, platformSchema, pluginApiRouteRequestContextSchema, pluginAuditAttributesSchema, pluginAuthorizationSchema, pluginCredentialHeaderTransformSchema, pluginCredentialLeaseSchema, pluginCredentialResultSchema, pluginCredentialSubjectSchema, pluginDispatchSourceSchema, pluginEventDeclarationSchema, pluginEventTypeSchema, pluginEventsSchema, pluginGrantSchema, pluginModelCostEventNames, pluginProviderAccountSchema, pluginRunContextSchema, pluginRunTranscriptEntrySchema, pluginRunTranscriptProvenanceSchema, pluginStoredTokensSchema, pluginToolContentSchema, pluginToolContinuationSchema, pluginToolOutputSchema, pluginToolReplySchema, pluginUserPageContentSchema, pluginUserPageCursorSchema, pluginUserPageFilterSchema, pluginUserPageInputSchema, pluginUserPageLinkSchema, pluginUserPageLinksSchema, pluginUserPageQuerySchema, promptContextSchema, promptMessageSchema, replyAttributionSchema, resourceLinkAnnotationSchema, resourceTypeSchema, scheduledAutomationSourceSchema, slackActorSchema, slackDestinationSchema, slackLocationSchema, slackSourceSchema, sourceSchema, sourceVisibilitySchema, stableEventMatchKey, subscribableResourceSchema, systemActorSchema, taskOutcomeSchema, toolApprovalModeSchema, userSchema, watchResultSchema, webActorSchema, webSourceSchema, withToolContext, zodTool };
|
|
2382
|
+
export { EVENT_DATA_MAX_JSON_BYTES, EVENT_DATA_MAX_KEYS, EVENT_GUIDANCE_MAX_LENGTH, EVENT_SUMMARY_MAX_LENGTH, EVENT_TEXT_MAX_LENGTH, EgressAuthRequired, EgressPolicyDenied, OBJECT_FACTS_MAX_BYTES, OBJECT_SUMMARY_MAX_LENGTH, PluginToolInputError, REQUIRED_TOOL_ANNOTATION_KEYS, actorSchema, actorUserIdSchema, agentEventKeys, agentEventMatchKey, agentEventMatchSchema, agentInvocationSourceSchema, anyResourceEvents, anyResourceMatchFields, codeChangeInputSchema, codeChangeStateSchema, conversationAnnotationInputSchema, conversationEventIconSchema, conversationEventPresentationSchema, conversationSidebarAnnotationSchema, conversationSidebarIconSchema, createEventSource, createLocalSource, createSlackSource, createWebSource, declaredEventKeys, decodeObjectImageRef, defineConversationEvent, defineJuniorPlugin, definePluginTool, definePromptContext, describeEventTrigger, destinationSchema, destinationVisibilitySchema, dispatchOptionsSchema, encodeObjectImageRef, enforceEgressPolicy, eventAuthorSchema, eventAutomationSourceSchema, eventDataSchema, eventIdentifierSchema, eventInputSchema, eventMatchFieldSchema, eventMatchFieldsSchema, eventMatchFilterText, eventMatchSchema, eventMatches, eventPersonSchema, eventReachSchema, eventSchema, eventSourceSchema, eventTriggerChoices, eventTriggerFiltersText, eventTriggerProblems, eventTriggerText, eventTypeSchema, eventTypeText, eventsWithoutMatchField, formatDuration, getSourceKey, identityDispatchOptionsSchema, identitySchema, isPluginModelCostEventName, isPrivateSource, isSlackDestination, localActorSchema, localDestinationSchema, localSourceSchema, locationSchema, mergeEventMatchFields, missingToolAnnotationKeys, nonBlankStringSchema, normalizeEventIdentifier, normalizeEventMatch, objectAnnotationSchema, objectFactFields, objectFactsBytes, objectFactsMatchType, objectFactsSchema, objectIconPath, objectIconPaths, objectLinkFilterMatches, objectLinkFilterSchema, objectLinkFilterSpecificity, objectPresentation, objectSummary, objectTypeSchema, ownedObjectAnnotationSchema, parseShellCommands, platformSchema, pluginApiRouteRequestContextSchema, pluginAuditAttributesSchema, pluginAuthorizationSchema, pluginCredentialHeaderTransformSchema, pluginCredentialLeaseSchema, pluginCredentialResultSchema, pluginCredentialSubjectSchema, pluginDispatchSourceSchema, pluginEventDeclarationSchema, pluginEventTypeSchema, pluginEventsSchema, pluginGrantSchema, pluginModelCostEventNames, pluginProviderAccountSchema, pluginRunContextSchema, pluginRunTranscriptEntrySchema, pluginRunTranscriptProvenanceSchema, pluginStoredTokensSchema, pluginToolContentSchema, pluginToolContinuationSchema, pluginToolOutputSchema, pluginToolReplySchema, pluginUserPageContentSchema, pluginUserPageCursorSchema, pluginUserPageFilterSchema, pluginUserPageInputSchema, pluginUserPageLinkSchema, pluginUserPageLinksSchema, pluginUserPageQuerySchema, promptContextSchema, promptMessageSchema, replyAttributionSchema, resourceLinkAnnotationSchema, resourceTypeSchema, scheduledAutomationSourceSchema, slackActorSchema, slackDestinationSchema, slackLocationSchema, slackSourceSchema, sourceSchema, sourceVisibilitySchema, stableEventMatchKey, subscribableResourceSchema, systemActorSchema, taskOutcomeSchema, toolApprovalModeSchema, userSchema, watchResultSchema, webActorSchema, webSourceSchema, withToolContext, zodTool };
|