Expand description
§K1 chat-thread session actor public contract 0.3.13
§Constructors
open(adapter, key, session, kmap, web_search)recovers one durable thread without Social, SetLaunchNode, RustCode, or WebCode composition.open_with_social(adapter, key, session, kmap, social, web_search)additionally configures Social.open_with_social_and_set_launch_node(adapter, key, session, kmap, social, set_launch_node, web_search)additionally configures SetLaunchNode.open_with_social_and_set_launch_node_and_rust_code(adapter, key, session, kmap, social, set_launch_node, rust_code, web_search)configures persistent selector-aware V1 RustCode without WebCode.open_with_social_and_set_launch_node_and_rust_code_and_web_code(adapter, key, session, kmap, social, set_launch_node, rust_code, web_code, web_search)is the full constructor.
RustCode uses service 0.1.5 through session-code runtime 0.1.6 and Stage runtime 0.1.4. The full mode also adopts WebCode service 0.2.0.
The actor retains its ordered event loop, durable state, inference and model-usage lifecycle, restart generation, session view, and snapshots. StageRuntime owns provider-stage coordination, code lanes, WebSearch correlation, mailbox flushes, and acknowledgement order.
RustCode recovery preserves the V1 selector, unpublished KTO revision, editable source boxes, and check state. Successful user acceptance, restart, authorization clearing, Stage handling, unified code completion, and shutdown delegate through StageRuntime.
This package owns no persistence format, provider prompt, HTTP implementation, migration, daemon composition, deployment, or live-behavior proof.