@push.rocks/smartagent 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartagent',
6
- version: '3.0.0',
6
+ version: '3.0.1',
7
7
  description: 'Agentic loop for ai-sdk (Vercel AI SDK). Wraps streamText with stopWhen for parallel multi-step tool execution. Built on @push.rocks/smartai.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLCtJQUErSTtDQUM3SixDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartagent",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "private": false,
5
5
  "description": "Agentic loop for ai-sdk (Vercel AI SDK). Wraps streamText with stopWhen for parallel multi-step tool execution. Built on @push.rocks/smartai.",
6
6
  "main": "dist_ts/index.js",
package/readme.md CHANGED
@@ -58,10 +58,10 @@ console.log(result.usage); // { promptTokens, completionTokens, totalTokens }
58
58
  ┌─────────────────────────────────────────────────┐
59
59
  │ runAgent({ model, prompt, tools, maxSteps }) │
60
60
  │ │
61
- │ ┌───────────┐ ┌──────────┐ ┌───────────┐
62
- │ │ Messages │──▶│ streamText│──▶│ Tools │
63
- │ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │
64
- │ └───────────┘ └──────────┘ └───────────┘
61
+ ┌────────────┐ ┌───────────┐ ┌───────────┐
62
+ │ │ Messages │──▶│ streamText│──▶│ Tools │
63
+ │ │ (history) │◀──│ (AI SDK) │◀──│ (ToolSet) │
64
+ └────────────┘ └───────────┘ └───────────┘
65
65
  │ │
66
66
  │ stopWhen: stepCountIs(maxSteps) │
67
67
  │ + retry with backoff on 429/529/503 │
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartagent',
6
- version: '3.0.0',
6
+ version: '3.0.1',
7
7
  description: 'Agentic loop for ai-sdk (Vercel AI SDK). Wraps streamText with stopWhen for parallel multi-step tool execution. Built on @push.rocks/smartai.'
8
8
  }