()
| 270 | } |
| 271 | |
| 272 | export async function getProjectRules(): Promise<RulesResponse> { |
| 273 | const { data } = await api.get<RulesResponse>('/project/rules'); |
| 274 | return data; |
| 275 | } |
| 276 | |
| 277 | export async function saveProjectRules(content: string, source: 'AGENTS.md' | 'CLAUDE.md') { |
| 278 | const { data } = await api.post('/project/rules', { content, source }); |
no outgoing calls
no test coverage detected