The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
Merge origin/main into core-tool-deferral (resolve show_tip test seam onto the check_tips_enabled gate)
Tekniumbd7cdd7c530a
diff --cc tests/tools/test_tip_tool.pyindex e0bacf7cd6f,7134b2799a3..d8c9098a67d--- a/tests/tools/test_tip_tool.py+++ b/tests/tools/test_tip_tool.py@@@ -30,12 -30,13 +30,13 @@@ def test_lives_in_the_gui_surface_toolsassert entry.toolset == "desktop_ui"- def test_is_ungated_like_tour():- """The Appearance switch governs the app's idle rotation, not this."""+ def test_answers_to_the_appearance_switch():+ """Tips off has to mean the model never sees the tool. See+ tests/tools/test_display_toggles.py for the config end of it."""- entry = registry.get_entry("tip")+ entry = registry.get_entry("show_tip")assert entry is not None- assert entry.check_fn is None+ assert entry.check_fn is tt.check_tips_enableddef test_requires_the_desktop_bridge(monkeypatch):diff --cc tools/tip_tool.pyindex 35d4908ba10,57bd72e5085..293c10185c4--- a/tools/tip_tool.py+++ b/tools/tip_tool.py@@@ -95,8 -94,13 +94,13 @@@ TIP_SCHEMA =}+ def check_tips_enabled() -> bool:+ """The user's Settings → Appearance switch. On unless they turned it off."""+ return desktop_ui.user_enabled("in_app_tips", default=True)++registry.register(- name="tip",+ name="show_tip",toolset="desktop_ui",schema=TIP_SCHEMA,handler=lambda args, **kw: tip_tool(diff --cc tools/tour_tool.pyindex 9a1632b1b49,5f6b204a57d..88cde969c8e--- a/tools/tour_tool.py+++ b/tools/tour_tool.py@@@ -179,8 -183,13 +183,13 @@@ TOUR_SCHEMA =}+ def check_tours_enabled() -> bool:+ """The user's Settings → Appearance switch. On unless they turned it off."""+ return desktop_ui.user_enabled("in_app_tours", default=True)++registry.register(- name="tour",+ name="gui_tour",toolset="desktop_ui",schema=TOUR_SCHEMA,handler=lambda args, **kw: tour_tool(