@threadplane/ag-ui 0.0.55 → 0.0.57
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.
- package/README.md +6 -1
- package/fesm2022/threadplane-ag-ui.mjs +462 -200
- package/fesm2022/threadplane-ag-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/threadplane-ag-ui.d.ts +27 -5
package/README.md
CHANGED
|
@@ -32,11 +32,13 @@ Part of [Threadplane](https://github.com/cacheplane/angular-agent-framework).
|
|
|
32
32
|
## Install
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
npm install @threadplane/ag-ui @threadplane/chat @ag-ui/client @ag-ui/core
|
|
35
|
+
npm install @threadplane/ag-ui @threadplane/chat @ag-ui/client @ag-ui/core marked
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
**Peer dependencies:** `@threadplane/chat: *`, `@angular/core: ^20.0.0 || ^21.0.0`, `@ag-ui/client: *`, `@ag-ui/core: *`, `rxjs: ~7.8.0`
|
|
39
39
|
|
|
40
|
+
`marked` is the required markdown parser peer used by `@threadplane/chat` when you render assistant messages through `<chat>`.
|
|
41
|
+
|
|
40
42
|
---
|
|
41
43
|
|
|
42
44
|
## Quick start
|
|
@@ -83,6 +85,9 @@ Both `@threadplane/langgraph` and `@threadplane/ag-ui` expose `provideAgent`/`in
|
|
|
83
85
|
| `toolCalls()` | In-progress and completed tool calls |
|
|
84
86
|
| `error()` | Last run error, if any |
|
|
85
87
|
| `state()` | Raw AG-UI state snapshot |
|
|
88
|
+
| `customEvents()` | Non-`on_interrupt` `CUSTOM` events for live a2ui and app-specific side effects |
|
|
89
|
+
| `subagents()` | `ACTIVITY_*` entries with `activityType: 'subagent'`, projected to the neutral subagent contract |
|
|
90
|
+
| `clientTools` | Browser client-tool catalog, pending calls, and result resolution used by `<chat [clientTools]>` |
|
|
86
91
|
|
|
87
92
|
Which capabilities populate depends on the events the AG-UI backend emits. `submit()`, `stop()`, and `regenerate()` are supported.
|
|
88
93
|
|