chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:00 +08:00
commit 3de48288cb
2986 changed files with 1131193 additions and 0 deletions
@@ -0,0 +1,16 @@
"""Local word-count tool for the archer e2e fixture."""
from __future__ import annotations
from omnigent_client.tools import tool
@tool
def word_count(text: str) -> dict[str, int]:
"""
Count whitespace-delimited words in ``text``.
:param text: Text to count.
:returns: A JSON-serializable dict containing ``word_count``.
"""
return {"word_count": len(text.split())}