OmniRoute/bin
Diego Rodrigues de Sa e Souza 4ecc110ae9
fix(cli): list the skills.sh results from skillssh list (#17035)
⚠️ 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.
2026-10-18 06:59:21 -03:00
..
cli fix(cli): list the skills.sh results from skillssh list (#17035) 2026-10-18 06:59:21 -03:00
_ops-common.sh Release v3.8.40 2026-06-29 08:40:06 -03:00
aliasResolver.mjs fix(cli): register alias resolver hooks in-thread on modern runtimes (#12073) (#12083) 2026-08-30 19:40:14 -03:00
aliasResolverHook.mjs fix(cli): register ESM alias resolver for @/ paths under global install (#7808) 2026-07-20 10:10:33 -03:00
antigravity-bridge.mjs fix(mitm): resolve the antigravity bridge cert like the AgentBridge server 2026-10-15 23:23:12 -03:00
chatgpt-web-codex-mcp.mjs feat(providers): refresh vendored ChatGPT Web connector to v4.0.7 (#12181) 2026-09-01 00:50:15 -03:00
cold-start-bench.sh Release v3.8.40 2026-06-29 08:40:06 -03:00
mcp-server.mjs fix(mcp): stop DB init logging from corrupting the stdio JSON-RPC stream (#9281) 2026-08-07 20:52:26 -03:00
mcpStdioConsoleGuard.mjs fix(mcp): stop DB init logging from corrupting the stdio JSON-RPC stream (#9281) 2026-08-07 20:52:26 -03:00
nodeRuntimeSupport.mjs feat(cli): add native Bun backend support and Dockerfile.bun (#11039) 2026-08-21 21:28:43 -03:00
omniroute.mjs fix(cli): avoid volatile env warnings for generated defaults 2026-10-15 23:19:10 -03:00
reset-password.mjs fix(cli): register reset-password subcommand + non-TTY stdin path (#6261, #6258) (#6387) 2026-07-06 18:13:06 -03:00
restore-data.sh Release v3.8.40 2026-06-29 08:40:06 -03:00
restore-policies.sh fix: resolve two macOS-only test/script failures in unit suite (#8577) 2026-08-07 18:07:42 -03:00
rollback.sh Release v3.8.40 2026-06-29 08:40:06 -03:00
snapshot-data.sh Release v3.8.40 2026-06-29 08:40:06 -03:00