MCPcopy Create free account
hub / github.com/coleam00/remote-agentic-coding-system / updateCodebaseCommands

Function updateCodebaseCommands

src/db/codebases.ts:28–36  ·  view source on GitHub ↗
(
  id: string,
  commands: Record<string, { path: string; description: string }>
)

Source from the content-addressed store, hash-verified

26}
27
28export 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
38export async function getCodebaseCommands(
39 id: string

Callers 1

registerCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected