From c503690d52fe0bde4dc5dee0965a296b1a2f6317 Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Fri, 6 Mar 2026 11:41:30 +0000 Subject: [PATCH] fix(readme): adjust ASCII art in README to fix box widths and spacing in agent diagram --- changelog.md | 6 ++++++ readme.md | 8 ++++---- ts/00_commitinfo_data.ts | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/changelog.md b/changelog.md index 7f10b93..bdf33e5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-06 - 3.0.1 - fix(readme) +adjust ASCII art in README to fix box widths and spacing in agent diagram + +- Updated readme.md diagram: expanded 'Messages' box width and realigned 'streamText' and 'Tools' columns +- Documentation-only change; no code or behavior affected + ## 2026-03-06 - 3.0.0 - BREAKING CHANGE(api) Migrate public API to ai-sdk v6 and refactor core agent architecture: replace class-based DualAgent/Driver/Guardian with a single runAgent function; introduce ts_tools factories for tools, a compactMessages compaction subpath, and truncateOutput utility; simplify ToolRegistry to return ToolSet and remove legacy BaseToolWrapper/tool classes; update package exports and dependencies and bump major version. diff --git a/readme.md b/readme.md index df7fb16..870d0d6 100644 --- a/readme.md +++ b/readme.md @@ -58,10 +58,10 @@ console.log(result.usage); // { promptTokens, completionTokens, totalTokens } ┌─────────────────────────────────────────────────┐ │ runAgent({ model, prompt, tools, maxSteps }) │ │ │ -│ ┌───────────┐ ┌──────────┐ ┌───────────┐ │ -│ │ Messages │──▶│ streamText│──▶│ Tools │ │ -│ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │ │ -│ └───────────┘ └──────────┘ └───────────┘ │ +│ ┌────────────┐ ┌───────────┐ ┌───────────┐ │ +│ │ Messages │──▶│ streamText│──▶│ Tools │ │ +│ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │ │ +│ └────────────┘ └───────────┘ └───────────┘ │ │ │ │ stopWhen: stepCountIs(maxSteps) │ │ + retry with backoff on 429/529/503 │ diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index b62b374..ade0180 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartagent', - version: '3.0.0', + version: '3.0.1', description: 'Agentic loop for ai-sdk (Vercel AI SDK). Wraps streamText with stopWhen for parallel multi-step tool execution. Built on @push.rocks/smartai.' }