@aiquants/chat 0.0.0-stage → 0.1.0
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/CHANGELOG.md +199 -0
- package/LICENSE +21 -0
- package/README.md +962 -2
- package/dist/ChatAnswerHtml-3K6G6UKC.js +1 -0
- package/dist/authz.cjs +1 -0
- package/dist/authz.d.cts +21 -0
- package/dist/authz.d.ts +21 -0
- package/dist/authz.js +1 -0
- package/dist/chunk-4NR4KSV6.js +1 -0
- package/dist/chunk-7CEL735H.js +1 -0
- package/dist/chunk-7KWWXSGA.js +1 -0
- package/dist/chunk-PLNRET3Z.js +1 -0
- package/dist/chunk-TQNSD6RJ.js +1 -0
- package/dist/chunk-WGNEBS4H.js +1 -0
- package/dist/client.cjs +2 -0
- package/dist/client.d.cts +10 -0
- package/dist/client.d.ts +10 -0
- package/dist/client.js +2 -0
- package/dist/httpTransport-BAaKwioS.d.ts +11 -0
- package/dist/httpTransport-D_JJABMq.d.cts +11 -0
- package/dist/index-iHWm67aF.d.cts +19214 -0
- package/dist/index-iHWm67aF.d.ts +19214 -0
- package/dist/protocol.cjs +1 -0
- package/dist/protocol.d.cts +12 -0
- package/dist/protocol.d.ts +12 -0
- package/dist/protocol.js +1 -0
- package/dist/react.cjs +8 -0
- package/dist/react.d.cts +599 -0
- package/dist/react.d.ts +599 -0
- package/dist/react.js +8 -0
- package/dist/runStream-DLhaMZSu.d.ts +90 -0
- package/dist/runStream-Dd5YdJoh.d.cts +90 -0
- package/dist/testing.cjs +7 -0
- package/dist/testing.d.cts +50 -0
- package/dist/testing.d.ts +50 -0
- package/dist/testing.js +7 -0
- package/dist/transport-5ExGY_ti.d.cts +128 -0
- package/dist/transport-Clvkp7mW.d.ts +128 -0
- package/package.json +160 -3
package/package.json
CHANGED
|
@@ -1,6 +1,163 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/chat",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The chat of the AI Quants applications: the wire contract of its stream events, failure codes, business codes, endpoints (their paths, queries and exchanges), resources, attachments and vocabularies, with the marks of the characters a reader cannot see, the subscription to a run's stream and the notice of its connection, the fold of the stream into the view a window holds, the arithmetic, frame, composer (with its recording through the host's microphone) and attachment rules of the chat's screen, the reading of a refused answer, the names of the diagrams a window saves, and the authorization resources its endpoints guard with.",
|
|
5
|
+
"sideEffects": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
"./protocol": {
|
|
9
|
+
"import": {
|
|
10
|
+
"types": "./dist/protocol.d.ts",
|
|
11
|
+
"default": "./dist/protocol.js"
|
|
12
|
+
},
|
|
13
|
+
"require": {
|
|
14
|
+
"types": "./dist/protocol.d.cts",
|
|
15
|
+
"default": "./dist/protocol.cjs"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"./client": {
|
|
19
|
+
"import": {
|
|
20
|
+
"types": "./dist/client.d.ts",
|
|
21
|
+
"default": "./dist/client.js"
|
|
22
|
+
},
|
|
23
|
+
"require": {
|
|
24
|
+
"types": "./dist/client.d.cts",
|
|
25
|
+
"default": "./dist/client.cjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"./react": {
|
|
29
|
+
"import": {
|
|
30
|
+
"types": "./dist/react.d.ts",
|
|
31
|
+
"default": "./dist/react.js"
|
|
32
|
+
},
|
|
33
|
+
"require": {
|
|
34
|
+
"types": "./dist/react.d.cts",
|
|
35
|
+
"default": "./dist/react.cjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"./authz": {
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/authz.d.ts",
|
|
41
|
+
"default": "./dist/authz.js"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/authz.d.cts",
|
|
45
|
+
"default": "./dist/authz.cjs"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"./testing": {
|
|
49
|
+
"import": {
|
|
50
|
+
"types": "./dist/testing.d.ts",
|
|
51
|
+
"default": "./dist/testing.js"
|
|
52
|
+
},
|
|
53
|
+
"require": {
|
|
54
|
+
"types": "./dist/testing.d.cts",
|
|
55
|
+
"default": "./dist/testing.cjs"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"files": [
|
|
60
|
+
"dist",
|
|
61
|
+
"README.md",
|
|
62
|
+
"CHANGELOG.md",
|
|
63
|
+
"LICENSE"
|
|
64
|
+
],
|
|
65
|
+
"keywords": [
|
|
66
|
+
"chat",
|
|
67
|
+
"llm",
|
|
68
|
+
"protocol",
|
|
69
|
+
"reducer",
|
|
70
|
+
"sse",
|
|
71
|
+
"zod",
|
|
72
|
+
"typescript"
|
|
73
|
+
],
|
|
74
|
+
"author": "AI Quants",
|
|
75
|
+
"license": "MIT",
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"@aiquants/authz-core": "^0.6.2",
|
|
78
|
+
"@aiquants/console-ui": "^0.10.0",
|
|
79
|
+
"@aiquants/input-method": "^0.1.2",
|
|
80
|
+
"@aiquants/markdown": "^14.0.0",
|
|
81
|
+
"@aiquants/sse": "^0.4.0",
|
|
82
|
+
"@aiquants/virtualscroll": "^3.26.0",
|
|
83
|
+
"react": ">=19",
|
|
84
|
+
"react-dom": ">=19",
|
|
85
|
+
"zod": "^3.25.0"
|
|
86
|
+
},
|
|
87
|
+
"peerDependenciesMeta": {
|
|
88
|
+
"@aiquants/authz-core": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@aiquants/console-ui": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@aiquants/input-method": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"@aiquants/markdown": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"@aiquants/sse": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"@aiquants/virtualscroll": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"react": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"react-dom": {
|
|
110
|
+
"optional": true
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"devDependencies": {
|
|
114
|
+
"@aiquants/auth-core": "0.9.4",
|
|
115
|
+
"@aiquants/authz-core": "0.6.4",
|
|
116
|
+
"@aiquants/console-ui": "0.10.0",
|
|
117
|
+
"@aiquants/input-method": "0.1.2",
|
|
118
|
+
"@aiquants/markdown": "14.0.0",
|
|
119
|
+
"@aiquants/spreadsheet": "0.21.2",
|
|
120
|
+
"@aiquants/sse": "0.4.0",
|
|
121
|
+
"@aiquants/virtualscroll": "3.30.0",
|
|
122
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
123
|
+
"@testing-library/react": "^16.3.2",
|
|
124
|
+
"@testing-library/user-event": "^14.6.1",
|
|
125
|
+
"@types/node": "^25.0.3",
|
|
126
|
+
"@types/react": "^19.2.7",
|
|
127
|
+
"@types/react-dom": "^19.2.3",
|
|
128
|
+
"@vitest/coverage-v8": "^4.1.8",
|
|
129
|
+
"axe-core": "^4.13.0",
|
|
130
|
+
"jsdom": "^27.4.0",
|
|
131
|
+
"react": "^19.2.7",
|
|
132
|
+
"react-dom": "^19.2.7",
|
|
133
|
+
"rimraf": "^6.1.2",
|
|
134
|
+
"tsup": "^8.5.1",
|
|
135
|
+
"typescript": "^5.9.3",
|
|
136
|
+
"vitest": "^4.1.10",
|
|
137
|
+
"zod": "^3.25.76"
|
|
138
|
+
},
|
|
139
|
+
"engines": {
|
|
140
|
+
"node": ">=18.0.0",
|
|
141
|
+
"pnpm": ">=8.0.0"
|
|
142
|
+
},
|
|
143
|
+
"publishConfig": {
|
|
144
|
+
"access": "public"
|
|
145
|
+
},
|
|
146
|
+
"scripts": {
|
|
147
|
+
"build": "pnpm -w run workspace:build \"$PNPM_SCRIPT_SRC_DIR\"",
|
|
148
|
+
"prebuild:self": "pnpm -w run workspace:sync \"$PNPM_SCRIPT_SRC_DIR\"",
|
|
149
|
+
"build:self": "tsup && node ../../.config/scripts/strip-dts-comments.mjs dist",
|
|
150
|
+
"build:watch": "tsup --watch",
|
|
151
|
+
"dev": "tsup --watch",
|
|
152
|
+
"publish:patch": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump patch && pnpm version patch --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
153
|
+
"publish:minor": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump minor && pnpm version minor --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
154
|
+
"publish:major": "pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump major && pnpm version major --no-git-tag-version --no-git-checks && pnpm publish --no-git-checks",
|
|
155
|
+
"typecheck": "tsc --noEmit",
|
|
156
|
+
"clean": "rimraf dist",
|
|
157
|
+
"lint": "biome lint src/ tests/",
|
|
158
|
+
"check": "biome check src/ tests/",
|
|
159
|
+
"check:fix": "biome check --write src/ tests/",
|
|
160
|
+
"test": "vitest run",
|
|
161
|
+
"test:coverage": "vitest run --coverage"
|
|
162
|
+
}
|
|
6
163
|
}
|