Skip to content

docs: document typescript adk env vars and runtime dependencies - #974

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-973-20261004-1303
Oct 4, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-973-20261004-1303

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Adds a Configuration and environment variables section to typescript-adk.md, right after What ships today, covering the env-var surface the page previously left undocumented plus the real runtime-dependency story.

New tables (every default read straight from the source constants in inference-gateway/typescript-adk, not from prose):

  • Build-time agent metadata (BUILD_AGENT_NAME / _DESCRIPTION / _VERSION) plus the agent-card ${VAR} placeholder behavior
  • Authentication (loadAuthConfigFromEnv): AUTH_ENABLED / AUTH_ISSUER_URL / AUTH_CLIENT_ID / AUTH_CLIENT_SECRET, including the fail-closed throw when enabled with an incomplete config
  • MCP tool bridge (loadMCPConfigFromEnv): the nine A2A_MCP_* variables with their Go-ADK-matching defaults
  • Logging: DEBUG, NODE_ENV, SERVER_DISABLE_HEALTHCHECK_LOG (default true, with the exact falsy set that re-enables health-check logs)
  • Task retention and cleanup (loadCleanupOptionsFromEnv): MAX_RETAINED_COMPLETED_TASKS 100, MAX_RETAINED_FAILED_TASKS 50, CLEANUP_INTERVAL_MS 300000
  • Handler and tool knobs: MAX_CHAT_COMPLETION_ITERATIONS 50, STREAMING_STATUS_UPDATE_INTERVAL 1000, AGENT_CLIENT_TOOLS_CREATE_ARTIFACT
  • Redis task storage (redisConnectOptionsFromEnv): REDIS_URL wins over the discrete REDIS_HOST / REDIS_PORT / REDIS_PASSWORD / REDIS_DB fields

A Documented elsewhere on this page list links the variables the page already covered (metrics, telemetry / OTEL_*, TLS_*, CLIENT_TLS_*, artifacts) instead of duplicating those tables, and a shared preamble states the truthy set (1 / true / yes / on) and the duration format once.

A Runtime dependencies subsection replaces the understated picture: 22 runtime dependencies, with hono + @hono/node-server as the HTTP core and each remaining dependency attributed to the subsystem it backs. ioredis is called out as the optional peer dependency it actually is. The docs site carried no "only hono + @hono/node-server" sentence to delete - the gap here was omission, not a wrong claim - so this subsection is where that correction lands.

Verified counts and defaults against package.json, src/auth/config.ts, src/mcp/config.ts, src/logging/logger.ts, src/logging/middleware.ts, src/storage/cleanup-scheduler.ts, src/storage/redis.ts, src/server/toolbox.ts, src/server/message-stream.ts and src/server/default-background-task-handler.ts on main.

Upstream README companion: inference-gateway/typescript-adk#272.

Validation

  • bun run lint:md - pass
  • bun run format:check - pass
  • bun run build - pass
  • bun test - 12 pass

Closes #973

@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit 5c65abf into main Oct 4, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-973-20261004-1303 branch October 4, 2026 13:08
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 4, 2026
## [0.9.21](0.9.20...0.9.21) (2026-10-04)

### 📚 Documentation

