Skip to content

Installation for OpenCode failing to call gsd-tools.cjs (even while convertClaudeToOpencodeFrontmatter already existing) #905

@baxerus

Description

@baxerus

GSD Version

v1.22.2

Runtime

Claude Code

What happened?

Installing GSD with the following command in a container:
npx --verbose --yes get-shit-done-cc@latest --opencode --global
and even with the existing function convertClaudeToOpencodeFrontmatter(content) in place, calls of gsd-tools.cjs fail, because there are still 166 places with $HOME/.claude/get-shit-done/bin/gsd-tools.cjs in the markdown files.

grep -R '$HOME/.claude/get-shit-done/bin/gsd-tools.cjs' /home/node/.config/opencode | wc -l
166

function convertClaudeToOpencodeFrontmatter(content) {

What did you expect?

The function convertClaudeToOpencodeFrontmatter(content) function replaces $HOME/.claude with $HOME/.config/opencode

Steps to reproduce

  1. Install GSD with --opencode flag
  2. Check if $HOME/.claude exists in the markdown files
  3. (Actually every .claude in these files is probably wrong when installing with --opencode flag)

Relevant logs or error messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageNew issue awaiting maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions