- Add orgid field (str32, not nullable) to hermes_services table - Replace user_id with orgid in all service CRUD operations (SQL + functions) - Update function signatures: get_all_services, create_service, delete_service, get_service_by_id, test_service_connection, create_session, send_message_to_service, get_session_messages all use orgid - Add orgid indexes: idx_hermes_services_orgid, idx_hermes_services_orgid_status - Add logined_userorgid filtering to CRUD definition for automatic framework-level isolation - Update all .dspy files to use get_userorgid() for org-scoped service queries - Update init/data.json and db_tables.py to reflect orgid field
14 lines
305 B
JSON
14 lines
305 B
JSON
{
|
|
"hermes_services": [
|
|
{
|
|
"id": "00000000-0000-0000-0000-000000000001",
|
|
"orgid": "",
|
|
"name": "Local Hermes Service",
|
|
"service_url": "http://localhost:9120",
|
|
"apikey": "",
|
|
"description": "Default local Hermes service instance",
|
|
"status": "active"
|
|
}
|
|
]
|
|
}
|