()
| 66 | |
| 67 | |
| 68 | def archive_specs() -> dict[str, tuple[str, str]]: |
| 69 | specs: dict[str, tuple[str, str]] = {} |
| 70 | for target in TARGETS: |
| 71 | binary = "codebase-memory-mcp.exe" if target.startswith("windows-") else "codebase-memory-mcp" |
| 72 | suffix = ".zip" if target.startswith("windows-") else ".tar.gz" |
| 73 | specs[f"codebase-memory-mcp-{target}{suffix}"] = (target, binary) |
| 74 | if ( |
| 75 | target.startswith(("darwin-", "windows-")) |
| 76 | or target.endswith("-portable") |
| 77 | ): |
| 78 | specs[f"codebase-memory-mcp-{target}.mcpb"] = ( |
| 79 | target, |
| 80 | f"server/{binary}", |
| 81 | ) |
| 82 | return specs |
| 83 | |
| 84 | |
| 85 | ARCHIVES = archive_specs() |
no outgoing calls
no test coverage detected