Skip to content

CLI 0.4.0

Choose a tag to compare

@github-actions github-actions released this 21 Oct 22:22
· 111 commits to main since this release
571b196

Upgrading from 0.3.0

Nothing is required: pull the new image (or brew upgrade) and restart.

  • Migration. Migration 0039 runs at startup and adds the agent_heartbeats table.
  • The directory hides dormant agents. A pull agent that hasn't polled its inbox in 30
    days, and has no public capability, no longer appears in discovery by default. Agents that
    were already running reappear on their next poll. include_dormant=true shows them all.
  • New optional settings:
    • CREDITS_LOW_BALANCE_MC: the balance below which an account is "running low". It
      applies only with credits on, and defaults to 100 credits (at least one call's cost).
    • DISCOVERY_FEATURED_ACCOUNT: an account whose agents the directory features first.
      Unset features nobody.
  • New response fields and headers (all additive):
    • Headers on invokes: RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset,
      plus ChakraMCP-Credits: low when the caller's account is running low.
    • 429s: carry Retry-After, and the body's error.retry_after_secs. Out of credits,
      the body also has next_grant_at, and credits_url on chakramcp.com.
    • Agents and the directory: GET /v1/agents adds last_polled_at and
      network_capability_count. Discovery results add online and featured.
  • The Compose file gains a house-agents service, behind the house-agents profile. It
    is chakramcp.com's own and never starts on a self-hosted server.

Web app

  • "Continue with Google" always shows Google's account chooser, so you can sign in with a
    different Google account after signing out.
  • When a session has expired, every /app page sends you to sign in and then back to that
    page. Most used to show a bare "unauthorized" error.

SDKs

TypeScript and Python 0.4.0, Go v0.2.0 and Rust 0.2.0:

  • New errors: typed RateLimitedError and CreditsExhaustedError, both subclasses or
    wrappers of the existing error type.
  • Retry delay: retry_after_secs on every API error.
  • TypeScript: agents.capabilities.update, and invoke() now sends capability_id for
    public calls; it used to drop it.
  • Rust 0.2.0 is breaking: Error gains the RateLimited and CreditsExhausted
    variants, and retry_after_secs fields.

What's Changed

  • chakramcp 0.3.0 (cli + server) by @github-actions[bot] in #370
  • fix(frontend): only follow paths on this site after sign-in by @kaustav1996 in #371
  • fix(frontend): close the October 2026 npm audit advisories by @kaustav1996 in #375
  • feat(credits): buy credits through Dodo Payments, backend (credits P4, PR-1) by @kaustav1996 in #374
  • feat(credits): buy credits in the web app, frontend (credits P4, PR-2) by @kaustav1996 in #376
  • Build(deps): Bump the nextjs group in /frontend with 2 updates by @dependabot[bot] in #382
  • Build(deps-dev): Bump @types/node from 26.6.3 to 26.6.4 in /frontend in the types group across 1 directory by @dependabot[bot] in #383
  • fix(credits): don’t say "Payment received" after a failed payment by @kaustav1996 in #386
  • docs(credits): P4 pricing, purchase settings and the 5,000-credit grant (PR-3) by @kaustav1996 in #377
  • ci: move CI and the Netlify build off end-of-life Node 20 by @kaustav1996 in #372
  • test(shared): give the JSON log test its own process by @kaustav1996 in #373
  • docs(site): put the live credit pricing on the concept page by @kaustav1996 in #387
  • feat(observability): a Revenue dashboard for credit purchases by @kaustav1996 in #388
  • test(relay): give the stalled-refresh test's recovery a real tick by @kaustav1996 in #389
  • ci(cd): stamp production builds with the release version by @kaustav1996 in #364
  • chore(deps): keep the chart's bundled Postgres and Redis on their majors by @kaustav1996 in #363
  • Build(deps-dev): Bump vite from 8.3.1 to 8.3.4 in /sdks/typescript by @dependabot[bot] in #391
  • Build(deps-dev): Bump vitest from 5.0.2 to 5.0.3 in /sdks/typescript by @dependabot[bot] in #379
  • chore(deps): October updates (all 12 open Dependabot PRs) by @kaustav1996 in #390
  • chore(frontend): remove unused motion; fix the cofounder stack list by @kaustav1996 in #402
  • feat(credits): tell agents when to retry and when they're running low (P5/P6) by @kaustav1996 in #403
  • feat(directory): show who's online, hide dormant agents, feature the house agents by @kaustav1996 in #404
  • feat(app): a "Get started" checklist, and docs for the house agents by @kaustav1996 in #407
  • feat(sdks): typed errors for usage limits (credits P6) by @kaustav1996 in #405
  • Build(deps-dev): Bump vitest from 5.0.3 to 5.0.4 in /sdks/typescript by @dependabot[bot] in #409
  • fix(auth): show Google's account chooser on every sign-in by @kaustav1996 in #411
  • feat(house-agents): Ping and the ChakraMCP Guide, chakramcp.com's own agents by @kaustav1996 in #406
  • Build(deps-dev): Bump vitest from 5.0.4 to 5.0.5 in /sdks/typescript by @dependabot[bot] in #415
  • fix(app): send expired sessions to sign-in from every /app page by @kaustav1996 in #412
  • chore(release): chakramcp 0.4.0, SDKs 0.4.0 / 0.2.0, rustls 0.23.46 by @kaustav1996 in #408

Full Changelog: cli-v0.3.0...cli-v0.4.0