Skip to content

Commit 0e737f6

Browse files
committed
feat: Add /project:unvendor-bolt command
1 parent 257ce53 commit 0e737f6

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.claude/commands/unvendor-bolt.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Switch from the vendored bolt-python wheel to the latest published `slack-bolt` package on PyPI.
2+
3+
## Steps
4+
5+
1. Look up the latest published version of `slack-bolt`:
6+
```
7+
curl -s https://pypi.org/pypi/slack-bolt/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"
8+
```
9+
10+
2. Delete the `vendor/` directory:
11+
```
12+
rm -rf vendor
13+
```
14+
15+
3. In all three `requirements.txt` files (`claude-agent-sdk/requirements.txt`, `openai-agents-sdk/requirements.txt`, `pydantic-ai/requirements.txt`), replace the `../vendor/slack_bolt-*.whl` line with `slack-bolt>=<version>` using the version from step 1.
16+
17+
4. In all three `pyproject.toml` files (`claude-agent-sdk/pyproject.toml`, `openai-agents-sdk/pyproject.toml`, `pydantic-ai/pyproject.toml`), replace the comment `# slack-bolt is installed from a vendored whl — see ../vendor/` with an actual dependency `"slack-bolt>=<version>"` using the version from step 1.
18+
19+
5. If `.github/dependabot.yml` has an `ignore` rule for `slack-bolt`, remove it so Dependabot can manage updates.
20+
21+
6. Update `README.md` — replace the "Local Development" section that describes vendored bolt with:
22+
```
23+
## Local Development
24+
25+
This repo uses [`slack-bolt`](https://pypi.org/project/slack-bolt/) from PyPI.
26+
```
27+
28+
7. Report the version change to the user. Do NOT commit — let the user review first.

0 commit comments

Comments
 (0)