Ship the bridge with the pack (moved from the agent core)
The core now keeps only the shared bridge contract (semif_agent/bridges/base.py) and the discovery registry (semif_agent/bridges/registry.py); a pack ships its own bridge under bridge/<name>.py and the registry imports it by convention from the pack's declared `bridges`. The bridge's hermetic test moves here too and runs via the agent repo's tests/test_packs.py (or standalone with conftest.py).
This commit is contained in:
1 parent
0be2b99528
commit
a929d647b7
4 files changed
+1191
No files matched your search
@@ -0,0 +1,7 @@
|
||||
"""The simplex pack's bridge: a localhost HTTP surface in front of its service.
|
||||
|
||||
The bridge implementation ships with the pack (see PACKGEN.md, "Authoring a
|
||||
bridge"); the core imports it by convention from this package. It subclasses
|
||||
`semif_agent.bridges.base.BridgeService` and declares a `BridgeInfo` catalog
|
||||
entry that codegen reads via `describe_bridges()`.
|
||||
"""
|
||||
Reference in new issue
Block a user