Skip to main content

Module cloud_client

Module cloud_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_cloud
Posts every current, high-confidence fact from local knowledge.json to the cloud 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 cloud 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 cloud is not configured.