()
| 290 | * Get all built-in commands as Command objects |
| 291 | */ |
| 292 | export async function getBuiltInCommands(): Promise<Command[]> { |
| 293 | return Object.values(BUILT_IN_COMMANDS).map((cmd) => ({ |
| 294 | name: cmd.name, |
| 295 | content: cmd.content, |
| 296 | source: "built-in" as const, |
| 297 | filePath: `<built-in:${cmd.name}>`, |
| 298 | description: cmd.description, |
| 299 | argumentHint: cmd.argumentHint, |
| 300 | })) |
| 301 | } |
| 302 | |
| 303 | /** |
| 304 | * Get a specific built-in command by name |
no outgoing calls
no test coverage detected