Skip to content

Foxl v0.2.21

Choose a tag to compare

@foxl-bot foxl-bot released this 30 Apr 21:27

Strands SDK v1.0.0 + Express 5 upgrade

  • Upgraded @strands-agents/sdk from v1.0.0-rc.5 to stable v1.0.0. Concurrent tool execution enabled by default - the LLM decides when to run multiple tools in parallel within a single turn.
  • Added BeforeInvocationEvent and BeforeModelCallEvent cancellation hooks (SDK v1.0.0 feature). Agent stop requests now prevent the next API call from firing, saving cost and reducing latency on user-initiated stops.
  • Refactored per-agent tool event routing from a global Map (agentToolEventFns) to SDK-native invocationState - each agent.stream() call carries its own callback via the per-invocation state bag, eliminating shared mutable state.
  • Upgraded Express from v4.18 to v5.2 with @types/express v5. Migrated all wildcard route patterns to Express 5 path-to-regexp syntax (:param(*) to *param, unnamed * to *splat). Fixed wildcard param handling - Express 5 returns arrays for * captures, now joined with / for path reconstruction.

Fixes

  • Workspace file read/write via nested paths (e.g. memory/daily/2026-04-30.md) broken by Express 5 array params - fixed with Array.isArray() guard and join('/').
  • Webhook trigger endpoint updated for Express 5 named wildcard (*splat).

Tests

  • Added sdk-upgrade-e2e.spec.ts with 11 new Playwright tests covering Express 5 wildcard routes, chat stop/cancellation, server health, and provider/model endpoints.