Skip to main content

Unsandboxed subprocess executor plugin for Docketeer

Project description

docketeer-subprocess

Unsandboxed command execution for Docketeer using plain subprocesses.

This plugin provides a CommandExecutor implementation that runs external programs directly as subprocesses of the current process, with no sandboxing.

When to use this

Use docketeer-subprocess instead of docketeer-bubblewrap when:

  • Running inside a container (Docker, Podman, etc.) that already provides isolation
  • Running on a non-Linux host where bubblewrap isn't available (macOS, Windows/WSL)
  • Running on a dedicated machine where the overhead of namespace isolation isn't needed
  • You don't have unprivileged user namespaces enabled

Configuration

Variable Default Description
DOCKETEER_EXECUTOR (auto) Set to subprocess when both executor plugins are installed

If docketeer-subprocess is the only executor plugin installed, it's selected automatically. If both docketeer-bubblewrap and docketeer-subprocess are installed, set DOCKETEER_EXECUTOR=subprocess to choose this one.

How it works

The executor runs commands via asyncio.create_subprocess_exec with the current user's environment. The CommandExecutor ABC parameters are handled as follows:

  • mounts — accepted but not used for filesystem remapping. The first mount's source is used as the working directory.
  • network_access — ignored (always available)
  • username — ignored (runs as current user)
  • env — merged with os.environ, caller values override

The start_claude method launches claude -p with an MCP bridge that connects Claude's stdio transport to docketeer's unix socket, the same way the bubblewrap executor does.

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

docketeer_subprocess-0.0.17.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

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

docketeer_subprocess-0.0.17-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file docketeer_subprocess-0.0.17.tar.gz.

File metadata

  • Download URL: docketeer_subprocess-0.0.17.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for docketeer_subprocess-0.0.17.tar.gz
Algorithm Hash digest
SHA256 502bf6c92e612c76b134be701a30dc5b8f74bb0fb48af14b075a4000d5535507
MD5 87ff360264b9a961654c63c296c89198
BLAKE2b-256 110728b92db13d847183e9db0303f2264b9f79b37c77c8db8420c7f4e90cd851

See more details on using hashes here.

Provenance

The following attestation bundles were made for docketeer_subprocess-0.0.17.tar.gz:

Publisher: publish.yml on chrisguidry/docketeer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file docketeer_subprocess-0.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for docketeer_subprocess-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 5506751ba056ac2b41704045e194cd3bd4a3b5bf8b0c55733371606e2d0f6adc
MD5 556edf0c91bf12db7ddbb13368c26c2e
BLAKE2b-256 8478f9333fa3e55abd13fd471a65ecd0513f5765dae10cc3e1dd6ee6900be741

See more details on using hashes here.

Provenance

The following attestation bundles were made for docketeer_subprocess-0.0.17-py3-none-any.whl:

Publisher: publish.yml on chrisguidry/docketeer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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