Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
1234567891011121314151617181920212223"""Query the human peer bound to this session's Honcho enrollment."""
from typing import cast
from albedo_api import Host, PythonApi
class Honcho: def __init__(self, host: Host) -> None: self._host = host
async def ask(self, question: str) -> str: """Ask about remembered preferences or previous conversations.""" return cast(str, await self._host("honcho.ask", {"question": question}))
async def status(self) -> dict[str, object]: """This session's enrollment, pending deliveries, and pause reason.""" return cast(dict[str, object], await self._host("honcho.status", {}))
def setup(api: PythonApi) -> dict[str, object]: return {"honcho": Honcho(api.host), "HonchoError": api.HostError}