gabriel / musehub public
refactor BREAKING task/rename-types-package #1 / 1
gabriel · 164 days ago · Apr 14, 2026 · Diff

refactor: rename musehub/muse_contracts → musehub/types; wire contracts as dev dep

- Moves musehub/types/ (json_types, pydantic_types, mcp_types, compression, hash_utils) from the misleading musehub/muse_contracts/ name — disambiguates from the external muse_contracts (contracts repo) package - Updates all 161 import sites (musehub/ + tests/) via sed bulk replace - Removes muse_contracts from runtime dependencies (was never a runtime dep — only tests) - Adds muse_contracts to dev dependencies with correct version pin - Adds mypy_path = ../contracts so mypy resolves the external contracts package directly from source without requiring a local pip install

sha256:f784c7faf986e5fa0f71f688d85395a3a4e39b3a7ef4f960b52f940db4d66009 sha
+1 ~299 symbols
sha256:36e70de588f6b2de21173dafb87a8b5ec25057a69282f2da45c49665f970fdf4 snapshot
+1
symbol added
~299
symbols modified
0
dead code introduced
Semantic Changes 300 symbols
~ musehub/api/routes/mcp.py .py 2 symbols modified
~ musehub/api/routes/musehub/repos.py .py 1 symbol modified
~ musehub/api/routes/musehub/topics.py .py 1 symbol modified
~ musehub/api/routes/musehub/ui.py .py 2 symbols modified
~ musehub/api/routes/protocol.py .py 1 symbol modified
~ musehub/api/routes/wire.py .py 1 symbol modified
~ musehub/db/coord_models.py .py 2 symbols modified
~ musehub/db/muse_cli_models.py .py 2 symbols modified
~ musehub/db/musehub_models.py .py 2 symbols modified
~ musehub/db/schema_check.py .py 1 symbol modified
~ musehub/debug/memory.py .py 1 symbol modified
~ musehub/logging_config.py .py 1 symbol modified
~ musehub/mcp/context.py .py 2 symbols modified
~ musehub/mcp/elicitation.py .py 2 symbols modified
~ musehub/mcp/prompts.py .py 1 symbol modified
~ musehub/mcp/resources.py .py 2 symbols modified
~ musehub/mcp/session.py .py 1 symbol modified
~ musehub/mcp/sse.py .py 2 symbols modified
~ musehub/mcp/stdio_server.py .py 1 symbol modified
~ musehub/mcp/tools/__init__.py .py 2 symbols modified
~ musehub/mcp/write_tools/labels.py .py 1 symbol modified
~ musehub/models/coord.py .py 1 symbol modified
~ musehub/models/musehub.py .py 3 symbols modified
~ musehub/models/wire.py .py 3 symbols modified
~ musehub/muse_cli/db.py .py 1 symbol modified
~ musehub/muse_cli/snapshot.py .py 1 symbol modified
~ musehub/protocol/responses.py .py 1 symbol modified
~ musehub/services/musehub_context.py .py 1 symbol modified
~ musehub/services/musehub_coord.py .py 1 symbol modified
~ musehub/services/musehub_credits.py .py 1 symbol modified
~ musehub/services/musehub_jobs.py .py 1 symbol modified
~ musehub/services/musehub_profile.py .py 1 symbol modified
~ musehub/services/musehub_snapshot.py .py 1 symbol modified
~ musehub/storage/backends.py .py 1 symbol modified
~ musehub/worker.py .py 1 symbol modified
~ pyproject.toml .toml 1 symbol added, 6 symbols modified
+ mypy_path variable variable mypy_path L0–0
~ dev
~ tool
~ mypy
~ tests/factories.py .py 1 symbol modified
~ tests/test_agent_registration.py .py 1 symbol modified
~ tests/test_api_snapshots.py .py 1 symbol modified
~ tests/test_background_jobs.py .py 1 symbol modified
~ tests/test_collaborators.py .py 1 symbol modified
~ tests/test_context.py .py 1 symbol modified
~ tests/test_coordination.py .py 2 symbols modified
~ tests/test_divergence.py .py 1 symbol modified
~ tests/test_domains.py .py 2 symbols modified
~ tests/test_load_readiness.py .py 1 symbol modified
~ tests/test_logging_alerting.py .py 1 symbol modified
~ tests/test_mcp_dispatcher.py .py 1 symbol modified
~ tests/test_mcp_protocol.py .py 2 symbols modified
~ tests/test_mcp_read_tools.py .py 1 symbol modified
~ tests/test_mcp_smoke.py .py 2 symbols modified
~ tests/test_mcp_streamable_http.py .py 1 symbol modified
~ tests/test_mcp_write_tools.py .py 2 symbols modified
~ tests/test_merge_proposals.py .py 2 symbols modified
~ tests/test_musehub_api_contracts.py .py 1 symbol modified
~ tests/test_musehub_auth.py .py 1 symbol modified
~ tests/test_musehub_context.py .py 1 symbol modified
~ tests/test_musehub_coord.py .py 2 symbols modified
~ tests/test_musehub_forks.py .py 1 symbol modified
~ tests/test_musehub_issues.py .py 2 symbols modified
~ tests/test_musehub_labels.py .py 2 symbols modified
~ tests/test_musehub_openapi.py .py 1 symbol modified
~ tests/test_musehub_pagination.py .py 1 symbol modified
~ tests/test_musehub_proposals.py .py 2 symbols modified
~ tests/test_musehub_repos.py .py 1 symbol modified
~ tests/test_musehub_search.py .py 1 symbol modified
~ tests/test_musehub_topics.py .py 1 symbol modified
~ tests/test_musehub_ui_new_repo.py .py 1 symbol modified
~ tests/test_musehub_webhooks.py .py 2 symbols modified
~ tests/test_object_integrity.py .py 2 symbols modified
~ tests/test_pagination.py .py 1 symbol modified
~ tests/test_perf_push_pipeline.py .py 1 symbol modified
~ tests/test_rate_limiting.py .py 2 symbols modified
~ tests/test_releases.py .py 2 symbols modified
~ tests/test_repository_service.py .py 1 symbol modified
~ tests/test_schema_check.py .py 1 symbol modified
~ tests/test_search.py .py 1 symbol modified
~ tests/test_sessions.py .py 1 symbol modified
~ tests/test_snapshot_entries.py .py 1 symbol modified
~ tests/test_static_assets.py .py 1 symbol modified
~ tests/test_ui_ssr.py .py 1 symbol modified
~ tests/test_webhooks.py .py 2 symbols modified
~ tests/test_wire_compression.py .py 1 symbol modified
~ tests/test_wire_protocol.py .py 2 symbols modified
~ tests/test_wire_tags.py .py 2 symbols modified
~ musehub/types/compression.py .py moved from musehub/muse_contracts/compression.py
~ musehub/types/hash_utils.py .py moved from musehub/muse_contracts/hash_utils.py; 2 modified
~ musehub/types/json_types.py .py moved from musehub/muse_contracts/json_types.py
~ musehub/types/mcp_types.py .py moved from musehub/muse_contracts/mcp_types.py; 4 modified
~ musehub/types/pydantic_types.py .py moved from musehub/muse_contracts/pydantic_types.py; 3 modified
← Older Oldest on task/rename-types-package
All commits
Newer → Latest on task/rename-types-package

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:f784c7faf986e5fa0f71f688d85395a3a4e39b3a7ef4f960b52f940db4d66009 --body "your comment"