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 workspaces 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.9.tar.gz (19.3 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.9-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: workspace_agent-0.1.9.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for workspace_agent-0.1.9.tar.gz
Algorithm Hash digest
SHA256 4b05f07f1fc44cf18f323804bab0f09cde99828d10862688fae0abbacba8fd3f
MD5 dc15fb35c4b4b1e39c429208309711fb
BLAKE2b-256 17d9cfca0c24c61714f0e6261b727781b5c45551108a231f3c62992b08b5bb00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for workspace_agent-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c321ea2328ecd017f591741e76452eca6459c25a42df38f49d5a051667228e7f
MD5 41cbef62f8cd07a305797d35480c752d
BLAKE2b-256 f33816c915f4926e19ed5378368ea33157c21ce89450961bd94685af33de8a5a

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