* a2a-debugger needs adk v0.31.0 agents ([#951](#951)) ([9c3802e](9c3802e))
* **a2a:** document the usage extension ([#982](#982)) ([e8fdae2](e8fdae2))
* add typescript adk env var and dependency reference ([#974](#974)) ([5c65abf](5c65abf))
* **agents:** add code readability guidelines ([#960](#960)) ([f501b37](f501b37))
* blocking SendMessage and StreamResponse push payload ([#935](#935)) ([0b06c96](0b06c96))
* blocking SendMessage, MessageResponder, artifact events ([#934](#934)) ([d95fc53](d95fc53))
* bump operator pins to v0.27.0, add gpu to cleanup ([#963](#963)) ([c01c5da](c01c5da))
* **cli:** read not-found hints and repeated-failure match ([#900](#900)) ([98051c4](98051c4))
* **cli:** show subagents in plan mode and fill the remaining subagent gaps ([#898](#898)) ([f15ea4b](f15ea4b))
* correct adl-cli acronym naming examples ([#980](#980)) ([23a8a9c](23a8a9c))
* correct cli telemetry signals, opt-out and defaults ([#964](#964)) ([95d9c74](95d9c74))
* correct inert rust-adk config claims ([#979](#979)) ([06b08ab](06b08ab))
* correct mcp request timeout and tts download scope ([#969](#969)) ([df5a357](df5a357))
* document -32003 push notification capability gate ([#931](#931)) ([f1d1ae7](f1d1ae7))
* document /reload and the config built-in skill ([#923](#923)) ([96d6c2f](96d6c2f))
* document A2A v1.0.1 client behavior in the CLI ([#908](#908)) ([29c9481](29c9481))
* document gateway server ports and TLS refs ([#970](#970)) ([89a9e3f](89a9e3f))
* document gateway spec.a2a and agent discovery ([#953](#953)) ([28b2731](28b2731))
* document go sdk 429 quota wall and RateLimitError ([#972](#972)) ([3873cb7](3873cb7))
* document rust-adk agent card URL resolution ([#926](#926)) ([9fdac74](9fdac74))
* document sandbox.yaml and drop tools.sandbox keys ([#907](#907)) ([2d52cee](2d52cee))
* document the gateway A2A server ([#965](#965)) ([980dc65](980dc65))
* document the per-project media root ([#911](#911)) ([6865a9d](6865a9d))
* document the userspace tools.yaml policy file ([#915](#915)) ([e8eecdc](e8eecdc))
* document vendor block and pinned ADK versions ([#906](#906)) ([3d08671](3d08671))
* fix quickstart curl and prefixed model ids ([#966](#966)) ([08512df](08512df))
* gate push config methods on card capability ([#922](#922)) ([78a2ef9](78a2ef9))
* go adk artifact retention per-context cap ([#943](#943)) ([4c64837](4c64837))
* go adk client artifact extraction for a2a v1.0 ([#941](#941)) ([9cb57a6](9cb57a6))
* headless keep-alive subagents and agent defaults ([#895](#895)) ([866cbcf](866cbcf))
* ListTasks accepts proto3 default page params ([#930](#930)) ([7be4a33](7be4a33))
* max retries covers adk streaming path ([#945](#945)) ([9fc0a3e](9fc0a3e))
* note dim-at-zero icons in subagent run stats ([#913](#913)) ([26f34aa](26f34aa))
* note firefox/safari bridge auto-connect in opentask ([#976](#976)) ([56e890e](56e890e))
* note orchestrator a2a.agents[] takes plain urls ([#968](#968)) ([bd89997](bd89997))
* note proto3 param names and ignored unknown params ([#925](#925)) ([0509dbc](0509dbc))
* note pushNotifications capability gates config methods ([#927](#927)) ([a8793d7](a8793d7))
* registry cards show preferred protocol binding ([#938](#938)) ([0d9a9f5](0d9a9f5))
* rust adk blocking sendmessage and push delivery ([#939](#939)) ([783c168](783c168))
* rust-adk max artifacts 0 means unlimited ([#949](#949)) ([dd92128](dd92128))
* scope rust adk artifact paths by contextid ([#950](#950)) ([4f35230](4f35230))
* sync readme dev section with tooling config ([#967](#967)) ([ff6a220](ff6a220))
* update ADK pages for A2A v1.0.1 AgentCard ([#902](#902)) ([f474473](f474473))
* update card reference for A2A v1.0.1 shape ([#899](#899)) ([d3bdd76](d3bdd76))
* use a2a v1.0.1 jsonrpc method names ([#924](#924)) ([46859cc](46859cc))

### 🔧 Miscellaneous

* **deps-dev:** bump @types/node from 26.6.2 to 26.6.3 in the bun group ([#981](#981)) ([f5dfa81](f5dfa81))
* **deps:** bump claude-code 2.1.283 -> 2.1.285 ([#909](#909)) ([14e6ea9](14e6ea9))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.21 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant