mirror of
https://github.com/openai/codex.git
synced 2026-11-16 06:54:36 +00:00
Rename host instruction payload to Instructions (#40709)
## What changed Rename the `UserInstructions` type to `Instructions` across the extension API, its core API re-export, and all consumers. This keeps loading behavior and the `LoadedUserInstructions` provider interface unchanged. GitOrigin-RevId: 1ac236b34c31718e7aa38ff5eae5e9b179aeedd8
This commit is contained in:
1 parent
13fe2bcb7a
commit
5ca4175295
12 files changed
+31
-31
No files matched your search
@@ -9,7 +9,7 @@ use anyhow::anyhow;
|
||||
use codex_analytics::GuardianReviewAnalyticsResult;
|
||||
use codex_analytics::GuardianReviewSessionAnalyticsParams;
|
||||
use codex_analytics::GuardianReviewSessionKind;
|
||||
use codex_extension_api::UserInstructions;
|
||||
use codex_extension_api::Instructions;
|
||||
use codex_history::InitialHistory;
|
||||
use codex_history::RolloutItem;
|
||||
use codex_protocol::ThreadId;
|
||||
@@ -203,7 +203,7 @@ struct GuardianReviewSessionReuseKey {
|
||||
permissions: Permissions,
|
||||
developer_instructions: Option<String>,
|
||||
base_instructions: Option<String>,
|
||||
user_instructions: Option<UserInstructions>,
|
||||
user_instructions: Option<Instructions>,
|
||||
compact_prompt: Option<String>,
|
||||
cwd: PathUri,
|
||||
mcp_servers: Constrained<HashMap<String, McpServerConfig>>,
|
||||
@@ -217,7 +217,7 @@ struct GuardianReviewSessionReuseKey {
|
||||
impl GuardianReviewSessionReuseKey {
|
||||
fn from_spawn_config(
|
||||
spawn_config: &Config,
|
||||
user_instructions: Option<UserInstructions>,
|
||||
user_instructions: Option<Instructions>,
|
||||
parent_history_version: u64,
|
||||
) -> Self {
|
||||
Self {
|
||||
|
||||
Reference in new issue
Block a user