Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

bazaar-contrib-harness

Enable the harness provider registry. Install a concrete harness provider separately.

Call a registered builder's inspect(workspace, timeout=...) to query availability, the provider CLI version, models, reasoning efforts, workspace skills and MCP servers before creating an agent or session. The result is a HarnessInspection; its error field reports query failures alongside any metadata already returned.

HarnessInspection.mcp_servers contains HarnessMcpServer entries with the server name, provider-reported authentication status and discovered HarnessMcpTool entries. Each tool carries its name, optional description and actual JSON input schema. Providers query their MCP inventory in the requested workspace and preserve partial results in the inspection if a later query fails.

SessionInput.approval_policy uses ApprovalPolicy.ON_REQUEST or NEVER. sandbox_policy uses SandboxPolicy.WORKSPACE_WRITE or DANGER_FULL_ACCESS; network_access carries the selected network permission. The upstream agent selects these policies from the session's Actor. Each provider translates them into its native protocol and retains them when resuming that session. Provider configuration reads the fields it uses and ignores additional fields.

Execution calls return confirmed or failed. A failed call or terminal output carries HarnessFailure with a provider-neutral reason, the actual message and an optional original error code. needs_reconciliation asks the agent to query and reconnect to the existing execution before deciding its final result. Recovery and retry errors go to audit/logs; Channel feedback shows the final failure if no execution provider completes the request.

An approval request offers allowed_scopes using ApprovalScope, a StrEnum with ONCE, SESSION, and ALWAYS. ApprovalResult.scope selects one of those scopes and defaults to ONCE. The decision remains approved or rejected. Providers map the selected scope into their own authorization protocol. In dangerous_individual mode, the agent approves every request directly.

bcn contrib add harness --enable

The corresponding entry in config.toml:

version = "5"

[[contribs]]
package = "bazaar-contrib-harness~=0.3.0rc1"
[[contribs.enabled]]
entry = "harness-builders"

Metadata

Release files for bazaar-contrib-harness 0.3.0rc5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bazaar-contrib-harness 0.3.0rc5
File Size Uploaded Provenance Actions
bazaar_contrib_harness-0.3.0rc5.tar.gz 10.1 kB Without provenance Details for bazaar_contrib_harness-0.3.0rc5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bazaar-contrib-harness 0.3.0rc5
File Interpreter ABI Platform Actions
bazaar_contrib_harness-0.3.0rc5-py3-none-any.whl Python 3 none any Details for bazaar_contrib_harness-0.3.0rc5-py3-none-any.whl

Total release size: 22.8 kB

Release files / bazaar_contrib_harness-0.3.0rc5.tar.gz

Download URL bazaar_contrib_harness-0.3.0rc5.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41a30c7a3bd2d8dd70e95236345d7b85b0b551b894365e663014e6acc86e9fc8
BLAKE2b-256 checksum
How to use checksums
e99447e8dcdc78ee5aaf53bdb29d0ef993209ed54ec9342c761c067d113824d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bazaar_contrib_harness-0.3.0rc5-py3-none-any.whl

Download URL bazaar_contrib_harness-0.3.0rc5-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eba1cf32a43c3ef50e8cb18640d2dc952b21ee6e91d7a184aef75fd014a38fc0
BLAKE2b-256 checksum
How to use checksums
2db322fc9018ebdf2de17b9121cbb992da957b736b82a8892f8881044e63520b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for bazaar-contrib-harness 0.3.0rc5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page