portos-ai-toolkit 0.1.0 → 0.1.2
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 +4 -0
- package/package.json +5 -1
- package/src/server/index.d.ts +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,10 @@ npm install portos-ai-toolkit
|
|
|
16
16
|
- **React Components**: Ready-to-use React components and hooks for AI provider management
|
|
17
17
|
- **Express Routes**: Pre-built Express route handlers for provider, prompt, and run management
|
|
18
18
|
|
|
19
|
+
## Screenshot
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
19
23
|
## Usage
|
|
20
24
|
|
|
21
25
|
### Server-side
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "portos-ai-toolkit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Shared AI provider, model, and prompt template patterns for PortOS-style applications",
|
|
5
5
|
"author": "Adam Eivy <adam@eivy.com> (https://atomantic.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"express": "^4.21.2 || ^5.2.1",
|
|
41
41
|
"socket.io": "^4.8.3",
|
|
42
|
+
"socket.io-client": "^4.8.3",
|
|
42
43
|
"react": "^18.3.1",
|
|
43
44
|
"react-dom": "^18.3.1"
|
|
44
45
|
},
|
|
@@ -49,6 +50,9 @@
|
|
|
49
50
|
"socket.io": {
|
|
50
51
|
"optional": true
|
|
51
52
|
},
|
|
53
|
+
"socket.io-client": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
52
56
|
"react": {
|
|
53
57
|
"optional": true
|
|
54
58
|
},
|
package/src/server/index.d.ts
CHANGED