Repository navigation
refactor(layout): batch2 bee/observability/adapter/core/kb - #593
Conversation
|
Warning Review limit reached
More reviews will be available in 6 minutes and 48 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (27)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Batch 2 of the package-layout consolidation: relocate 13 mid-traffic top-level modules into cohesive subpackages. Old import paths preserved via shims / in-place package conversion — no call-site changes required.
New packages (
bee/) + B-shims:bee_command_bridge|launch|runtime|template_pack|workspace.py→bee/*.pyObservability:
observability.py→observability/config.py(A);agent_observability.py→observability/agent.py(B);metrics.py→observability/metrics.py(B)Adapter:
adapter.py→adapter/pipeline.py(A);adapter_types.py→adapter/types.py(B)Core:
app.py→core/app.py(B);agent_identity.py→core/agent_identity.py(B)KB:
kb.py→kb/rag.py(A) — distinct fromplugins/kb.py__init__.pyre-exports the full public surface (import *+ explicit non-public names).sys.modulesalias shim at the old path.Notable in-package repoints (to break import cycles / fix path-relative logic)
coding_agent.bee.*;bee/__init__.pyuses lazy re-exports.adapter/pipeline.py→coding_agent.adapter.types,coding_agent.observability.agent,coding_agent.redaction.core/app.pyagent.toml default fixed toPath(__file__).parents[1] / "agent.toml"(package root).kb/rag.pypreserves monkeypatch/private-name behavior (Progress,_source_id, fetch-cap constants).Verification (independent, outside codex sandbox)
uv run pytest -q: 3725 passed, 8 skipped, 20 xfailedcoding_agent.<pkg>andcoding_agent.<pkg>.<mod>(no missing/divergent objects).core/app.pyresolves the defaultagent.tomlto package root.Batch 2 of 4. Spec:
.opencode/prompts/tasks/package-layout-consolidation-task-packet.md.🤖 Generated with Claude Code