Files
oh-my-opencode-free-fork/.opencode/command/get-unpublished-changes.md
YeonGyu-Kim 2292a61887 fix(command): fix get-unpublished-changes shell injection bugs
- Change model to anthropic/claude-haiku-4
- Fix local-version: use node -p instead of broken sed pattern
- Fix commits/diff: use xargs -I{} pipeline instead of subshell

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
2025-12-14 12:18:14 +09:00

1.7 KiB

description, model
description model
Compare HEAD with the latest published npm version and list all unpublished changes anthropic/claude-haiku-4-5
Analyze the unpublished changes since the last npm release and provide a structured summary.

Your task:

  1. Review the context below (auto-injected via shell)
  2. Summarize changes grouped by type (feat, fix, refactor, docs, chore)
  3. Highlight breaking changes if any
  4. Suggest next version bump (major/minor/patch) based on conventional commits
!`npm view oh-my-opencode version 2>/dev/null || echo "not published"` !`node -p "require('./package.json').version" 2>/dev/null || echo "unknown"` !`git tag --sort=-v:refname | head -1 2>/dev/null || echo "no tags"` !`npm view oh-my-opencode version 2>/dev/null | xargs -I{} git log "v{}"..HEAD --oneline 2>/dev/null || echo "no commits since release"` !`npm view oh-my-opencode version 2>/dev/null | xargs -I{} git diff "v{}"..HEAD --stat 2>/dev/null || echo "no diff available"` !`npm view oh-my-opencode version 2>/dev/null | xargs -I{} git diff "v{}"..HEAD --stat 2>/dev/null | tail -1 || echo ""` ## Unpublished Changes (v{published} → HEAD)

Commits ({count})

Type Scope Description
... ... ...

Files Changed

{diff-stat summary}

Suggested Version Bump

  • Recommendation: {patch|minor|major}
  • Reason: {brief explanation}