@agentica/chat 0.4.0 → 0.10.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.
@@ -1,26 +1,26 @@
1
- <html lang="en">
2
-
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport"
6
- content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
- <script type="text/javascript">
8
- (function (c, l, a, r, i, t, y) {
9
- c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
- t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
- y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
- })(window, document, "clarity", "script", "gu5qz1srj3");
13
- </script>
14
- <title>Agentica Chatbot (TypeScript Class Demonstration)</title>
15
- <script type="module" src="../assets/bbs/index-DaMmtBCh.js"></script>
1
+ <html lang="en">
2
+
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport"
6
+ content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
+ <script type="text/javascript">
8
+ (function (c, l, a, r, i, t, y) {
9
+ c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
+ t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
+ y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
+ })(window, document, "clarity", "script", "gu5qz1srj3");
13
+ </script>
14
+ <title>Agentica Chatbot (TypeScript Class Demonstration)</title>
15
+ <script type="module" src="../assets/bbs/index-W3yuE4AY.js"></script>
16
16
  <link rel="modulepreload" crossorigin href="../assets/client-BwmHWUFW.js">
17
- <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BAduZMpY.js">
17
+ <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BKEsRS5q.js">
18
18
  <link rel="modulepreload" crossorigin href="../assets/_isFormatUri-YqTfGpHo.js">
19
19
  <link rel="modulepreload" crossorigin href="../assets/Divider-D4B39gYv.js">
20
- </head>
21
-
22
- <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
23
- <div id="root" style="width: 100%; height: 100%"></div>
24
- </body>
25
-
20
+ </head>
21
+
22
+ <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
23
+ <div id="root" style="width: 100%; height: 100%"></div>
24
+ </body>
25
+
26
26
  </html>
package/dist/index.html CHANGED
@@ -1,24 +1,24 @@
1
- <html lang="en">
2
-
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport"
6
- content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
- <script type="text/javascript">
8
- (function (c, l, a, r, i, t, y) {
9
- c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
- t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
- y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
- })(window, document, "clarity", "script", "gu5qz1srj3");
13
- </script>
14
- <title>Agentica Chatbot Examples</title>
1
+ <html lang="en">
2
+
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport"
6
+ content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
+ <script type="text/javascript">
8
+ (function (c, l, a, r, i, t, y) {
9
+ c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
+ t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
+ y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
+ })(window, document, "clarity", "script", "gu5qz1srj3");
13
+ </script>
14
+ <title>Agentica Chatbot Examples</title>
15
15
  <script type="module" src="./assets/index-BZb7BC3J.js"></script>
16
16
  <link rel="modulepreload" crossorigin href="./assets/client-BwmHWUFW.js">
17
17
  <link rel="modulepreload" crossorigin href="./assets/Divider-D4B39gYv.js">
18
- </head>
19
-
20
- <body>
21
- <div id="root" style="width: 100%; height: 100%"></div>
22
- </body>
23
-
18
+ </head>
19
+
20
+ <body>
21
+ <div id="root" style="width: 100%; height: 100%"></div>
22
+ </body>
23
+
24
24
  </html>
@@ -1,25 +1,25 @@
1
- <html lang="en">
2
-
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport"
6
- content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
- <script type="text/javascript">
8
- (function (c, l, a, r, i, t, y) {
9
- c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
- t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
- y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
- })(window, document, "clarity", "script", "gu5qz1srj3");
13
- </script>
14
- <title>Agentica Playground</title>
15
- <script type="module" src="../assets/playground/index.html-3YzVwoKE.js"></script>
1
+ <html lang="en">
2
+
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport"
6
+ content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
+ <script type="text/javascript">
8
+ (function (c, l, a, r, i, t, y) {
9
+ c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
+ t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
+ y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
+ })(window, document, "clarity", "script", "gu5qz1srj3");
13
+ </script>
14
+ <title>Agentica Playground</title>
15
+ <script type="module" src="../assets/playground/index.html-qvfdbFE0.js"></script>
16
16
  <link rel="modulepreload" crossorigin href="../assets/client-BwmHWUFW.js">
17
- <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BAduZMpY.js">
18
- <link rel="modulepreload" crossorigin href="../assets/OpenApi-C5xvfAk3.js">
19
- </head>
20
-
21
- <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
22
- <div id="root" style="width: 100%; height: 100%"></div>
23
- </body>
24
-
17
+ <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BKEsRS5q.js">
18
+ <link rel="modulepreload" crossorigin href="../assets/OpenApi-CGb-Vryh.js">
19
+ </head>
20
+
21
+ <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
22
+ <div id="root" style="width: 100%; height: 100%"></div>
23
+ </body>
24
+
25
25
  </html>
@@ -1,27 +1,27 @@
1
- <html lang="en">
2
-
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport"
6
- content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
- <script type="text/javascript">
8
- (function (c, l, a, r, i, t, y) {
9
- c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
- t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
- y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
- })(window, document, "clarity", "script", "gu5qz1srj3");
13
- </script>
14
- <title>Agentica Chatbot (Shopping Mall Demonstration)</title>
15
- <script type="module" src="../assets/shopping/index.html-Doia8R3S.js"></script>
1
+ <html lang="en">
2
+
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport"
6
+ content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s" />
7
+ <script type="text/javascript">
8
+ (function (c, l, a, r, i, t, y) {
9
+ c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
10
+ t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
11
+ y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
12
+ })(window, document, "clarity", "script", "gu5qz1srj3");
13
+ </script>
14
+ <title>Agentica Chatbot (Shopping Mall Demonstration)</title>
15
+ <script type="module" src="../assets/shopping/index.html-B7wM1x_y.js"></script>
16
16
  <link rel="modulepreload" crossorigin href="../assets/client-BwmHWUFW.js">
17
- <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BAduZMpY.js">
18
- <link rel="modulepreload" crossorigin href="../assets/OpenApi-C5xvfAk3.js">
17
+ <link rel="modulepreload" crossorigin href="../assets/AgenticaChatApplication-BKEsRS5q.js">
18
+ <link rel="modulepreload" crossorigin href="../assets/OpenApi-CGb-Vryh.js">
19
19
  <link rel="modulepreload" crossorigin href="../assets/_isFormatUri-YqTfGpHo.js">
20
20
  <link rel="modulepreload" crossorigin href="../assets/Divider-D4B39gYv.js">
21
- </head>
22
-
23
- <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
24
- <div id="root" style="width: 100%; height: 100%"></div>
25
- </body>
26
-
21
+ </head>
22
+
23
+ <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
24
+ <div id="root" style="width: 100%; height: 100%"></div>
25
+ </body>
26
+
27
27
  </html>
