beakr-cli 0.8.0__tar.gz → 0.9.0__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.
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/SKILL.md +6 -3
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/CHANGELOG.md +85 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/PKG-INFO +5 -5
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/README.md +3 -3
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/pyproject.toml +2 -2
- beakr_cli-0.9.0/release/released.json +4 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/__init__.py +1 -1
- beakr_cli-0.9.0/src/beakr_cli/agent_session.py +348 -0
- beakr_cli-0.9.0/src/beakr_cli/claude_process_sessions.py +50 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/files.py +65 -2
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb.py +5 -2
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_cards.py +18 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_review.py +12 -4
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/sources.py +114 -40
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/data/agent_tool_surface.json +1 -1
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/data/operations.json +15 -4
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/kb_shell_commands.py +2 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_server.py +29 -10
- beakr_cli-0.9.0/src/beakr_cli/process_ancestry.py +214 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/project_ref.py +12 -4
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/proposal_ids.py +23 -7
- beakr_cli-0.9.0/src/beakr_cli/sdk.py +234 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/tool_surface.py +14 -2
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/conftest.py +9 -1
- beakr_cli-0.9.0/tests/test_agent_session_detection.py +717 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_review.py +43 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_type_settings.py +16 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_sdk_client.py +7 -1
- beakr_cli-0.9.0/tests/test_cli_source_next_steps.py +196 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_sources.py +2 -2
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_sources_cancel.py +3 -3
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_sources_tracked.py +2 -2
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_upload_authorship.py +83 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_agent_attribution.py +1 -0
- beakr_cli-0.9.0/tests/test_research_project_guidance.py +37 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/uv.lock +2 -2
- beakr_cli-0.8.0/release/released.json +0 -4
- beakr_cli-0.8.0/src/beakr_cli/sdk.py +0 -192
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/commands/kb-audit.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/commands/kb-research.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/commands/kb-search.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/commands/kb-write.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/examples/answer-org-question.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/examples/research-topic.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/examples/write-decision-page.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/reference/auditing.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/reference/provenance.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/reference/research-workflow.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.claude/skills/beakr/reference/writing-pages.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.github/workflows/ci.yml +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.github/workflows/publish.yml +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/.gitignore +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/LICENSE +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/README.md +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/__main__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/cases.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/cli.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/agent_onboarding.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/agent_onboarding_v2.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/compounding.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/corrections.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/cross_agent_handoff.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/data/false_completeness.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/dryrun.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/extract.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/judge.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/live_handoff.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/__main__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/agents.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/cases.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/cli.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/cli_agents.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/evidence.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/harness.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/onboarding/report.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/report.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/rescore.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/runner.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/beakr_bench/scoring.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/run.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/run_live_handoff.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/benchmarks/run_onboarding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/install.sh +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/release/config.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/capture_engine_next_calls.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/contract_compat.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/generate_private_api.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/prepare_release.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/refresh_snapshots.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/regen.sh +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/sync_operations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/scripts/sync_tool_surface.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/_generated/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/_generated/models.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/_generated/operations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/client.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/oauth.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/operations.allowlist +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/auth.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/conversations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/files.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/integrations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/interviews.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/invitations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/knowledge.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/memories.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/org_admin.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/outputs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/profile.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/project_sources.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/usage.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/_private_api/resources/workflows.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/agent_hooks.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/api_manifest.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/app_url.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/auth_status.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/authorship.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/cancels.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/capabilities.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/card_settings.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/card_type_routes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/card_types.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/card_updates.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/chatgpt_export.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/citations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/cited_answer.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/codex_context.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/command_surface.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/activity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/api.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/auth.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/auth_token.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/codex_wrapper.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/conversations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/doctor.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/documents.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/end_user_tokens.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/external_users.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/hooks.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/install.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/integrations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/interview_links.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/interviews.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/jobs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_agent_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_author_filters.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_compiles.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_entities.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_type_settings.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/kb_types.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/keys.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/labels.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/members.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/memory.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/memory_store.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/model_refusals.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/org.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/outputs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/profile.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/project_knowledge.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/project_members.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/project_profile.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/projects.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/review_interview.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/runs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/skills.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/usage.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/workflows.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/commands/workspace.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/compact.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/compounding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/config.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/connected_sources.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/document_listing.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/errors.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/hook_queue.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/hook_runtime.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/kb_shell_hints.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/kb_shell_next.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/kb_shell_sources.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/main.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_call_shaping.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_errors.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_graph.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_integration_results.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_knowledge_status.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_render.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_result.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_tools_platform.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_tools_projects.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/mcp_workspace.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/output.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/project_binding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/project_scope_names.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/prompts.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/proposal_accept.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/proposal_view.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/request_logs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/research_metadata.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/review_flags.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/review_interview.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/review_resolve.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/revision_view.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/scope.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/skills_sync.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/source_links.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/source_records.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/terminal_text.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/transcript_activity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/transcripts.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/updates.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/upload_path_policy.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/upload_placement.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/src/beakr_cli/wrong_api.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/_shell_commands.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/conftest.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/fixtures/claude_code_stream.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/fixtures/codex_exec.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_cases_and_scoring.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_codex_benchmark_scoring_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_codex_onboarding_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_live_handoff.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_onboarding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_onboarding_evidence.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_rescore.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_runner_dry_run.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_scoring_semantics.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_scoring_typography.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/benchmarks/test_scoring_v3.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/command_snapshots/cases.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/command_snapshots/replay.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/command_snapshots/runner.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/engine_merge_bridge.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/engine_next_calls.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/kb_live_door_replies.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/knowledge_door_results.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_artifacts_artifact_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_conversations_conversation_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_integrations_connector_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_invitations_invitation_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_me_api_keys_key_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_me_memories_memory_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_me_profile_claims_claim_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_me_skills_library_skill_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_organizations_org_id_credentials_kind_credential_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_organizations_org_id_members_user_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_projects_project_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_projects_project_id_members_principal_type_principal_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/delete__v1_skills_skill_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_artifacts--waiting.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_artifacts.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_artifacts_artifact_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_artifacts_artifact_id_versions.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_artifacts_versions_version_id_download_url.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_changes.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_conversations.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_conversations_conversation_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_conversations_conversation_id_freshness.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_conversations_search.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_conversations_settings.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_integrations.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_integrations_connector_id_coverage.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_integrations_connector_id_status.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_integrations_hosted_connectors_connector_id_scope.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_interview_requests.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_interview_sendables.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_interview_sessions.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_interview_sessions_session_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_invitations.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_jobs_job_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_agent_review.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_conflicts.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_profiles_org.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_profiles_project_project_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_stats.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_graph.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_by_title.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_page_id_backlinks.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_page_id_blame.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_page_id_revisions.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_page_id_section_provenance.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_pages_page_id_sources.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_proposals--review.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_proposals.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_proposals_proposal_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_proposals_proposal_id_conflict.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_search.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_knowledge_wiki_timeline.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_api_keys.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_api_keys_scopes.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_memories.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_profile.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_skills_proposals.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_me_threads.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_organizations_org_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_organizations_org_id_auth_policy.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_organizations_org_id_credentials.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_organizations_org_id_members.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_organizations_org_id_service_accounts.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_outputs_output_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_outputs_output_id_export_format.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_outputs_output_id_revisions.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id_knowledge_failed_files.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id_knowledge_summary.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id_members.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id_model_refusals_files.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_projects_project_id_model_refusals_summary.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_public_openapi_json.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_runs_run_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_runs_run_id_events.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_skills.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_skills_skill_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_skills_skill_id_bundle.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_trace_kind_item_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_uploads_upload_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_usage.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_workflows_configs.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/get__v1_workflows_configs_config_id_runs.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/patch__v1_me_profile.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/patch__v1_me_profile_claims_claim_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/patch__v1_organizations_org_id_members_user_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/patch__v1_projects_project_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/patch__v1_workflows_configs_config_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_artifacts_artifact_id_knowledge_approve.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_artifacts_download_url.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_compound.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_compound_cancel.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_context.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_conversations_import.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_integrations_connector_id_sync.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_integrations_provider_connect.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_interview_sendables.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_interview_sendables_maker.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_interview_sendables_sendable_id_links.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_invitations.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_documents.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_profiles.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_research.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_runs_run_undo.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_command--cat.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_command--cat_rev.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_command.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_accept.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_dismiss.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_resolutions.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_resolve.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_resolve_cards.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_proposals_proposal_id_resolve_rows.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_write--add_connection.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_write--add_finding.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_write--edit_rows.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_knowledge_wiki_write.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_me_skills_library_skill_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_me_skills_proposals_proposal_id_accept.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_me_skills_proposals_proposal_id_dismiss.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_organizations_org_id_service_accounts.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_organizations_org_id_service_accounts_account_id_disable.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_organizations_org_id_service_accounts_account_id_keys.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_projects.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_projects_project_id_invite.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_projects_project_id_knowledge_retry_failed.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_projects_project_id_members.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_runs.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_runs_run_id_cancel.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_skills.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_uploads.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_uploads_upload_id_complete.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_uploads_upload_id_parts.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_workflows_ai_generate.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_workflows_configs.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_workflows_configs_config_id_run.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/post__v1_workflows_schedule_preview.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/put__v1_knowledge_agent_review.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/put__v1_knowledge_agent_review_projects_project_id.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/put__v1_organizations_org_id_auth_policy.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/recorded_api/put__v1_skills_skill_id_bundle.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/sandbox_next_calls.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/chatgpt_export/conversations.json +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/claude_code_beakr_reads.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/claude_code_session.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/codex_beakr_reads.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/codex_legacy.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/fixtures/transcripts/codex_rollout.jsonl +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/hook_keys.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/mcp_client.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/oauth_fake.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/__init__.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/conftest.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_dev_identity_origin_binding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_binary_responses.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_conversation_search.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_integrations_usage_trace.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_oauth_login.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_org_auth_policy.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_parity_methods.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_resources.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_private_transport.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/sdk/test_token_store_origin_barrier.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_api_usage_errors_exit_cleanly.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_auth_cli.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_bundled_assets_vocabulary.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_chatgpt_export.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_citations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_agent_friction.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_agent_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_api_commands.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_auth_login.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_auth_token.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_command_grammar.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_contract_shaped_renderers.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_conversation_full_text.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_conversation_search.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_core_surface.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_doctor.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_drafting.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_e2e_followups.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_external_users_by_user_id.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_files.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_hooks.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_integrations_usage_trace.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_json_everywhere.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_author_filters.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_cards.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_compiles.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_door_exit_codes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_ls_unscoped.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_propose_accept.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_read_and_proposals.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_review_interview.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_search_notes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_shell_commands.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_shell_current_door_wording.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_shell_hints.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_kb_types.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_key_lifetime_and_service_file.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_keys_projects_members.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_list_envelopes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_members_rm_reports_truthfully.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_memory.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_model_refusals.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_next_calls.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_next_calls_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_not_provided.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_org_admin.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_output_and_exit_contract.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_person_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_platform_followups.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_platform_parity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_profile.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_project_knowledge.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_project_profile.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_project_resolution.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_prompt_guard.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_proof_run_friction.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_read_flow.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_read_friction_fixes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_runs_workflows_outputs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_sandbox_round3.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_secret_storage.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_skills_ls.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_swarm018.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_trace_row.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_cli_uses_only_the_sdk.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_capture_notice.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_capture_notice_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_cli_anonymous_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_cli_ask_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_cli_body_boolean_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_cli_page_rendering_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_compound_text_policy_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_hook_project_consent_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_imported_system_evidence_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_mcp_project_pagination_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_named_cli_acceptance.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_overlay_path_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_queued_capture_binding_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_skill_inner_symlink_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_trace_scopes_review.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_codex_wrapper_and_uninstall.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_command_snapshots.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_compact_lists_of_objects.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_compound_text_hold.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_config_permissions.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_conversation_base_index.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_document_listing_matches_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_documents_mcp.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_engine_checkout_lookup.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_hook_capture_consent.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_hook_effective_org.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_hook_engine_reconciliation.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_hook_rewrites_and_identity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_hook_run_pinned_org.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_import_payload_authorship.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_install_script.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_kb_hostile_content.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_kb_shell_review_findings.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_license_declarations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_accept_reviewed.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_call_shaping.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_cap_does_not_trust_upstream_flags.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_card_type_settings.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_connected_item_read_call.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_conversation_search_match.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_coverage_has_more.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_coverage_text.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_cut_hints_name_real_commands.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_discovery.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_document_listing_window.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_edit_card_type.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_envelope_parity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_graph_summary.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_integration_results_match_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_integrations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_knowledge_door_parity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_knowledge_status_matches_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_limit_bounds.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_organization_line.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_platform_tools.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_profile_matches_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_project_names.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_project_restricted_credential.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_project_scope_refused.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_project_setup.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_proposal_decisions.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_queue_tools.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_read_file.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_render.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_render_matches_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_result_matches_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_review_interview_tool.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_shared_vocabulary.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_source_modes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_source_rendering.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_source_tools.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_startup_unreachable.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_stdio_protocol_versions.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_tool_annotations.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_tool_errors.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_update_existing_cards.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_upload_named_paths.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_upload_path_policy.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_visible_controls.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_mcp_workspace_line.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_packaging.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_personal_skill_sync_revision.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_pinned_project_schema.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_private_api_allowlist.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_private_api_coverage.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_project_binding_org.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_project_scope_names_match_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_proposal_filed_by.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_queued_capture_binding.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_recipe_investor_update_skill.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_release_prep.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_request_logs.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_research_hides_model_names.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_research_metadata.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_research_rendering.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_review_flags_match_engine.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_sdk_calls_resolve.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_server_text_printed_literally.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_session_learning_classification.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_setup_auth.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_setup_mcp_registration.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_shell_completion.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_skill_cards_or_originals.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_skill_sync_links.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_skills_sync.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_skills_sync_containment.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_skills_sync_parked_shared.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_snapshots.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_source_records_sdk_shapes.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_table_cells_escaped.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_timeline_clip_recovery.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_tool_surface.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_transcript_activity.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_transcript_authorship.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_transcripts.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_updates.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/test_wrong_api_url.py +0 -0
- {beakr_cli-0.8.0 → beakr_cli-0.9.0}/tests/upload_routes.py +0 -0
|
@@ -66,7 +66,7 @@ You are not just a read interface. Writing back is half of the job. When the wor
|
|
|
66
66
|
| `research` | When your client exposes it: Beakr composes one cited answer for you. For a lookup (a fact, a count, a name, a status) read Knowledge yourself with `knowledge_base`: it is faster and shows the rows themselves. Quick by default (one search of the knowledge base and documents, within 15 seconds); `quick=false` runs the full researcher (up to 150 seconds), which also reads connected services (Slack, Gmail, Calendar, Jira...): use it for a question about those services, not to make an answer complete. |
|
|
67
67
|
| `integrations` | Live reads of the user's connected services (Slack, Drive, Gmail, Jira, Notion, Benchling...), as the user, with the read-only tools Beakr's own agent uses: `command: list` names the tools you can call and their options, `describe` with `tool` gives one tool's schema, and `call` with `tool` runs it with its options in `arguments` (`connector_id` when a service is connected twice). A call ends with a Sources list whose `source_ref` a Knowledge write accepts as a citation. For what the organization already knows, the knowledge base comes first. |
|
|
68
68
|
| `show_proposal` / `accept_proposal` / `dismiss_proposal` | Review a staged proposal, which names who filed it ("filed by Dana Reyes via claude-code/2.1"); accept only when the user explicitly asks, passing the `content_hash` the write or `show_proposal` printed as `reviewed_hash`. A proposal that changed since it was shown is refused; one that changes a card's table rows is not accepted without the hash. Where the organization or project requires a person to accept what agents write, `accept_proposal` is refused (`person_review_required`) and nothing is applied; the hosted server's `show_proposal` says "Needs a person to accept". Tell the user it waits for them to accept in Beakr, and do not retry. |
|
|
69
|
-
| `list_projects` | Discover projects (including the personal one) to
|
|
69
|
+
| `list_projects` | Discover projects (including the personal one) and what each holds (its description), to pass as `scope` or `project`. |
|
|
70
70
|
| `get_profile`, `wiki_stats`, `wiki_graph` | Org/project profile, counts, and the most-connected pages. |
|
|
71
71
|
| `context` | The user's Beakr context for a project (its name or ID): profile, recent activity, relevant memories and skills. |
|
|
72
72
|
| `conversations_search` / `import_conversation` | Find past agent sessions and chats that answered something; import a session transcript. |
|
|
@@ -119,7 +119,10 @@ User asks something you can only describe
|
|
|
119
119
|
→ knowledge_base sections {query}; then cat {page, section_id} on the best hit (a hit is Knowledge's own text: quote from the section or its source, not from the hit)
|
|
120
120
|
|
|
121
121
|
User wants an answer composed from several sources, and research is available
|
|
122
|
-
→ research(query=...) (
|
|
122
|
+
→ research(query=..., project=...) (project: the one whose list_projects description names the subject; leave it out only for a question across projects. Quick by default; quick=false only for questions about connected services)
|
|
123
|
+
|
|
124
|
+
User names a program, product, customer or person and you don't know which project holds it
|
|
125
|
+
→ list_projects, pick the project whose description names it, then pass it as `scope` (knowledge_base) or `project` (research, documents, read_file)
|
|
123
126
|
|
|
124
127
|
User asks for the most recent or largest X
|
|
125
128
|
→ knowledge_base rows {table: facts, page_type, attribute, order_by: when (or value), descending: true}; cat the top few, then their children for the executed documents
|
|
@@ -160,7 +163,7 @@ User wants to audit knowledge base quality
|
|
|
160
163
|
|
|
161
164
|
## Scoping
|
|
162
165
|
|
|
163
|
-
- `knowledge_base` and `knowledge_base_write` take `scope`: a project name or ID. Omit it on reads to search everything the user can see.
|
|
166
|
+
- `knowledge_base` and `knowledge_base_write` take `scope`: a project name or ID. Omit it on reads to search everything the user can see. When the question is about one program, product or customer, find its project first (`list_projects`, by description) and pass it: a search across every project can return hundreds of pages.
|
|
164
167
|
- A `scope` that names no project the user can read is refused with the closest names (`scope_not_found`, or `scope_ambiguous` when several share the name); it is never widened to everything. Retry with a name or ID `list_projects` printed.
|
|
165
168
|
- `research`, `documents`, `read_file`, `wiki_stats` and `wiki_graph` take `project`. Pass the project's ID from `list_projects` to work on every server; the local CLI server (`beakr mcp`) also accepts its name and refuses one that names no readable project as `scope` is refused. On `read_file` it opens only a file in that project.
|
|
166
169
|
- The personal project is a project like any other: `list_projects` reports it with type `personal`. Pass its name or ID as the scope.
|
|
@@ -4,6 +4,91 @@ Releases of `beakr-cli`, the Beakr CLI and MCP server (built on the `beakr-sdk`
|
|
|
4
4
|
Python SDK).
|
|
5
5
|
Each release lists the public API changes it supports, taken from the API changelog.
|
|
6
6
|
|
|
7
|
+
## beakr-cli 0.9.0 (2026-12-04)
|
|
8
|
+
|
|
9
|
+
### Client changes
|
|
10
|
+
|
|
11
|
+
- **Writes name the agent that made them, with that agent's own session.**
|
|
12
|
+
Codex or Antigravity started from a Claude Code shell inherit
|
|
13
|
+
`CLAUDE_CODE_SESSION_ID`, and the CLI read it first, so their writes were
|
|
14
|
+
filed under the Claude Code conversation and labelled Claude Code. Now
|
|
15
|
+
`X-Beakr-Agent` and `X-Beakr-Session` always come from the same agent: the
|
|
16
|
+
nearest agent among the command's parent processes (read without running
|
|
17
|
+
`ps`, so it works inside Codex's and Antigravity's sandboxes), whichever
|
|
18
|
+
agent started which. If that agent set no variable of its own, no agent or
|
|
19
|
+
session is declared rather than an outer agent's. Only when the parent
|
|
20
|
+
processes cannot be read is the agent guessed, preferring any other agent's
|
|
21
|
+
variable to Claude Code's; that guess is wrong for Claude Code started from
|
|
22
|
+
Codex.
|
|
23
|
+
- **The agent session that started this one is sent as its parent.** The
|
|
24
|
+
nearest outer agent whose id is known goes in the new
|
|
25
|
+
`X-Beakr-Parent-Agent` and `X-Beakr-Parent-Session` headers (Claude Code's,
|
|
26
|
+
for Codex run from its shell), never as the session. It is sent also when
|
|
27
|
+
`BEAKR_SESSION` is set.
|
|
28
|
+
- **`claude -p` run by Claude Code names the outer session as its parent.** The
|
|
29
|
+
inner Claude Code overwrites `CLAUDE_CODE_SESSION_ID`, so the outer session is
|
|
30
|
+
read from the file every running Claude Code keeps for its process,
|
|
31
|
+
`~/.claude/sessions/<pid>.json` (`$CLAUDE_CONFIG_DIR/sessions` when set): only
|
|
32
|
+
its `sessionId` field, for the outer `claude` process among the command's
|
|
33
|
+
parent processes. The `.key` files beside it are never read. A missing or
|
|
34
|
+
unreadable file sends no parent. Codex keeps no such record, so Codex run by
|
|
35
|
+
Codex gets no Codex parent.
|
|
36
|
+
- **A Codex subagent works inside its conversation's session.** For Codex the
|
|
37
|
+
session is the root thread, `CODEX_SESSION_ID` (`sessionId` in a tool call's
|
|
38
|
+
`_meta`), as Claude Code's and Antigravity's subagents share theirs. A
|
|
39
|
+
subagent's own thread, `CODEX_THREAD_ID` (`threadId`) where it differs, is
|
|
40
|
+
sent as `X-Beakr-Run` unless `BEAKR_RUN` is set; in `beakr mcp` it replaces the
|
|
41
|
+
server's run label for that call. An engine that does not know these headers ignores
|
|
42
|
+
them. On a self-hosted engine, where `X-Beakr-Session` joins a stored
|
|
43
|
+
session, a Codex or Antigravity run started from Claude Code now gets its
|
|
44
|
+
own stored session instead of joining Claude Code's, and a Codex subagent
|
|
45
|
+
joins its root thread's.
|
|
46
|
+
- **Antigravity is recognised**: `ANTIGRAVITY_CONVERSATION_ID` is its session,
|
|
47
|
+
and its label is `antigravity` (its MCP client, `antigravity-client`, is
|
|
48
|
+
declared as `antigravity/<version>`).
|
|
49
|
+
- `beakr mcp` sends its client's own session and no other: Claude Code's
|
|
50
|
+
`CLAUDE_CODE_SESSION_ID`, and the id Codex (`sessionId`) and Antigravity
|
|
51
|
+
(`antigravity.google/conversation_id`) send in each tool call's `_meta`.
|
|
52
|
+
The `CLAUDE_CODE_SESSION_ID` Antigravity passes on to its MCP servers is sent
|
|
53
|
+
only as the parent, and an MCP client that is not a known agent gets no
|
|
54
|
+
session.
|
|
55
|
+
- `BEAKR_SESSION` and `BEAKR_AGENT` still win. `BEAKR_AGENT` naming a known
|
|
56
|
+
agent (`codex`) takes only that agent's session.
|
|
57
|
+
|
|
58
|
+
### Changes
|
|
59
|
+
|
|
60
|
+
- `POST /v1/runs`: a new `client_context.dashboard_selection` names the
|
|
61
|
+
dashboard widgets a message is about: `{canvas_id, dashboard?, widgets:
|
|
62
|
+
[{widget_id, title?, type?}]}`, on one dashboard. The agent treats them as what
|
|
63
|
+
"this" means in the message. Widgets past the first 10, repeated ones and ones
|
|
64
|
+
without a usable `widget_id` are ignored, and a `canvas_id` that is not a UUID
|
|
65
|
+
makes the whole selection ignored; neither is an error.
|
|
66
|
+
`GET /v1/threads/{thread_id}`: a user message sent with one carries the new
|
|
67
|
+
`dashboard_selection` field (the dashboard's `canvas_id` and title, and each
|
|
68
|
+
widget's `widget_id`, `title` and `type`); it is null on every other message.
|
|
69
|
+
- `POST /v1/knowledge/wiki/command`, command `rows`: new options
|
|
70
|
+
`changed_since` (`YYYY-MM-DD`) and `change` (`added`, `ended` or `any`, the
|
|
71
|
+
default). With `changed_since`, `rows` returns only the rows that changed on
|
|
72
|
+
their cards on or after that day: rows that first appeared there (`added`), or
|
|
73
|
+
rows whose When gained an end or, on facts, that a newer value replaced
|
|
74
|
+
(`ended`). Each returned row carries a `change` column saying how it changed.
|
|
75
|
+
The options combine with every other `rows` filter. `change: ended` is refused
|
|
76
|
+
on `table: findings`, and `changed_since` is refused with `view: fields`,
|
|
77
|
+
`view: groups` and `view: conflicts`. Rows already on a card before this
|
|
78
|
+
release are not reported as added. When the scope's rows index is not ready,
|
|
79
|
+
`changed_since` returns the error code `index_unavailable`; retry shortly.
|
|
80
|
+
- `POST /v1/knowledge/wiki/command`, command `links`: `direction` takes the
|
|
81
|
+
new value `both`, which lists the first page of links into the page and then
|
|
82
|
+
of links from it (`offset` is refused with `both`; page one direction at a
|
|
83
|
+
time). With no `direction`, a page nothing links to now lists the pages it
|
|
84
|
+
links to instead of answering only "No backlinks.", and any read of
|
|
85
|
+
incoming links says how many pages the page links to when there are any.
|
|
86
|
+
- `POST /v1/knowledge/wiki/proposals/{proposal_id}/resolutions`: on a flag on a
|
|
87
|
+
card's Facts or Connections table where no row needs to change, the answer
|
|
88
|
+
says so instead of failing: `options` is empty, `no_draft_reason` is the new
|
|
89
|
+
`no_row_change`, and the new `no_draft_explanation` field holds the reason in
|
|
90
|
+
one sentence, to show the reviewer (dismiss the flag if the card is right).
|
|
91
|
+
`no_draft_explanation` is null in every other answer.
|
|
7
92
|
## beakr-cli 0.8.0 (2026-11-26)
|
|
8
93
|
|
|
9
94
|
### Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: beakr-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: CLI and MCP server for Beakr
|
|
5
5
|
Project-URL: Homepage, https://thebeakr.com
|
|
6
6
|
Project-URL: Repository, https://github.com/BeakrHub/beakr-cli
|
|
@@ -15,7 +15,7 @@ Classifier: Intended Audience :: Developers
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Topic :: Software Development :: Documentation
|
|
17
17
|
Requires-Python: >=3.10
|
|
18
|
-
Requires-Dist: beakr-sdk<0.
|
|
18
|
+
Requires-Dist: beakr-sdk<0.7,>=0.2.0
|
|
19
19
|
Requires-Dist: httpx>=0.27
|
|
20
20
|
Requires-Dist: keyring>=25
|
|
21
21
|
Requires-Dist: mcp<3,>=2.3
|
|
@@ -1004,9 +1004,9 @@ This writes:
|
|
|
1004
1004
|
|----------|-------------|
|
|
1005
1005
|
| `BEAKR_API_KEY` | API key (overrides stored config) |
|
|
1006
1006
|
| `BEAKR_BASE_URL` | API base URL (default: `https://api.thebeakr.com`). `BEAKR_API_URL` also works, read after it; `--api-url` overrides both. |
|
|
1007
|
-
| `BEAKR_AGENT` | Sent as `X-Beakr-Agent` to attribute writes to an agent. The MCP server defaults to its client's name and version (`claude-code/2.1.283`); set this to tell apart several agents that share one key. The CLI at a terminal sends none. |
|
|
1008
|
-
| `BEAKR_RUN` | Sent as `X-Beakr-Run`: groups a script's Knowledge writes into one run that `beakr kb undo-run <run>` takes back together. The MCP server defaults to one run per server process (`stdio:<id>`). |
|
|
1009
|
-
| `BEAKR_SESSION` | Sent as `X-Beakr-Session`: the agent session behind the writes, shown on their provenance ("session <id>"). Unset, the CLI and MCP server
|
|
1007
|
+
| `BEAKR_AGENT` | Sent as `X-Beakr-Agent` to attribute writes to an agent. The MCP server defaults to its client's name and version (`claude-code/2.1.283`), and the CLI run by an agent to that agent (`claude-code`, `codex`, `antigravity`, `cursor`; see `BEAKR_SESSION`); set this to tell apart several agents that share one key. The CLI at a terminal sends none. |
|
|
1008
|
+
| `BEAKR_RUN` | Sent as `X-Beakr-Run`: groups a script's Knowledge writes into one run that `beakr kb undo-run <run>` takes back together. The MCP server defaults to one run per server process (`stdio:<id>`). A Codex subagent sends its own thread (`CODEX_THREAD_ID`, where it differs from `CODEX_SESSION_ID`) as the run unless this is set. |
|
|
1009
|
+
| `BEAKR_SESSION` | Sent as `X-Beakr-Session`: the agent session behind the writes, shown on their provenance ("session <id>"). Unset, the CLI and MCP server send the session of the agent that is acting, and only that agent's: the label and the session always name the same agent. A command run by an agent uses its own variable: `CLAUDE_CODE_SESSION_ID` (Claude Code), `CODEX_SESSION_ID` (Codex: the root thread, also for a subagent; `CODEX_THREAD_ID` when it is unset), `ANTIGRAVITY_CONVERSATION_ID` (Antigravity) or `CURSOR_CONVERSATION_ID` (Cursor). When agents start one another (Codex from a Claude Code shell, or Claude Code from a Codex shell), the nearest agent among the command's parent processes is the one acting, and the nearest outer agent whose id was inherited is sent as `X-Beakr-Parent-Agent` and `X-Beakr-Parent-Session` (also when `BEAKR_SESSION` is set). For `claude -p` run by Claude Code, which overwrites `CLAUDE_CODE_SESSION_ID`, the outer session is read from the `sessionId` field of the outer process's `~/.claude/sessions/<pid>.json` (never the `.key` files beside it); Codex keeps no such record, so Codex run by Codex gets no Codex parent. Only when the parent processes cannot be read is the acting agent guessed, preferring any other agent's variable to Claude Code's; that guess is wrong for Claude Code started from Codex. The MCP server uses its client's own session: Claude Code's variable, or the id Codex (`sessionId`) and Antigravity send with each tool call; an id inherited from another agent is only ever sent as the parent. Nothing is sent when no session is known. `BEAKR_AGENT` naming a known agent (`codex`) takes that agent's session only. |
|
|
1010
1010
|
| `BEAKR_APP_URL` | Web app URL for pages the CLI opens (default: saved at `beakr auth login`, else `https://app.thebeakr.com`) |
|
|
1011
1011
|
| `BEAKR_HOME` | Directory for config, credentials and hook state (default: `~/.beakr`) |
|
|
1012
1012
|
| `BEAKR_NO_KEYRING` | Set to `1` to store sign-in tokens in `~/.beakr/credentials` instead of the keychain |
|
|
@@ -967,9 +967,9 @@ This writes:
|
|
|
967
967
|
|----------|-------------|
|
|
968
968
|
| `BEAKR_API_KEY` | API key (overrides stored config) |
|
|
969
969
|
| `BEAKR_BASE_URL` | API base URL (default: `https://api.thebeakr.com`). `BEAKR_API_URL` also works, read after it; `--api-url` overrides both. |
|
|
970
|
-
| `BEAKR_AGENT` | Sent as `X-Beakr-Agent` to attribute writes to an agent. The MCP server defaults to its client's name and version (`claude-code/2.1.283`); set this to tell apart several agents that share one key. The CLI at a terminal sends none. |
|
|
971
|
-
| `BEAKR_RUN` | Sent as `X-Beakr-Run`: groups a script's Knowledge writes into one run that `beakr kb undo-run <run>` takes back together. The MCP server defaults to one run per server process (`stdio:<id>`). |
|
|
972
|
-
| `BEAKR_SESSION` | Sent as `X-Beakr-Session`: the agent session behind the writes, shown on their provenance ("session <id>"). Unset, the CLI and MCP server
|
|
970
|
+
| `BEAKR_AGENT` | Sent as `X-Beakr-Agent` to attribute writes to an agent. The MCP server defaults to its client's name and version (`claude-code/2.1.283`), and the CLI run by an agent to that agent (`claude-code`, `codex`, `antigravity`, `cursor`; see `BEAKR_SESSION`); set this to tell apart several agents that share one key. The CLI at a terminal sends none. |
|
|
971
|
+
| `BEAKR_RUN` | Sent as `X-Beakr-Run`: groups a script's Knowledge writes into one run that `beakr kb undo-run <run>` takes back together. The MCP server defaults to one run per server process (`stdio:<id>`). A Codex subagent sends its own thread (`CODEX_THREAD_ID`, where it differs from `CODEX_SESSION_ID`) as the run unless this is set. |
|
|
972
|
+
| `BEAKR_SESSION` | Sent as `X-Beakr-Session`: the agent session behind the writes, shown on their provenance ("session <id>"). Unset, the CLI and MCP server send the session of the agent that is acting, and only that agent's: the label and the session always name the same agent. A command run by an agent uses its own variable: `CLAUDE_CODE_SESSION_ID` (Claude Code), `CODEX_SESSION_ID` (Codex: the root thread, also for a subagent; `CODEX_THREAD_ID` when it is unset), `ANTIGRAVITY_CONVERSATION_ID` (Antigravity) or `CURSOR_CONVERSATION_ID` (Cursor). When agents start one another (Codex from a Claude Code shell, or Claude Code from a Codex shell), the nearest agent among the command's parent processes is the one acting, and the nearest outer agent whose id was inherited is sent as `X-Beakr-Parent-Agent` and `X-Beakr-Parent-Session` (also when `BEAKR_SESSION` is set). For `claude -p` run by Claude Code, which overwrites `CLAUDE_CODE_SESSION_ID`, the outer session is read from the `sessionId` field of the outer process's `~/.claude/sessions/<pid>.json` (never the `.key` files beside it); Codex keeps no such record, so Codex run by Codex gets no Codex parent. Only when the parent processes cannot be read is the acting agent guessed, preferring any other agent's variable to Claude Code's; that guess is wrong for Claude Code started from Codex. The MCP server uses its client's own session: Claude Code's variable, or the id Codex (`sessionId`) and Antigravity send with each tool call; an id inherited from another agent is only ever sent as the parent. Nothing is sent when no session is known. `BEAKR_AGENT` naming a known agent (`codex`) takes that agent's session only. |
|
|
973
973
|
| `BEAKR_APP_URL` | Web app URL for pages the CLI opens (default: saved at `beakr auth login`, else `https://app.thebeakr.com`) |
|
|
974
974
|
| `BEAKR_HOME` | Directory for config, credentials and hook state (default: `~/.beakr`) |
|
|
975
975
|
| `BEAKR_NO_KEYRING` | Set to `1` to store sign-in tokens in `~/.beakr/credentials` instead of the keychain |
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "beakr-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.9.0"
|
|
8
8
|
description = "CLI and MCP server for Beakr"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -21,7 +21,7 @@ classifiers = [
|
|
|
21
21
|
dependencies = [
|
|
22
22
|
# The Python SDK (BeakrHub/beakr-python), from PyPI; see the README's
|
|
23
23
|
# "The Python SDK dependency" for working against an unreleased SDK.
|
|
24
|
-
"beakr-sdk>=0.2.0,<0.
|
|
24
|
+
"beakr-sdk>=0.2.0,<0.7",
|
|
25
25
|
# Capped: typer 0.26 vendors its own click (typer._click), and its error
|
|
26
26
|
# handler no longer catches the real click exceptions `beakr api` raises,
|
|
27
27
|
# so every usage error and even `beakr api --help` ended in a traceback.
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"""Which coding agent is running the CLI, and which of its sessions: one answer for both.
|
|
2
|
+
|
|
3
|
+
``X-Beakr-Agent`` and ``X-Beakr-Session`` name the agent and the agent session
|
|
4
|
+
behind a request, and a write's provenance shows them side by side. They must
|
|
5
|
+
come from the same agent. Agents start one another: Codex or Antigravity run
|
|
6
|
+
from a Claude Code shell inherit ``CLAUDE_CODE_SESSION_ID`` beside their own
|
|
7
|
+
variable, and Antigravity passes it on to the MCP servers it starts. Reading the
|
|
8
|
+
variables in a fixed order filed Codex's and Antigravity's writes under the
|
|
9
|
+
Claude Code conversation that started them, labelled Claude Code.
|
|
10
|
+
|
|
11
|
+
The answer, :func:`detect`:
|
|
12
|
+
|
|
13
|
+
1. **In ``beakr mcp``, the MCP client decides** (its ``initialize`` clientInfo,
|
|
14
|
+
``MCP_CLIENT_AGENT``). Its session is the id it sends in the tool call's
|
|
15
|
+
``_meta`` (Codex: ``sessionId``; Antigravity:
|
|
16
|
+
``antigravity.google/conversation_id``), else its own variable. With neither,
|
|
17
|
+
no session is sent, never an id inherited from another agent. A client that
|
|
18
|
+
is none of the agents below gets no session.
|
|
19
|
+
2. **Otherwise, the agent running the command, from the process ancestry**
|
|
20
|
+
(:mod:`beakr_cli.process_ancestry`) whenever it can be read: the nearest
|
|
21
|
+
ancestor that is an agent owns the label and the session. If that agent's
|
|
22
|
+
own variable is missing, nothing is declared rather than an outer agent's
|
|
23
|
+
id. Only when ancestry cannot be read, or holds no agent, does a precedence
|
|
24
|
+
rule guess (:data:`FALLBACK_ORDER`, non-Claude first); that guess is wrong
|
|
25
|
+
when Codex orchestrates Claude Code.
|
|
26
|
+
|
|
27
|
+
**The session is the conversation.** A subagent works inside its agent's
|
|
28
|
+
conversation, as Claude Code's and Antigravity's do. For Codex that is the root
|
|
29
|
+
thread, ``CODEX_SESSION_ID`` (``sessionId`` in ``_meta``); a Codex subagent's
|
|
30
|
+
own thread, ``CODEX_THREAD_ID`` (``threadId``) where it differs, is sent as the
|
|
31
|
+
run (``X-Beakr-Run``) instead.
|
|
32
|
+
|
|
33
|
+
**The parent.** An outer agent's id is not dropped: the nearest outer agent
|
|
34
|
+
whose id is known is reported as the parent (``X-Beakr-Parent-Agent`` and
|
|
35
|
+
``X-Beakr-Parent-Session``), walking the ancestry beyond the acting agent,
|
|
36
|
+
else taken from the remaining variables. An outer agent of another kind gives
|
|
37
|
+
its inherited variable. An outer agent of the same kind overwrote that
|
|
38
|
+
variable; for Claude Code its session is read from the file it keeps for its
|
|
39
|
+
pid (:mod:`beakr_cli.claude_process_sessions`), while Codex keeps no such
|
|
40
|
+
record, so Codex under Codex gets no Codex parent. The parent is never used as
|
|
41
|
+
the session or the agent.
|
|
42
|
+
|
|
43
|
+
``BEAKR_AGENT`` and ``BEAKR_SESSION`` still win for their own header (see
|
|
44
|
+
:func:`beakr_cli.sdk.attribution`).
|
|
45
|
+
|
|
46
|
+
Measured 2026-12-05 (Claude Code 2.1.337, codex-cli 0.166.0, agy 1.5.25), from
|
|
47
|
+
a Claude Code shell: Codex's shell commands get ``CODEX_THREAD_ID`` and
|
|
48
|
+
``CODEX_SESSION_ID`` (both its session id) and the parent's
|
|
49
|
+
``CLAUDE_CODE_SESSION_ID``; Antigravity's get ``ANTIGRAVITY_CONVERSATION_ID``
|
|
50
|
+
and the parent's ``CLAUDE_CODE_SESSION_ID``. Codex starts MCP servers with a
|
|
51
|
+
fixed environment (no ids); Antigravity's MCP servers inherit only
|
|
52
|
+
``CLAUDE_CODE_SESSION_ID``. Both send their own id in each ``tools/call``
|
|
53
|
+
``_meta``, equal to the shell variable; their clientInfo names are
|
|
54
|
+
``codex-mcp-client`` and ``antigravity-client``.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
from __future__ import annotations
|
|
58
|
+
|
|
59
|
+
import os
|
|
60
|
+
from collections.abc import Callable, Mapping
|
|
61
|
+
from dataclasses import dataclass
|
|
62
|
+
from functools import cache
|
|
63
|
+
from typing import Any
|
|
64
|
+
|
|
65
|
+
from beakr_cli import claude_process_sessions, process_ancestry
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
@dataclass(frozen=True)
|
|
69
|
+
class Agent:
|
|
70
|
+
"""A coding agent the CLI can recognise, and where its session id is found."""
|
|
71
|
+
|
|
72
|
+
#: The label sent as ``X-Beakr-Agent``, as the engine names it
|
|
73
|
+
#: (``citation_filer._AGENT_NAMES``); ``via`` filters match it by prefix.
|
|
74
|
+
slug: str
|
|
75
|
+
#: Environment variables holding its session id, set for the shell commands
|
|
76
|
+
#: it runs (and, for Claude Code, for its MCP servers); first set wins.
|
|
77
|
+
session_variables: tuple[str, ...]
|
|
78
|
+
#: ``tools/call`` ``_meta`` keys holding its session id, sent to MCP servers.
|
|
79
|
+
meta_session_keys: tuple[str, ...]
|
|
80
|
+
#: MCP clientInfo names, matched exactly or as ``<name>-...``.
|
|
81
|
+
client_names: tuple[str, ...]
|
|
82
|
+
#: Process names (lowercased base names of the executable or ``argv[0]``).
|
|
83
|
+
process_names: frozenset[str]
|
|
84
|
+
#: Substrings of a lowercased executable or script path that mark it.
|
|
85
|
+
process_path_markers: tuple[str, ...]
|
|
86
|
+
#: Where a subagent's own thread is named, when the agent gives one: an
|
|
87
|
+
#: environment variable and a ``_meta`` key. Differing from the session, it
|
|
88
|
+
#: is sent as the run.
|
|
89
|
+
run_variable: str | None = None
|
|
90
|
+
run_meta_key: str | None = None
|
|
91
|
+
#: The session a running process of this agent is in, by its pid, for an
|
|
92
|
+
#: outer agent of the same kind whose variable the inner one overwrote.
|
|
93
|
+
process_session: Callable[[int], str | None] | None = None
|
|
94
|
+
|
|
95
|
+
def session_from_environment(self) -> str | None:
|
|
96
|
+
for variable in self.session_variables:
|
|
97
|
+
value = os.environ.get(variable, "").strip()
|
|
98
|
+
if value:
|
|
99
|
+
return value
|
|
100
|
+
return None
|
|
101
|
+
|
|
102
|
+
def session_from_meta(self, meta: Mapping[str, Any] | None) -> str | None:
|
|
103
|
+
for key in self.meta_session_keys:
|
|
104
|
+
value = (meta or {}).get(key)
|
|
105
|
+
if isinstance(value, str) and value.strip():
|
|
106
|
+
return value.strip()
|
|
107
|
+
return None
|
|
108
|
+
|
|
109
|
+
def run_of(self, session: str | None, meta: Mapping[str, Any] | None) -> str | None:
|
|
110
|
+
"""A subagent's own thread, when it differs from ``session``; else None."""
|
|
111
|
+
if meta is not None and self.run_meta_key:
|
|
112
|
+
value = meta.get(self.run_meta_key)
|
|
113
|
+
thread = value.strip() if isinstance(value, str) else ""
|
|
114
|
+
elif self.run_variable:
|
|
115
|
+
thread = os.environ.get(self.run_variable, "").strip()
|
|
116
|
+
else:
|
|
117
|
+
thread = ""
|
|
118
|
+
return thread if thread and session and thread != session else None
|
|
119
|
+
|
|
120
|
+
def is_client(self, label: str) -> bool:
|
|
121
|
+
name = label.split("/", 1)[0].strip().lower()
|
|
122
|
+
return any(name == known or name.startswith(f"{known}-") for known in self.client_names)
|
|
123
|
+
|
|
124
|
+
def is_process(self, candidates: tuple[str, ...]) -> bool:
|
|
125
|
+
return any(
|
|
126
|
+
process_ancestry.base_name(value) in self.process_names
|
|
127
|
+
or any(marker in value for marker in self.process_path_markers)
|
|
128
|
+
for value in candidates
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
CLAUDE_CODE = Agent(
|
|
133
|
+
slug="claude-code",
|
|
134
|
+
session_variables=("CLAUDE_CODE_SESSION_ID",),
|
|
135
|
+
meta_session_keys=(),
|
|
136
|
+
client_names=("claude-code",),
|
|
137
|
+
# The native build runs from ~/.local/share/claude/versions/<version> with
|
|
138
|
+
# argv[0] "claude"; the npm build is node running @anthropic-ai/claude-code.
|
|
139
|
+
process_names=frozenset({"claude"}),
|
|
140
|
+
process_path_markers=("/claude/versions/", "/@anthropic-ai/claude-code/"),
|
|
141
|
+
process_session=claude_process_sessions.session_of_process,
|
|
142
|
+
)
|
|
143
|
+
|
|
144
|
+
CODEX = Agent(
|
|
145
|
+
slug="codex",
|
|
146
|
+
# The session is the conversation: the root thread. A subagent spawned by
|
|
147
|
+
# Codex (multi_agent v2, codex-cli 0.166.0) gets its own CODEX_THREAD_ID
|
|
148
|
+
# and keeps the root thread's CODEX_SESSION_ID; its MCP calls carry the
|
|
149
|
+
# same pair as threadId and sessionId. On a root thread they are equal.
|
|
150
|
+
session_variables=("CODEX_SESSION_ID", "CODEX_THREAD_ID"),
|
|
151
|
+
meta_session_keys=("sessionId", "threadId"),
|
|
152
|
+
client_names=("codex",),
|
|
153
|
+
process_names=frozenset({"codex"}),
|
|
154
|
+
process_path_markers=("/@openai/codex/",),
|
|
155
|
+
run_variable="CODEX_THREAD_ID",
|
|
156
|
+
run_meta_key="threadId",
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
ANTIGRAVITY = Agent(
|
|
160
|
+
slug="antigravity",
|
|
161
|
+
session_variables=("ANTIGRAVITY_CONVERSATION_ID",),
|
|
162
|
+
meta_session_keys=("antigravity.google/conversation_id",),
|
|
163
|
+
client_names=("antigravity",),
|
|
164
|
+
# The CLI is "agy"; the desktop apps are Antigravity.app (executable
|
|
165
|
+
# "Antigravity") and "Antigravity IDE.app" (executable "Electron").
|
|
166
|
+
process_names=frozenset({"agy", "antigravity"}),
|
|
167
|
+
process_path_markers=("/antigravity.app/", "/antigravity ide.app/"),
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
CURSOR = Agent(
|
|
171
|
+
slug="cursor",
|
|
172
|
+
session_variables=("CURSOR_CONVERSATION_ID",),
|
|
173
|
+
meta_session_keys=(),
|
|
174
|
+
client_names=("cursor",),
|
|
175
|
+
process_names=frozenset({"cursor", "cursor-agent"}),
|
|
176
|
+
process_path_markers=("/cursor.app/",),
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
#: Every agent recognised, in the precedence used only when the process
|
|
180
|
+
#: ancestry cannot decide: any non-Claude agent before Claude Code. That guess
|
|
181
|
+
#: is wrong when Codex orchestrates (Claude Code started from a Codex shell has
|
|
182
|
+
#: both variables and is the innermost), which is why ancestry comes first.
|
|
183
|
+
FALLBACK_ORDER: tuple[Agent, ...] = (CODEX, ANTIGRAVITY, CURSOR, CLAUDE_CODE)
|
|
184
|
+
AGENTS = FALLBACK_ORDER
|
|
185
|
+
|
|
186
|
+
#: Every variable read as an agent's session, for tests and docs.
|
|
187
|
+
SESSION_VARIABLES: tuple[str, ...] = tuple(
|
|
188
|
+
variable for agent in AGENTS for variable in agent.session_variables
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
@dataclass(frozen=True)
|
|
193
|
+
class Detected:
|
|
194
|
+
"""The acting agent and its own session, and the agent session that started it.
|
|
195
|
+
|
|
196
|
+
``agent``, ``session`` and ``run`` always come from the same agent;
|
|
197
|
+
``parent_agent`` and ``parent_session`` from the nearest outer agent whose
|
|
198
|
+
id is known. The parent is never used as the session or the agent. Any may
|
|
199
|
+
be None.
|
|
200
|
+
"""
|
|
201
|
+
|
|
202
|
+
agent: str | None
|
|
203
|
+
session: str | None
|
|
204
|
+
parent_agent: str | None = None
|
|
205
|
+
parent_session: str | None = None
|
|
206
|
+
#: A subagent's own thread inside ``session`` (Codex), for ``X-Beakr-Run``.
|
|
207
|
+
run: str | None = None
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
NOTHING = Detected(agent=None, session=None)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
@dataclass(frozen=True)
|
|
214
|
+
class FoundAgent:
|
|
215
|
+
"""An ancestor process that is a known agent."""
|
|
216
|
+
|
|
217
|
+
agent: Agent
|
|
218
|
+
pid: int
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def agent_named(label: str | None) -> Agent | None:
|
|
222
|
+
"""The agent an MCP clientInfo or ``BEAKR_AGENT`` label names, if a known one."""
|
|
223
|
+
if not label:
|
|
224
|
+
return None
|
|
225
|
+
return next((agent for agent in AGENTS if agent.is_client(label)), None)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
@cache
|
|
229
|
+
def agent_lineage() -> tuple[FoundAgent, ...]:
|
|
230
|
+
"""The agents among this process's ancestors, nearest first; empty when none or unreadable.
|
|
231
|
+
|
|
232
|
+
Cached for the process: a command's ancestry does not change while it
|
|
233
|
+
runs, and the MCP server keeps the parent that started it.
|
|
234
|
+
"""
|
|
235
|
+
lineage: list[FoundAgent] = []
|
|
236
|
+
for ancestor in process_ancestry.ancestors():
|
|
237
|
+
agent = next((agent for agent in AGENTS if agent.is_process(ancestor.names)), None)
|
|
238
|
+
if agent is not None:
|
|
239
|
+
lineage.append(FoundAgent(agent=agent, pid=ancestor.pid))
|
|
240
|
+
return tuple(lineage)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
def running_agent() -> Agent | None:
|
|
244
|
+
"""The nearest ancestor process that is a known agent; None when none or unreadable."""
|
|
245
|
+
lineage = agent_lineage()
|
|
246
|
+
return lineage[0].agent if lineage else None
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
def _parent(
|
|
250
|
+
inner: Agent, outside: tuple[FoundAgent, ...], present: list[Agent], session: str | None
|
|
251
|
+
) -> tuple[str, str] | None:
|
|
252
|
+
"""``(slug, session)`` of the nearest agent outside ``inner`` whose id is known.
|
|
253
|
+
|
|
254
|
+
``outside`` is the ancestry beyond ``inner``, nearest first. An ancestor of
|
|
255
|
+
another kind gives its variable from the environment, inherited. An
|
|
256
|
+
ancestor of ``inner``'s own kind overwrote that variable, so its session is
|
|
257
|
+
read from its process (Claude Code's pid file); where the agent keeps none
|
|
258
|
+
(Codex), it is skipped. An ancestor with no id (an editor app holding the
|
|
259
|
+
terminal) is skipped too. A variable whose agent was not seen among the
|
|
260
|
+
ancestors (ancestry unreadable, or cut short) was still inherited from
|
|
261
|
+
outside; it is taken last, in :data:`FALLBACK_ORDER`. An id equal to
|
|
262
|
+
``session`` is never a parent.
|
|
263
|
+
"""
|
|
264
|
+
for found in outside:
|
|
265
|
+
if found.agent is inner:
|
|
266
|
+
reader = inner.process_session
|
|
267
|
+
candidate = reader(found.pid) if reader is not None else None
|
|
268
|
+
elif found.agent in present:
|
|
269
|
+
candidate = found.agent.session_from_environment()
|
|
270
|
+
else:
|
|
271
|
+
candidate = None
|
|
272
|
+
if candidate and candidate != session:
|
|
273
|
+
return found.agent.slug, candidate
|
|
274
|
+
for agent in present:
|
|
275
|
+
candidate = agent.session_from_environment()
|
|
276
|
+
if agent is not inner and candidate and candidate != session:
|
|
277
|
+
return agent.slug, candidate
|
|
278
|
+
return None
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def _detected(
|
|
282
|
+
label: str,
|
|
283
|
+
inner: Agent,
|
|
284
|
+
session: str | None,
|
|
285
|
+
outside: tuple[FoundAgent, ...],
|
|
286
|
+
present: list[Agent],
|
|
287
|
+
request_meta: Mapping[str, Any] | None = None,
|
|
288
|
+
) -> Detected:
|
|
289
|
+
parent = _parent(inner, outside, present, session)
|
|
290
|
+
return Detected(
|
|
291
|
+
agent=label,
|
|
292
|
+
session=session,
|
|
293
|
+
parent_agent=parent[0] if parent else None,
|
|
294
|
+
parent_session=parent[1] if parent else None,
|
|
295
|
+
run=inner.run_of(session, request_meta),
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
def _present() -> list[Agent]:
|
|
300
|
+
return [agent for agent in FALLBACK_ORDER if agent.session_from_environment()]
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def detect(
|
|
304
|
+
*, mcp_client: str | None = None, request_meta: Mapping[str, Any] | None = None
|
|
305
|
+
) -> Detected:
|
|
306
|
+
"""The agent running this command, its own session, and the agent that started it.
|
|
307
|
+
|
|
308
|
+
``mcp_client`` is the MCP client being answered (``name/version`` from its
|
|
309
|
+
clientInfo), ``request_meta`` the tool call's ``_meta``; both None outside a
|
|
310
|
+
``beakr mcp`` tool call.
|
|
311
|
+
"""
|
|
312
|
+
present = _present()
|
|
313
|
+
if mcp_client:
|
|
314
|
+
agent = agent_named(mcp_client)
|
|
315
|
+
if agent is None:
|
|
316
|
+
return Detected(agent=mcp_client, session=None)
|
|
317
|
+
session = session_of(agent, request_meta)
|
|
318
|
+
lineage = agent_lineage()
|
|
319
|
+
# The client is the server's nearest agent ancestor; what is beyond it
|
|
320
|
+
# started it. With no ancestry, every other variable is outside it.
|
|
321
|
+
agents = [found.agent for found in lineage]
|
|
322
|
+
outside = lineage[agents.index(agent) + 1 :] if agent in agents else lineage
|
|
323
|
+
return _detected(mcp_client, agent, session, outside, present, request_meta)
|
|
324
|
+
if not present:
|
|
325
|
+
return NOTHING
|
|
326
|
+
lineage = agent_lineage()
|
|
327
|
+
if lineage:
|
|
328
|
+
inner = lineage[0].agent
|
|
329
|
+
if inner not in present:
|
|
330
|
+
# The agent running this command set no id of its own: an outer
|
|
331
|
+
# agent's id must never be filed as its work.
|
|
332
|
+
return NOTHING
|
|
333
|
+
outside = lineage[1:]
|
|
334
|
+
else:
|
|
335
|
+
# Ancestry unreadable, or no agent among the ancestors (tmux, nohup):
|
|
336
|
+
# the precedence guess, which can name the wrong agent (see FALLBACK_ORDER).
|
|
337
|
+
inner, outside = present[0], ()
|
|
338
|
+
return _detected(inner.slug, inner, inner.session_from_environment(), outside, present)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
def session_of(agent: Agent, request_meta: Mapping[str, Any] | None = None) -> str | None:
|
|
342
|
+
"""``agent``'s own session: from the tool call's ``_meta``, else its variable."""
|
|
343
|
+
return agent.session_from_meta(request_meta) or agent.session_from_environment()
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
def run_of(agent: Agent, request_meta: Mapping[str, Any] | None = None) -> str | None:
|
|
347
|
+
"""``agent``'s subagent thread inside its session, when it is in one."""
|
|
348
|
+
return agent.run_of(session_of(agent, request_meta), request_meta)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""The session a running Claude Code process is in, from the file it keeps for its pid.
|
|
2
|
+
|
|
3
|
+
Claude Code started from a Claude Code shell (``claude -p`` run by Claude Code)
|
|
4
|
+
overwrites ``CLAUDE_CODE_SESSION_ID``, so the outer session cannot be read from
|
|
5
|
+
the environment. Every running Claude Code keeps
|
|
6
|
+
``~/.claude/sessions/<pid>.json`` (``$CLAUDE_CONFIG_DIR/sessions`` when set),
|
|
7
|
+
whose ``sessionId`` field is its current session (Claude Code 2.1.337,
|
|
8
|
+
2026-12-05). :mod:`beakr_cli.agent_session` reads it for an outer ``claude``
|
|
9
|
+
process found among the ancestors, to name that session as the parent.
|
|
10
|
+
|
|
11
|
+
Only ``<pid>.json`` is opened and only its ``sessionId`` field is used. The
|
|
12
|
+
``<pid>.<hash>.key`` files beside it are never read. Any failure (no file, not
|
|
13
|
+
JSON, no such field, too large) gives None.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
|
|
18
|
+
import json
|
|
19
|
+
import os
|
|
20
|
+
from pathlib import Path
|
|
21
|
+
|
|
22
|
+
#: Larger files are not read: the record is a few hundred bytes.
|
|
23
|
+
MAX_FILE_BYTES = 64 * 1024
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def _session_directories() -> list[Path]:
|
|
27
|
+
directories = []
|
|
28
|
+
configured = os.environ.get("CLAUDE_CONFIG_DIR", "").strip()
|
|
29
|
+
if configured:
|
|
30
|
+
directories.append(Path(configured).expanduser() / "sessions")
|
|
31
|
+
directories.append(Path.home() / ".claude" / "sessions")
|
|
32
|
+
return list(dict.fromkeys(directories))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def session_of_process(pid: int) -> str | None:
|
|
36
|
+
"""``sessionId`` from the session file of Claude Code process ``pid``; never raises."""
|
|
37
|
+
if pid <= 0:
|
|
38
|
+
return None
|
|
39
|
+
for directory in _session_directories():
|
|
40
|
+
try:
|
|
41
|
+
path = directory / f"{int(pid)}.json"
|
|
42
|
+
if path.stat().st_size > MAX_FILE_BYTES:
|
|
43
|
+
continue
|
|
44
|
+
record = json.loads(path.read_text(encoding="utf-8"))
|
|
45
|
+
except (OSError, ValueError):
|
|
46
|
+
continue
|
|
47
|
+
session = record.get("sessionId") if isinstance(record, dict) else None
|
|
48
|
+
if isinstance(session, str) and session.strip():
|
|
49
|
+
return session.strip()
|
|
50
|
+
return None
|