feat(foreign): own view sessions and clear outputs

foreign.session returns a handle from ordinary kernel/cell tables; view consumes only the 会话 binding. Sessions live in host foreign_doc. Without 会话, view cells run stateless one-shot. Add /api/session/clear and a Clear outputs button for every view page; clearing keeps persistent kernel state.
This commit is contained in:
cflmy committed 2026-10-18 12:42:15 +08:00
1 parent 01468ad976
commit fb28eee62f
21 files changed
+379 -75

No files matched your search

-2
View File
@@ -34,8 +34,6 @@ pub mod lex;
pub mod linalg_ops;
pub mod load;
pub mod mlsp;
#[cfg(feature = "exec-host")]
pub mod notebook;
pub mod parse;
pub mod repair;
pub mod value;