Skip to content

Consolidate bridge tools and add a minimal tool mode #77

Description

@obeone

The bridge currently exposes four separate channel tools, all loaded up front, which costs roughly 400 tokens of always-on tool-definition overhead per session whether or not channels ever get used. whoami is its own tool too, even though its only real use is recovering identity after a failed join.

Sketch: fold the four channel tools into one channel(action=...) tool, and fold whoami into the join error path instead of keeping it standalone. Add a CAUCUS_TOOLS=minimal env mode that trims the tool surface further, saving roughly 1,000 tokens for sessions that don't need the full set.

This is a breaking change to the tool surface and needs a PROTOCOL_VERSION bump.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions