00f15b094b
- sessions.el: new sessions module with session management and approval gate
- routes.el: wire /api/sessions routes (list, get, create, approve, tool_result)
- chat.el: thread-aware activation — short messages anchor to last reply
before engram compilation so follow-ups stay on-topic
- chat.el: agentic path tracks per-session history (session_hist_{id})
instead of shared conv_history, seeding each turn with prior context
- chat.el: add call_neuron_mcp, dispatch_tool, is_builtin_tool, next_bridge_id
agentic_loop, bridge_save, agentic_resume, handle_tool_result
- dist/soul: rebuild with all of the above
29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
// auto-generated by elc --emit-header — do not edit
|
|
extern fn chat_default_model() -> String
|
|
extern fn gemini_api_key() -> String
|
|
extern fn xai_api_key() -> String
|
|
extern fn llm_call_grok(model: String, system: String, message: String) -> String
|
|
extern fn llm_call_gemini(model: String, system: String, message: String) -> String
|
|
extern fn build_identity_from_graph() -> String
|
|
extern fn engram_compile(intent: String) -> String
|
|
extern fn json_safe(s: String) -> String
|
|
extern fn build_system_prompt(ctx: String) -> String
|
|
extern fn hist_append(hist: String, role: String, content: String) -> String
|
|
extern fn hist_trim(hist: String) -> String
|
|
extern fn clean_llm_response(s: String) -> String
|
|
extern fn conv_history_persist(hist: String) -> Void
|
|
extern fn conv_history_load() -> String
|
|
extern fn handle_chat(body: String) -> String
|
|
extern fn handle_see(body: String) -> String
|
|
extern fn studio_tools_json() -> String
|
|
extern fn agentic_api_key() -> String
|
|
extern fn call_neuron_mcp(tool_name: String, args_json: String) -> String
|
|
extern fn agentic_tools_literal() -> String
|
|
extern fn dispatch_tool(tool_name: String, tool_input: String) -> String
|
|
extern fn handle_chat_agentic(body: String) -> String
|
|
extern fn handle_chat_as_soul(body: String) -> String
|
|
extern fn handle_dharma_room_turn(body: String) -> String
|
|
extern fn handle_dharma_room_turn_agentic(body: String) -> String
|
|
extern fn auto_persist(req: String, resp: String) -> Void
|
|
extern fn strengthen_chat_nodes(activation_nodes: String) -> Void
|