Move view lens planning into core

This commit is contained in:
Meta Vens 2026-05-20 09:54:23 +01:00
commit fc6976687f
10 changed files with 81 additions and 55 deletions

View file

@ -61,6 +61,7 @@ codex-utils-json-to-toml = { workspace = true }
codex-utils-rustls-provider = { workspace = true }
chrono = { workspace = true }
epiphany-codex-bridge = { path = "../../../../epiphany-codex-bridge" }
epiphany-core = { path = "../../../../epiphany-core" }
clap = { workspace = true, features = ["derive"] }
constant_time_eq = { workspace = true }
futures = { workspace = true }

View file

@ -21,12 +21,7 @@ use epiphany_codex_bridge::view::EpiphanyFreshnessResponseInput;
use epiphany_codex_bridge::view::EpiphanyReorientResultResponseInput;
use epiphany_codex_bridge::view::EpiphanyRoleResultResponseInput;
use epiphany_codex_bridge::view::EpiphanyViewResponseInput;
use epiphany_codex_bridge::view::default_epiphany_view_lenses;
use epiphany_codex_bridge::view::derive_epiphany_freshness_surface;
use epiphany_codex_bridge::view::epiphany_view_needs_jobs;
use epiphany_codex_bridge::view::epiphany_view_needs_pressure;
use epiphany_codex_bridge::view::epiphany_view_needs_reorientation_inputs;
use epiphany_codex_bridge::view::epiphany_view_needs_runtime_store;
use epiphany_codex_bridge::view::map_core_epiphany_distill_input;
use epiphany_codex_bridge::view::map_core_epiphany_view_lenses;
use epiphany_codex_bridge::view::map_epiphany_context_response;
@ -36,6 +31,11 @@ use epiphany_codex_bridge::view::map_epiphany_propose_response;
use epiphany_codex_bridge::view::map_epiphany_reorient_result_response;
use epiphany_codex_bridge::view::map_epiphany_role_result_response;
use epiphany_codex_bridge::view::map_epiphany_view_response;
use epiphany_core::default_epiphany_view_lenses;
use epiphany_core::epiphany_view_needs_jobs;
use epiphany_core::epiphany_view_needs_pressure;
use epiphany_core::epiphany_view_needs_reorientation_inputs;
use epiphany_core::epiphany_view_needs_runtime_store;
use super::CodexMessageProcessor;
use super::ConnectionRequestId;