Skip to content

[DOCS] Document the TypeScript ADK environment variables and runtime dependencies #973

Closed

Description

@inference-gateway-maintainer

Summary

The TypeScript ADK README understated its runtime dependencies and the environment variables the library reads. inference-gateway/typescript-adk#272 fixes the README (22 runtime dependencies instead of "only hono + @hono/node-server", and a full environment-variable reference instead of "the only environment variables the library itself reads are the three build-metadata variables"). The docs site likely carries the same gap for the TypeScript ADK, so its configuration pages need the same env-var surface.

Variables the TypeScript ADK reads, beyond BUILD_AGENT_NAME / BUILD_AGENT_DESCRIPTION / BUILD_AGENT_VERSION: AUTH_ENABLED / AUTH_ISSUER_URL / AUTH_CLIENT_ID / AUTH_CLIENT_SECRET, A2A_MCP_*, METRICS_ENABLED / METRICS_HOST / METRICS_PORT / METRICS_PATH / METRICS_READ_TIMEOUT_MS / METRICS_WRITE_TIMEOUT_MS / METRICS_IDLE_TIMEOUT_MS, TELEMETRY_ENABLED / OTEL_*, DEBUG / NODE_ENV / SERVER_DISABLE_HEALTHCHECK_LOG, MAX_RETAINED_COMPLETED_TASKS / MAX_RETAINED_FAILED_TASKS / CLEANUP_INTERVAL_MS, MAX_CHAT_COMPLETION_ITERATIONS, STREAMING_STATUS_UPDATE_INTERVAL, AGENT_CLIENT_TOOLS_CREATE_ARTIFACT, TLS_*, CLIENT_TLS_* and REDIS_URL / REDIS_HOST / REDIS_PORT / REDIS_PASSWORD / REDIS_DB.

Affected pages: the TypeScript ADK configuration / getting-started pages, and anywhere the docs repeat the "minimal dependencies" claim.

Upstream PR with the verified names and defaults: inference-gateway/typescript-adk#272

Acceptance Criteria

  • TypeScript ADK configuration docs list the environment variables above with variable, default and purpose, matching the table in the upstream PR
  • Any "only hono + @hono/node-server at runtime" style claim about the TypeScript ADK is corrected to reflect the 22 runtime dependencies and which subsystem each backs
  • Defaults in the docs are cross-checked against the source constants rather than copied from prose

Activity

  1. added
    documentation
    on Oct 4, 2026
  2. added theissue type on Oct 4, 2026
  3. edenreich commented on Oct 4, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Oct 4, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 4m 43s —— View job • docs/issue-973-20261004-1303 • Create PR ➔


    Done - PR #974 opened

    • Gather context (docs page, upstream PR #272, source constants)
    • Understand the request
    • Add env-var reference to typescript-adk.md
    • Correct the dependency picture (22 runtime deps, ioredis optional peer)
    • Validate (lint:md, format:check, build, bun test)
    • Commit + open PR

    What changed

    One new ## Configuration and environment variables section in typescript-adk.md, placed right after What ships today. Tables for the groups the page did not cover:

    Group Variables
    Build-time metadata BUILD_AGENT_NAME / _DESCRIPTION / _VERSION, plus agent-card ${VAR} placeholders
    Authentication AUTH_ENABLED / AUTH_ISSUER_URL / AUTH_CLIENT_ID / AUTH_CLIENT_SECRET (fail-closed when incomplete)
    MCP bridge the nine A2A_MCP_* variables
    Logging DEBUG, NODE_ENV, SERVER_DISABLE_HEALTHCHECK_LOG (default true)
    Retention MAX_RETAINED_COMPLETED_TASKS 100, MAX_RETAINED_FAILED_TASKS 50, CLEANUP_INTERVAL_MS 300000
    Handler knobs MAX_CHAT_COMPLETION_ITERATIONS 50, STREAMING_STATUS_UPDATE_INTERVAL 1000, AGENT_CLIENT_TOOLS_CREATE_ARTIFACT
    Redis REDIS_URL wins over REDIS_HOST / REDIS_PORT / REDIS_PASSWORD / REDIS_DB

    Metrics, telemetry / OTEL_*, TLS_*, CLIENT_TLS_* and the artifact variables were already documented further down the page, so they are linked from a Documented elsewhere on this page list rather than duplicated. The truthy set (1 / true / yes / on) and the duration format are stated once in the preamble.

    A Runtime dependencies subsection states the 22 runtime dependencies with each one attributed to the subsystem it backs, and flags ioredis as the optional peer dependency.

    Notes

    • Every default was read from the source constants on typescript-adk main (src/auth/config.ts, src/mcp/config.ts, src/logging/*, src/storage/cleanup-scheduler.ts, src/storage/redis.ts, src/server/toolbox.ts, src/server/message-stream.ts, src/server/default-background-task-handler.ts) and package.json, not copied from the upstream PR prose.
    • The docs site carried no "only hono + @hono/node-server" sentence to correct - the gap here was omission, not a wrong claim. The new Runtime dependencies subsection is where that correction lands.
    • Validation: bun run lint:md, bun run format:check, bun run build, bun test (12 pass) all green.

    | Branch

  5. moved this from Todo to In progress in 2026on Oct 4, 2026
  6. inference-gateway-releaser commented on Oct 4, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.21 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions