mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
Surface unavailable remote plugin details
This commit is contained in:
@@ -10102,6 +10102,16 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"detailsUnavailableReason": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/v2/PluginDetailsUnavailableReason"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"marketplaceName": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -10134,6 +10144,12 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PluginDetailsUnavailableReason": {
|
||||
"enum": [
|
||||
"installRequiredForRemoteSource"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"PluginInstallParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
||||
@@ -6874,6 +6874,16 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"detailsUnavailableReason": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PluginDetailsUnavailableReason"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"marketplaceName": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -6906,6 +6916,12 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PluginDetailsUnavailableReason": {
|
||||
"enum": [
|
||||
"installRequiredForRemoteSource"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"PluginInstallParams": {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"properties": {
|
||||
|
||||
@@ -58,6 +58,16 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"detailsUnavailableReason": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PluginDetailsUnavailableReason"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"marketplaceName": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -90,6 +100,12 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"PluginDetailsUnavailableReason": {
|
||||
"enum": [
|
||||
"installRequiredForRemoteSource"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"PluginInstallPolicy": {
|
||||
"enum": [
|
||||
"NOT_AVAILABLE",
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { AbsolutePathBuf } from "../AbsolutePathBuf";
|
||||
import type { AppSummary } from "./AppSummary";
|
||||
import type { PluginDetailsUnavailableReason } from "./PluginDetailsUnavailableReason";
|
||||
import type { PluginSummary } from "./PluginSummary";
|
||||
import type { SkillSummary } from "./SkillSummary";
|
||||
|
||||
export type PluginDetail = { marketplaceName: string, marketplacePath: AbsolutePathBuf, summary: PluginSummary, description: string | null, skills: Array<SkillSummary>, apps: Array<AppSummary>, mcpServers: Array<string>, };
|
||||
export type PluginDetail = { marketplaceName: string, marketplacePath: AbsolutePathBuf, summary: PluginSummary, description: string | null, skills: Array<SkillSummary>, apps: Array<AppSummary>, mcpServers: Array<string>, detailsUnavailableReason: PluginDetailsUnavailableReason | null, };
|
||||
|
||||
@@ -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 PluginDetailsUnavailableReason = "installRequiredForRemoteSource";
|
||||
@@ -224,6 +224,7 @@ export type { PermissionsRequestApprovalResponse } from "./PermissionsRequestApp
|
||||
export type { PlanDeltaNotification } from "./PlanDeltaNotification";
|
||||
export type { PluginAuthPolicy } from "./PluginAuthPolicy";
|
||||
export type { PluginDetail } from "./PluginDetail";
|
||||
export type { PluginDetailsUnavailableReason } from "./PluginDetailsUnavailableReason";
|
||||
export type { PluginInstallParams } from "./PluginInstallParams";
|
||||
export type { PluginInstallPolicy } from "./PluginInstallPolicy";
|
||||
export type { PluginInstallResponse } from "./PluginInstallResponse";
|
||||
|
||||
@@ -3589,6 +3589,14 @@ pub struct PluginDetail {
|
||||
pub skills: Vec<SkillSummary>,
|
||||
pub apps: Vec<AppSummary>,
|
||||
pub mcp_servers: Vec<String>,
|
||||
pub details_unavailable_reason: Option<PluginDetailsUnavailableReason>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, JsonSchema, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export_to = "v2/")]
|
||||
pub enum PluginDetailsUnavailableReason {
|
||||
InstallRequiredForRemoteSource,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
|
||||
Reference in New Issue
Block a user