Skip to content

site: update playground demo to the post-0.10.0 CLI surface - #227

Merged
akesling merged 1 commit into
mainfrom
alex/playground-cli-surface
Aug 21, 2026
Merged

site: update playground demo to the post-0.10.0 CLI surface#227
akesling merged 1 commit into
mainfrom
alex/playground-cli-surface

Conversation

@akesling

@akesling akesling commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

The wasm playground's scripted demo and help builtin still used the pre-0.10.0 command surface, while the shipped wasm binary is current — so the autoplayed path query dead-ends … failed with undefined filter: dead / ends for every visitor.

  • The boot autoplay now runs path query --input path-01-pr.path.json --pretty 'map(select(.dead_end)) | map(.step.id)', which prints ["step-002a"] against the preloaded example.
  • The help builtin now lists path p validate, path query --input <file> '<filter>' (with dead-end and actor-filter jaq examples), path p query ancestors, path p render dot, and path p merge.

Verified in a headless browser against the built site: the demo completes with the expected output and the help listing renders aligned; the site's markdown pages were already on the new syntax.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The autoplayed demo still ran the removed `query dead-ends`
subcommand, which the current wasm binary rejects as an undefined jaq
filter. Replace it with the equivalent jq-filter query, and update the
help builtin to the `path p …` plumbing spellings and filter examples.
@github-actions

Copy link
Copy Markdown

🔍 Preview deployed: https://f75614c0.toolpath.pages.dev

@akesling
akesling merged commit 02fc832 into main Aug 21, 2026
3 checks passed
@akesling
akesling deleted the alex/playground-cli-surface branch August 21, 2026 16:06
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.

1 participant