Skip to main content

Module server_client

Module server_client 

Source

Structs§

IndexSyncEdge
A single call edge in the index sync payload.
IndexSyncFile
A single file entry in the index sync payload.
IndexSyncPayload
Payload for syncing a project’s code index to the server.
IndexSyncSymbol
A single symbol entry in the index sync payload.
ServerClient

Functions§

post_knowledge_to_server
Posts every current, high-confidence fact from local knowledge.json to the server-backed ctx_knowledge store. Called after auto-consolidation and from handle_stop() to keep PostgreSQL in sync with the local session outcome. Silently returns if the server is not configured or any call fails.
post_session_to_brain
Posts a session summary to ctx_brain when a session is saved. Silently returns if the server is not configured.