@interopio/io-assist-ng 1.0.0 → 1.0.1
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 +52 -4
- package/dist/README.md +52 -4
- package/package.json +23 -2
package/README.md
CHANGED
|
@@ -25,12 +25,61 @@ Built on [io.Connect](https://interop.io/) and [@interopio/ai-web](https://www.n
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install @interopio/io-assist-ng
|
|
28
|
+
npm install @interopio/io-assist-ng
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Install at least one platform package** — you always need to import and pass the factory in your `connectConfig`:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# For io.Connect Browser (most common)
|
|
35
|
+
npm install @interopio/browser
|
|
36
|
+
|
|
37
|
+
# For io.Connect Desktop
|
|
38
|
+
npm install @interopio/desktop
|
|
39
|
+
|
|
40
|
+
# For both (if your app supports both environments)
|
|
41
|
+
npm install @interopio/browser @interopio/desktop
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The following packages are bundled as `dependencies` and are installed automatically:
|
|
45
|
+
|
|
46
|
+
> `zod`, `ngx-remark`, `remark-gfm`, `remark-parse`, `unified`, `@interopio/ai-web`, `@interopio/ng`, `@interopio/working-context`, `@ngrx/store`, `@ngrx/effects`, `@ngrx/store-devtools`, `rxjs`
|
|
47
|
+
|
|
48
|
+
The following are `peerDependencies` and must be present in your project. They are usually already installed in any Angular 20+ project:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm install @angular/cdk @angular/common @angular/core @angular/forms @angular/platform-browser
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Agent Server
|
|
57
|
+
|
|
58
|
+
io.Assist requires an **AG-UI Protocol compatible agent server** to handle chat requests. The recommended way to get started is with [Mastra](https://mastra.ai/).
|
|
59
|
+
|
|
60
|
+
### Quick setup with Mastra
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx create-mastra@latest
|
|
29
64
|
```
|
|
30
65
|
|
|
31
|
-
|
|
66
|
+
This scaffolds a fully working Mastra project. Follow the prompts, then start the server:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run dev
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
By default the server runs on `http://localhost:4111` — the same URL used in the Quickstart examples below.
|
|
73
|
+
|
|
74
|
+
**Required environment variables:**
|
|
75
|
+
|
|
76
|
+
```env
|
|
77
|
+
# At least one LLM provider key
|
|
78
|
+
OPENAI_API_KEY=your-key
|
|
79
|
+
ANTHROPIC_API_KEY=your-key
|
|
80
|
+
```
|
|
32
81
|
|
|
33
|
-
>
|
|
82
|
+
> For full Mastra documentation — including custom agents, tools, memory, and deployment — see [mastra.ai/docs](https://mastra.ai/docs).
|
|
34
83
|
|
|
35
84
|
## Quickstart
|
|
36
85
|
|
|
@@ -582,7 +631,6 @@ Prompts without an icon show a default icon.
|
|
|
582
631
|
- [@interopio/browser](https://www.npmjs.com/package/@interopio/browser) — io.Connect Browser platform
|
|
583
632
|
- [@interopio/desktop](https://www.npmjs.com/package/@interopio/desktop) — io.Connect Desktop platform
|
|
584
633
|
- [@interopio/working-context](https://www.npmjs.com/package/@interopio/working-context) — Working context collection
|
|
585
|
-
- [@interopio/modals-api](https://www.npmjs.com/package/@interopio/modals-api) — io.Connect Modals API
|
|
586
634
|
|
|
587
635
|
## License
|
|
588
636
|
|
package/dist/README.md
CHANGED
|
@@ -25,12 +25,61 @@ Built on [io.Connect](https://interop.io/) and [@interopio/ai-web](https://www.n
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install @interopio/io-assist-ng
|
|
28
|
+
npm install @interopio/io-assist-ng
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Install at least one platform package** — you always need to import and pass the factory in your `connectConfig`:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
# For io.Connect Browser (most common)
|
|
35
|
+
npm install @interopio/browser
|
|
36
|
+
|
|
37
|
+
# For io.Connect Desktop
|
|
38
|
+
npm install @interopio/desktop
|
|
39
|
+
|
|
40
|
+
# For both (if your app supports both environments)
|
|
41
|
+
npm install @interopio/browser @interopio/desktop
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The following packages are bundled as `dependencies` and are installed automatically:
|
|
45
|
+
|
|
46
|
+
> `zod`, `ngx-remark`, `remark-gfm`, `remark-parse`, `unified`, `@interopio/ai-web`, `@interopio/ng`, `@interopio/working-context`, `@ngrx/store`, `@ngrx/effects`, `@ngrx/store-devtools`, `rxjs`
|
|
47
|
+
|
|
48
|
+
The following are `peerDependencies` and must be present in your project. They are usually already installed in any Angular 20+ project:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
npm install @angular/cdk @angular/common @angular/core @angular/forms @angular/platform-browser
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Agent Server
|
|
57
|
+
|
|
58
|
+
io.Assist requires an **AG-UI Protocol compatible agent server** to handle chat requests. The recommended way to get started is with [Mastra](https://mastra.ai/).
|
|
59
|
+
|
|
60
|
+
### Quick setup with Mastra
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx create-mastra@latest
|
|
29
64
|
```
|
|
30
65
|
|
|
31
|
-
|
|
66
|
+
This scaffolds a fully working Mastra project. Follow the prompts, then start the server:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run dev
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
By default the server runs on `http://localhost:4111` — the same URL used in the Quickstart examples below.
|
|
73
|
+
|
|
74
|
+
**Required environment variables:**
|
|
75
|
+
|
|
76
|
+
```env
|
|
77
|
+
# At least one LLM provider key
|
|
78
|
+
OPENAI_API_KEY=your-key
|
|
79
|
+
ANTHROPIC_API_KEY=your-key
|
|
80
|
+
```
|
|
32
81
|
|
|
33
|
-
>
|
|
82
|
+
> For full Mastra documentation — including custom agents, tools, memory, and deployment — see [mastra.ai/docs](https://mastra.ai/docs).
|
|
34
83
|
|
|
35
84
|
## Quickstart
|
|
36
85
|
|
|
@@ -582,7 +631,6 @@ Prompts without an icon show a default icon.
|
|
|
582
631
|
- [@interopio/browser](https://www.npmjs.com/package/@interopio/browser) — io.Connect Browser platform
|
|
583
632
|
- [@interopio/desktop](https://www.npmjs.com/package/@interopio/desktop) — io.Connect Desktop platform
|
|
584
633
|
- [@interopio/working-context](https://www.npmjs.com/package/@interopio/working-context) — Working context collection
|
|
585
|
-
- [@interopio/modals-api](https://www.npmjs.com/package/@interopio/modals-api) — io.Connect Modals API
|
|
586
634
|
|
|
587
635
|
## License
|
|
588
636
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interopio/io-assist-ng",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "io.Intelligence Angular client library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "ng build && tailwindcss -i src/styles.css -o dist/styles.css --minify",
|
|
@@ -25,6 +25,27 @@
|
|
|
25
25
|
],
|
|
26
26
|
"endOfLine": "lf"
|
|
27
27
|
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@interopio/ai-web": "^1.0.0",
|
|
30
|
+
"@interopio/ng": ">=6.0.1",
|
|
31
|
+
"@interopio/working-context": "^1.1.0",
|
|
32
|
+
"@ngrx/effects": ">=20.0.1",
|
|
33
|
+
"@ngrx/store": ">=20.0.1",
|
|
34
|
+
"@ngrx/store-devtools": ">=20.0.1",
|
|
35
|
+
"ngx-remark": "^0.2.1",
|
|
36
|
+
"remark-gfm": "^4.0.1",
|
|
37
|
+
"remark-parse": "^11.0.0",
|
|
38
|
+
"rxjs": ">=7.8.2",
|
|
39
|
+
"unified": "^11.0.0",
|
|
40
|
+
"zod": "^3.25.76"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@angular/cdk": ">=20.2.7",
|
|
44
|
+
"@angular/common": ">=20.3.1",
|
|
45
|
+
"@angular/core": ">=20.3.1",
|
|
46
|
+
"@angular/forms": ">=20.3.1",
|
|
47
|
+
"@angular/platform-browser": ">=20.3.1"
|
|
48
|
+
},
|
|
28
49
|
"devDependencies": {
|
|
29
50
|
"@interopio/ai-web": "^1.0.0",
|
|
30
51
|
"@interopio/working-context": "^1.1.0"
|
|
@@ -66,5 +87,5 @@
|
|
|
66
87
|
"access": "public"
|
|
67
88
|
},
|
|
68
89
|
"license": "MIT",
|
|
69
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "9c62bc17792f3d84d0e18cd796707405c00c07be"
|
|
70
91
|
}
|