@useago/sdk 1.5.2 → 1.5.4

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +10 -0
  3. package/dist/AgoClient-BW0YZsis.js +1681 -0
  4. package/dist/AgoClient-Ba3ICq4K.cjs +8 -0
  5. package/dist/angular.cjs +1 -1
  6. package/dist/angular.d.cts +352 -0
  7. package/dist/angular.d.ts +352 -0
  8. package/dist/angular.js +1 -1
  9. package/dist/{createConversationSession-DPrrr70o.js → createConversationSession-BjsgjL-v.js} +3 -3
  10. package/dist/createConversationSession-okoz3teC.cjs +1 -0
  11. package/dist/createFormCollector-BWIh1pMl.cjs +1 -0
  12. package/dist/createFormCollector-Bay2UpRv.js +279 -0
  13. package/dist/createMockClient-DcuNlufr.js +97 -0
  14. package/dist/createMockClient-Dw-cyISN.cjs +1 -0
  15. package/dist/devtools.d.cts +352 -0
  16. package/dist/devtools.d.ts +352 -0
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +564 -0
  19. package/dist/index.d.ts +564 -0
  20. package/dist/index.js +97 -90
  21. package/dist/react.cjs +3 -3
  22. package/dist/react.d.cts +430 -0
  23. package/dist/react.d.ts +430 -0
  24. package/dist/react.js +600 -443
  25. package/dist/testing.cjs +1 -1
  26. package/dist/testing.d.cts +352 -0
  27. package/dist/testing.d.ts +352 -0
  28. package/dist/testing.js +1 -1
  29. package/dist/vue.cjs +1 -1
  30. package/dist/vue.d.cts +373 -0
  31. package/dist/vue.d.ts +373 -0
  32. package/dist/vue.js +133 -110
  33. package/dist/widget.cjs +1 -1
  34. package/dist/widget.d.cts +349 -0
  35. package/dist/widget.d.ts +349 -0
  36. package/dist/widget.js +7 -7
  37. package/llms-full.txt +29 -0
  38. package/package.json +1 -1
  39. package/dist/AgoClient-5VGybmvz.cjs +0 -8
  40. package/dist/AgoClient-DXrH2AMi.js +0 -964
  41. package/dist/createConversationSession-0WTqcCLK.cjs +0 -1
  42. package/dist/createFormCollector-1GKKwQV_.cjs +0 -1
  43. package/dist/createFormCollector-DYh90kiG.js +0 -305
  44. package/dist/createMockClient-C-wrjb2C.cjs +0 -1
  45. package/dist/createMockClient-we-XoPom.js +0 -79
package/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to `@useago/sdk` are documented here.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.5.4] - 2026-07-22
9
+
10
+ ### Added
11
+
12
+ - `AgoClient.recordActivity(entry)`: record a user (or agent) action into an
13
+ activity ledger so the agent knows what just happened. The recent window (last
14
+ 10 by default) rides along as the `activity:recent` context entry; the agent's
15
+ own client-function calls are recorded automatically. Read or clear with
16
+ `getRecentActivity()` / `clearActivity()`, observe via the `activity:recorded`
17
+ event, or use the React `useAgoActivityLog()` hook.
18
+ - `AgoConfig.maxActivityEntries`: override how many recent actions the activity
19
+ ledger keeps (default `10`). Each entry's `data` is size-clamped before storage
20
+ (long strings truncated, large arrays capped) so a single event can't bloat the
21
+ context sent on every message.
22
+ - Page-state changes are now reported to the agent: each message includes a
23
+ `state:delta` entry listing the page-state fields that changed since the last
24
+ message. A navigation resets the baseline instead of reporting a diff.
25
+
8
26
  ## [1.5.2] - 2026-07-13
9
27
 
10
28
  ### Added
package/README.md CHANGED
@@ -18,6 +18,16 @@ orchestration, evaluations, quality monitoring, security controls, human
18
18
  fallback, and continuous improvement. Your team ships product-native agents that
19
19
  resolve customer needs, without rebuilding the full customer-facing agent platform.
20
20
 
21
+ > [!TIP]
22
+ > **Using Claude Code, Codex, or Cursor?** You don't have to read these docs.
23
+ > The full documentation lives in a single file built for coding agents. Paste
24
+ > this into your agent and let it do the integration:
25
+ >
26
+ > ```text
27
+ > Read https://raw.githubusercontent.com/useago/ago-sdk/refs/heads/main/llms-full.txt
28
+ > and integrate the AGO chat SDK into this app.
29
+ > ```
30
+
21
31
  In two minutes you'll have a working chat on your page and an agent that can
22
32
  navigate your app. The quickstart below uses **React**; every other stack gets
23
33
  the same two steps through its own guide: