Contributable connector registry: isolate all connectors under connectors/, add pi-web connector - #455
Contributable connector registry: isolate all connectors under connectors/, add pi-web connector#455ashwin-pc wants to merge 5 commits into
Conversation
Signed-off-by: ashwin pc <ashwinpc@amazon.com>
Signed-off-by: ashwin pc <ashwinpc@amazon.com>
PR Reviewer Guide 🔍(Review updated until commit dc1c7fc)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to dc1c7fc Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit e49aab7
Suggestions up to commit 2d47613
Suggestions up to commit 5a132e2
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #455 +/- ##
==========================================
- Coverage 63.62% 63.48% -0.14%
==========================================
Files 385 384 -1
Lines 31339 31571 +232
Branches 9394 9501 +107
==========================================
+ Hits 19939 20044 +105
- Misses 9464 9549 +85
- Partials 1936 1978 +42
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Signed-off-by: ashwin pc <ashwinpc@amazon.com>
|
Persistent review updated to latest commit 2d47613 |
Signed-off-by: ashwin pc <ashwinpc@amazon.com> # Conflicts: # CHANGELOG.md
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit dc1c7fc.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
|
Persistent review updated to latest commit e49aab7 |
Signed-off-by: ashwin pc <ashwinpc@amazon.com>
|
Persistent review updated to latest commit dc1c7fc |
Makes agent connectors a contributable surface: every connector now lives in an isolated directory under
connectors/with its own README and tests, resolved through a single registry — so well-known connectors can grow over time without touching core.Structure
connectors/<name>/— one directory per connector:index.ts(implements the sharedAgentConnectorcontract),README.md(target system, config, quirks), colocated tests.connectors/index.ts/connectors/server.ts— name→factory registries; core resolves connectors only through them.connectors/README.md— the contribution guide: interface contract, harvest/settlement expectations, evidence metadata conventions, how to add and test a connector.Extracted (no behavior change)
AG-UI, REST, OpenAI-compatible, LangGraph, Subprocess, Claude Code, Kiro, Pi CLI, Strands, and Mock move from
services/connectors/**into isolated directories. Legacy paths remain as deprecated re-export shims; regression tests prove existing configs and protocol strings resolve unchanged.New:
connectors/pi-web/First contributed connector under the new model: drives a pi-web session end-to-end — session creation, settlement-based harvesting (polls session status until
settled, so post-worker synthesis turns are never truncated), fixture-envelope resolution with integrity verification (#450), and numeric-timestamp handling.