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.7.tar.gz (19.2 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.7-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for workspace_agent-0.1.7.tar.gz
Algorithm Hash digest
SHA256 c9bc3919bdce5950fa0cccdb3a2cc159db1ef488b127b2c8be769af6ff02d503
MD5 e235b1c4658c3466ead963803b7de34b
BLAKE2b-256 35193ce87c9612918e3ea8d032a7ac0c53119d55d94f288561f7524b3a630aeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for workspace_agent-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c2d7eaa432c714d8e96541e9521ae345dfed2d3905ff3822a7d0dadbb871f7b4
MD5 253580696bd5a077cb45e4b7494366b5
BLAKE2b-256 5fc021fc3e86a1dfcccdf5f47024f8a1c2df61a978f7dbf91362b0e899686570

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