@meshmakers/octo-ai-console 3.3.1190
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
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @meshmakers/octo-ai-console
|
|
2
|
+
|
|
3
|
+
Reusable Angular UI building blocks for the OctoMesh AI Adapter session console (ADR-21).
|
|
4
|
+
|
|
5
|
+
The library targets host applications that want to surface an agent session — Refinery
|
|
6
|
+
Studio integrates it as the `AI Console` tab in #4122 — but every component is standalone
|
|
7
|
+
and can be dropped into any Angular host with the right `AiAdapterClientService` provider
|
|
8
|
+
configuration.
|
|
9
|
+
|
|
10
|
+
## Phase 1 surface
|
|
11
|
+
|
|
12
|
+
| Class | Kind | Responsibility |
|
|
13
|
+
|----------------------------|------------|-----------------------------------------------------------|
|
|
14
|
+
| `AiSessionListComponent` | component | List of sessions with status, age, quota indicator |
|
|
15
|
+
| `AiChatStreamComponent` | component | Markdown render of the session transcript |
|
|
16
|
+
| `AiToolCallComponent` | component | Expandable tool-call card with inputs/outputs/duration |
|
|
17
|
+
| `AiApprovalModalComponent` | component | Approval payload preview + Approve/Reject + comment |
|
|
18
|
+
| `AiQuotaIndicatorComponent`| component | Daily/monthly usage bars with threshold colour state |
|
|
19
|
+
| `AiJobStatusBadgeComponent`| component | Status pill (Running/Paused/Failed/Completed/Queued) |
|
|
20
|
+
| `AiAdapterClientService` | service | REST wrapper over the adapter's `/sessions` endpoints |
|
|
21
|
+
| `AiSessionStreamService` | service | Observable over SignalR events with resume-from-sequence |
|
|
22
|
+
|
|
23
|
+
## Styling
|
|
24
|
+
|
|
25
|
+
The library ships neutral defaults — every coloured token is exposed as a CSS custom
|
|
26
|
+
property (`--mm-ai-*`) so host applications can theme the console without overriding
|
|
27
|
+
`!important` cascades.
|
|
28
|
+
|
|
29
|
+
## Build
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm run build:octo-ai-console
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Concept references
|
|
36
|
+
|
|
37
|
+
- Concept §10 — Frontend integration
|
|
38
|
+
- ADR-21 — `@meshmakers/octo-ai-console` package boundaries
|
|
39
|
+
- Issue #4121
|