Skip to content

Add JSON output for template list - #284

Merged
ralyodio merged 1 commit into
moshcoder:mainfrom
phucnguyen1707:feat/template-list-json
Aug 4, 2026
Merged

Add JSON output for template list#284
ralyodio merged 1 commit into
moshcoder:mainfrom
phucnguyen1707:feat/template-list-json

Conversation

@phucnguyen1707

Copy link
Copy Markdown
Contributor

Summary

  • add machine-readable output to template list
  • reject unsupported list options instead of silently ignoring them
  • document and complete --json across the supported shells

Tests

  • npm test (1219 tests, 0 failures; 214 optional-dependency skips)

@ralyodio
ralyodio merged commit 0a8a90f into moshcoder:main Aug 4, 2026
4 checks passed
@ralyodio ralyodio mentioned this pull request Aug 4, 2026
ralyodio added a commit that referenced this pull request Aug 4, 2026
Three more coding engines you can install and drive: Kimi Code, Qwen
Code, and DeepSeek Code (#286, #287). `moshcode install kimi | qwen |
deepseek` now resolve, each with reviewed autonomous-mode flags behind
`agents` and a headless mode behind moshscript's ai().

Two of those entries route around a bad name. kimi installs the
kimi-code script directly, because the older code.kimi.com wrapper now
installs the deprecated Python kimi-cli and blocks on a prompt for 30
seconds. deepseek launches `deepseek-code` rather than the `dsc` alias
its package also installs, because `dsc` is Microsoft's Desired State
Configuration binary on a machine that has both.

`template list` grew a --json form for automation (#284).

Also fixes a DoH config that dropped its default guards when only one of
them was overridden (#285).

Minor, not patch: three new engines and a new output format.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
ralyodio added a commit that referenced this pull request Aug 5, 2026
Two textual conflicts in src/dns.mjs, both additive: main's --trust-all
auto-trust and this branch's --proxy loopback mode touch the same deps
block and the same onQuery handler. Kept both — the flags are independent,
so proxy mode passes proxyAddress through while auto-trust still considers
each name that resolved to something of ours.

Also one conflict git could not see: main's template list --json test
(#284) asserts an exact template list, and this branch adds caddy-proxy.
Added it to the expectation.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants