@lov3kaizen/agentsea-react 0.1.0 → 0.1.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 +11 -11
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @agentsea
|
|
1
|
+
# @lov3kaizen/agentsea-react
|
|
2
2
|
|
|
3
3
|
React components for rendering AgentSea agent responses with formatting support.
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/@lov3kaizen/agentsea-react)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
8
|
|
|
@@ -16,17 +16,17 @@ React components for rendering AgentSea agent responses with formatting support.
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npm install @agentsea
|
|
19
|
+
npm install @lov3kaizen/agentsea-react @lov3kaizen/agentsea-core react react-dom
|
|
20
20
|
# or
|
|
21
|
-
pnpm add @agentsea
|
|
21
|
+
pnpm add @lov3kaizen/agentsea-react @lov3kaizen/agentsea-core react react-dom
|
|
22
22
|
# or
|
|
23
|
-
yarn add @agentsea
|
|
23
|
+
yarn add @lov3kaizen/agentsea-react @lov3kaizen/agentsea-core react react-dom
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## Quick Start
|
|
27
27
|
|
|
28
28
|
```tsx
|
|
29
|
-
import { AgentResponse } from '@agentsea
|
|
29
|
+
import { AgentResponse } from '@lov3kaizen/agentsea-react';
|
|
30
30
|
|
|
31
31
|
function ChatMessage({ content }: { content: string }) {
|
|
32
32
|
return <AgentResponse content={content} />;
|
|
@@ -40,7 +40,7 @@ function ChatMessage({ content }: { content: string }) {
|
|
|
40
40
|
Renders agent response content with markdown formatting:
|
|
41
41
|
|
|
42
42
|
```tsx
|
|
43
|
-
import { AgentResponse } from '@agentsea
|
|
43
|
+
import { AgentResponse } from '@lov3kaizen/agentsea-react';
|
|
44
44
|
|
|
45
45
|
<AgentResponse
|
|
46
46
|
content="# Hello World\n\nThis is **markdown** content."
|
|
@@ -53,7 +53,7 @@ import { AgentResponse } from '@agentsea/react';
|
|
|
53
53
|
For streaming responses:
|
|
54
54
|
|
|
55
55
|
```tsx
|
|
56
|
-
import { StreamingResponse } from '@agentsea
|
|
56
|
+
import { StreamingResponse } from '@lov3kaizen/agentsea-react';
|
|
57
57
|
|
|
58
58
|
<StreamingResponse content={streamingContent} isStreaming={true} />;
|
|
59
59
|
```
|
|
@@ -76,9 +76,9 @@ Full documentation available at [agentsea.dev](https://agentsea.dev)
|
|
|
76
76
|
|
|
77
77
|
## Related Packages
|
|
78
78
|
|
|
79
|
-
- [@agentsea
|
|
80
|
-
- [@agentsea
|
|
81
|
-
- [@agentsea
|
|
79
|
+
- [@lov3kaizen/agentsea-core](https://www.npmjs.com/package/@lov3kaizen/agentsea-core) - Core library
|
|
80
|
+
- [@lov3kaizen/agentsea-nestjs](https://www.npmjs.com/package/@lov3kaizen/agentsea-nestjs) - NestJS integration
|
|
81
|
+
- [@lov3kaizen/agentsea-cli](https://www.npmjs.com/package/@lov3kaizen/agentsea-cli) - Command-line interface
|
|
82
82
|
|
|
83
83
|
## License
|
|
84
84
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lov3kaizen/agentsea-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "React components for rendering AgentSea agent responses with formatting support",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"remark-gfm": "^4.0.0",
|
|
21
21
|
"rehype-highlight": "^7.0.0",
|
|
22
22
|
"rehype-raw": "^7.0.0",
|
|
23
|
-
"@lov3kaizen/agentsea-core": "0.1.
|
|
23
|
+
"@lov3kaizen/agentsea-core": "0.1.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|
|
57
|
-
"url": "https://github.com/
|
|
57
|
+
"url": "https://github.com/lov3kaizen/agentsea.git",
|
|
58
58
|
"directory": "packages/react"
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://agentsea.dev",
|
|
61
61
|
"bugs": {
|
|
62
|
-
"url": "https://github.com/
|
|
62
|
+
"url": "https://github.com/lov3kaizen/agentsea/issues"
|
|
63
63
|
},
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|