@praxisui/ai 8.0.0-beta.32 → 8.0.0-beta.34

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: "AI"
3
3
  slug: "ai-overview"
4
- description: "Overview of @praxisui/ai with backend-orchestrated provider flows, deterministic suggestions, patch generation, and tenant-aware risk policy."
4
+ description: "Overview of @praxisui/ai with backend-orchestrated provider flows, governed assistant UX, structured configuration proposals, and tenant-aware risk policy."
5
5
  doc_type: "guide"
6
6
  document_kind: "component-overview"
7
7
  component: "ai"
@@ -27,13 +27,13 @@ related_docs:
27
27
 
28
28
  # @praxisui/ai
29
29
 
30
- AI building blocks and assistant integration for Praxis UI applications. The package is designed for Angular hosts that need provider orchestration, metadata-aware UX and integration with the broader `@praxisui/*` ecosystem.
30
+ AI building blocks and assistant integration for Praxis UI applications. The package is designed for Angular hosts that need AI to understand existing runtime materializers, ask for clarification, answer consultative questions, and propose governed configuration changes without turning the browser into a free-form code generator.
31
31
 
32
32
  Short mental model:
33
33
 
34
34
  - `@praxisui/ai` is not a direct wrapper around external LLM providers.
35
35
  - the canonical path is backend orchestration through Praxis Config endpoints under `/api/praxis/config/ai/**`.
36
- - the library helps the host compose suggestions, clarifications, risk policy, and patch application without turning AI into a host-local sidecar.
36
+ - the library helps the host compose suggestions, clarifications, risk policy, and governed apply flows without turning AI into a host-local sidecar or disposable screen generator.
37
37
 
38
38
  ## Documentation
39
39
 
@@ -54,7 +54,7 @@ Peer dependencies (Angular v20):
54
54
 
55
55
  ## When to use
56
56
 
57
- - Add AI-assisted suggestions and patch generation to Praxis UI components
57
+ - Add AI-assisted consultation, clarification, and governed configuration proposals to Praxis UI components
58
58
  - Centralize provider and model validation behind backend-controlled endpoints
59
59
  - Apply tenant-aware confirmation and risk policies in enterprise environments
60
60
 
@@ -62,7 +62,7 @@ Peer dependencies (Angular v20):
62
62
 
63
63
  - assistant UX surfaces and interaction flow
64
64
  - reusable assistant shell primitives such as conversation messages, quick replies, prompt composer, governed actions, viewport-level drag/resize chrome, layout restore and minimized-session dock
65
- - backend API orchestration for provider catalog, suggestions, and patch generation
65
+ - backend API orchestration for provider catalog, suggestions, structured proposals, and governed apply flows
66
66
  - local lightweight session history with tenant/env/user scoping
67
67
  - confirmation and risk policy integration for sensitive changes
68
68
 
@@ -237,6 +237,12 @@ Payload:
237
237
  Notes:
238
238
  - `currentState` must be the config root (not wrapped under `config`).
239
239
  - Clarifications may return `{ type: "clarification", message, options }`.
240
+ - Responses may include `observationId`. `PraxisAiAssistantShellComponent` uses it to send write-only quality feedback to the backend triage endpoint without exposing prompt listings in public clients.
241
+
242
+ ### Assistant observation feedback
243
+ - `POST /api/praxis/config/ai/triage/observations/{observationId}/feedback`
244
+
245
+ `AiBackendApiService.sendAssistantObservationFeedback` posts `rating`, `reasonCode` and optional `comment` to the governed triage endpoint. The shell renders positive/negative feedback controls only when an assistant message has an `observationId`; listing observations remains an administrative backend capability, not a public UI concern.
240
246
 
241
247
  ### Agentic authoring manifest tools
242
248
  - `GET /api/praxis/config/ai/authoring/manifests/{componentId}`