Function
updateCodebaseCommands
(
id: string,
commands: Record<string, { path: string; description: string }>
)
Source from the content-addressed store, hash-verified
| 26 | } |
| 27 | |
| 28 | export async function updateCodebaseCommands( |
| 29 | id: string, |
| 30 | commands: Record<string, { path: string; description: string }> |
| 31 | ): Promise<void> { |
| 32 | await pool.query( |
| 33 | 'UPDATE remote_agent_codebases SET commands = $1, updated_at = NOW() WHERE id = $2', |
| 34 | [JSON.stringify(commands), id] |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | export async function getCodebaseCommands( |
| 39 | id: string |
Tested by
no test coverage detected