@agentxin-ai/chatkit-types 0.0.13
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 +9 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# ChatKit Types
|
|
2
|
+
|
|
3
|
+
This package is the type-definition library for ChatKit, providing unified, reusable API types for the ChatKit project.
|
|
4
|
+
|
|
5
|
+
## Role in the ChatKit project
|
|
6
|
+
|
|
7
|
+
- Exposes the interface signatures and event types of `AgentXinAIChatKit`, ensuring consistency between integrators and internal implementation.
|
|
8
|
+
- Aggregates core chat-related types (such as `ChatKitOptions`, messages, attachments, widgets, interrupts) for reuse by the UI package and business side.
|
|
9
|
+
- Serves as a standalone types package so that the ChatKit Web Component and the AgentXinAI platform can obtain type hints and validation without bringing in implementation code.
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@agentxin-ai/chatkit-types",
|
|
3
|
+
"version": "0.0.13",
|
|
4
|
+
"description": "Type definitions for the ChatKit.",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./package.json": "./package.json",
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"!**/*.tsbuildinfo"
|
|
22
|
+
],
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build": "vite build",
|
|
25
|
+
"types": "tsc",
|
|
26
|
+
"clean": "rimraf dist"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/agentxin-ai/chatkit-js"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@a2ui/lit": "^0.8.1",
|
|
37
|
+
"@langchain/core": "^1.0.2"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"vite": "^5.0.0",
|
|
41
|
+
"vite-plugin-dts": "^3.7.0"
|
|
42
|
+
}
|
|
43
|
+
}
|