mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Add remote plugin skill read API (#20150)
## Summary Adds an app-server `plugin/skill/read` method for remote plugin skill markdown. The new method calls the plugin-service skill detail endpoint and returns `skill_md_contents`, so clients can preview skills for remote plugins before the bundle is installed locally. ## Why Uninstalled remote plugin skills do not have local `SKILL.md` files. Without an on-demand remote read, the desktop plugin details UI cannot render the skill details modal for those skills. ## Validation - `just write-app-server-schema` - `just fmt` - `cargo test -p codex-app-server-protocol` - `cargo test -p codex-app-server --test all -- suite::v2::plugin_read::plugin_skill_read_reads_remote_skill_contents_when_remote_plugin_enabled --exact` - `just fix -p codex-app-server-protocol -p codex-core-plugins -p codex-app-server`
This commit is contained in:
committed by
GitHub
Unverified
parent
a62b52f826
commit
96d2ea9058
@@ -65,7 +65,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"ephemeral",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox",
|
||||
"service_name",
|
||||
@@ -91,10 +90,8 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"config",
|
||||
"cwd",
|
||||
"developer_instructions",
|
||||
"exclude_turns",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox",
|
||||
"service_tier",
|
||||
@@ -107,10 +104,8 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"cwd",
|
||||
"developer_instructions",
|
||||
"ephemeral",
|
||||
"exclude_turns",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"sandbox",
|
||||
"service_tier",
|
||||
],
|
||||
@@ -121,7 +116,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"effort",
|
||||
"model",
|
||||
"output_schema",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox_policy",
|
||||
"service_tier",
|
||||
@@ -134,7 +128,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"effort",
|
||||
"model",
|
||||
"output_schema",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox_policy",
|
||||
"service_tier",
|
||||
@@ -150,7 +143,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"ephemeral",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox",
|
||||
"service_name",
|
||||
@@ -176,10 +168,8 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"config",
|
||||
"cwd",
|
||||
"developer_instructions",
|
||||
"exclude_turns",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox",
|
||||
"service_tier",
|
||||
@@ -192,10 +182,8 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"cwd",
|
||||
"developer_instructions",
|
||||
"ephemeral",
|
||||
"exclude_turns",
|
||||
"model",
|
||||
"model_provider",
|
||||
"permission_profile",
|
||||
"sandbox",
|
||||
"service_tier",
|
||||
],
|
||||
@@ -206,7 +194,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"effort",
|
||||
"model",
|
||||
"output_schema",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox_policy",
|
||||
"service_tier",
|
||||
@@ -219,7 +206,6 @@ def test_generated_public_signatures_are_snake_case_and_typed() -> None:
|
||||
"effort",
|
||||
"model",
|
||||
"output_schema",
|
||||
"permission_profile",
|
||||
"personality",
|
||||
"sandbox_policy",
|
||||
"service_tier",
|
||||
|
||||
Reference in New Issue
Block a user