Repository navigation
chore(chat): delete the deprecated gaia-agent-chat shim - #7035
Conversation
ChatAgent has shipped in the flagship package since v0.25.4, so the gaia-agent-chat re-export shim has served its one release and only kept stale install paths, version targets and CI installs alive. - Remove hub/agents/chat/ (including ChatAgentLite and the standalone gaia_agent_chat.app entry) and drop it from AGENT_WHEEL_PACKAGES, install hints, release version targets and framework-path filtering. - Stop installing and importing it in the chat-agent, eval-lane and sidecar workflows, the dev launch scripts and the VS Code config. - Retarget tests that used the shim to the flagship package, and delete the ones that only covered shim-owned code. - The legacy chat/doc/file ids still resolve to the flagship. A leftover gaia-agent-chat install is now ignored with a warning naming the package, instead of its entry points taking those ids over. Closes amd#6103
|
Verdict: Approve This removes the old Real-world evidenceN/A: the evidence bundle wasn't produced for this run. The change removes a package and its tooling and adds a registry guard; it doesn't touch a user-facing CLI, API or UI. The verdict rests on static review plus the unit-test results in the PR description. I ran 🔍 Technical detailsIssues Found 🟢 The guard imports the stale package before rejecting it ( 🟢 The Checks run
Strengths
|
…eld versions A stale gaia-agent-chat that fails to import against the new flagship now gets the clear "retired id" warning instead of a load traceback. The release versioner's held-field mechanism had no target left once the chat version went.
|
The macOS arm64 real-engine failure is runner memory, not this change: |
Main has moved a long way since the last update; this keeps the branch's opt-in eviction on top of it. Nothing main ships duplicates it: main still carries only the defaults-on overflow retry from amd#5396. - The chat package was folded into the flagship (amd#7035): the eviction settings move into gaia_agent/chat_agent.py, beside main's new resend_reasoning_across_requests, and the CHANGELOG entry moves to the gaia npm package's Unreleased section. - Kept main's tool_scope argument and its unsaved-memory nudge next to the re-read reminder. - Agent UI: main's timeline (amd#5966) hides finished status rows, so a context notice now draws its own row and stays after the turn ends. Status handling moved into applyStatusEvent, so the notice is added there. - The closing-answer overflow tests from amd#6875 now patch the evictor's counter, which this branch sizes the trim with. - Two second-turn tests now run at a 64K window: at 16K, main's history fitting drops the whole earlier turn, so there is nothing to replay.
Main moved 865 commits: v0.26.0 RCs, the chat agent folded into the flagship (#6139, #7035), #5197 fixed on main, and the nightly patch check taught the next-minor line (#6945). - Flagship version files follow core (0.26.0); the chat targets, held lines and chat floors go, since that package no longer exists. - The flagship's SPEC.md version header is now a stamped target, so it stops drifting from the package version. - The eval-baseline workflow keeps main's version; #5197 already landed. - v0.26.0 keeps main's curated notes, not the stub. - nightly-patch-release.yml stays retired, with release_version_state.py and the tests that read the workflow: once the bot moves main to the next minor before its rc1, the nightly would file a mismatch issue every night.
ChatAgentmoved into the flagship package in v0.25.4, and the oldgaia-agent-chatpackage stayed behind as a re-export shim for one release. That release has shipped, so the shim is gone, along with CI steps, release tooling and launch scripts that still installed it. Sessions saved under the oldchat,docandfileagents still reopen on GAIA.This also fixes a problem the removal would otherwise have hidden. A leftover
gaia-agent-chatinstall registers those old ids itself, and a registered id wins over the alias that sends them to the flagship. Upgrading users could have reopened old sessions on stale shim code. The registry now ignores an installed package that claims a retired id, and logs a warning naming the package.Closes #6103
Test plan
pytest tests/unit/agents/test_registry.py: 66 passed. That includes the new test showing a fakegaia-agent-chat0.1.0 can't claimchat,doc,fileorchat-lite. It ran in a venv that still has a stale shim installed, which used to fail 5 builtin-registration tests.tests/unit/agentsand the touched test files before the rebase: 6,819 passed. The 5 failures there came from that stale shim install and pass with the guard.git grepfinds nogaia_agent_chat,hub/agents/chatorChatAgentLiteoutside changelog history and plans.🔍 Technical details
hub/agents/chat/(includingChatAgentLiteandpython -m gaia_agent_chat.app) and the chat entries insetup.py,util/release_versions.pyandutil/list_agent_packages.py.test_chat_agent.yml,eval_scenario_lane.yml,build_flagship_sidecar.yml,install_hints,errors.py, every dev launch script'sPYTHONPATH, and.vscode/launch.json(nowgaia chat)._discover_installed_agentsskips an entry point whose id is in_LEGACY_ID_ALIASES, before the "already registered" check, socanonical_idfalls through to the alias.LEGACY_CLEANUP_IDScan't do this, because it only cleans copies the desktop app seeded in~/.gaia/agents.CLAUDE.md,hub/agents/README.md,reference/dev.mdx,spec/chat-agent.mdx, and a Breaking Changes line in the v0.26.0 release notes.