Skip to content

v0.1.3 — agent-context: error hints, AGENTS.md, Windows render fixes

Choose a tag to compare

@igor-ctrl igor-ctrl released this 05 May 20:22
· 21 commits to main since this release

Quality-of-life release focused on AI agents driving bcli and on Windows-console rendering.

Added

  • bcli-mcp preview server — an MCP (Model Context Protocol) server that lets Claude Desktop and other MCP clients drive bcli. Four read-only tools: query, list_endpoints, describe_endpoint, list_companies. Subprocess-only architecture inherits profile, auth, retry, telemetry, and disable_writes from the CLI. Install with pip install "bc-cli[mcp]". See docs/mcp-server.md.
  • AGENTS.md — discovery-first recipes for AI agents driving bcli (endpoint/field discovery, format selection, common errors).
  • fields_discovered hint + opt-in field discovery in MCP, so agents learn an entity's schema by touching it once.

Changed

  • Errors now teach the discovery flow at the moment of failure — wrong entity name, unknown filter field, etc. surface a "did-you-mean" plus a one-liner for the right next command instead of a raw 400.
  • bcli company list accepts --format (json, markdown, csv, ndjson, table).
  • bcli endpoint list and bcli endpoint info accept --format json.

Fixed

  • Classic Windows console: default to markdown output and stop truncating the first column. bcli is now usable in cmd.exe without a Unicode terminal.
  • Workflow loader: reject YAML 1.1 boolean-key trap (on:, yes:, no: parsed as booleans) at load time with a clear error.
  • Tests: catch ConnectionError in WorkOS callback drain calls under Python 3.12+.
  • CI: remove unused json import in test_mcp/test_runner.py.