@useago/sdk 1.5.3 → 1.5.5

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 (48) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +10 -0
  3. package/dist/AgoClient-BI5esqbd.js +1694 -0
  4. package/dist/AgoClient-CQh8YovA.cjs +8 -0
  5. package/dist/angular.cjs +1 -1
  6. package/dist/angular.d.cts +70 -3
  7. package/dist/angular.d.ts +70 -3
  8. package/dist/angular.js +3 -3
  9. package/dist/{createConversationSession-BCb0D6bt.cjs → createConversationSession-0zVkMdYj.cjs} +1 -1
  10. package/dist/{createConversationSession-C7cnnWKW.js → createConversationSession-BlYTpxwz.js} +1 -1
  11. package/dist/{createFormCollector-iCDwAwYJ.js → createFormCollector-Bgs94NyR.js} +1 -1
  12. package/dist/{createFormCollector-t_fGyuTD.cjs → createFormCollector-DiCe_8ik.cjs} +1 -1
  13. package/dist/devtools.d.cts +69 -2
  14. package/dist/devtools.d.ts +69 -2
  15. package/dist/functions-CPs7omgM.cjs +1 -0
  16. package/dist/helpers.cjs +1 -1
  17. package/dist/helpers.js +1 -1
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.cts +90 -2
  20. package/dist/index.d.ts +90 -2
  21. package/dist/index.js +64 -62
  22. package/dist/react.cjs +3 -3
  23. package/dist/react.d.cts +83 -2
  24. package/dist/react.d.ts +83 -2
  25. package/dist/react.js +240 -219
  26. package/dist/testing.cjs +1 -1
  27. package/dist/testing.d.cts +69 -2
  28. package/dist/testing.d.ts +69 -2
  29. package/dist/testing.js +1 -1
  30. package/dist/vue.cjs +1 -1
  31. package/dist/vue.d.cts +69 -2
  32. package/dist/vue.d.ts +69 -2
  33. package/dist/vue.js +2 -2
  34. package/dist/widget.cjs +2 -2
  35. package/dist/widget.d.cts +69 -2
  36. package/dist/widget.d.ts +69 -2
  37. package/dist/widget.js +4 -4
  38. package/llms-full.txt +29 -0
  39. package/package.json +1 -1
  40. package/dist/AgoClient-BGkFSNZF.cjs +0 -8
  41. package/dist/AgoClient-CW-BLT1_.js +0 -1542
  42. package/dist/functions-IGSjjvF4.cjs +0 -1
  43. package/dist/rolldown-runtime-16Nf8qvH.cjs +0 -1
  44. /package/dist/{autoContinue-D3Mmaaca.js → autoContinue-CC8K9mBU.js} +0 -0
  45. /package/dist/{autoContinue-CcCTva-D.cjs → autoContinue-CP9pJR-V.cjs} +0 -0
  46. /package/dist/{createMockClient-Br0TWgLO.js → createMockClient-DcuNlufr.js} +0 -0
  47. /package/dist/{createMockClient-BwNLPjeT.cjs → createMockClient-Dw-cyISN.cjs} +0 -0
  48. /package/dist/{functions-CApuQZ2b.js → functions-tzyOZNp6.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,39 @@ 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.5] - 2026-07-28
9
+
10
+ ### Added
11
+
12
+ - `conversation:title` event: the backend streams a generated conversation
13
+ title once at the end of the first turn, so the UI can update a header
14
+ without a refetch.
15
+
16
+ ### Changed
17
+
18
+ - `getConversations(options?)` is now paginated. It accepts `{ page, pageSize }`
19
+ (`pageSize` capped at 100 by the backend) and returns a
20
+ `PaginatedResult<Conversation>` envelope (`{ data, hasMore, total }`) instead
21
+ of a plain array.
22
+
23
+ ## [1.5.4] - 2026-07-22
24
+
25
+ ### Added
26
+
27
+ - `AgoClient.recordActivity(entry)`: record a user (or agent) action into an
28
+ activity ledger so the agent knows what just happened. The recent window (last
29
+ 10 by default) rides along as the `activity:recent` context entry; the agent's
30
+ own client-function calls are recorded automatically. Read or clear with
31
+ `getRecentActivity()` / `clearActivity()`, observe via the `activity:recorded`
32
+ event, or use the React `useAgoActivityLog()` hook.
33
+ - `AgoConfig.maxActivityEntries`: override how many recent actions the activity
34
+ ledger keeps (default `10`). Each entry's `data` is size-clamped before storage
35
+ (long strings truncated, large arrays capped) so a single event can't bloat the
36
+ context sent on every message.
37
+ - Page-state changes are now reported to the agent: each message includes a
38
+ `state:delta` entry listing the page-state fields that changed since the last
39
+ message. A navigation resets the baseline instead of reporting a diff.
40
+
8
41
  ## [1.5.2] - 2026-07-13
9
42
 
10
43
  ### 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: