feat(soul): add safety module, expand connectors API, memory-recall bug notes
- safety.el/.elh: new safety module - neuron-api.el, routes.el, soul.el, chat.el: connectors API expansion - regenerated dist/ C artifacts - MEMORY_RECALL_BUG.md: investigation notes Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vendored
+21
@@ -393,6 +393,9 @@ el_val_t handle_request(el_val_t method, el_val_t path, el_val_t body) {
|
||||
if (str_eq(clean, EL_STR("/api/neuron/ctx"))) {
|
||||
return handle_api_compile_ctx(EL_STR(""));
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/safety-contact"))) {
|
||||
return handle_safety_contact_get();
|
||||
}
|
||||
if (str_starts_with(clean, EL_STR("/api/neuron/knowledge/search"))) {
|
||||
return handle_api_search_knowledge(method, path, body);
|
||||
}
|
||||
@@ -532,6 +535,24 @@ el_val_t handle_request(el_val_t method, el_val_t path, el_val_t body) {
|
||||
if (str_eq(clean, EL_STR("/api/neuron/memory"))) {
|
||||
return handle_api_remember(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/safety-contact"))) {
|
||||
return handle_safety_contact_post(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/node/create"))) {
|
||||
return handle_api_node_create(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/node/update"))) {
|
||||
return handle_api_node_update(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/memory/update"))) {
|
||||
return handle_api_node_update(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/node/delete"))) {
|
||||
return handle_api_node_delete(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/memory/delete"))) {
|
||||
return handle_api_node_delete(body);
|
||||
}
|
||||
if (str_eq(clean, EL_STR("/api/neuron/recall"))) {
|
||||
return handle_api_recall(method, path, body);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user