* Shape of `.socraticode.json`. * * Fields are typed as their intended shape; runtime validators in the * consumers tolerate malformed values (wrong type, null, etc.) so the * MCP server stays resilient against hand-edited config files.
| 195 | * MCP server stays resilient against hand-edited config files. |
| 196 | */ |
| 197 | interface SocratiCodeConfig { |
| 198 | /** |
| 199 | * Stable project identifier shared across machines/checkouts. |
| 200 | * When set, overrides the path-hash default so every team member |
| 201 | * addresses the same Qdrant collection regardless of where the |
| 202 | * working tree lives on disk. The env var |
| 203 | * `SOCRATICODE_PROJECT_ID` takes precedence over this field. |
| 204 | */ |
| 205 | projectId?: string; |
| 206 | /** Paths (absolute or relative to this file) of related projects to search alongside this one. */ |
| 207 | linkedProjects?: string[]; |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Read and parse `.socraticode.json` from a project directory. |
nothing calls this directly
no outgoing calls
no test coverage detected