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

Function getCodebaseCommands

src/db/codebases.ts:38–45  ·  view source on GitHub ↗
(
  id: string
)

Source from the content-addressed store, hash-verified

36}
37
38export async function getCodebaseCommands(
39 id: string
40): Promise<Record<string, { path: string; description: string }>> {
41 const result = await pool.query<{
42 commands: Record<string, { path: string; description: string }>;
43 }>('SELECT commands FROM remote_agent_codebases WHERE id = $1', [id]);
44 return result.rows[0]?.commands || {};
45}
46
47export async function registerCommand(
48 id: string,

Callers 1

registerCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected