Files
Alexey Kalenkevich cab6ef918b Add the ADK TypeScript 1.x compatibility section to the ADK 2.0 page (#2190)
The page covered upgrading from 1.x for Python and Go but not TypeScript,
even though ADK TypeScript 2.0 is published. Adds a section in the same shape
as the other two, covering the four changes that affect a project upgrading
from @google/adk 1.6.0:

- Four optional fields added to the Event interface (`output`, `route`,
  `nodeInfo`, `isolationScope`), and what that means for a custom session
  service backed by a rigid schema.
- `BaseAgent` now extends `BaseNode`, so subclasses inherit seven members that
  can collide with their own fields, and `description` defaults to an empty
  string rather than `undefined`.
- `InvocationContext.agent` is now optional, with `requireAgent(ctx)` as the
  replacement inside an agent's own execution.
- `SequentialAgent`, `ParallelAgent` and `LoopAgent` warn once per class but
  still work.

Deliberately omits the `LLMAgentWrapper` removal and the dynamic
`ctx.runNode()` resume change listed in the 2.0.0 changelog. Neither shipped
in a released 1.x, so neither can affect an upgrade; both were churn within
the 2.0 development line.

Also marks TypeScript as supported in the page header, adds the GA note, links
the TypeScript workflow samples under Next steps, and adds adk-js to the
closing feedback line.

The claims are checked against `adk-v2.0.0`: the Event field list comes from a
diff of `events/event.ts` between the 1.6.0 and 2.0.0 tags, and the code
sample compiles under `strict` against the published `@google/adk@2.0.0`.
2026-08-31 16:02:21 -07:00
..