fix: remove hardcoded /home/jchery paths, use __OPENCODE_DIR__ template token resolved at install time

Command markdown files now use __OPENCODE_DIR__ placeholder instead of
hardcoded user path. Both postinstall.js and install.sh perform template
replacement when copying files to ~/.config/opencode/, making CI portable
across any user/machine/container.
This commit is contained in:
CI
2026-05-29 16:08:46 +00:00
parent 940b85bfae
commit 7a20784c87
13 changed files with 39 additions and 21 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/audit.md
@__OPENCODE_DIR__/ci/workflows/audit.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/clarify.md
@__OPENCODE_DIR__/ci/workflows/clarify.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/debug.md
@__OPENCODE_DIR__/ci/workflows/debug.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/init.md
@__OPENCODE_DIR__/ci/workflows/init.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/quick.md
@__OPENCODE_DIR__/ci/workflows/quick.md
</execution_context>
<context>
+1 -1
View File
@@ -12,7 +12,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/review.md
@__OPENCODE_DIR__/ci/workflows/review.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/rollback.md
@__OPENCODE_DIR__/ci/workflows/rollback.md
</execution_context>
<context>
+1 -1
View File
@@ -13,7 +13,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/run.md
@__OPENCODE_DIR__/ci/workflows/run.md
</execution_context>
<context>
+1 -1
View File
@@ -12,7 +12,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/ship.md
@__OPENCODE_DIR__/ci/workflows/ship.md
</execution_context>
<context>
+1 -1
View File
@@ -8,7 +8,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/status.md
@__OPENCODE_DIR__/ci/workflows/status.md
</execution_context>
<context>
+1 -1
View File
@@ -12,7 +12,7 @@ tools:
---
<execution_context>
@/home/jchery/.config/opencode/ci/workflows/verify.md
@__OPENCODE_DIR__/ci/workflows/verify.md
</execution_context>
<context>