Skip to main content

Workspace management package for `workspaces` folder shared between different packages.

Project description

claude-code gemini-cli codex pytest codecov

workspace-agent

Workspace management package for out folder shared between different packages.

Logo

Getting Started

Installation

uv add workspace-agent 

Usage

Command Line Interface (CLI)

  1. Create Workspace (along with folders and subfolders)
> workspace create test-workspace

# Expected Output Workspace created at: /Users/ppak/GitHub/workspace-agent/workspaces/test-workspace

> workspace create test-workspace test-folder

# Expected Output Workspace folder created at: /Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder

> workspace create test-workspace test-folder test-subfolder

# Expected Output Workspace folder created at: /Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder/test-subfolder
  1. Read Workspace
> workspace read test-workspace

# Expected Output
Workspace(
    name='test-workspace',
    path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace'),
    folders={
        'test-folder': WorkspaceFolder(
            name='test-folder',
            path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder'),
            folders={'test-subfolder': WorkspaceFolder(name='test-subfolder', path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder/test-subfolder'), folders={}, files=[])},
            files=[]
        )
    },
    version='0.0.2',
    workspaces_path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces'),
    config_file='workspace.json'
)

> workspace read test-workspace test-folder

# Expected Output
WorkspaceFolder(
    name='test-folder',
    path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder'),
    folders={'test-subfolder': WorkspaceFolder(name='test-subfolder', path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder/test-subfolder'), folders={}, files=[])},
    files=[]
)

> workspace read test-workspace test-folder test-subfolder

# Expected Output
WorkspaceFolder(name='test-subfolder', path=PosixPath('/Users/ppak/GitHub/workspace-agent/workspaces/test-workspace/test-folder/test-subfolder'), folders={}, files=[])

Model Context Protocol (MCP)

  1. Install MCP tools and Agent (defaults to claude-code)
> workspace mcp install
  • Explicit methods include claude-code, codex, and gemini-cli

    > workspace mcp install claude-code
    > workspace mcp install codex
    > workspace mcp install gemini-cli 
    
  • If updating, you will need to remove the previously existing MCP tools

    > workspace mcp uninstall claude-code
    > workspace mcp uninstall codex
    > workspace mcp uninstall gemini-cli 
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workspace_agent-0.1.2.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

workspace_agent-0.1.2-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file workspace_agent-0.1.2.tar.gz.

File metadata

  • Download URL: workspace_agent-0.1.2.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for workspace_agent-0.1.2.tar.gz
Algorithm Hash digest
SHA256 64249e96432a831aaf1e5e54642ddee792bd6bbcd1860df4ec1df726382e79e0
MD5 5cbb22ab3c6ea1d4baf0245edbbc647a
BLAKE2b-256 bc56abc807c673dfbd40eda2eb39b44492d3a77f94518d743affe2a47b8c5011

See more details on using hashes here.

File details

Details for the file workspace_agent-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: workspace_agent-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for workspace_agent-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 63033e27c04ae87e7712df5eed1b5e6b20f24c9ae7cb4cb0bbd27ab21ba5837a
MD5 80c02f5b4a84ac09e66a53803f900e97
BLAKE2b-256 bb0c90db2cbb51987e32e9632ea33196754f692b7111521d7d4b4408269461ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page