From 0a730584eede23ecd3cced3287806f23fd5b32f9 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sun, 13 Sep 2026 14:24:31 +0900 Subject: chore(release): prepare version 0.3.0 Bump the project and package versions to 0.3.0 and expose the same version through FastMCP server metadata. Add a regression test that keeps pyproject, package, and MCP server versions aligned. Add a 0.3.0 changelog covering the AudioContent migration, wav_path removal, isError semantics, security hardening, and other breaking changes. Update README links so project documentation and samples remain accessible from the rendered PyPI description. Declare MIT and project URLs in package metadata, and restrict source distributions to release documentation, source code, and tests so generated audio, caches, local plans, and unrelated working files cannot leak into published artifacts. Release verification completed with Ruff, 488 passing tests, uv lock validation, wheel CLI smoke testing, sdist content auditing, and twine checks for both wheel and sdist. --- src/mml_composemusic_mcp/__init__.py | 3 +++ src/mml_composemusic_mcp/server.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mml_composemusic_mcp/__init__.py b/src/mml_composemusic_mcp/__init__.py index e69de29..ecf5eb2 100644 --- a/src/mml_composemusic_mcp/__init__.py +++ b/src/mml_composemusic_mcp/__init__.py @@ -0,0 +1,3 @@ +"""MML Compose Music MCP server package.""" + +__version__ = "0.3.0" diff --git a/src/mml_composemusic_mcp/server.py b/src/mml_composemusic_mcp/server.py index f0c8bd1..e647539 100644 --- a/src/mml_composemusic_mcp/server.py +++ b/src/mml_composemusic_mcp/server.py @@ -11,6 +11,7 @@ from fastmcp.tools import ToolResult from fastmcp.utilities.types import Audio from mcp.types import TextContent +from . import __version__ from .ir import ErrorCode, ErrorDetail, ErrorPhase, NoteSequence from .lexer import tokenize from .parser_ppmck import parse_ppmck @@ -20,7 +21,7 @@ from .semantic_pyxel import analyze_pyxel from .synthesizer import build_channel_summary, synthesize, write_wav from .templates import TEMPLATES, get_template -mcp = FastMCP("mml-composemusic-mcp") +mcp = FastMCP("mml-composemusic-mcp", version=__version__) OUTPUT_DIR = Path("./data") -- cgit v1.2.3