mirror of
https://github.com/openai/codex.git
synced 2026-04-30 11:21:34 +03:00
[codex] add workspace snapshot turn metadata
This commit is contained in:
@@ -95,6 +95,8 @@ pub enum Feature {
|
||||
ExecPermissionApprovals,
|
||||
/// Enable Claude-style lifecycle hooks loaded from hooks.json files.
|
||||
CodexHooks,
|
||||
/// Attach a synthetic commit hash for the current dirty worktree to turn metadata.
|
||||
GitWorkspaceSnapshot,
|
||||
/// Expose the built-in request_permissions tool.
|
||||
RequestPermissionsTool,
|
||||
/// Allow the model to request web searches that fetch live content.
|
||||
@@ -645,6 +647,12 @@ pub const FEATURES: &[FeatureSpec] = &[
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::GitWorkspaceSnapshot,
|
||||
key: "git_workspace_snapshot",
|
||||
stage: Stage::UnderDevelopment,
|
||||
default_enabled: false,
|
||||
},
|
||||
FeatureSpec {
|
||||
id: Feature::RequestPermissionsTool,
|
||||
key: "request_permissions_tool",
|
||||
|
||||
Reference in New Issue
Block a user