mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-10-19 05:20:05 +00:00
⚠️ base-red inherited: #15306 ## What `omniroute skills skillssh list` read `data.items`, but `GET /api/skills/skillssh` answers `{ skills: [{ id, skillId, name, installs, source }] }`. The command therefore emitted the whole response object (and, as a table, empty rows under the local-skill columns), the same kind of CLI/route mismatch fixed for `skillssh install` in #17033. - It now emits the `skills` array and renders skills.sh columns (id, name, source, installs); an `{ items }` payload is still accepted. - A refused request prints the server's message next to the status; the install command shares the same small `errorDetail` helper. ## Tests New `tests/unit/cli-skillssh-list.test.ts` (array output, table columns, `items` fallback, server error) — 3 of 4 red on the base, all green now; 23/23 together with the install and existing skills command suites. Complexity ratchets, file-size, prettier, eslint and touched-file typecheck clean. |
||
|---|---|---|
| .. | ||
| cli | ||
| _ops-common.sh | ||
| aliasResolver.mjs | ||
| aliasResolverHook.mjs | ||
| antigravity-bridge.mjs | ||
| chatgpt-web-codex-mcp.mjs | ||
| cold-start-bench.sh | ||
| mcp-server.mjs | ||
| mcpStdioConsoleGuard.mjs | ||
| nodeRuntimeSupport.mjs | ||
| omniroute.mjs | ||
| reset-password.mjs | ||
| restore-data.sh | ||
| restore-policies.sh | ||
| rollback.sh | ||
| snapshot-data.sh | ||