Skip to content

Commit 10781f4

Browse files
committed
chore: final cleanup — fix workflows, remaining hivemind refs, lock files
- pypi-publish.yml: standalone tag-triggered publisher (matches PyPI trusted publisher config) - release-on-tag.yml: remove duplicate pypi-publish job - Delete dead docs.yml (superseded by push-version-docs in release-on-tag.yml) - worker/Dockerfile: hivemind-worker→devsper-worker, hivemind-ai→devsper, HIVEMIND_*→DEVSPER_* - worker/Cargo.lock: hivemind-worker→devsper-worker - scripts/*.sh: uv run hivemind→uv run devsper - .env.example: config path and env var prefixes updated - pyproject.toml: fix duplicate entry point, add hivemind backward compat alias - website/versioned_sidebars: What is hivemind→What is devsper - website lock files: regenerated with devsper-docs name - LICENSE, custom.css: Hivemind→Devsper in headers
1 parent 71a8063 commit 10781f4

14 files changed

Lines changed: 749 additions & 3577 deletions

File tree

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copy to .env and set your API keys.
22
# python-dotenv loads these when the provider router is used (and in examples/_config.py).
3-
# For worker/planner models and paths, you can use ~/.config/hivemind/config.toml instead
3+
# For worker/planner models and paths, you can use ~/.config/devsper/config.toml instead
44
# (see README Configuration). API keys stay in .env or environment only.
55

66
OPENAI_API_KEY=
@@ -24,5 +24,5 @@ GOOGLE_API_KEY=
2424
# AZURE_ANTHROPIC_DEPLOYMENT_NAME=claude-opus-4-6-2
2525

2626
# --- Override models used by examples (default with Azure: gpt-4o / gpt-5-mini, claude-opus-4-6-2) ---
27-
# HIVEMIND_WORKER_MODEL=gpt-5-mini
28-
# HIVEMIND_PLANNER_MODEL=gpt-4o
27+
# DEVSPER_WORKER_MODEL=gpt-5-mini
28+
# DEVSPER_PLANNER_MODEL=gpt-4o

.github/workflows/docs.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/pypi-publish.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
# Legacy: PyPI is now published from release-on-tag.yml (same workflow as the release).
2-
# This file is kept for reference. Creating a release with GITHUB_TOKEN does not trigger
3-
# release:published, so this workflow would not run on tag push. Configure PyPI Trusted
4-
# Publisher with workflow filename release-on-tag.yml instead.
1+
# Publish to PyPI on version tag push using Trusted Publisher (OIDC).
2+
# PyPI Trusted Publisher config: workflow filename = pypi-publish.yml
53
#
6-
# See: https://docs.pypi.org/trusted-publishers/adding-a-published-publisher/
4+
# Triggered by: git tag v1.6.0 && git push origin v1.6.0
75

86
name: Publish to PyPI
97

108
on:
11-
release:
12-
types: [published]
9+
push:
10+
tags:
11+
- 'v*'
1312

1413
jobs:
1514
pypi-publish:
1615
runs-on: ubuntu-latest
1716
permissions:
18-
id-token: write
17+
id-token: write
1918
steps:
2019
- name: Checkout
2120
uses: actions/checkout@v4
@@ -33,3 +32,5 @@ jobs:
3332

3433
- name: Publish to PyPI
3534
uses: pypa/gh-action-pypi-publish@release/v1
35+
with:
36+
skip-existing: true

.github/workflows/release-on-tag.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,28 +96,4 @@ jobs:
9696
git diff --staged --quiet || git commit -m "chore(docs): add version ${{ steps.version.outputs.version }}"
9797
git push origin HEAD:main
9898
99-
pypi-publish:
100-
needs: release
101-
runs-on: ubuntu-latest
102-
permissions:
103-
contents: read
104-
id-token: write
105-
steps:
106-
- name: Checkout
107-
uses: actions/checkout@v4
10899
109-
- name: Set up Python
110-
uses: actions/setup-python@v5
111-
with:
112-
python-version: "3.12"
113-
114-
- name: Install build
115-
run: pip install build
116-
117-
- name: Build package
118-
run: python -m build
119-
120-
- name: Publish to PyPI
121-
uses: pypa/gh-action-pypi-publish@release/v1
122-
with:
123-
skip-existing: true

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Hivemind - Orchestrate distributed swarms of AI agents
2-
Copyright (C) 2026 Hivemind authors
1+
Devsper - Orchestrate distributed swarms of AI agents
2+
Copyright (C) 2026 Devsper authors
33

44
This program is free software: you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Worker = "https://github.com/devsper-com/runtime/pkgs/container/devsper-worker"
4747

4848
[project.scripts]
4949
devsper = "devsper.cli:main"
50-
devsper = "devsper.cli:main" # backward compat alias
50+
hivemind = "devsper.cli:main" # backward compat alias
5151

5252
[project.optional-dependencies]
5353
ollama = []

scripts/test_tool_scoring_cli.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ echo "=== 1. Unit tests ==="
88
uv run python -m pytest tests/test_tool_scoring.py -v --tb=short
99

1010
echo ""
11-
echo "=== 2. hivemind tools (list) ==="
12-
uv run hivemind tools
11+
echo "=== 2. devsper tools (list) ==="
12+
uv run devsper tools
1313

1414
echo ""
15-
echo "=== 3. hivemind tools --poor ==="
16-
uv run hivemind tools --poor
15+
echo "=== 3. devsper tools --poor ==="
16+
uv run devsper tools --poor
1717

1818
echo ""
19-
echo "=== 4. hivemind doctor (includes scoring DB info) ==="
20-
uv run hivemind doctor
19+
echo "=== 4. devsper doctor (includes scoring DB info) ==="
20+
uv run devsper doctor
2121

2222
echo ""
23-
echo "=== 5. hivemind analytics (includes tool report when scores exist) ==="
24-
uv run hivemind analytics
23+
echo "=== 5. devsper analytics (includes tool report when scores exist) ==="
24+
uv run devsper analytics
2525

2626
echo ""
2727
echo "=== Done: CLI checks passed ==="

scripts/test_tool_scoring_full.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ echo "=== 1. Unit tests ==="
88
uv run python -m pytest tests/test_tool_scoring.py -v --tb=short
99

1010
echo ""
11-
echo "=== 2. hivemind tools ==="
12-
uv run hivemind tools
11+
echo "=== 2. devsper tools ==="
12+
uv run devsper tools
1313

1414
echo ""
15-
echo "=== 3. hivemind tools --category research ==="
16-
uv run hivemind tools --category research
15+
echo "=== 3. devsper tools --category research ==="
16+
uv run devsper tools --category research
1717

1818
echo ""
19-
echo "=== 4. hivemind tools --poor ==="
20-
uv run hivemind tools --poor
19+
echo "=== 4. devsper tools --poor ==="
20+
uv run devsper tools --poor
2121

2222
echo ""
23-
echo "=== 5. hivemind doctor ==="
24-
uv run hivemind doctor
23+
echo "=== 5. devsper doctor ==="
24+
uv run devsper doctor
2525

2626
echo ""
27-
echo "=== 6. hivemind analytics ==="
28-
uv run hivemind analytics
27+
echo "=== 6. devsper analytics ==="
28+
uv run devsper analytics
2929

3030
echo ""
3131
echo "=== Done: full CLI test passed ==="

0 commit comments

Comments
 (0)