pisama 0.6.0 shipped pisama.agents as original code inside the base
pisama-python repo, consolidating what this package used to implement
standalone. This rewrites every module here (atif, bridge, check,
check_compliance, clarification, config, converter, evaluator, heal,
indication, openhands_adapter, session, tools, types, hooks/*, chaos/*,
cli/*) as a thin forwarder to its pisama.agents equivalent -- a real
module per public import path, not one flat re-export, so deep imports
like pisama_agent_sdk.hooks.pre_tool_use.pre_tool_use_hook keep working.
- dependencies: pisama-core>=1.7.3,<2 -> pisama>=0.6.0 (base only,
never pisama[agents]/pisama[auto] -- see the cycle-rule note in
CHANGELOG.md).
- __version__ stays this package's own release (0.4.0), not aliased to
pisama's, since this package still cuts independent PyPI releases.
- auto_verify stays removed (0.3.0); not resurrected, no leftover refs.
- evaluator/telemetry extras unchanged in content (httpx/posthog
declared directly, not via pisama's bracketed extras).
- pisama-openhands-monitor console script repointed at the shim path.
Two of this repo's own tests white-box-patched internal module state
(pisama_agent_sdk.check_compliance.urlopen,
pisama_agent_sdk.bridge.DetectionOrchestrator) that now lives in
pisama.agents instead; redirected those two patch targets to the real
implementing module so the assertions still exercise real behavior
instead of silently no-op'ing.
Verified: own test suite (122 passed, same count as pre-shim baseline,
after the two patch-target fixes), ruff + mypy clean, wheel built and
installed in a clean venv against real pisama==0.6.0 from PyPI with all
58 previously-public __all__ symbols + every deep submodule path
importing and working, pisama-openhands-monitor --help.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>