opencode-swarm-plugin 0.62.2 → 0.63.1

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.
@@ -1,101 +0,0 @@
1
- # Release Skill
2
-
3
- Handles version bumps and releases for the opencode-swarm-plugin monorepo.
4
-
5
- ## Version Touchpoints
6
-
7
- When bumping versions, ALL of these files must be updated:
8
-
9
- ### opencode-swarm-plugin
10
- - `packages/opencode-swarm-plugin/package.json` - npm package version
11
- - `packages/opencode-swarm-plugin/claude-plugin/.claude-plugin/plugin.json` - Claude plugin version
12
-
13
- ### claude-code-swarm-plugin (thin wrapper)
14
- - `packages/claude-code-swarm-plugin/package.json` - npm package version
15
- - `packages/claude-code-swarm-plugin/.claude-plugin/plugin.json` - Claude plugin version
16
-
17
- ### Other packages (if applicable)
18
- - `packages/swarm-evals/package.json`
19
- - `packages/swarm-mail/package.json`
20
- - `packages/swarm-dashboard/package.json`
21
-
22
- ## Release Process
23
-
24
- 1. **Create changeset** (for proper changelog generation):
25
- ```bash
26
- # Interactive (won't work in CI/agent context)
27
- bun changeset
28
-
29
- # Manual - create file in .changeset/
30
- echo '---
31
- "opencode-swarm-plugin": minor
32
- "claude-code-swarm-plugin": minor
33
- ---
34
-
35
- feat: description of changes' > .changeset/my-change.md
36
- ```
37
-
38
- 2. **Version bump** (applies changesets):
39
- ```bash
40
- bun run ci:version
41
- ```
42
- This runs `changeset version` and updates package.jsons
43
-
44
- 3. **CRITICAL: Sync plugin.json versions manually**:
45
- ```bash
46
- # Get version from package.json
47
- VERSION=$(cat packages/opencode-swarm-plugin/package.json | jq -r '.version')
48
-
49
- # Update both plugin.json files
50
- jq ".version = \"$VERSION\"" packages/opencode-swarm-plugin/claude-plugin/.claude-plugin/plugin.json > /tmp/p1.json && mv /tmp/p1.json packages/opencode-swarm-plugin/claude-plugin/.claude-plugin/plugin.json
51
-
52
- VERSION=$(cat packages/claude-code-swarm-plugin/package.json | jq -r '.version')
53
- jq ".version = \"$VERSION\"" packages/claude-code-swarm-plugin/.claude-plugin/plugin.json > /tmp/p2.json && mv /tmp/p2.json packages/claude-code-swarm-plugin/.claude-plugin/plugin.json
54
- ```
55
-
56
- 4. **Build**:
57
- ```bash
58
- cd packages/opencode-swarm-plugin && bun run build
59
- ```
60
-
61
- 5. **Publish**:
62
- ```bash
63
- bun run ci:publish
64
- ```
65
-
66
- 6. **Commit and push**:
67
- ```bash
68
- git add -A && git commit -m "release: bump versions" && git push
69
- ```
70
-
71
- ## Quick Version Bump Script
72
-
73
- Run this to bump all version touchpoints at once:
74
-
75
- ```bash
76
- #!/bin/bash
77
- NEW_VERSION=$1
78
-
79
- if [ -z "$NEW_VERSION" ]; then
80
- echo "Usage: ./bump-version.sh 0.59.0"
81
- exit 1
82
- fi
83
-
84
- # Main package
85
- jq ".version = \"$NEW_VERSION\"" packages/opencode-swarm-plugin/package.json > /tmp/pkg.json && mv /tmp/pkg.json packages/opencode-swarm-plugin/package.json
86
- jq ".version = \"$NEW_VERSION\"" packages/opencode-swarm-plugin/claude-plugin/.claude-plugin/plugin.json > /tmp/plug.json && mv /tmp/plug.json packages/opencode-swarm-plugin/claude-plugin/.claude-plugin/plugin.json
87
-
88
- # Thin wrapper (claude-code-swarm-plugin)
89
- jq ".version = \"$NEW_VERSION\"" packages/claude-code-swarm-plugin/package.json > /tmp/pkg.json && mv /tmp/pkg.json packages/claude-code-swarm-plugin/package.json
90
- jq ".version = \"$NEW_VERSION\"" packages/claude-code-swarm-plugin/.claude-plugin/plugin.json > /tmp/plug.json && mv /tmp/plug.json packages/claude-code-swarm-plugin/.claude-plugin/plugin.json
91
-
92
- echo "Bumped all packages to $NEW_VERSION"
93
- git diff --stat
94
- ```
95
-
96
- ## Gotchas
97
-
98
- - **plugin.json is NOT auto-bumped by changesets** - must be done manually
99
- - **Two separate plugins**: `opencode-swarm-plugin` (full) and `claude-code-swarm-plugin` (thin wrapper)
100
- - **Claude Code marketplace installs from cache** - users may need to uninstall/reinstall for updates
101
- - **npm publish needs `--access public`** for scoped packages