package/package.json CHANGED
@@ -1,93 +1,93 @@
1
- {
2
- "type": "module",
3
- "name": "@agentica/chat",
4
- "version": "0.4.0",
5
- "main": "./lib/index.mjs",
6
- "typings": "./lib/index.d.ts",
7
- "description": "Frontend Application of Agentica",
8
- "scripts": {
9
- "build": "npm run build:static && npm run build:lib",
10
- "build:static": "rimraf dist && tsc -b && vite build",
11
- "build:lib": "rimraf lib && tsc --project tsconfig.lib.json --emitDeclarationOnly && rollup -c",
12
- "dev": "vite",
13
- "lint": "eslint .",
14
- "prepare": "ts-patch install",
15
- "preview": "vite preview",
16
- "deploy": "node build/deploy.mjs"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/wrtnlabs/agentica"
21
- },
22
- "keywords": [
23
- "openapi",
24
- "swagger",
25
- "generator",
26
- "typescript",
27
- "editor",
28
- "sdk",
29
- "nestjs",
30
- "nestia"
31
- ],
32
- "author": "Wrtn Technologies",
33
- "license": "MIT",
34
- "bugs": {
35
- "url": "https://github.com/wrtnlabs/agentica/issues"
36
- },
37
- "homepage": "https://wrtnlabs.io/agentica",
38
- "dependencies": {
39
- "@mui/icons-material": "^6.4.0",
40
- "@mui/material": "^6.4.0",
41
- "@samchon/openapi": "^3.0.0",
42
- "@agentica/core": "^0.10.0",
43
- "html2canvas": "^1.4.1",
44
- "js-file-download": "^0.4.12",
45
- "openai": "^4.80.0",
46
- "react-markdown": "^9.0.3",
47
- "rehype-raw": "^7.0.0",
48
- "rehype-stringify": "^10.0.1",
49
- "remark-mermaid-plugin": "^1.0.2",
50
- "typia": "^8.0.0",
51
- "uuid": "^11.0.5"
52
- },
53
- "devDependencies": {
54
- "@eslint/js": "^9.13.0",
55
- "@rollup/plugin-terser": "^0.4.4",
56
- "@rollup/plugin-typescript": "^12.1.1",
57
- "@ryoppippi/unplugin-typia": "^1.2.0",
58
- "@samchon/shopping-api": "^0.16.0",
59
- "@types/js-yaml": "^4.0.9",
60
- "@types/node": "^22.10.5",
61
- "@types/react": "^18.3.11",
62
- "@types/react-dom": "^18.3.1",
63
- "@types/react-json-editor-ajrm": "^2.5.6",
64
- "@types/uuid": "^10.0.0",
65
- "@vitejs/plugin-react": "^4.3.3",
66
- "eslint": "^9.13.0",
67
- "eslint-plugin-react-hooks": "^5.0.0",
68
- "eslint-plugin-react-refresh": "^0.4.13",
69
- "gh-pages": "^6.3.0",
70
- "globals": "^15.11.0",
71
- "js-yaml": "^4.1.0",
72
- "openai": "^4.82.0",
73
- "react": "^18.3.1",
74
- "react-dom": "^18.3.1",
75
- "react-json-editor-ajrm": "^2.5.14",
76
- "react-mui-fileuploader": "^0.5.2",
77
- "rimraf": "^6.0.1",
78
- "rollup": "^4.24.2",
79
- "ts-patch": "^3.3.0",
80
- "typescript": "~5.8.2",
81
- "typescript-eslint": "^8.10.0",
82
- "vite": "^5.4.9"
83
- },
84
- "files": [
85
- "README.md",
86
- "LICENSE",
87
- "package.json",
88
- "dist",
89
- "lib",
90
- "src",
91
- "!src/examples"
92
- ]
1
+ {
2
+ "type": "module",
3
+ "name": "@agentica/chat",
4
+ "version": "0.10.1",
5
+ "main": "./lib/index.mjs",
6
+ "typings": "./lib/index.d.ts",
7
+ "description": "Frontend Application of Agentica",
8
+ "scripts": {
9
+ "build": "npm run build:static && npm run build:lib",
10
+ "build:static": "rimraf dist && tsc -b && vite build",
11
+ "build:lib": "rimraf lib && tsc --project tsconfig.lib.json --emitDeclarationOnly && rollup -c",
12
+ "dev": "vite",
13
+ "lint": "eslint .",
14
+ "prepare": "ts-patch install",
15
+ "preview": "vite preview",
16
+ "deploy": "node build/deploy.mjs"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/wrtnlabs/agentica"
21
+ },
22
+ "keywords": [
23
+ "openapi",
24
+ "swagger",
25
+ "generator",
26
+ "typescript",
27
+ "editor",
28
+ "sdk",
29
+ "nestjs",
30
+ "nestia"
31
+ ],
32
+ "author": "Wrtn Technologies",
33
+ "license": "MIT",
34
+ "bugs": {
35
+ "url": "https://github.com/wrtnlabs/agentica/issues"
36
+ },
37
+ "homepage": "https://wrtnlabs.io/agentica",
38
+ "dependencies": {
39
+ "@mui/icons-material": "^6.4.0",
40
+ "@mui/material": "^6.4.0",
41
+ "@samchon/openapi": "^3.0.0",
42
+ "@agentica/core": "^0.10.1",
43
+ "html2canvas": "^1.4.1",
44
+ "js-file-download": "^0.4.12",
45
+ "openai": "^4.80.0",
46
+ "react-markdown": "^9.0.3",
47
+ "rehype-raw": "^7.0.0",
48
+ "rehype-stringify": "^10.0.1",
49
+ "remark-mermaid-plugin": "^1.0.2",
50
+ "typia": "^8.0.0",
51
+ "uuid": "^11.0.5"
52
+ },
53
+ "devDependencies": {
54
+ "@eslint/js": "^9.13.0",
55
+ "@rollup/plugin-terser": "^0.4.4",
56
+ "@rollup/plugin-typescript": "^12.1.1",
57
+ "@ryoppippi/unplugin-typia": "^1.2.0",
58
+ "@samchon/shopping-api": "^0.16.0",
59
+ "@types/js-yaml": "^4.0.9",
60
+ "@types/node": "^22.10.5",
61
+ "@types/react": "^18.3.11",
62
+ "@types/react-dom": "^18.3.1",
63
+ "@types/react-json-editor-ajrm": "^2.5.6",
64
+ "@types/uuid": "^10.0.0",
65
+ "@vitejs/plugin-react": "^4.3.3",
66
+ "eslint": "^9.13.0",
67
+ "eslint-plugin-react-hooks": "^5.0.0",
68
+ "eslint-plugin-react-refresh": "^0.4.13",
69
+ "gh-pages": "^6.3.0",
70
+ "globals": "^15.11.0",
71
+ "js-yaml": "^4.1.0",
72
+ "openai": "^4.82.0",
73
+ "react": "^18.3.1",
74
+ "react-dom": "^18.3.1",
75
+ "react-json-editor-ajrm": "^2.5.14",
76
+ "react-mui-fileuploader": "^0.5.2",
77
+ "rimraf": "^6.0.1",
78
+ "rollup": "^4.24.2",
79
+ "ts-patch": "^3.3.0",
80
+ "typescript": "~5.8.2",
81
+ "typescript-eslint": "^8.10.0",
82
+ "vite": "^5.4.9"
83
+ },
84
+ "files": [
85
+ "README.md",
86
+ "LICENSE",
87
+ "package.json",
88
+ "dist",
89
+ "lib",
90
+ "src",
91
+ "!src/examples"
92
+ ]
93
93
  }
package/src/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # Agentica Chat Application
2
- [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/wrtnlabs/agentica/blob/master/LICENSE)
3
- [![npm version](https://img.shields.io/npm/v/@agentica/chat.svg)](https://www.npmjs.com/package/@agentica/chat)
4
- [![Downloads](https://img.shields.io/npm/dm/@agentica/chat.svg)](https://www.npmjs.com/package/@agentica/chat)
5
- [![Build Status](https://github.com/wrtnlabs/agentica/workflows/build/badge.svg)](https://github.com/wrtnlabs/agentica/actions?query=workflow%3Abuild)
6
-
7
- A frontend application of Agentica chatbot for rapid demonstration.
8
-
9
- This is not for final production, but just for demonstration. So please do not use this package globally. You have to utilize this package only for the internal demonstration.
10
-
11
- ```tsx
12
- import { Agentica } from "@agentica/core";
13
- import { AgenticaChatApplication } from "@agentica/chat";
14
- import typia from "typia";
15
-
16
- const agent = new Agentica({ ... });
17
- ReactDOM.render(
18
- <AgenticaChatApplication agent={agent} />,
19
- document.body,
20
- );
21
- ```
22
-
23
- > https://github.com/user-attachments/assets/01604b53-aca4-41cb-91aa-3faf63549ea6
24
- >
1
+ # Agentica Chat Application
2
+ [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/wrtnlabs/agentica/blob/master/LICENSE)
3
+ [![npm version](https://img.shields.io/npm/v/@agentica/chat.svg)](https://www.npmjs.com/package/@agentica/chat)
4
+ [![Downloads](https://img.shields.io/npm/dm/@agentica/chat.svg)](https://www.npmjs.com/package/@agentica/chat)
5
+ [![Build Status](https://github.com/wrtnlabs/agentica/workflows/build/badge.svg)](https://github.com/wrtnlabs/agentica/actions?query=workflow%3Abuild)
6
+
7
+ A frontend application of Agentica chatbot for rapid demonstration.
8
+
9
+ This is not for final production, but just for demonstration. So please do not use this package globally. You have to utilize this package only for the internal demonstration.
10
+
11
+ ```tsx
12
+ import { Agentica } from "@agentica/core";
13
+ import { AgenticaChatApplication } from "@agentica/chat";
14
+ import typia from "typia";
15
+
16
+ const agent = new Agentica({ ... });
17
+ ReactDOM.render(
18
+ <AgenticaChatApplication agent={agent} />,
19
+ document.body,
20
+ );
21
+ ```
22
+
23
+ > https://github.com/user-attachments/assets/01604b53-aca4-41cb-91aa-3faf63549ea6
24
+ >
25
25
  > Demonstration video of Shopping AI Chatbot