Skip to content

AbstractHooksMeta comes from metaclass_registry; Textual's copy is deleted - #313

Merged
trissim merged 1 commit into
mainfrom
claude-a/abstract-hooks-from-registry
Nov 16, 2026
Merged

trissim merged 1 commit into
mainfrom
claude-a/abstract-hooks-from-registry

Conversation

@trissim

@trissim trissim commented Nov 16, 2026

Copy link
Copy Markdown

Toad's shared contracts use the same metaclass; importing it from Textual made each import Textual, blocking the Qt/Android client. Moved unchanged to metaclass_registry (OpenHCSDev/metaclass-registry#13); _MessagePumpMeta subclasses it from there; pyproject adds metaclass-registry from git main. Checked: issubclass(_MessagePumpMeta, metaclass_registry.AbstractHooksMeta); Toad's full app imports against it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XbFMSofn8pw1EZ8PbTeYxm

…leted

Toad's shared contracts use the same metaclass, and importing it from Textual
made each of them import Textual, so the Qt client on Android could not share
them. The class moved unchanged to metaclass_registry (OpenHCSDev/metaclass-registry#13);
_MessagePumpMeta subclasses it from there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbFMSofn8pw1EZ8PbTeYxm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant