Skip to content

v0.4.0 — streaming memory + observability

Choose a tag to compare

@muthuishere muthuishere released this 02 Jul 03:34

Two zero-dependency client-loop features, byte-parity across all five ports.

Streaming + memory

  • stream(prompt, { toolkit, id? })id makes streaming stateful (loads the thread's transcript, saves on the done event).
  • ask(prompt, { toolkit, id?, on_text? })on_text streams text deltas while ask still returns the final RunResult.

Observability

  • create_client(..., on_metric) — semantic events ({event:"llm"|"tool"|"run", …}) to forward anywhere (statsd/logs/OTel).
  • client.metrics() — built-in Prometheus text exposition (zero-dependency), mount at GET /metrics. Byte-identical across ports. OTLP push = future companion.

npm i toolnexus · pip install toolnexus · go get github.com/muthuishere/toolnexus/golang@v0.4.0 · dotnet add package Toolnexus --version 0.4.0 · io.github.muthuishere:toolnexus:0.4.0