Commit 9f237a0
docs(claude): document agentex.protocol/* canonical location + shim policy
Per Declan's review on this PR — document the protocol-types migration
in CLAUDE.md so future contributors know:
- `src/agentex/protocol/` is the canonical home for slim-safe wire types
(acp.py + json_rpc.py); imports allowed from a future REST-only install.
- `src/agentex/lib/types/{acp,json_rpc}.py` are back-compat shims —
re-exporting from the canonical path. Existing user imports unaffected;
new code should target agentex.protocol.*.
- Other `lib/types/*` modules (tracing, agent_card, credentials, fastacp,
llm_messages, converters) stay in place because they have heavier
transitive deps that aren't slim-safe.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d1ad15f commit 9f237a0
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
63 | 79 | | |
64 | 80 | | |
65 | 81 | | |
| |||
0 commit comments