@xisui-pa/chatserver 0.0.0-stage → 1.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/LICENSE +21 -0
- package/README.md +661 -2
- package/THIRD_PARTY_NOTICES.txt +179 -0
- package/dist/index.js +13396 -0
- package/dist/index.js.map +1 -0
- package/dist/models/chatserver-models.js +2797 -0
- package/dist/models/chatserver-models.js.map +1 -0
- package/package.json +67 -4
- package/schemas/config.schema.json +356 -0
- package/schemas/models.schema.json +103 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
ChatServer Third-Party Notices
|
|
2
|
+
==============================
|
|
3
|
+
|
|
4
|
+
This file contains the copyright notices and license texts of third-party
|
|
5
|
+
software that is bundled into the released ChatServer distribution
|
|
6
|
+
(the `dist/` output shipped in the npm package), including transitive and
|
|
7
|
+
duplicated dependency versions.
|
|
8
|
+
|
|
9
|
+
MAINTAINERS: Refresh this file whenever a bundled dependency is added,
|
|
10
|
+
removed, or its version (or upstream license text) changes. Determine the
|
|
11
|
+
bundled set from the runtime source maps (dist/index.js.map and
|
|
12
|
+
dist/models/chatserver-models.js.map) and/or `package-lock.json`, then copy
|
|
13
|
+
each package's complete upstream license verbatim. Do not substitute the
|
|
14
|
+
ChatServer (MIT) license for a dependency's license, and do not alter the
|
|
15
|
+
copyright holder names.
|
|
16
|
+
|
|
17
|
+
==========================================================================
|
|
18
|
+
Section 1
|
|
19
|
+
Package: base64-js
|
|
20
|
+
Version: 1.5.1
|
|
21
|
+
License: MIT (The MIT License)
|
|
22
|
+
Provenance: node_modules/base64-js/LICENSE
|
|
23
|
+
https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz
|
|
24
|
+
==========================================================================
|
|
25
|
+
|
|
26
|
+
The MIT License (MIT)
|
|
27
|
+
|
|
28
|
+
Copyright (c) 2014 Jameson Little
|
|
29
|
+
|
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
31
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
32
|
+
in the Software without restriction, including without limitation the rights
|
|
33
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
34
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
35
|
+
furnished to do so, subject to the following conditions:
|
|
36
|
+
|
|
37
|
+
The above copyright notice and this permission notice shall be included in
|
|
38
|
+
all copies or substantial portions of the Software.
|
|
39
|
+
|
|
40
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
42
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
43
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
44
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
45
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
46
|
+
THE SOFTWARE.
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
==========================================================================
|
|
50
|
+
Section 2
|
|
51
|
+
Package: dom-serializer
|
|
52
|
+
Version: 2.0.0
|
|
53
|
+
License: MIT (The MIT License)
|
|
54
|
+
Provenance: node_modules/dom-serializer/LICENSE
|
|
55
|
+
https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz
|
|
56
|
+
==========================================================================
|
|
57
|
+
|
|
58
|
+
License
|
|
59
|
+
|
|
60
|
+
(The MIT License)
|
|
61
|
+
|
|
62
|
+
Copyright (c) 2014 The cheeriojs contributors
|
|
63
|
+
|
|
64
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
65
|
+
|
|
66
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
67
|
+
|
|
68
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
==========================================================================
|
|
72
|
+
Section 3
|
|
73
|
+
Packages:
|
|
74
|
+
- domelementtype 2.3.0
|
|
75
|
+
- domhandler 5.0.3
|
|
76
|
+
- domutils 3.2.2
|
|
77
|
+
- entities 7.0.1 (top-level)
|
|
78
|
+
- entities 4.5.0 (nested under dom-serializer)
|
|
79
|
+
License: BSD-2-Clause
|
|
80
|
+
Provenance:
|
|
81
|
+
node_modules/domelementtype/LICENSE
|
|
82
|
+
node_modules/domhandler/LICENSE
|
|
83
|
+
node_modules/domutils/LICENSE
|
|
84
|
+
node_modules/entities/LICENSE
|
|
85
|
+
node_modules/dom-serializer/node_modules/entities/LICENSE
|
|
86
|
+
https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz
|
|
87
|
+
https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz
|
|
88
|
+
https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz
|
|
89
|
+
https://registry.npmjs.org/entities/-/entities-7.0.1.tgz
|
|
90
|
+
https://registry.npmjs.org/entities/-/entities-4.5.0.tgz
|
|
91
|
+
|
|
92
|
+
The above packages share an identical BSD-2-Clause license text with the same
|
|
93
|
+
copyright holder, so the text is included once here and applies to all of them.
|
|
94
|
+
|
|
95
|
+
Copyright (c) Felix Böhm
|
|
96
|
+
All rights reserved.
|
|
97
|
+
|
|
98
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
99
|
+
|
|
100
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
101
|
+
|
|
102
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
103
|
+
|
|
104
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
105
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
==========================================================================
|
|
109
|
+
Section 4
|
|
110
|
+
Package: htmlparser2
|
|
111
|
+
Version: 10.1.0
|
|
112
|
+
License: MIT
|
|
113
|
+
Provenance: node_modules/htmlparser2/LICENSE
|
|
114
|
+
https://registry.npmjs.org/htmlparser2/-/htmlparser2-10.1.0.tgz
|
|
115
|
+
==========================================================================
|
|
116
|
+
|
|
117
|
+
Copyright 2010, 2011, Chris Winberry <chris@winberry.net>. All rights reserved.
|
|
118
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
119
|
+
of this software and associated documentation files (the "Software"), to
|
|
120
|
+
deal in the Software without restriction, including without limitation the
|
|
121
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
122
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
123
|
+
furnished to do so, subject to the following conditions:
|
|
124
|
+
|
|
125
|
+
The above copyright notice and this permission notice shall be included in
|
|
126
|
+
all copies or substantial portions of the Software.
|
|
127
|
+
|
|
128
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
129
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
130
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
131
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
132
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
133
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
134
|
+
IN THE SOFTWARE.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
==========================================================================
|
|
138
|
+
Section 5
|
|
139
|
+
Package: js-tiktoken
|
|
140
|
+
Version: 1.0.21
|
|
141
|
+
License: MIT
|
|
142
|
+
Provenance: The npm package (https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.21.tgz)
|
|
143
|
+
declares "license": "MIT" but does not ship a LICENSE file. The
|
|
144
|
+
text below is the authoritative upstream license retrieved from the
|
|
145
|
+
project repository (repository field points to
|
|
146
|
+
https://github.com/dqbd/tiktoken), LICENSE file at the matching
|
|
147
|
+
js-tiktoken@1.0.21 release tag:
|
|
148
|
+
https://github.com/dqbd/tiktoken/blob/js-tiktoken%401.0.21/LICENSE
|
|
149
|
+
==========================================================================
|
|
150
|
+
|
|
151
|
+
MIT License
|
|
152
|
+
|
|
153
|
+
Copyright (c) 2022 OpenAI, Shantanu Jain
|
|
154
|
+
|
|
155
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
156
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
157
|
+
in the Software without restriction, including without limitation the rights
|
|
158
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
159
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
160
|
+
furnished to do so, subject to the following conditions:
|
|
161
|
+
|
|
162
|
+
The above copyright notice and this permission notice shall be included in all
|
|
163
|
+
copies or substantial portions of the Software.
|
|
164
|
+
|
|
165
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
166
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
167
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
168
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
169
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
170
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
171
|
+
SOFTWARE.
|
|
172
|
+
|
|
173
|
+
Vendored / bundled data note: js-tiktoken is a pure-JavaScript port of
|
|
174
|
+
OpenAI's tiktoken tokeniser (https://github.com/openai/tiktoken). The
|
|
175
|
+
bundled rank file (dist/ranks/o200k_base.cjs) encodes the o200k_base BPE
|
|
176
|
+
vocabulary derived from OpenAI's tokenizer. js-tiktoken is licensed under MIT
|
|
177
|
+
(Copyright (c) 2022 OpenAI, Shantanu Jain), and the upstream OpenAI tiktoken
|
|
178
|
+
project is likewise MIT-licensed; the MIT license above governs both the
|
|
179
|
+
vendored implementation and the bundled rank data.
|