@praxisui/ai 1.0.0-beta.61 → 1.0.0-beta.62
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 +19 -49
- package/package.json +24 -2
package/README.md
CHANGED
|
@@ -1,67 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @praxisui/ai
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
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.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Documentation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Official documentation: https://praxisui.dev
|
|
8
|
+
- Quickstart reference app: https://github.com/codexrodrigues/praxis-ui-quickstart
|
|
9
|
+
- Recommended for: Angular hosts that need AI-assisted configuration flows with provider orchestration and enterprise guardrails
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
ng generate component component-name
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
11
|
+
## Install
|
|
14
12
|
|
|
15
13
|
```bash
|
|
16
|
-
|
|
14
|
+
npm i @praxisui/ai
|
|
17
15
|
```
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
ng build praxis-ai
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
-
|
|
29
|
-
### Publishing the Library
|
|
30
|
-
|
|
31
|
-
Once the project is built, you can publish your library by following these steps:
|
|
17
|
+
Peer dependencies (Angular v20):
|
|
18
|
+
- `@angular/core` `^20.3.0`
|
|
19
|
+
- `@angular/common` `^20.3.0`
|
|
20
|
+
- `@praxisui/core` `^1.0.0-beta.61`
|
|
32
21
|
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
cd dist/praxis-ai
|
|
36
|
-
```
|
|
22
|
+
## When to use
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
```
|
|
24
|
+
- Add AI-assisted suggestions and patch generation to Praxis UI components
|
|
25
|
+
- Centralize provider and model validation behind backend-controlled endpoints
|
|
26
|
+
- Apply tenant-aware confirmation and risk policies in enterprise environments
|
|
42
27
|
|
|
43
|
-
##
|
|
44
|
-
|
|
45
|
-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
ng test
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## Running end-to-end tests
|
|
52
|
-
|
|
53
|
-
For end-to-end (e2e) testing, run:
|
|
28
|
+
## Build and test
|
|
54
29
|
|
|
55
30
|
```bash
|
|
56
|
-
ng
|
|
31
|
+
ng build praxis-ai
|
|
32
|
+
ng test praxis-ai
|
|
57
33
|
```
|
|
58
34
|
|
|
59
|
-
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
-
|
|
61
|
-
## Additional Resources
|
|
62
|
-
|
|
63
|
-
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
64
|
-
|
|
65
35
|
## Backend AI endpoints (Praxis Config)
|
|
66
36
|
|
|
67
37
|
The UI uses the backend orchestration endpoints instead of calling providers directly.
|
package/package.json
CHANGED
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/ai",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.62",
|
|
4
|
+
"description": "AI building blocks and assistant integration for Praxis UI applications.",
|
|
4
5
|
"peerDependencies": {
|
|
5
6
|
"@angular/common": "^20.3.0",
|
|
6
7
|
"@angular/core": "^20.3.0",
|
|
7
|
-
"@praxisui/core": "^1.0.0-beta.
|
|
8
|
+
"@praxisui/core": "^1.0.0-beta.62"
|
|
8
9
|
},
|
|
9
10
|
"dependencies": {
|
|
10
11
|
"tslib": "^2.3.0"
|
|
11
12
|
},
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/codexrodrigues/praxis-ui-angular"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://praxisui.dev",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/codexrodrigues/praxis-ui-angular/issues"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"angular",
|
|
27
|
+
"praxisui",
|
|
28
|
+
"ai",
|
|
29
|
+
"assistant",
|
|
30
|
+
"llm",
|
|
31
|
+
"configuration",
|
|
32
|
+
"enterprise-ui"
|
|
33
|
+
],
|
|
12
34
|
"sideEffects": false,
|
|
13
35
|
"module": "fesm2022/praxisui-ai.mjs",
|
|
14
36
|
"typings": "index.d.ts",
|