Skip to content

Releases: PerryLink/dsh-output-styles

dsh-output-styles 0.4.0 — output.render.* renderer protocol

Choose a tag to compare

@PerryLink PerryLink released this 16 Aug 16:22

dsh-output-styles 0.4.0 — the output.render.* presentation protocol.

What's new

  • Renderer registry: \ctx.outputRenderers\ with reversible
    egister(), pure presenters matched by tool/content-type, priority ordering, and the \output.render/before\ waterfall (listeners must
    ext()).
  • Per-session/per-tool rules:
    ules: [{ match: { tool: 'bash' }, style: 'concise' }], editable in the \output-style-rules\ settings section.
  • **/export [markdown|html] [--renderer=]**: session export through the renderer pipeline; every render keeps { original, rendered, rendererId, changed }\ so output stays reconstructable from the session log.
  • Built-in renderers \concise\ and \step-by-step; protocol docs in docs/renderer-protocol.md (+ 中文).
  • /style\ and per-session persistence stay fully compatible. 107 tests.

Install

\\sh
dsh plugin --profile web add dsh-output-styles
\\

Full changelog: https://github.com/PerryLink/dsh-output-styles/blob/main/CHANGELOG.md

dsh-output-styles 0.3.1

Choose a tag to compare

@PerryLink PerryLink released this 15 Aug 06:00

What's changed

Added

  • Publish workflow (.github/workflows/publish.yml): pushing a v* tag whose suffix matches the package.json version runs the full verification suite and publishes the tarball to npm with provenance - a GitHub release can never again leave npm behind.
  • prepublishOnly verification gate: every npm publish runs typecheck + the full test suite + the self-contained check before packing.
  • Package metadata: author, bugs, publishConfig.access: public.

Changed

  • pnpm run verify aggregates typecheck, tests, and the self-contained check.
  • The unknown-style error says available: none instead of a trailing empty list when the library is empty.
  • All five READMEs document the release flow.

Full Changelog: v0.3.0...v0.3.1

dsh-output-styles 0.3.0

Choose a tag to compare

@PerryLink PerryLink released this 14 Aug 15:30

What's changed

  • Claude Code force-for-plugin support: accepted verbatim in frontmatter and outputStyles JSON; force remains as an alias (conflicting values skip the file with a warning).
  • Built-in styles proactive and learning: bundled-library parity with Claude Code's built-ins - the library now ships six styles.
  • Engineering: packageManager aligned with CI, sideEffects: false, CHANGELOG.md added (now also shipped in the npm tarball), all five READMEs synced.

Full details: CHANGELOG.md