revert: remove Collective Wisdom V1 (#94266)

Reverts the in-tree org skill-marketplace: hermes_wisdom package, three
model tools, CLI/gateway/desktop/dashboard/Telegram/Slack surfaces.

Later non-Wisdom work on shared files (guest onboarding i18n, dashboard
startup schema, Slack adapter, tui_gateway) is kept; Wisdom-only call
sites and config were stripped from those files.
This commit is contained in:
Teknium
2026-09-11 11:39:09 -07:00
parent 4e865d42d1
commit 0dcadf6f41
304 changed files with 1782 additions and 80858 deletions
@@ -37,38 +37,10 @@ def _install_telegram_mock_with_request(
parse_mode = SimpleNamespace(MARKDOWN_V2="MarkdownV2", HTML="HTML")
constants_mod = SimpleNamespace(ParseMode=parse_mode)
request_mod = SimpleNamespace(HTTPXRequest=httpx_request_factory)
class InlineKeyboardButton:
def __init__(self, text, *, url=None, callback_data=None):
self.text = text
self.url = url
self.callback_data = callback_data
def to_dict(self):
data = {"text": self.text}
if self.url is not None:
data["url"] = self.url
if self.callback_data is not None:
data["callback_data"] = self.callback_data
return data
class InlineKeyboardMarkup:
def __init__(self, inline_keyboard):
self.inline_keyboard = inline_keyboard
def to_dict(self):
return {
"inline_keyboard": [
[button.to_dict() for button in row] for row in self.inline_keyboard
]
}
# MessageEntity needed by #27865 mention-detection path.
_MessageEntity = lambda **_kw: SimpleNamespace(**_kw)
telegram_mod = SimpleNamespace(
Bot=bot_factory,
InlineKeyboardButton=InlineKeyboardButton,
InlineKeyboardMarkup=InlineKeyboardMarkup,
MessageEntity=_MessageEntity,
constants=constants_mod,
request=request_mod,