Skip to content

Commit 80d8001

Browse files
Anil-matchaclaude
andcommitted
chore: bump version to 0.2.6
- Fix version inconsistency: __version__, pyproject.toml, npm/package.json, and MCP serverInfo all now report the same version - MCP server version is now derived from __version__ instead of hardcoded Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e77e129 commit 80d8001

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

muapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.0"
1+
__version__ = "0.2.6"

muapi/commands/mcp_server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import typer
1717

18-
from .. import client as api_client
18+
from .. import __version__, client as api_client
1919
from ..config import get_api_key
2020

2121
app = typer.Typer(help="Run muapi as an MCP server for AI agent integration.")
@@ -831,7 +831,7 @@ def _handle_request(request: dict) -> str:
831831
return _mcp_response(req_id, {
832832
"protocolVersion": "2025-06-18",
833833
"capabilities": {"tools": {"listChanged": False}},
834-
"serverInfo": {"name": "muapi", "version": "0.1.0"},
834+
"serverInfo": {"name": "muapi", "version": __version__},
835835
})
836836

837837
if method == "tools/list":
@@ -894,7 +894,7 @@ def serve(
894894
)
895895
sys.exit(3)
896896

897-
sys.stderr.write(json.dumps({"status": "muapi MCP server ready", "tools": len(TOOLS), "version": "0.1.0"}) + "\n")
897+
sys.stderr.write(json.dumps({"status": "muapi MCP server ready", "tools": len(TOOLS), "version": __version__}) + "\n")
898898
sys.stderr.flush()
899899

900900
for line in sys.stdin:

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "muapi-cli",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"description": "Official CLI for muapi.ai \u2014 generate images, videos, and audio from your terminal",
55
"keywords": [
66
"muapi",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "muapi-cli"
7-
version = "0.2.5"
7+
version = "0.2.6"
88
description = "Official CLI for muapi.ai — generative media at your fingertips"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)