swarph-cli 0.72.46__tar.gz → 0.72.47__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {swarph_cli-0.72.46/src/swarph_cli.egg-info → swarph_cli-0.72.47}/PKG-INFO +1 -1
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/pyproject.toml +1 -1
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/__init__.py +1 -1
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/backends.py +12 -2
- {swarph_cli-0.72.46 → swarph_cli-0.72.47/src/swarph_cli.egg-info}/PKG-INFO +1 -1
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli.egg-info/SOURCES.txt +1 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1065_release.py +211 -9
- swarph_cli-0.72.47/tests/test_1505_bench_no_redirect.py +89 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_957_auth_http.py +3 -3
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/LICENSE +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/README.md +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/setup.cfg +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/__main__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/claude_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/codex_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/pack.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/prices.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/providers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/quality.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/refresh_prices.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/rules.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/runner.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/signal_score.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/bench/validate.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/caller.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/harden.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/lineage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/liveness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/manifest.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/paths.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/capture/verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/cell.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/chain_token.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/channel.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/_content.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/_display.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/_gateway_client.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/add.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/bench.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/board.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/board_cost.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/board_merge_check.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/board_usage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/brain.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/brain_ask.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/cell.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/cell_probe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/cell_selfcheck.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/channel.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/chat.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/codegraph.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/codegraph_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/codex_hook_output.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/codex_waker.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/commander.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/committee.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/compress.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/daemon.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/dev_extract.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/dreaming.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/event.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/gateway.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/gh_route.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/group.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/guide.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/highlight.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/hook_interpreter.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/hook_output.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/hooks.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/import_session.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/init.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_codex_hooks.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_multiplexer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_opencode_plugin.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_postcompact_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/install_wake_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/lane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/mcp_server.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/memory.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/memory_emit_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/memory_sync.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/mesh.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/monitor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/okf_links.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/onboard.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/peer_reply_drain.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/postcompact_hook_output.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/protocol_handler.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/ratify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/roster.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/rowclear_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/schedule.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/security.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/service.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/skunkworks.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/spawn.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/sweep.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/timeline.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/triage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/version.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/wake_hook_output.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commands/watchdog.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/commit_trailers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/compress/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/compress/levers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/compress/marker.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/compress/verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/console_safe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/delivery_queue.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dm_frame.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/candidates.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/clone.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/enrich.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/index_check.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/notify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/organize.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/probes.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/report.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/run.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/slm.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/transcripts.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/dreaming/verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/duplicate_session.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/feature_registry.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/lanes_control.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/schema.sql +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/server.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway/services_control.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gateway_default.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/gh_identity.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/guide/GUIDE.md +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/identity.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd/swarph-codex-outbox.plist +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd/swarph-codex-outbox.timer.plist +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd/swarph-monitor.plist +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd/swarph-watchdog.plist +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd/swarph-watchdog.timer.plist +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/launchd_render.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/main.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/multiplexer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/__main__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/api.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/config.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/operator/fmt.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/orphan_daemons.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/pane_probe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/parsers/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/parsers/claude.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/opencode/plugin.js +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/_shim.cmd +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/postcompact-recall-grok.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/postcompact-recall.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/posttooluse-emit-antigravity.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/posttooluse-emit-claude.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/posttooluse-emit-grok.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/posttooluse-emit.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/posttooluse-recall.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/precompact-flag.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/preinvocation-recall-antigravity.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/payloads/postcompact/sessionstart-recall.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_executor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_executor_windows.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_reconciliation.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_reply_outbox.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_service_host.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_service_payload.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_service_reply.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/peer_staging.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/query_filters.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/quota_sync.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/redact.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/rowclear.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/dm_notify_filter.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/ensure_monitor.sh +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/install_codex_waker_windows.ps1 +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/install_monitor_task_windows.ps1 +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scripts/wake_watchdog.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/scrub.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/service/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/service/app.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/service/providers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/session_bridge.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/skills/i-have-adhd/LICENSE +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/skills/i-have-adhd/SKILL.md +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/source_text.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/stall_alert.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/codex-waker.default +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/peer-reply-drain.default +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-codex-outbox@.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-codex-outbox@.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-codex-waker@.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-codex-waker@.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-monitor-reexec.path +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-monitor-reexec.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-monitor@.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-peer-reply-drain@.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-peer-reply-drain@.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-stuck-sweep.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-stuck-sweep.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-triage.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-triage.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-watchdog.default +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-watchdog.service +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/systemd/swarph-watchdog.timer +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/the_ten.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/timeline_paths.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/tokens.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/__init__.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/backend.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/job.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/owners.json +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/router.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/rows.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli/triage/sensor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli.egg-info/dependency_links.txt +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli.egg-info/entry_points.txt +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli.egg-info/requires.txt +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/src/swarph_cli.egg-info/top_level.txt +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1006_board_publisher.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1006_session_board.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1010_strand_only.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1013_spawn_channel.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1017_muse_tui.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1034_copy_mode.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1050_surrogate_wake.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1052_opencode_deaf.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1059_watchdog_unread_env.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1061_roster_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1064_stuck_sweep.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1066_quiet_wakes.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1068_structured_accept_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1071_quota_sync.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1073_triage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1073_triage_board.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1073_wheel_install.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1075_task_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1083_openai_decisions.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1144_cell_yaml_github.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1197_commander_taps.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1203_swarph_me_refusal.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1206_offer_question.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1214_egress.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1219_egress_probe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1221_quota_windows.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1222_maybe_start_cap.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1228_quota_reach.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1243_the_ten.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1248_ship_price_table.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_124_register_merge.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1250_price_cache.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1256_commander_wake.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1261_mcp_install.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1262_wake_followups.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1265_wake_note.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1269_triage_label.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_126_pending_from_complete.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1277_close_usage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1278_dreaming_reach.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1286_dm_unread_cursor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1297_commander.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1300_authorization_check.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1301_restart_skew.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1320_commit_trailers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1321_layered_redaction.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_132_ensure_monitor_state_dir.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1340_router_rollout.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1346_shell_string_gh.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1347_shell_depth_cap.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1353_obligation_release_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1385_duplicate_session_argv.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_138_memory_navigate.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1396_dev_extract.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_139_tool_probe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1405_skunkworks_basic.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1405_skunkworks_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1427_membrane_workflow.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1436_dev_extract_freshness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1452_rework1_engine.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1452_rework2_engine.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1452_rework3_engine.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1452_standing_wake_expiry.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1470_gh_router_fail_closed.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1472_redact_boundaries.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1476_gh_token_explicit_position.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_1478_triage_dm.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_183_card_anchor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_184_notify_honesty.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_201_win32_bash_refusal.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_243_onboard_per_peer_token.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_307_task4_ask_reply.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_312_codegraph_fuzzy_verb.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_3130_sender.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_3150_identity_router_install.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_319_refusal_exit_codes.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_323_mistral_backend.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_332_report_organize_findings.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_356_query_filters.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_397_gh_identity_router.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_397_router_preflight.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_402_one_identity_resolver.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_432_rowclear.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_467b_onboard_operator_credential.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_472_register_caller_binding.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_484_codex_queue_sink.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_513_duplicate_session.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_523_guide.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_524_conftest_hermeticity.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_532_accept_flag.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_535_version_capability.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_538_signal_bench.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_546_default_gateway.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_547_verbs_from_registry.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_548_gateway_remainder.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_552_codegraph_gateway.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_555_relay_row_shape.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_556_relay_freshness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_559_edges_truncated.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_564_bootstrap_first_peer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_578_no_machine_specific_host_defaults.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_579_register_bootstrap_message.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_591_cli_step_graph.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_644_monitor_supervision.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_648_install_unit.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_654_reexec.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_656_owned_slm.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_684_dreaming_verb.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_689_pkg_version_order.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_715_grok_wake.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_716_timeline_one_path.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_723_grok_0251.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_724_ps1_ascii_or_bom.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_725_stdio_reconfigure.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_726_grok_limit_screen.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_729_arm_check_delivery_gap.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_729_dm_once.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_729_wake_watchdog.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_734_dreaming_enrich_degrade.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_735_dm_mcp_tools.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_739_wake_writer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_740_edit_project.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_762_cards_edit_priority.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_764_enrich_collapse.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_801_confirm_flow_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_802_stage_history.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_825_codegraph_hook_noise.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_825_install_posttooluse_only.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_825_remaining_cap_shred_bind.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_829_counterfactual_column.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_830_hook_binding_version.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_84_cli_labels.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_866_doctrine_guide.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_872_identity_refuses_not_warns.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_874_source_text.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_888_opencode_data_dir_can_fail.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_931_board_search.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_935_deadline_clock.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_937_dreaming_notify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_938_organize_line_limit.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_941_bench_backends.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_941_harness_342.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_945_same_line_pairing.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_955_prompt_audit.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_959_venv_interpreter.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_960_channel.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_960_ensure_monitor_heartbeat.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_961_cursor_grok_footer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_961_loud_stop.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_963_plugin_manifest.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_964_channel_cell.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_965_mesh_wait.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_975_channel_hop.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_add_security_gate.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_add.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_hash.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_lib.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_mcp.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_skill.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_tool.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_artifact_uri.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_backends.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_claude_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_codex_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_pack.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_prices.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_quality.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_runner.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_bench_validate.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_board_card_thread.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_board_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_board_merge_check.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_board_obligation_close.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_brain_ask_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_brain_ask_env_diagnosis.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_brain_ask_identity_explicitness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_brain_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_caller_meta_guard.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_capture_lineage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_capture_liveness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_capture_manifest.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_capture_paths.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_capture_security.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cell_command_dispatch.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cell_harden.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cell_loader.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cell_selfcheck.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cell_verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_chain_token.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_channel_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_channel_poll_never_breaks_dms.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_channel_post.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_channel_wake_policy_filter.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_chat_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_claude_parser.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_claude_tmux_template.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_codegraph_caller_scope.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_codegraph_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_codegraph_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_codegraph_mcp.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_codex_waker.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_committee_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_compress_caller_convention.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_compress_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_compress_levers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_compress_marker.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_compress_verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_console_encoding_e2e.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_content_composition.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_copilot_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_copilot_pane_reader.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cursor_mcp_plugin.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_cursor_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_daemon_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_daemon_console_encoding.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_daemon_delivery.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_delivery_queue.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_display_sanitize.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_ensure_monitor_no_peer_default.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_event_emit.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_feature_to_uri.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_gateway_brain.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_gateway_client.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_gateway_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_gateway_message_idempotency.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_gh_route_doctor_mesh_name.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_group_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_guide_commands_parse.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_guide_selfcheck.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_heartbeat_check.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_highlight_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hook_output.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_activity_marker.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_add.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_bundle.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_init.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_legacy_generation_removal.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_lifecycle.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_merge.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_win32_bash_wrapper.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_hooks_win32_command_path.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_import_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_inbox_identity_provenance.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_init_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_init_provider_menu.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_install_codex_hooks.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_install_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_install_multiplexer_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_install_postcompact_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_install_wake_hook.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_lane_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_launchd_units.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_main.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_main_unknown_verb_guard.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mcp_dm_identity.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mcp_missing_hint.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mcp_server.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_memory_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_memory_emit_snippet.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_memory_gateway.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_memory_sync.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_memory_sync_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_inbox_mark_read.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_inbox_sanitize.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_originate_thread_623.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_send_unknown_peer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_sidecar.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_sidecar_cursor_decoupled.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_sidecar_muse_sink.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_mesh_sidecar_wake_survives_read.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_meta_edge_identity.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_monitor_channel_poll.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_monitor_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_monitor_daemon_collision.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_monitor_self_name_verification.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_monitor_state_split.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_multiplexer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_muse_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_muse_own_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_obligation_close_is_surfaced.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_okf_links.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_onboard_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_opencode_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_opencode_plugin.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_operator_me.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_orphan_daemons.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_packaged_artifacts_exist.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_packaged_skills.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_executor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_executor_windows.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_reply_drain_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_reply_drain_supervisor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_reply_outbox.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_reply_transport.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_service_e2e.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_service_host.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_service_payload.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_peer_service_reply.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_postcompact_recall.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_process_liveness.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_protocol_handler.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_providers_isolation.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_ratify_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_readme_claims_no_gateway_default.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_repl_caller_convention.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_schedule_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_schedule_create_contract.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_scrub.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_security.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_service_app.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_service_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_service_providers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_session_bridge_inject.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_session_bridge_probe.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_session_bridge_resolve.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_session_path_role_gate.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_shipped_units_match_the_cli.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_smoke_chat.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_smoke_one_shot.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_smoke_phase_5_5.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_base_hoist.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_identity_stamp.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_live_pin.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_mitosis_lineage.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_tmux_session.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_spawn_windows_relaunch.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_stall_alert.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_subprocess_decode_encoding.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_timeline_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_tmux_wake_runstate_defer.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_tmux_wake_session_reanchor.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_tmux_wake_stale.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_tmux_wake_submit_verify.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_token_file_one_parser.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_token_precedence_explicit_first.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_unified_token_resolver.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_version_command.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_version_consistency.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_vibe_membrane.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_dm_wake.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_dm_wake_cooldown.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_dm_wake_wiring.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_emit_health.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_install_flags.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_model_rung.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_watchdog_stale_peers.py +0 -0
- {swarph_cli-0.72.46 → swarph_cli-0.72.47}/tests/test_windows_waker_installer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: swarph-cli
|
|
3
|
-
Version: 0.72.
|
|
3
|
+
Version: 0.72.47
|
|
4
4
|
Summary: The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`.
|
|
5
5
|
Author: Pierre Samson, Claude Opus
|
|
6
6
|
License: MIT
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "swarph-cli"
|
|
7
|
-
version = "0.72.
|
|
7
|
+
version = "0.72.47"
|
|
8
8
|
description = "The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -41,6 +41,16 @@ from typing import Any, Callable, Optional, Protocol
|
|
|
41
41
|
from swarph_cli.redact import encode_outbound_json
|
|
42
42
|
|
|
43
43
|
|
|
44
|
+
class _NoRedirect(urllib.request.HTTPRedirectHandler):
|
|
45
|
+
"""Refuse redirects: urllib would replay the Authorization header at Location."""
|
|
46
|
+
|
|
47
|
+
def redirect_request(self, *a, **k):
|
|
48
|
+
return None
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
_AUTH_HTTP_OPENER = urllib.request.build_opener(_NoRedirect())
|
|
52
|
+
|
|
53
|
+
|
|
44
54
|
@dataclass
|
|
45
55
|
class BackendResult:
|
|
46
56
|
text: str
|
|
@@ -636,7 +646,7 @@ class HttpBackend:
|
|
|
636
646
|
req = urllib.request.Request(
|
|
637
647
|
endpoint, data=raw_body, headers=headers, method="POST")
|
|
638
648
|
try:
|
|
639
|
-
with
|
|
649
|
+
with _AUTH_HTTP_OPENER.open(req, timeout=60) as resp:
|
|
640
650
|
status, reason, raw = resp.status, resp.reason, resp.read()
|
|
641
651
|
except urllib.error.HTTPError as exc:
|
|
642
652
|
status, reason, raw = exc.code, exc.reason, exc.read()
|
|
@@ -929,7 +939,7 @@ class DecisionsBackend:
|
|
|
929
939
|
req = urllib.request.Request(
|
|
930
940
|
endpoint, data=raw_body, headers=headers, method="POST")
|
|
931
941
|
try:
|
|
932
|
-
with
|
|
942
|
+
with _AUTH_HTTP_OPENER.open(req, timeout=60) as resp:
|
|
933
943
|
status, reason, raw = resp.status, resp.reason, resp.read()
|
|
934
944
|
except urllib.error.HTTPError as exc:
|
|
935
945
|
status, reason, raw = exc.code, exc.reason, exc.read()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: swarph-cli
|
|
3
|
-
Version: 0.72.
|
|
3
|
+
Version: 0.72.47
|
|
4
4
|
Summary: The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`.
|
|
5
5
|
Author: Pierre Samson, Claude Opus
|
|
6
6
|
License: MIT
|
|
@@ -288,6 +288,7 @@ tests/test_1470_gh_router_fail_closed.py
|
|
|
288
288
|
tests/test_1472_redact_boundaries.py
|
|
289
289
|
tests/test_1476_gh_token_explicit_position.py
|
|
290
290
|
tests/test_1478_triage_dm.py
|
|
291
|
+
tests/test_1505_bench_no_redirect.py
|
|
291
292
|
tests/test_183_card_anchor.py
|
|
292
293
|
tests/test_184_notify_honesty.py
|
|
293
294
|
tests/test_201_win32_bash_refusal.py
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"""card #1065 — release.sh stops for an approval at head, then restarts importers one at a time."""
|
|
2
2
|
import importlib.util
|
|
3
3
|
import os
|
|
4
|
+
import shlex
|
|
5
|
+
import shutil
|
|
4
6
|
import subprocess
|
|
5
7
|
from pathlib import Path
|
|
6
8
|
|
|
@@ -36,12 +38,54 @@ def _gnu_bash() -> bool:
|
|
|
36
38
|
needs_bash = pytest.mark.skipif(not _gnu_bash(), reason="release.sh needs GNU bash")
|
|
37
39
|
|
|
38
40
|
|
|
41
|
+
@pytest.fixture(autouse=True)
|
|
42
|
+
def local_release_environment(tmp_path, monkeypatch):
|
|
43
|
+
home = tmp_path / "home"
|
|
44
|
+
home.mkdir()
|
|
45
|
+
monkeypatch.setenv("HOME", str(home))
|
|
46
|
+
monkeypatch.setenv("GIT_CONFIG_NOSYSTEM", "1")
|
|
47
|
+
monkeypatch.setenv("GIT_CONFIG_GLOBAL", os.devnull)
|
|
48
|
+
# Git's clone reflog otherwise discovers an email via the host's DNS name.
|
|
49
|
+
for role in ("AUTHOR", "COMMITTER"):
|
|
50
|
+
monkeypatch.setenv(f"GIT_{role}_NAME", "release-fixture")
|
|
51
|
+
monkeypatch.setenv(f"GIT_{role}_EMAIL", "release-fixture@example.invalid")
|
|
52
|
+
monkeypatch.setenv("GIT_ALLOW_PROTOCOL", "file")
|
|
53
|
+
monkeypatch.setenv("RELEASE_REMOTE", (tmp_path / "unused.git").as_uri())
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def test_release_fixtures_are_local_and_have_explicit_git_identity():
|
|
57
|
+
identity = subprocess.run(["git", "var", "GIT_COMMITTER_IDENT"], text=True, capture_output=True, check=True)
|
|
58
|
+
assert identity.stdout.startswith("release-fixture <release-fixture@example.invalid> ")
|
|
59
|
+
assert os.environ["RELEASE_REMOTE"].startswith("file://")
|
|
60
|
+
assert os.environ["GIT_ALLOW_PROTOCOL"] == "file"
|
|
61
|
+
refused = subprocess.run(["git", "ls-remote", "https://must-not-resolve.example.invalid/repo.git"],
|
|
62
|
+
text=True, capture_output=True)
|
|
63
|
+
assert refused.returncode != 0 and "transport 'https' not allowed" in refused.stderr
|
|
64
|
+
|
|
65
|
+
|
|
39
66
|
def _run(args, env, cwd=None):
|
|
40
67
|
return subprocess.run(
|
|
41
68
|
args, cwd=cwd or ROOT, env=env, text=True, capture_output=True,
|
|
42
69
|
)
|
|
43
70
|
|
|
44
71
|
|
|
72
|
+
def _git_with_valid_merge_tree(body):
|
|
73
|
+
"""Existing command-boundary fakes serve a valid tree for the new tag checks."""
|
|
74
|
+
return body.replace("#!/bin/bash\n", '''#!/bin/bash
|
|
75
|
+
case "$1" in
|
|
76
|
+
show)
|
|
77
|
+
case "$2" in
|
|
78
|
+
*^1:pyproject.toml) echo 'version = "0.0.1"' ;;
|
|
79
|
+
*plugin.json) echo '{"version": "9.9.9"}' ;;
|
|
80
|
+
*) exit 99 ;;
|
|
81
|
+
esac
|
|
82
|
+
exit 0 ;;
|
|
83
|
+
ls-tree) printf 'plugins/swarph/.claude-plugin/plugin.json\\0plugins/swarph/.cursor-plugin/plugin.json\\0'; exit 0 ;;
|
|
84
|
+
-C) if [ "$3" = grep ]; then exit 1; fi ;;
|
|
85
|
+
esac
|
|
86
|
+
''', 1)
|
|
87
|
+
|
|
88
|
+
|
|
45
89
|
@needs_bash
|
|
46
90
|
def test_dry_run_lists_every_step_and_touches_nothing(tmp_path):
|
|
47
91
|
bin_dir = tmp_path / "bin"
|
|
@@ -58,7 +102,7 @@ def test_dry_run_lists_every_step_and_touches_nothing(tmp_path):
|
|
|
58
102
|
out = proc.stdout
|
|
59
103
|
for phrase in (
|
|
60
104
|
"scratch-clone",
|
|
61
|
-
"bump version to 9.9.9 in pyproject.toml, src/swarph_cli/__init__.py, plugins/swarph
|
|
105
|
+
"bump version to 9.9.9 in pyproject.toml, src/swarph_cli/__init__.py, plugins/swarph/.*-plugin/plugin.json",
|
|
62
106
|
"commit and push branch release/9.9.9",
|
|
63
107
|
"open the release PR and stop",
|
|
64
108
|
"refuse to merge",
|
|
@@ -124,13 +168,13 @@ case "$*" in
|
|
|
124
168
|
*) echo "unexpected gh: $*" >> {log}; exit 99 ;;
|
|
125
169
|
esac
|
|
126
170
|
""")
|
|
127
|
-
(bin_dir / "git").write_text(f"""#!/bin/bash
|
|
171
|
+
(bin_dir / "git").write_text(_git_with_valid_merge_tree(f"""#!/bin/bash
|
|
128
172
|
echo "git $*" >> {log}
|
|
129
173
|
case "$1" in
|
|
130
174
|
rev-parse) exit 1 ;;
|
|
131
175
|
*) exit 0 ;;
|
|
132
176
|
esac
|
|
133
|
-
""")
|
|
177
|
+
"""))
|
|
134
178
|
(bin_dir / "curl").write_text(
|
|
135
179
|
"#!/bin/sh\npython3 -c 'import json,sys; json.dump({\"releases\":{\"9.9.9\":[]}}, sys.stdout)'\n"
|
|
136
180
|
)
|
|
@@ -359,7 +403,7 @@ case "$*" in
|
|
|
359
403
|
*) echo "unexpected gh: $*" >> {log}; exit 99 ;;
|
|
360
404
|
esac
|
|
361
405
|
""")
|
|
362
|
-
(bin_dir / "git").write_text(git_body.format(log=log, merge=merge))
|
|
406
|
+
(bin_dir / "git").write_text(_git_with_valid_merge_tree(git_body.format(log=log, merge=merge)))
|
|
363
407
|
(bin_dir / "curl").write_text(
|
|
364
408
|
"#!/bin/sh\npython3 -c 'import json,sys; json.dump({\"releases\":{\"9.9.9\":[]}}, sys.stdout)'\n"
|
|
365
409
|
)
|
|
@@ -431,7 +475,11 @@ esac
|
|
|
431
475
|
|
|
432
476
|
|
|
433
477
|
@needs_bash
|
|
434
|
-
|
|
478
|
+
@pytest.mark.parametrize("stale_file", [None, "docs/stray version.txt", "README.md", "CHANGELOG.md",
|
|
479
|
+
"docs/lookalike.txt", "git-grep-error", "missing-old-version", "crlf-version"],
|
|
480
|
+
ids=["all-manifests", "stray-refused", "readme-refused", "changelog-allowed",
|
|
481
|
+
"literal-match", "grep-error-refused", "unreadable-old-version", "crlf-version"])
|
|
482
|
+
def test_open_pr_bumps_all_plugin_manifests_and_stops(tmp_path, stale_file):
|
|
435
483
|
src = tmp_path / "origin"
|
|
436
484
|
src.mkdir()
|
|
437
485
|
(src / "pyproject.toml").write_text('version = "0.0.1"\n')
|
|
@@ -441,6 +489,24 @@ def test_open_pr_bumps_three_files_and_stops(tmp_path):
|
|
|
441
489
|
plugin = src / "plugins" / "swarph" / ".claude-plugin"
|
|
442
490
|
plugin.mkdir(parents=True)
|
|
443
491
|
(plugin / "plugin.json").write_text('{"version": "0.0.1"}\n')
|
|
492
|
+
manifests = ["plugins/swarph/.claude-plugin/plugin.json",
|
|
493
|
+
"plugins/swarph/.cursor-plugin/plugin.json",
|
|
494
|
+
"plugins/swarph/.future-plugin/plugin.json"]
|
|
495
|
+
for manifest in manifests[1:]:
|
|
496
|
+
path = src / manifest
|
|
497
|
+
path.parent.mkdir(parents=True)
|
|
498
|
+
path.write_text('{"version": "0.0.1"}\n')
|
|
499
|
+
panel = src / "plugins/swarph-panel/.claude-plugin/plugin.json"
|
|
500
|
+
panel.parent.mkdir(parents=True)
|
|
501
|
+
panel.write_text('{"version": "0.1.0"}\n')
|
|
502
|
+
if stale_file and stale_file not in {"git-grep-error", "missing-old-version", "crlf-version"}:
|
|
503
|
+
path = src / stale_file
|
|
504
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
505
|
+
path.write_text("0x0x1\n" if stale_file == "docs/lookalike.txt" else "Old swarph version: 0.0.1\n")
|
|
506
|
+
if stale_file == "missing-old-version":
|
|
507
|
+
(src / "pyproject.toml").write_text('name = "fixture"\n')
|
|
508
|
+
if stale_file == "crlf-version":
|
|
509
|
+
(src / "pyproject.toml").write_bytes(b'version = "0.0.1"\r\n')
|
|
444
510
|
subprocess.run(["git", "init", "-b", "main"], cwd=src, check=True, capture_output=True)
|
|
445
511
|
subprocess.run(["git", "-C", str(src), "-c", "user.email=t@local", "-c", "user.name=t", "add", "."], check=True)
|
|
446
512
|
subprocess.run(["git", "-C", str(src), "-c", "user.email=t@local", "-c", "user.name=t", "commit", "-m", "base"], check=True, capture_output=True)
|
|
@@ -458,10 +524,38 @@ case "$*" in
|
|
|
458
524
|
esac
|
|
459
525
|
""")
|
|
460
526
|
(bin_dir / "gh").chmod(0o755)
|
|
527
|
+
if stale_file == "git-grep-error":
|
|
528
|
+
real_git = shutil.which("git")
|
|
529
|
+
assert real_git
|
|
530
|
+
(bin_dir / "git").write_text(f'''#!/bin/bash
|
|
531
|
+
if [ "$1" = "-C" ] && [ "${{3:-}}" = "grep" ]; then
|
|
532
|
+
echo 'fixture git grep error' >&2
|
|
533
|
+
exit 2
|
|
534
|
+
fi
|
|
535
|
+
exec {shlex.quote(Path(real_git).as_posix())} "$@"
|
|
536
|
+
''')
|
|
537
|
+
(bin_dir / "git").chmod(0o755)
|
|
461
538
|
env = os.environ.copy()
|
|
462
539
|
env["PATH"] = f"{bin_dir}:{env['PATH']}"
|
|
463
|
-
env["RELEASE_REMOTE"] =
|
|
540
|
+
env["RELEASE_REMOTE"] = bare.as_uri()
|
|
464
541
|
proc = _run(["bash", str(RELEASE), "9.9.9"], env)
|
|
542
|
+
if stale_file in {"docs/stray version.txt", "README.md", "git-grep-error", "missing-old-version"}:
|
|
543
|
+
assert proc.returncode != 0
|
|
544
|
+
if stale_file == "git-grep-error":
|
|
545
|
+
assert proc.returncode == 2
|
|
546
|
+
assert "could not check for old version" in proc.stderr
|
|
547
|
+
elif stale_file == "missing-old-version":
|
|
548
|
+
assert "cannot read old version" in proc.stderr
|
|
549
|
+
else:
|
|
550
|
+
assert "old version 0.0.1" in proc.stderr
|
|
551
|
+
assert "outside CHANGELOG" in proc.stderr
|
|
552
|
+
assert stale_file in proc.stdout + proc.stderr
|
|
553
|
+
assert not log.exists(), "No gh command, especially pr create, is allowed"
|
|
554
|
+
assert subprocess.run(
|
|
555
|
+
["git", "--git-dir", str(bare), "show-ref", "--verify", "refs/heads/release/9.9.9"],
|
|
556
|
+
text=True, capture_output=True,
|
|
557
|
+
).returncode != 0, "Refusal must precede even the branch push"
|
|
558
|
+
return
|
|
465
559
|
assert proc.returncode == 0, proc.stderr
|
|
466
560
|
assert "stopped after opening the release PR" in proc.stdout
|
|
467
561
|
assert "MERGE" not in log.read_text()
|
|
@@ -475,11 +569,119 @@ esac
|
|
|
475
569
|
text=True, capture_output=True, check=True,
|
|
476
570
|
)
|
|
477
571
|
assert '__version__ = "9.9.9"' in init_show.stdout
|
|
478
|
-
|
|
479
|
-
|
|
572
|
+
for manifest in manifests:
|
|
573
|
+
plugin_show = subprocess.run(
|
|
574
|
+
["git", "--git-dir", str(bare), "show", f"release/9.9.9:{manifest}"],
|
|
575
|
+
text=True, capture_output=True, check=True,
|
|
576
|
+
)
|
|
577
|
+
assert '"version": "9.9.9"' in plugin_show.stdout, manifest
|
|
578
|
+
panel_show = subprocess.run(
|
|
579
|
+
["git", "--git-dir", str(bare), "show", "release/9.9.9:plugins/swarph-panel/.claude-plugin/plugin.json"],
|
|
480
580
|
text=True, capture_output=True, check=True,
|
|
481
581
|
)
|
|
482
|
-
assert '"version": "
|
|
582
|
+
assert '"version": "0.1.0"' in panel_show.stdout
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
@needs_bash
|
|
586
|
+
@pytest.mark.parametrize("scenario", ["clean", "second-merge-stale", "wrong-manifest", "old-readme",
|
|
587
|
+
"changelog", "lookalike", "grep-error", "invalid-json", "no-manifests"])
|
|
588
|
+
def test_resume_checks_the_real_merge_tree_before_tagging(tmp_path, scenario):
|
|
589
|
+
repo = tmp_path / "checkout"
|
|
590
|
+
repo.mkdir()
|
|
591
|
+
|
|
592
|
+
def git(*args):
|
|
593
|
+
return subprocess.run(["git", "-C", str(repo), "-c", "user.name=fixture",
|
|
594
|
+
"-c", "user.email=fixture@example.invalid", "-c", "commit.gpgsign=false",
|
|
595
|
+
*args], check=True, text=True, capture_output=True).stdout.strip()
|
|
596
|
+
|
|
597
|
+
def write(path, text):
|
|
598
|
+
target = repo / path
|
|
599
|
+
target.parent.mkdir(parents=True, exist_ok=True)
|
|
600
|
+
target.write_text(text)
|
|
601
|
+
|
|
602
|
+
files = {"pyproject.toml": 'version = "0.0.1"\n',
|
|
603
|
+
"src/swarph_cli/__init__.py": '__version__ = "0.0.1"\n'}
|
|
604
|
+
if scenario != "no-manifests":
|
|
605
|
+
files.update({"plugins/swarph/.claude-plugin/plugin.json": '{"version": "0.0.1"}\n',
|
|
606
|
+
"plugins/swarph/.cursor-plugin/plugin.json": '{"version": "0.0.1"}\n'})
|
|
607
|
+
git("init", "-b", "main")
|
|
608
|
+
for path, text in files.items():
|
|
609
|
+
write(path, text)
|
|
610
|
+
write("plugins/swarph-panel/.claude-plugin/plugin.json", '{"version": "0.1.0"}\n')
|
|
611
|
+
git("add", ".")
|
|
612
|
+
git("commit", "-qm", "base")
|
|
613
|
+
git("checkout", "-qb", "release/9.9.9")
|
|
614
|
+
for path, text in files.items():
|
|
615
|
+
write(path, text.replace("0.0.1", "9.9.9"))
|
|
616
|
+
git("add", ".")
|
|
617
|
+
git("commit", "-qm", "release")
|
|
618
|
+
head = git("rev-parse", "HEAD")
|
|
619
|
+
git("checkout", "-q", "main")
|
|
620
|
+
git("checkout", "-qb", "concurrent")
|
|
621
|
+
if scenario == "second-merge-stale":
|
|
622
|
+
write("plugins/swarph/.new-plugin/plugin.json", '{"version": "0.0.1"}\n')
|
|
623
|
+
elif scenario in {"wrong-manifest", "invalid-json"}:
|
|
624
|
+
write("plugins/swarph/.new-plugin/plugin.json",
|
|
625
|
+
'{"version": "8.8.8"}\n' if scenario == "wrong-manifest" else '{broken json\n')
|
|
626
|
+
elif scenario in {"old-readme", "changelog", "lookalike"}:
|
|
627
|
+
write("CHANGELOG.md" if scenario == "changelog" else "README.md",
|
|
628
|
+
"0x0x1\n" if scenario == "lookalike" else "0.0.1\n")
|
|
629
|
+
git("add", ".")
|
|
630
|
+
git("commit", "--allow-empty", "-qm", "concurrent change")
|
|
631
|
+
git("checkout", "-q", "main")
|
|
632
|
+
git("merge", "--no-ff", "concurrent", "-m", "other PR merges first")
|
|
633
|
+
git("merge", "--no-ff", "release/9.9.9", "-m", "release merge")
|
|
634
|
+
merge = git("rev-parse", "HEAD")
|
|
635
|
+
bare = tmp_path / "remote.git"
|
|
636
|
+
git("clone", "--bare", str(repo), str(bare))
|
|
637
|
+
git("remote", "add", "origin", bare.as_uri())
|
|
638
|
+
bindir = tmp_path / "bin"
|
|
639
|
+
bindir.mkdir()
|
|
640
|
+
(bindir / "gh").write_text(f'''#!/bin/bash
|
|
641
|
+
case "$*" in
|
|
642
|
+
*"auth token"*) echo fixture-token ;;
|
|
643
|
+
*"pr list"*) echo 7 ;;
|
|
644
|
+
*"mergeCommit"*) echo {merge} ;;
|
|
645
|
+
*"pr view"*) echo {head} ;;
|
|
646
|
+
*"/reviews"*) echo '[{{"state":"APPROVED","commit_id":"{head}","user":{{"login":"reviewers-pixel"}},"id":1}}]' ;;
|
|
647
|
+
*"pr merge"*) exit 0 ;;
|
|
648
|
+
*) exit 99 ;;
|
|
649
|
+
esac
|
|
650
|
+
''')
|
|
651
|
+
(bindir / "curl").write_text('#!/bin/sh\necho \'{"releases":{"9.9.9":[]}}\'\n')
|
|
652
|
+
for name in ("pip", "sudo", "systemctl"):
|
|
653
|
+
(bindir / name).write_text('#!/bin/sh\nexit 0\n')
|
|
654
|
+
if scenario == "grep-error":
|
|
655
|
+
real_git = shutil.which("git")
|
|
656
|
+
(bindir / "git").write_text(f'#!/bin/bash\nif [ "${{3:-}}" = grep ]; then exit 2; fi\nexec {shlex.quote(real_git)} "$@"\n')
|
|
657
|
+
for tool in bindir.iterdir():
|
|
658
|
+
tool.chmod(0o755)
|
|
659
|
+
units = tmp_path / "units"
|
|
660
|
+
units.write_text("fixture.service\n")
|
|
661
|
+
env = dict(os.environ, PATH=f"{bindir}:{os.environ['PATH']}", RELEASE_REMOTE=bare.as_uri(), RELEASE_INSTALL_EPOCH="1",
|
|
662
|
+
RELEASE_UNITS_FILE=str(units), RELEASE_VERIFY_CMD="true")
|
|
663
|
+
# The working tree is deliberately repaired; only the stored merge tree is authoritative.
|
|
664
|
+
if scenario in {"second-merge-stale", "wrong-manifest", "invalid-json"}:
|
|
665
|
+
write("plugins/swarph/.new-plugin/plugin.json", '{"version": "9.9.9"}\n')
|
|
666
|
+
proc = _run(["bash", str(RELEASE), "--resume", "9.9.9"], env, cwd=repo)
|
|
667
|
+
allowed = scenario in {"clean", "changelog", "lookalike"}
|
|
668
|
+
assert (proc.returncode == 0) == allowed, proc.stderr + proc.stdout
|
|
669
|
+
for location in (repo / ".git", bare):
|
|
670
|
+
tag = subprocess.run(["git", "--git-dir", str(location), "rev-parse", "--verify", "refs/tags/v9.9.9^{commit}"],
|
|
671
|
+
text=True, capture_output=True)
|
|
672
|
+
assert (tag.returncode == 0) == allowed
|
|
673
|
+
if allowed:
|
|
674
|
+
assert tag.stdout.strip() == merge
|
|
675
|
+
if scenario == "grep-error":
|
|
676
|
+
assert proc.returncode == 2 and "could not check for old version" in proc.stderr
|
|
677
|
+
elif scenario in {"second-merge-stale", "old-readme"}:
|
|
678
|
+
assert "old version 0.0.1 remains outside CHANGELOG" in proc.stderr
|
|
679
|
+
elif scenario == "wrong-manifest":
|
|
680
|
+
assert "plugins/swarph/.new-plugin/plugin.json version does not equal 9.9.9" in proc.stderr
|
|
681
|
+
elif scenario == "invalid-json":
|
|
682
|
+
assert "JSONDecodeError" in proc.stderr
|
|
683
|
+
elif scenario == "no-manifests":
|
|
684
|
+
assert "no swarph plugin manifests" in proc.stderr
|
|
483
685
|
|
|
484
686
|
|
|
485
687
|
def test_verify_fails_when_the_process_started_before_the_install(tmp_path):
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"""Card #1505: authed bench HTTP must not follow redirects with the Bearer header."""
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
import http.client
|
|
5
|
+
import io
|
|
6
|
+
import json
|
|
7
|
+
import urllib.request
|
|
8
|
+
|
|
9
|
+
from swarph_cli.bench import backends
|
|
10
|
+
|
|
11
|
+
TOKEN = "jev-test-token-not-a-real-key"
|
|
12
|
+
LOOPBACK = "http://127.0.0.1:9"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class _Fake302(urllib.request.BaseHandler):
|
|
16
|
+
handler_order = 100
|
|
17
|
+
|
|
18
|
+
def __init__(self, seen):
|
|
19
|
+
self._seen = seen
|
|
20
|
+
|
|
21
|
+
def _open(self, req):
|
|
22
|
+
self._seen.append((req.full_url, req.get_header("Authorization")))
|
|
23
|
+
r = io.BytesIO(b"")
|
|
24
|
+
r.code, r.msg = 302, "Found"
|
|
25
|
+
r.headers = http.client.HTTPMessage()
|
|
26
|
+
r.headers["Location"] = f"{LOOPBACK}/steal"
|
|
27
|
+
r.info = lambda: r.headers
|
|
28
|
+
r.geturl = lambda: req.full_url
|
|
29
|
+
return r
|
|
30
|
+
|
|
31
|
+
https_open = http_open = _open
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def _test_opener(seen):
|
|
35
|
+
redirect = [
|
|
36
|
+
type(h)()
|
|
37
|
+
for h in backends._AUTH_HTTP_OPENER.handlers
|
|
38
|
+
if isinstance(h, urllib.request.HTTPRedirectHandler)
|
|
39
|
+
]
|
|
40
|
+
return urllib.request.build_opener(*redirect, _Fake302(seen))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def test_no_redirect_handler_refuses():
|
|
44
|
+
assert backends._NoRedirect().redirect_request(None, None, 302, "", {}, "http://x") is None
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def test_http_backend_single_request_on_fake_302(monkeypatch):
|
|
48
|
+
monkeypatch.setenv("JEV_API_KEY", TOKEN)
|
|
49
|
+
seen = []
|
|
50
|
+
monkeypatch.setattr(backends, "_AUTH_HTTP_OPENER", _test_opener(seen))
|
|
51
|
+
|
|
52
|
+
arm = backends.HttpBackend(
|
|
53
|
+
name="jev", kind="typed", base_url=LOOPBACK,
|
|
54
|
+
path="/v1/systemone",
|
|
55
|
+
auth={"env": "JEV_API_KEY", "header": "Authorization", "scheme": "Bearer"},
|
|
56
|
+
price={"in_per_mtok": 0.042, "out_per_mtok": 0, "source": "example"},
|
|
57
|
+
)
|
|
58
|
+
body = json.dumps({"state": {}, "questions": {"answer": {"type": "choice"}}})
|
|
59
|
+
result = arm.generate("jev", body)
|
|
60
|
+
assert len(seen) == 1
|
|
61
|
+
assert seen[0][1] == f"Bearer {TOKEN}"
|
|
62
|
+
assert result.error and "302" in result.error
|
|
63
|
+
assert TOKEN not in (result.error or "")
|
|
64
|
+
assert not any("steal" in u for u, _ in seen)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def test_urlopen_revert_still_single_request_offline(monkeypatch):
|
|
68
|
+
"""Validate #4605 guard: a urlopen revert stays offline and still fails."""
|
|
69
|
+
monkeypatch.setenv("JEV_API_KEY", TOKEN)
|
|
70
|
+
seen = []
|
|
71
|
+
stub = _test_opener(seen)
|
|
72
|
+
monkeypatch.setattr(urllib.request, "urlopen", stub.open)
|
|
73
|
+
|
|
74
|
+
class _UsesGlobalUrlopen:
|
|
75
|
+
def open(self, req, timeout=None):
|
|
76
|
+
return urllib.request.urlopen(req, timeout=timeout)
|
|
77
|
+
|
|
78
|
+
monkeypatch.setattr(backends, "_AUTH_HTTP_OPENER", _UsesGlobalUrlopen())
|
|
79
|
+
|
|
80
|
+
arm = backends.HttpBackend(
|
|
81
|
+
name="jev", kind="typed", base_url=LOOPBACK,
|
|
82
|
+
path="/v1/systemone",
|
|
83
|
+
auth={"env": "JEV_API_KEY", "header": "Authorization", "scheme": "Bearer"},
|
|
84
|
+
price={"in_per_mtok": 0.042, "out_per_mtok": 0, "source": "example"},
|
|
85
|
+
)
|
|
86
|
+
result = arm.generate("jev", json.dumps({"state": {}, "questions": {"answer": {"type": "choice"}}}))
|
|
87
|
+
assert len(seen) == 1
|
|
88
|
+
assert not any("steal" in u for u, _ in seen)
|
|
89
|
+
assert result.error and "302" in result.error
|
|
@@ -32,10 +32,10 @@ def _pack(kind="typed", egress=None, n=1):
|
|
|
32
32
|
|
|
33
33
|
def _arm(**kw):
|
|
34
34
|
base = dict(
|
|
35
|
-
name="jev", kind="typed", base_url="https://
|
|
36
|
-
path="/v1/
|
|
35
|
+
name="jev", kind="typed", base_url="https://api.typesafe.ai",
|
|
36
|
+
path="/v1/systemone",
|
|
37
37
|
auth={"env": "JEV_API_KEY", "header": "Authorization", "scheme": "Bearer"},
|
|
38
|
-
price={"in_per_mtok": 0.
|
|
38
|
+
price={"in_per_mtok": 0.042, "out_per_mtok": 0, "source": "example"},
|
|
39
39
|
egress="external",
|
|
40
40
|
)
|
|
41
41
|
base.update(kw)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|