pyro-mcp/CHANGELOG.md
Thales Maciel 446f7fce04 Add workspace naming and discovery
Make concurrent workspaces easier to rediscover and resume without relying on opaque IDs alone.

Add optional workspace names, key/value labels, workspace list, and workspace update across the CLI, Python SDK, and MCP surface, and persist last_activity_at so list ordering reflects real mutating activity.

Update the stable contract, install/first-run docs, roadmap, and Python workspace example to teach the new discovery flow, and validate it with focused manager/CLI/API/server coverage plus uv lock, make check, make dist-check, and a real multi-workspace smoke for create, list, update, exec, reorder, and delete.
2026-03-12 23:16:10 -03:00

9.5 KiB

Changelog

All notable user-visible changes to pyro-mcp are documented here.

3.3.0

  • Added first-class workspace naming and discovery across the CLI, Python SDK, and MCP server with pyro workspace create --name/--label, pyro workspace list, pyro workspace update, Pyro.list_workspaces(), Pyro.update_workspace(), and the matching workspace_list / workspace_update MCP tools.
  • Added persisted name, key/value labels, and last_activity_at metadata to workspace create, status, reset, and update payloads, and surfaced compact workspace summaries from workspace list.
  • Tracked last_activity_at on real workspace mutations so humans and chat-driven agents can resume the most recently used workspace without managing opaque IDs out of band.

3.2.0

  • Added model-native live workspace file operations across the CLI, Python SDK, and MCP server with workspace file list|read|write so agents can inspect and edit text files without shell quoting tricks or host-side temp-file glue.
  • Added workspace patch apply for explicit unified text diff application under /workspace, with supported add/modify/delete patch forms and clear recovery guidance via workspace reset.
  • Kept file operations scoped to started workspaces and /workspace, while preserving the existing diff/export/snapshot/service/shell model around the stable workspace product.

3.1.0

  • Added explicit workspace lifecycle stop/start operations across the CLI, Python SDK, and MCP server so a persistent workspace can be paused and resumed without resetting /workspace, snapshots, or command history.
  • Added secondary stopped-workspace disk tools with raw ext4 export plus offline disk list and disk read inspection for guest-backed workspaces.
  • Scrubbed guest runtime-only paths such as /run/pyro-secrets, /run/pyro-shells, and /run/pyro-services before stopped-workspace disk export and offline inspection so those tools stay secondary to the stable workspace product without leaking runtime-only state.

3.0.0

  • Promoted the workspace-first product surface to stable across the CLI, Python SDK, and MCP server, with pyro run retained as the stable one-shot entrypoint.
  • Repositioned the main docs, help text, examples, and walkthrough assets around the stable workspace path: create, sync, exec or shell, services, snapshots/reset, diff/export, and delete.
  • Froze the 3.x public contract around the current workspace surface without introducing new runtime capability in this release.

2.10.0

  • Replaced the workspace-level boolean network toggle with explicit workspace network policies: off, egress, and egress+published-ports.
  • Added localhost-only published TCP ports for workspace services across the CLI, Python SDK, and MCP server, including returned host/guest port metadata on service start, list, and status.
  • Kept published ports attached to services rather than /workspace itself, so host probing works without changing workspace diff, export, shell, or reset semantics.

2.9.0

  • Added explicit workspace secrets across the CLI, Python SDK, and MCP server with pyro workspace create --secret/--secret-file, Pyro.create_workspace(..., secrets=...), and the matching workspace_create MCP inputs.
  • Added per-call secret-to-environment mapping for workspace exec, workspace shell open, and workspace service start, with secret values redacted from command output, shell reads, service logs, and persisted workspace logs.
  • Kept secret-backed workspaces guest-only and fail-closed while re-materializing persisted secret files outside /workspace across workspace creation and reset.

2.8.0

  • Added explicit named workspace snapshots across the CLI, Python SDK, and MCP server with pyro workspace snapshot *, Pyro.create_snapshot() / list_snapshots() / delete_snapshot(), and the matching snapshot_* MCP tools.
  • Added pyro workspace reset and Pyro.reset_workspace() so a workspace can recreate its full sandbox from the immutable baseline or one named snapshot while keeping the same identity.
  • Made reset a full-sandbox recovery path that clears command history, shells, and services while preserving the workspace spec, named snapshots, and immutable baseline.

