Skip to content

Commit 47b7ec6

Browse files
committed
Squash unreleased changelog entries and update related housekeeping
- Consolidate scattered unreleased entries in CHANGELOG.md into a single cohesive section covering API narrowing, version lookup, scope docs alignment, and developer setup changes - Add link to migration note in README.md - Pin dev mypy to <2 for Python 3.9 compatibility
1 parent f936af6 commit 47b7ec6

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to TeaAgent are tracked here.
44

55
## Unreleased
66

7+
- Aligned scope docs with current implementation status by updating P0/P1 deferred lists and adding implemented-since-baseline notes for MCP transport, OAuth/DPoP, and telemetry paths.
8+
- Unified package version lookup to `importlib.metadata.version("teaagent")` with a local fallback, removing hard-coded duplication risk between code and packaging metadata.
9+
- Narrowed `teaagent.__all__` to a stable core API surface and added a migration guide at `docs/migration-top-level-api.md` for projects that relied on star-import convenience.
10+
- Clarified local developer setup for PEP 668 environments by adding virtualenv-first install steps to `README.md` and `CONTRIBUTING.md`.
11+
- Consolidated agent-instruction precedence by making `AGENT.md` a compatibility pointer and declaring `AGENTS.md` as the canonical rule source.
12+
- Pinned dev `mypy` to `<2` to keep Python 3.9 type-check configuration compatible and avoid local warning churn.
713
- Split `teaagent/tui.py` (517 → ~290 lines) by extracting `handle_command` logic to `_commands.py`.
814
- Split `teaagent/mcp_http.py` (575 → ~400 lines) by extracting OAuth endpoint handlers to `_oauth.py`.
915
- Split `teaagent/telemetry.py` into a `teaagent/telemetry/` package with focused modules: `_availability.py`, `_config.py`, `_audit.py`, `_metrics.py`, and `_transport.py`.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,5 +188,6 @@ Additional references:
188188
- [Audit event reference](docs/audit-events.md)
189189
- [Tool authoring guide](docs/tool-authoring.md)
190190
- [Provider authoring guide](docs/provider-authoring.md)
191+
- [Top-level API migration note](docs/migration-top-level-api.md)
191192
- [Security model](SECURITY.md)
192193
- [Examples](examples/README.md)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dev = [
5959
"pytest>=7",
6060
"pytest-cov>=4",
6161
"ruff>=0.4",
62-
"mypy>=1",
62+
"mypy>=1,<2",
6363
]
6464

6565
[project.scripts]

0 commit comments

Comments
 (0)