Skip to content

Releases

v0.8.2

Choose a tag to compare

@github-actions github-actions released this 24 Nov 00:05
0b887d0
Merge pull request #92 from roscocheeta/dev

Release v0.8.2: Dockhand v1.0.59 Support, 100% Test Coverage & Policy Enforcement (Closes #89)

v0.8.1 - Fix Phantom Required Args Schema & Misplaced Docstrings

Choose a tag to compare

@roscocheeta roscocheeta released this 19 Nov 00:14
8ac0a8a

What's Changed

Bug Fixes

  • Fix #82: Removed *args: Any\ from 76 MCP tool signatures across 9 tool modules so FastMCP no longer exposes a phantom required \�rgs\ parameter in tool JSON schemas.
  • Docstrings: Fixed 36 misplaced docstrings across 6 tool modules so FastMCP tool descriptions render properly.

Testing & Engineering Guidelines

  • Added \ ests/test_mcp_contracts.py\ validating FastMCP schema/signature contracts across all 182 tools and end-to-end \call_tool()\ dispatch.
  • Updated \AGENTS.md\ with contract testing and variadic-parameter rules.

v0.8.0 - Result Pagination & In-Place Container Runtime Updates

Choose a tag to compare

@roscocheeta roscocheeta released this 18 Nov 23:07
7af4656

What's New

  • Result Pagination (P3): Added optional limit and offset pagination (returning {"items", "total", "limit", "offset", "hasMore"} when limit is set, preserving list when limit=None) across list_containers, list_images, list_stacks, list_git_stacks, list_networks, and list_volumes, with deterministic pre-pagination sorting and raw-ID wildcard search.
  • In-Place Container Runtime Updates (P4): Added update_container_runtime targeting POST /api/containers/{id}/update-runtime for live CPU (cpus, cpu_shares, cpu_period, cpu_quota, cpuset_cpus, cpuset_mems), memory (memory, memory_reservation, memory_swap with exact Decimal size-string parsing), PIDs, blkio, and restart-policy updates without recreating containers.
  • Documentation & Automation: Updated README.md (182 Tools), CONTRIBUTING.md, AGENTS.md, and .github/dependabot.yml (weekly grouped updates targeting dev, ignoring mcp >= 2.0.0).
  • Verification: 202 tests passing (96% coverage), CodeQL & CodeRabbit clean, pip-audit & Bandit clean.

v0.7.3 - Security Hardening & Dependency CVE Fixes

Choose a tag to compare

@roscocheeta roscocheeta released this 17 Nov 07:00
0132f9a

What's New

  • Security Hardening:
    • Reject empty and dot-segment (., ..) path parameters in \encode_path().
    • Validate Git repository URLs (\�alidate_repo_url) and notification webhook URLs (\�alidate_http_url).
    • Sanitize \upload_container_file\ filenames, enforce strict base64 validation, and cap upload size at 10 MiB.
    • Close secret redaction gaps across \list_config_sets, \create_git_repository, \update_git_repository, Git \Url\ fields, \https://token@host\ userinfo, YAML multiline block scalars, and \DOCKHAND_URL\ logs/errors.
    • Implement \DOCKHAND_DISABLE_TOOLS\ filtering and expand \destructiveHint=True\ coverage.
  • Bug Fixes:
    • Fix missing
      esolve_environment_id()\ calls in \environments.py, \containers.py, and \system.py.
  • CI & Dependencies:
    • Fix \pip-audit\ in .github/workflows/security.yml\ to audit exported \uv.lock\ dependencies.
    • Upgrade \certifi\ (\2026.10.23), \mcp\ (\1.30.0), and \pyjwt\ (\2.15.1) to resolve 21 known CVEs.
    • Add .github/dependabot.yml\ targeting \dev\ and mark CodeQL as enabled in \README.md.

v0.7.2 - Public Repository Readiness

Choose a tag to compare

@roscocheeta roscocheeta released this 17 Nov 05:37
ab55aa2

What's New

  • Licensing & Security Policy: Added \LICENSE\ (MIT) and \SECURITY.md\ (vulnerability reporting policy).
  • Documentation & Configuration: Updated .env.example\ with \DOCKHAND_API_TOKEN\ and optional variables; updated \README.md\ tool count to \181 Tools.
  • Packaging & CI: Enriched \pyproject.toml\ metadata (\�uthors, \keywords, \classifiers, [project.urls]) and added Python \3.13\ to the CI test matrix.

v0.7.1 - Dockhand v1.0.58 Support

Choose a tag to compare

@roscocheeta roscocheeta released this 17 Nov 02:47
8810da0

What's New

  • Korean Locale Support: Documented \ko\ (Korean) locale support in \set_language_preference\ and \README.md\ (matching Dockhand v1.0.58).
  • Git Credential UX: Clarified in \create_git_repository, \update_git_repository, and \create_git_stack\ docstrings that SSH URLs (\ssh://...\ or \git@...) require an SSH key credential rather than a username/password credential.
  • Testing & Metadata: Added test coverage for Korean (\ko) locale in \ ests/test_misc.py\ and updated package/issue template versions to \�0.7.1\ / \�1.0.58.

Closes #50

v0.7.0 - Upstream Dockhand v1.0.57 Alignment & Stack Conversion

Choose a tag to compare

@roscocheeta roscocheeta released this 09 Nov 23:33
826ed92

What's Changed in v0.7.0

Upstream Dockhand v1.0.57 Alignment

  • Stack Management Conversion:
    • convert_stack_to_git: Convert internal/local compose stacks to Git tracking (sourceType: 'git') via POST /api/stacks/{name}/attach with optional deploy_now=True (streaming deploy logs) without recreating containers.
    • convert_git_stack_to_local: Convert Git-managed stacks back to internal/local management (sourceType: 'internal') via POST /api/git/stacks/{id}/detach, materializing compose definitions and environment files on disk while preserving database-managed variables. Supports human-readable stack names and numeric IDs.
  • Extended Internationalization:
    • set_language_preference: Added support for Ukrainian (uk), Turkish (tr), and Brazilian Portuguese (pt-BR).
  • Container File Operations:
    • Robust handling and test coverage for filenames containing special characters ({, }, =).
  • Token Optimization & Security:
    • Redaction of sensitive credentials across stack conversion payloads.
    • Automatic stack ID resolution for git stack detachment.

Full Changelog: v0.6.0...v0.7.0

v0.6.0 - Upstream Dockhand v1.0.56 Alignment & Stack Redeploy Policies

Choose a tag to compare

@roscocheeta roscocheeta released this 02 Nov 22:22
635c5b5

Release v0.6.0: Upstream Dockhand v1.0.56 Alignment & Stack Redeploy Policies

Summary of Changes

1. Stack Redeploy & Build Policies (Dockhand v1.0.56)

  • Extended deploy_stack, update_stack_compose, create_stack, deploy_git_stack, and sync_git_stack with fine-grained redeployment options:
    • respect_pull_policy: bool: Honors each service's individual pull_policy (e.g. never, build, missing) rather than forcing a universal re-pull.
    • pull_base: bool: Triggers docker compose build --pull before starting services, ensuring base images in Dockerfiles are refreshed.
    • no_cache: bool: Triggers docker compose build --no-cache on rebuilds.
    • force_recreate: bool: Recreates containers even if configurations and images are unchanged.

2. Token Economy & Held Update Release Notes

  • In get_pending_container_updates, surfaced release notes for held container updates during their cooldown periods (introduced in Dockhand v1.0.56 #1824).
  • Added compact: bool = False and include_release_notes: bool = True with default 2048-byte truncation guardrails to prevent large changelogs from bloating LLM context windows.

3. Wildcard Search Filtering

  • Added search: str | None = None filter parameter to list_containers, list_stacks, and list_git_stacks.
  • Supports standard wildcards (* and ?) matching against container/stack names and display names (e.g., prod-*, *arr*).

4. Interface Locales & Strict Security Validation

  • set_language_preference now documents and supports Spanish (es) and Russian (ru) locales alongside English, German, French, etc.
  • Added strict regular expression validation (^[a-zA-Z]{2}(?:-[a-zA-Z0-9]{2,4})?$) to reject malformed or injected locale strings.

5. Quality & Security Gates

  • 182/182 unit and integration tests passing (96% statement coverage).
  • Pip-audit: 0 known vulnerabilities.
  • Bandit SAST: 0 medium or high severity findings.
  • Gitleaks: 0 secret leaks identified across full repository history.
  • Packaging: .tar.gz sdist and .whl wheel verified via uv build.

v0.5.0 - Agent Ergonomics: Optional environment_id, Git Stack Name Resolution & Compact Inspect

Choose a tag to compare

@roscocheeta roscocheeta released this 30 Oct 23:18
4f23125

What's Changed

🚀 Agent Ergonomics & Performance Enhancements

  • Optional environment_id Auto-Resolution: environment_id: int | None = None is now optional across all tools (containers, stacks, git stacks, images, networks, volumes, security, tags). Automatically resolves to the default/active environment in single-host setups or via DOCKHAND_DEFAULT_ENV environment variable, avoiding throwaway list_environments calls. If multiple environments exist without a default, raises a helpful disambiguation error listing available IDs.
  • Git Stack Lookups by Human-Readable Name: Tools like get_git_stack, sync_git_stack, deploy_git_stack, delete_git_stack, update_git_stack now accept stack_id: int | str. Passing a human name (e.g. "radarr") automatically resolves to its integer stack ID, eliminating the need to pre-query list_git_stacks.
  • Token Economy & Compact Container Inspect Mode: Added compact: bool = False to get_container and inspect_container. When enabled, drops bulky Docker engine internals (graph drivers, image layers, network endpoint options) while preserving essential state, health, port bindings, mounts, networks, restart policy, and secret-redacted environment variables. Reduces context footprint by up to 65%.
  • Container State Filtering: Added optional status: str | None = None filter to list_containers (e.g. status="running" or status="exited").
  • Hatchling Wheel Configuration: Configured tool.hatch.build.targets.wheel package mapping for dockhand_mcp.

🧪 Test Suite & Quality

  • Added unit and integration tests in tests/test_phase2_resolution.py verifying single environment auto-resolution, environment variable overrides, disambiguation errors, git stack name resolution, and compact inspect payload stripping.
  • Test suite expanded to 176 passing tests with 96% total coverage across all modules.

Full Changelog: v0.4.0...v0.5.0

v0.4.0: Agent Ergonomics & GitOps Deployments

Choose a tag to compare

@roscocheeta roscocheeta released this 30 Oct 22:40
9aed6f0

Release v0.4.0 - Phase 1 Enhancements

  • Git Stack Upstream Mapping: Fixed field mapping in _compact_git_stack to match upstream Dockhand keys (stackName, repository.url, repository.branch, syncStatus, composePath).
  • Atomic GitOps Deployment: Added deploy=True parameter to sync_git_stack and introduced sync_and_deploy_git_stack. Added _compact_sync_result to strip large file digest lists.
  • Shell Strings in Exec: Allowed cmd in run_container_exec to accept shell strings (automatically executed via /bin/sh -c) alongside string lists.
  • Enhanced Log Filtering: Added timestamps: bool and relative duration/ISO/epoch since parameter to get_container_logs with automatic Unix epoch conversion.
  • Batch Operations: Documented schemas and supported plain string lists in execute_batch_operation.