@@ -2782,33 +2782,10 @@ export const ServerNotification__HookOutputEntryKind = Schema.Literals([
27822782 "error",
27832783]).annotate({ identifier: "ServerNotification__HookOutputEntryKind" });
27842784
2785- export type ServerNotification__HookEventName =
2786- | "preToolUse"
2787- | "permissionRequest"
2788- | "postToolUse"
2789- | "preCompact"
2790- | "postCompact"
2791- | "sessionStart"
2792- | "sessionEnd"
2793- | "userPromptSubmit"
2794- | "subagentStart"
2795- | "subagentStop"
2796- | "stop"
2797- | "interrupt";
2798- export const ServerNotification__HookEventName = Schema.Literals([
2799- "preToolUse",
2800- "permissionRequest",
2801- "postToolUse",
2802- "preCompact",
2803- "postCompact",
2804- "sessionStart",
2805- "sessionEnd",
2806- "userPromptSubmit",
2807- "subagentStart",
2808- "subagentStop",
2809- "stop",
2810- "interrupt",
2811- ]).annotate({ identifier: "ServerNotification__HookEventName" });
2785+ export type ServerNotification__HookEventName = string;
2786+ export const ServerNotification__HookEventName = Schema.String.annotate({
2787+ identifier: "ServerNotification__HookEventName",
2788+ });
28122789
28132790export type ServerNotification__HookExecutionMode = "sync" | "async";
28142791export const ServerNotification__HookExecutionMode = Schema.Literals(["sync", "async"]).annotate({
@@ -5653,33 +5630,10 @@ export const V2HookCompletedNotification__HookOutputEntryKind = Schema.Literals(
56535630 "error",
56545631]).annotate({ identifier: "V2HookCompletedNotification__HookOutputEntryKind" });
56555632
5656- export type V2HookCompletedNotification__HookEventName =
5657- | "preToolUse"
5658- | "permissionRequest"
5659- | "postToolUse"
5660- | "preCompact"
5661- | "postCompact"
5662- | "sessionStart"
5663- | "sessionEnd"
5664- | "userPromptSubmit"
5665- | "subagentStart"
5666- | "subagentStop"
5667- | "stop"
5668- | "interrupt";
5669- export const V2HookCompletedNotification__HookEventName = Schema.Literals([
5670- "preToolUse",
5671- "permissionRequest",
5672- "postToolUse",
5673- "preCompact",
5674- "postCompact",
5675- "sessionStart",
5676- "sessionEnd",
5677- "userPromptSubmit",
5678- "subagentStart",
5679- "subagentStop",
5680- "stop",
5681- "interrupt",
5682- ]).annotate({ identifier: "V2HookCompletedNotification__HookEventName" });
5633+ export type V2HookCompletedNotification__HookEventName = string;
5634+ export const V2HookCompletedNotification__HookEventName = Schema.String.annotate({
5635+ identifier: "V2HookCompletedNotification__HookEventName",
5636+ });
56835637
56845638export type V2HookCompletedNotification__HookExecutionMode = "sync" | "async";
56855639export const V2HookCompletedNotification__HookExecutionMode = Schema.Literals([
@@ -5760,33 +5714,10 @@ export const V2HooksListResponse__HookErrorInfo = Schema.Struct({
57605714 path: Schema.String,
57615715}).annotate({ identifier: "V2HooksListResponse__HookErrorInfo" });
57625716
5763- export type V2HooksListResponse__HookEventName =
5764- | "preToolUse"
5765- | "permissionRequest"
5766- | "postToolUse"
5767- | "preCompact"
5768- | "postCompact"
5769- | "sessionStart"
5770- | "sessionEnd"
5771- | "userPromptSubmit"
5772- | "subagentStart"
5773- | "subagentStop"
5774- | "stop"
5775- | "interrupt";
5776- export const V2HooksListResponse__HookEventName = Schema.Literals([
5777- "preToolUse",
5778- "permissionRequest",
5779- "postToolUse",
5780- "preCompact",
5781- "postCompact",
5782- "sessionStart",
5783- "sessionEnd",
5784- "userPromptSubmit",
5785- "subagentStart",
5786- "subagentStop",
5787- "stop",
5788- "interrupt",
5789- ]).annotate({ identifier: "V2HooksListResponse__HookEventName" });
5717+ export type V2HooksListResponse__HookEventName = string;
5718+ export const V2HooksListResponse__HookEventName = Schema.String.annotate({
5719+ identifier: "V2HooksListResponse__HookEventName",
5720+ });
57905721
57915722export type V2HooksListResponse__HookSource =
57925723 | "system"
@@ -5843,33 +5774,10 @@ export const V2HookStartedNotification__HookOutputEntryKind = Schema.Literals([
58435774 "error",
58445775]).annotate({ identifier: "V2HookStartedNotification__HookOutputEntryKind" });
58455776
5846- export type V2HookStartedNotification__HookEventName =
5847- | "preToolUse"
5848- | "permissionRequest"
5849- | "postToolUse"
5850- | "preCompact"
5851- | "postCompact"
5852- | "sessionStart"
5853- | "sessionEnd"
5854- | "userPromptSubmit"
5855- | "subagentStart"
5856- | "subagentStop"
5857- | "stop"
5858- | "interrupt";
5859- export const V2HookStartedNotification__HookEventName = Schema.Literals([
5860- "preToolUse",
5861- "permissionRequest",
5862- "postToolUse",
5863- "preCompact",
5864- "postCompact",
5865- "sessionStart",
5866- "sessionEnd",
5867- "userPromptSubmit",
5868- "subagentStart",
5869- "subagentStop",
5870- "stop",
5871- "interrupt",
5872- ]).annotate({ identifier: "V2HookStartedNotification__HookEventName" });
5777+ export type V2HookStartedNotification__HookEventName = string;
5778+ export const V2HookStartedNotification__HookEventName = Schema.String.annotate({
5779+ identifier: "V2HookStartedNotification__HookEventName",
5780+ });
58735781
58745782export type V2HookStartedNotification__HookExecutionMode = "sync" | "async";
58755783export const V2HookStartedNotification__HookExecutionMode = Schema.Literals([
@@ -7530,33 +7438,10 @@ export const V2PluginReadResponse__AppSummary = Schema.Struct({
75307438 identifier: "V2PluginReadResponse__AppSummary",
75317439});
75327440
7533- export type V2PluginReadResponse__HookEventName =
7534- | "preToolUse"
7535- | "permissionRequest"
7536- | "postToolUse"
7537- | "preCompact"
7538- | "postCompact"
7539- | "sessionStart"
7540- | "sessionEnd"
7541- | "userPromptSubmit"
7542- | "subagentStart"
7543- | "subagentStop"
7544- | "stop"
7545- | "interrupt";
7546- export const V2PluginReadResponse__HookEventName = Schema.Literals([
7547- "preToolUse",
7548- "permissionRequest",
7549- "postToolUse",
7550- "preCompact",
7551- "postCompact",
7552- "sessionStart",
7553- "sessionEnd",
7554- "userPromptSubmit",
7555- "subagentStart",
7556- "subagentStop",
7557- "stop",
7558- "interrupt",
7559- ]).annotate({ identifier: "V2PluginReadResponse__HookEventName" });
7441+ export type V2PluginReadResponse__HookEventName = string;
7442+ export const V2PluginReadResponse__HookEventName = Schema.String.annotate({
7443+ identifier: "V2PluginReadResponse__HookEventName",
7444+ });
75607445
75617446export type V2PluginReadResponse__AbsolutePathBuf = string;
75627447export const V2PluginReadResponse__AbsolutePathBuf = Schema.String.annotate({
0 commit comments