mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
## What changed - Add `memories.version` with `v1` as the default and `v2` as an opt-in selection. - Route memory generation, summaries, and retrieval tools through the selected version. Store `v2` artifacts in `memories_v2` and lazily create a separate SQLite database, keeping jobs and outputs isolated while sharing the thread catalog. - Preserve the initial memory version across extension config updates so summaries and retrieval tools use the same namespace. - Clear both versions on memory reset and remove thread memory from both stores on thread deletion. Recognize both artifact roots in shell usage telemetry. ## Testing Add regression coverage for version defaults and validation, independent job claims and outputs, deletion and reset across versions, and shell usage classification for both memory roots. GitOrigin-RevId: aa799bf87ab6ec10c8f5668213931e57547d080b
55 lines
1.4 KiB
Rust
55 lines
1.4 KiB
Rust
pub mod account;
|
|
mod agent_path;
|
|
pub mod auth;
|
|
mod response_item_id;
|
|
mod response_usage;
|
|
mod sanitized_git_url;
|
|
mod session_id;
|
|
mod thread_id;
|
|
mod tool_name;
|
|
pub use agent_path::AgentPath;
|
|
pub use permission_profile_intersection::PermissionIntersectionError;
|
|
pub use permission_profile_intersection::intersect_effective_permission_profiles;
|
|
pub use response_item_id::ResponseItemId;
|
|
pub use response_usage::ResponseUsageMetadata;
|
|
pub use sanitized_git_url::SanitizedGitUrl;
|
|
pub use session_id::SessionId;
|
|
pub use thread_id::RolloutId;
|
|
pub use thread_id::ThreadId;
|
|
pub use tool_name::DEFAULT_FUNCTION_NAMESPACE;
|
|
pub use tool_name::ToolName;
|
|
pub mod approvals;
|
|
pub mod capabilities;
|
|
pub mod config_types;
|
|
pub mod dynamic_tools;
|
|
mod environment;
|
|
pub mod error;
|
|
pub mod exec_output;
|
|
pub mod items;
|
|
mod legacy_events;
|
|
pub mod local_media;
|
|
pub mod mcp;
|
|
pub mod mcp_approval_meta;
|
|
pub mod mcp_policy;
|
|
pub mod memory_citation;
|
|
mod memory_version;
|
|
pub use memory_version::MemoryVersion;
|
|
pub mod models;
|
|
pub mod network_policy;
|
|
pub mod num_format;
|
|
pub mod openai_models;
|
|
pub mod parse_command;
|
|
mod permission_profile_intersection;
|
|
mod permission_profile_snapshot;
|
|
pub mod permissions;
|
|
pub mod plan_tool;
|
|
pub mod protocol;
|
|
pub mod realtime;
|
|
pub mod request_permissions;
|
|
pub mod request_user_input;
|
|
pub mod review_format;
|
|
pub mod security_risk;
|
|
pub mod shell_environment;
|
|
pub mod turn_input;
|
|
pub mod user_input;
|