2.7.0

  • Added first-class workspace services across the CLI, Python SDK, and MCP server with pyro workspace service *, Pyro.start_service() / list_services() / status_service() / logs_service() / stop_service(), and the matching service_* MCP tools.
  • Added typed readiness probes for workspace services with file, TCP, HTTP, and command checks so long-running processes can be started and inspected without relying on shell-fragile flows.
  • Kept service state and logs outside /workspace, and surfaced aggregate service counts from workspace status without polluting workspace diff or export semantics.

2.6.0

  • Added explicit host-out workspace operations across the CLI, Python SDK, and MCP server with pyro workspace export, Pyro.export_workspace(), pyro workspace diff, Pyro.diff_workspace(), and the matching workspace_export / workspace_diff MCP tools.
  • Captured an immutable create-time baseline for every new workspace so later workspace diff compares the live /workspace tree against that original seed state.
  • Kept export and diff separate from command execution and shell state so workspaces can mutate, be inspected, and copy results back to the host without affecting command logs or shell sessions.

2.5.0

  • Added persistent PTY shell sessions across the CLI, Python SDK, and MCP server with pyro workspace shell *, Pyro.open_shell() / read_shell() / write_shell() / signal_shell() / close_shell(), and shell_* MCP tools.
  • Kept interactive shells separate from workspace exec, with cursor-based merged output reads and explicit close/signal operations for long-lived workspace sessions.
  • Updated the bundled guest agent and mock backend so shell sessions persist across separate calls and are cleaned up automatically by workspace delete.

2.4.0

  • Replaced the public persistent-workspace surface from task_* to workspace_* across the CLI, Python SDK, and MCP server in one clean cut with no compatibility aliases.
  • Renamed create-time seeding from source_path to seed_path for workspace creation while keeping later workspace sync push imports on source_path.
  • Switched persisted local records from tasks/*/task.json to workspaces/*/workspace.json and updated the main docs/examples to the workspace-first language.

2.3.0

  • Added task sync push across the CLI, Python SDK, and MCP server so started task workspaces can import later host-side directory or archive content without being recreated.
  • Reused the existing safe archive import path with an explicit destination under /workspace, including host-side and guest-backed task support.
  • Documented sync as a non-atomic update path in 2.3.0, with delete-and-recreate as the recovery path if a sync fails partway through.

2.2.0

  • Added seeded task creation across the CLI, Python SDK, and MCP server with an optional source_path for host directories and .tar / .tar.gz / .tgz archives.
  • Seeded task workspaces now persist workspace_seed metadata so later status calls report how /workspace was initialized.
  • Reused the task workspace model from 2.1.0 while adding the first explicit host-to-task content import path for repeated command workflows.

2.1.0

  • Added the first persistent task workspace alpha across the CLI, Python SDK, and MCP server.
  • Shipped task create, task exec, task status, task logs, and task delete as an additive surface alongside the existing one-shot VM contract.
  • Made task workspaces persistent across separate CLI/SDK/MCP processes by storing task records on disk under the runtime base directory.
  • Added per-task command journaling so repeated workspace commands can be inspected through pyro task logs or the matching SDK/MCP methods.

2.0.1

  • Fixed the default pyro env pull path so empty local profile directories no longer produce broken cached installs or contradictory "Pulled" / "not installed" states.
  • Hardened cache inspection and repair so broken environment symlinks are treated as uninstalled and repaired on the next pull.
  • Added human-mode phase markers for pyro env pull and pyro run to make longer guest flows easier to follow from the CLI.
  • Corrected the Python lifecycle example and docs to match the current exec_vm / vm_exec auto-clean semantics.

2.0.0

  • Made guest execution fail closed by default; host compatibility execution now requires explicit opt-in with --allow-host-compat or allow_host_compat=True.
  • Switched the main CLI commands to human-readable output by default and kept --json for structured output.
  • Added default sizing of 1 vCPU / 1024 MiB across the CLI, Python SDK, and MCP tools.
  • Unified environment cache resolution across pyro, Pyro, and pyro doctor.
  • Kept the stable environment-first contract centered on vm_run, pyro run, and curated OCI-published environments.

1.0.0

  • Shipped the first stable public pyro CLI, Pyro SDK, and MCP server contract.
  • Replaced the old bundled-profile model with curated named environments.
  • Switched distribution to a thin Python package plus official OCI environment artifacts.
  • Published the initial official environment catalog on public Docker Hub.
  • Added first-party environment pull, inspect, prune, and one-shot run flows.