bigpowers 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.1.2](https://github.com/danielvm-git/bigpowers/compare/v1.1.1...v1.1.2) (2026-05-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ci:** add contents:write permission and bump checkout to v4 in sync workflow ([f684bcd](https://github.com/danielvm-git/bigpowers/commit/f684bcd4b3ef5b8e3a206c43d79b56463a8acae7))
7
+
8
+ ## [1.1.1](https://github.com/danielvm-git/bigpowers/compare/v1.1.0...v1.1.1) (2026-05-31)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **scripts:** exit 0 to prevent false failure when OPN_TARGET is unset ([76bffd8](https://github.com/danielvm-git/bigpowers/commit/76bffd8cb7dd58f1e1e620017857d5491f10399e))
14
+
1
15
  # [1.1.0](https://github.com/danielvm-git/bigpowers/compare/v1.0.0...v1.1.0) (2026-05-31)
2
16
 
3
17
 
package/opencode.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://opencode.ai/config.json",
3
- "instructions": [".cursor/rules/*.mdc"]
3
+ "instructions": ["CLAUDE.md", "CONVENTIONS.md"]
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "58 agent skills for spec-driven, test-first software development by solo developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -94,14 +94,42 @@ jq -n --arg name "bigpowers" \
94
94
  --arg desc "$skill_count+ $pkg_desc" \
95
95
  '{name: $name, version: $version, description: $desc}' > "$GEMINI_MANIFEST"
96
96
 
97
- # 4. Write OpenCode configuration: opencode.json
97
+ # 4. Write OpenCode configuration: opencode.json (minimal project-level config)
98
+ # Skills are loaded on-demand via opencode's native skill tool, not instructions.
99
+ # Full opencode integration lives in the bigpowers-opencode repo.
98
100
  {
99
101
  echo "{"
100
102
  echo " \"\$schema\": \"https://opencode.ai/config.json\","
101
- echo " \"instructions\": [\".cursor/rules/*.mdc\"]"
103
+ echo " \"instructions\": [\"CLAUDE.md\", \"CONVENTIONS.md\"]"
102
104
  echo "}"
103
105
  } > "$REPO_ROOT/opencode.json"
104
106
 
107
+ # 5. Sync to bigpowers-opencode repo (if --opencode path is provided)
108
+ OPN_TARGET=""
109
+ for arg in "$@"; do
110
+ case "$arg" in
111
+ --opencode=*) OPN_TARGET="${arg#*=}" ;;
112
+ --opencode) shift; OPN_TARGET="$1" ;;
113
+ esac
114
+ done
115
+
116
+ if [[ -n "$OPN_TARGET" ]] && [[ -d "$OPN_TARGET" ]]; then
117
+ echo ""
118
+ echo "Syncing skills to opencode repo: $OPN_TARGET"
119
+ OPN_SKILLS="$OPN_TARGET/skills"
120
+ mkdir -p "$OPN_SKILLS"
121
+ opencode_count=0
122
+ for skill_dir in "$REPO_ROOT"/*/; do
123
+ skill_md="$skill_dir/SKILL.md"
124
+ [[ -f "$skill_md" ]] || continue
125
+ skill_name=$(basename "$skill_dir")
126
+ mkdir -p "$OPN_SKILLS/$skill_name"
127
+ cp "$skill_md" "$OPN_SKILLS/$skill_name/SKILL.md"
128
+ opencode_count=$((opencode_count + 1))
129
+ done
130
+ echo " → $opencode_count skills copied to $OPN_SKILLS/"
131
+ fi
132
+
105
133
  # Regenerate lexical skill index for search-skills
106
134
  if [[ -x "$REPO_ROOT/scripts/build-skill-index.sh" ]]; then
107
135
  bash "$REPO_ROOT/scripts/build-skill-index.sh" || true
@@ -112,4 +140,6 @@ echo " → .cursor/rules/ ($skill_count .mdc files)"
112
140
  echo " → .gemini/extensions/bigpowers/skills/ (Agent Skills)"
113
141
  echo " → .gemini/extensions/bigpowers/commands/ (Slash Commands)"
114
142
  echo " → .gemini/extensions/bigpowers/gemini-extension.json"
115
- echo " → opencode.json"
143
+ echo " → opencode.json (CLAUDE.md + CONVENTIONS.md instructions)"
144
+ [[ -n "$OPN_TARGET" ]] && echo " → bigpowers-opencode: $opencode_count skills"
145
+ exit 0