feat(foreign): persistent Python/Node kernels and state bridge

F3/F3.5: session_open/eval/close/list, session_set/get/names, Python and Node bootstraps, strict serial protocol, per-session timeout, crash isolation, drop cleanup, and node/bash gold tests (python conditional).
This commit is contained in:
cflmy committed 2026-10-18 01:32:48 +08:00
1 parent 7859170aec
commit 050d71927f
12 files changed
+1122 -8

No files matched your search

+7
View File
@@ -1291,6 +1291,13 @@ fn resolve_spec(ctx: &HostContext, lang: &str) -> Result<LangSpec, String> {
))
}
pub(crate) fn resolve_session_spec(
ctx: &HostContext,
lang: &str,
) -> Result<LangSpec, String> {
resolve_spec(ctx, lang)
}
struct Invocation {
argv: Vec<String>,
template: Option<Vec<String>>,