mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
Add presentation hint for quiet managed hooks
This commit is contained in:
@@ -1873,6 +1873,14 @@
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"visibilityHint": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/HookVisibilityHint"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -1932,6 +1940,13 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"HookVisibilityHint": {
|
||||
"enum": [
|
||||
"default",
|
||||
"hidden"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ItemCompletedNotification": {
|
||||
"properties": {
|
||||
"completedAtMs": {
|
||||
|
||||
+15
@@ -9787,6 +9787,14 @@
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"visibilityHint": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/HookVisibilityHint"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -9857,6 +9865,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HookVisibilityHint": {
|
||||
"enum": [
|
||||
"default",
|
||||
"hidden"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HooksListEntry": {
|
||||
"properties": {
|
||||
"cwd": {
|
||||
|
||||
+15
@@ -6287,6 +6287,14 @@
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"visibilityHint": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/HookVisibilityHint"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6357,6 +6365,13 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HookVisibilityHint": {
|
||||
"enum": [
|
||||
"default",
|
||||
"hidden"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HooksListEntry": {
|
||||
"properties": {
|
||||
"cwd": {
|
||||
|
||||
@@ -132,6 +132,14 @@
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"visibilityHint": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/HookVisibilityHint"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -169,6 +177,13 @@
|
||||
"unknown"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HookVisibilityHint": {
|
||||
"enum": [
|
||||
"default",
|
||||
"hidden"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
|
||||
@@ -132,6 +132,14 @@
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"visibilityHint": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/HookVisibilityHint"
|
||||
}
|
||||
],
|
||||
"default": "default"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -169,6 +177,13 @@
|
||||
"unknown"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"HookVisibilityHint": {
|
||||
"enum": [
|
||||
"default",
|
||||
"hidden"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
|
||||
@@ -9,5 +9,6 @@ import type { HookOutputEntry } from "./HookOutputEntry";
|
||||
import type { HookRunStatus } from "./HookRunStatus";
|
||||
import type { HookScope } from "./HookScope";
|
||||
import type { HookSource } from "./HookSource";
|
||||
import type { HookVisibilityHint } from "./HookVisibilityHint";
|
||||
|
||||
export type HookRunSummary = { id: string, eventName: HookEventName, handlerType: HookHandlerType, executionMode: HookExecutionMode, scope: HookScope, sourcePath: AbsolutePathBuf, source: HookSource, displayOrder: bigint, status: HookRunStatus, statusMessage: string | null, startedAt: bigint, completedAt: bigint | null, durationMs: bigint | null, entries: Array<HookOutputEntry>, };
|
||||
export type HookRunSummary = { id: string, eventName: HookEventName, handlerType: HookHandlerType, executionMode: HookExecutionMode, scope: HookScope, sourcePath: AbsolutePathBuf, source: HookSource, displayOrder: bigint, status: HookRunStatus, statusMessage: string | null, visibilityHint: HookVisibilityHint, startedAt: bigint, completedAt: bigint | null, durationMs: bigint | null, entries: Array<HookOutputEntry>, };
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// GENERATED CODE! DO NOT MODIFY BY HAND!
|
||||
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type HookVisibilityHint = "default" | "hidden";
|
||||
@@ -161,6 +161,7 @@ export type { HookScope } from "./HookScope";
|
||||
export type { HookSource } from "./HookSource";
|
||||
export type { HookStartedNotification } from "./HookStartedNotification";
|
||||
export type { HookTrustStatus } from "./HookTrustStatus";
|
||||
export type { HookVisibilityHint } from "./HookVisibilityHint";
|
||||
export type { HooksListEntry } from "./HooksListEntry";
|
||||
export type { HooksListParams } from "./HooksListParams";
|
||||
export type { HooksListResponse } from "./HooksListResponse";
|
||||
|
||||
Reference in New Issue
Block a user