diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-09-12 22:35:10 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-09-12 22:35:10 +0900 |
| commit | a61cb74f739e9fadb5a3cfb0feb7d03254921985 (patch) | |
| tree | 9efbf3eb940d5368edbea06bc7e51488952f9261 /script | |
| parent | 546eca3591515b26516922860fe2cf1b573a5f82 (diff) | |
アプリ名を mcp-sd15 から generate-image-sd15-mcp に変更
配布パッケージ名、CLIコマンド名、MCPサーバ名、文書中のアプリ名を
全て generate-image-sd15-mcp に統一した。Pythonパッケージ名
(mcp_sd15)とディレクトリ構造は変更せず、import文への影響なし。
変更内容:
- pyproject.toml: name="mcp-sd15" → "generate-image-sd15-mcp"
project.scripts: mcp-sd15 → generate-image-sd15-mcp
- cli.py: argparse prog="mcp-sd15" → "generate-image-sd15-mcp"
- server.py: MCPServer("mcp-sd15") → "generate-image-sd15-mcp"
- README.md: 見出しと起動コマンドを更新
- doc/config.md: アプリ名と起動コマンド例を更新
- doc/mcp.md: 概要のアプリ名を更新
- doc/Design.md: モジュール構成、設定オブジェクト、スクリプト名を更新
- .github/copilot-instructions.md: リポジトリ指示のアプリ名を更新
- script/smoke_streamable_http.py: docstringのアプリ名を更新
- script/smoke_matrix.py: docstringのアプリ名を更新
- uv.lock: パッケージ名を更新
検証:
- ruff format/check、pyright 0 errors、pytest 61 passed
- uv run generate-image-sd15-mcp --version でコマンド名を確認
Diffstat (limited to 'script')
| -rw-r--r-- | script/smoke_matrix.py | 2 | ||||
| -rw-r--r-- | script/smoke_streamable_http.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/smoke_matrix.py b/script/smoke_matrix.py index 7fc3ec2..de28a74 100644 --- a/script/smoke_matrix.py +++ b/script/smoke_matrix.py @@ -1,7 +1,7 @@ """Run generate_image across all checkpoint/VAE/LoRA/scheduler combinations. For each pattern, this script writes a temporary TOML config, starts the -``mcp-sd15`` server with ``streamable-http`` transport, calls ``generate_image`` +``generate-image-sd15-mcp`` server with ``streamable-http`` transport, calls ``generate_image`` through the HTTP endpoint, saves the PNG, and records the result. Usage:: diff --git a/script/smoke_streamable_http.py b/script/smoke_streamable_http.py index 5c762a2..a55f518 100644 --- a/script/smoke_streamable_http.py +++ b/script/smoke_streamable_http.py @@ -1,6 +1,6 @@ """Verify generate_image over the Streamable HTTP transport with the real GPU backend. -This script connects to a running ``mcp-sd15`` server that was started with +This script connects to a running ``generate-image-sd15-mcp`` server that was started with ``transport = "streamable-http"`` and calls ``generate_image`` through the HTTP endpoint. It exercises the full request path: HTTP connect → MCP initialize → tools/call → PNG response. |
