@keragi/userx 0.0.0-stage → 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/LICENSE ADDED
@@ -0,0 +1,211 @@
1
+ KERAGI PROPRIETARY SOFTWARE LICENSE
2
+ Version 1.1 — 2026-11-06
3
+
4
+ Copyright (c) 2026 Keragi. All rights reserved.
5
+
6
+ THIS IS A PROPRIETARY SOFTWARE LICENSE. IT GRANTS ONLY THE RIGHTS
7
+ EXPRESSLY STATED BELOW. NO OWNERSHIP OF THE SOFTWARE IS TRANSFERRED.
8
+ NO SOURCE CODE LICENSE IS GRANTED.
9
+
10
+ 1. DEFINITIONS
11
+
12
+ "Software" means the Keragi wasmx host, WASM resources, templates,
13
+ scripts, configuration examples, documentation, and any updates or
14
+ supplements provided under this Agreement.
15
+
16
+ "Licensor" means Keragi, or the legal entity or individual that provides
17
+ the Software to you under this Agreement.
18
+
19
+ "Paid Feature" means any feature, resource, edition, capacity or service
20
+ that Licensor identifies as paid, subscription-based, or requiring a
21
+ separate commercial license.
22
+
23
+ 2. ACCEPTANCE
24
+
25
+ By downloading, installing, copying or using the Software, you agree to
26
+ this Agreement. If you do not agree, do not install or use the Software
27
+ and delete any copies you have obtained.
28
+
29
+ If you use the Software on behalf of an organization, you represent that
30
+ you have authority to bind that organization, and "you" includes that
31
+ organization.
32
+
33
+ 3. LICENSE GRANT
34
+
35
+ Subject to this Agreement, Licensor grants you a limited, non-exclusive,
36
+ non-transferable, non-sublicensable and revocable license to install and
37
+ use the Software on servers or devices that you own or control, for your
38
+ personal use or internal business purposes.
39
+
40
+ Unless a separate order, invoice or written agreement states otherwise,
41
+ the version made available to you is provided free of charge. This
42
+ Agreement does not transfer ownership of the Software or any intellectual
43
+ property rights in it. No right to receive, use or modify source code is
44
+ granted.
45
+
46
+ 4. RESTRICTIONS
47
+
48
+ You must not, and must not permit any third party to:
49
+
50
+ (a) redistribute, sublicense, sell, rent, lease, lend or otherwise make
51
+ the Software available to third parties, except as expressly
52
+ permitted in writing by Licensor;
53
+
54
+ (b) provide the Software to third parties as a hosted service, managed
55
+ service or service bureau, unless you hold a separate commercial
56
+ license for that purpose;
57
+
58
+ (c) modify, adapt, translate or create derivative works of the Software,
59
+ except to the extent permitted by mandatory law;
60
+
61
+ (d) reverse engineer, decompile or disassemble the Software, except to
62
+ the extent permitted by mandatory law;
63
+
64
+ (e) remove, obscure or alter any copyright, trademark, license or other
65
+ proprietary notice;
66
+
67
+ (f) circumvent, disable or interfere with any license check, paid
68
+ feature control, usage limit or technical protection measure;
69
+
70
+ (g) use the Software to infringe the rights of others or in violation of
71
+ applicable law; or
72
+
73
+ (h) use the Software in a way that could damage, disable, overburden or
74
+ impair the Software or any network or system.
75
+
76
+ 5. FREE AND PAID EDITIONS; SUBSCRIPTIONS
77
+
78
+ Licensor may offer free and paid editions, resources or features. Paid
79
+ Features require a separate order, subscription or commercial license.
80
+ The scope, price, billing period, trial terms, auto-renewal and
81
+ cancellation terms, and refund policy will be stated in the applicable
82
+ order or release notice.
83
+
84
+ Unless you purchase a Paid Feature or renew a subscription, you will not
85
+ be automatically converted to a paid edition. If a subscription ends,
86
+ Paid Features may stop working; the remaining functionality is governed
87
+ by the applicable subscription terms and the license in effect for that
88
+ version.
89
+
90
+ Licensor may change which features or resources are free or paid in
91
+ future releases. Such changes apply to future releases and do not
92
+ retroactively alter the rights you received for a version you lawfully
93
+ obtained, unless you choose to upgrade to a release governed by new
94
+ terms.
95
+
96
+ 6. UPDATES AND SUPPORT
97
+
98
+ Licensor is not obligated to provide updates, upgrades, maintenance or
99
+ support unless a separate agreement says otherwise. Updates provided by
100
+ Licensor are governed by this Agreement or by terms accompanying the
101
+ update. Paid support is governed by the applicable order.
102
+
103
+ 7. THIRD-PARTY COMPONENTS
104
+
105
+ The Software may include third-party components. Those components are
106
+ governed by their respective licenses and notices, which prevail over
107
+ this Agreement for those components. Nothing in this Agreement limits any
108
+ rights you may have under those third-party licenses. Where required,
109
+ third-party notices are provided with the Software or on the website.
110
+
111
+ 8. INTELLECTUAL PROPERTY
112
+
113
+ Licensor and its licensors retain all right, title and interest in and to
114
+ the Software, including all intellectual property rights. All rights not
115
+ expressly granted are reserved.
116
+
117
+ 9. DATA, PRIVACY AND SECURITY
118
+
119
+ You are responsible for the data you process, store or transmit using the
120
+ Software and for configuring access control, backups and security in your
121
+ deployment. If you self-host the Software, you are the operator of that
122
+ deployment and are responsible for compliance with applicable data
123
+ protection and privacy laws.
124
+
125
+ Keragi's Privacy Policy applies to personal data that Licensor processes
126
+ in connection with the Software and the website. The Software is not
127
+ designed to guarantee absolute security; see Sections 10 and 12.
128
+
129
+ 10. NO WARRANTY
130
+
131
+ THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE". TO THE MAXIMUM
132
+ EXTENT PERMITTED BY LAW, LICENSOR DISCLAIMS ALL WARRANTIES, EXPRESS OR
133
+ IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
134
+ PURPOSE, TITLE, NON-INFRINGEMENT, SECURITY, ACCURACY, AND UNINTERRUPTED
135
+ OR ERROR-FREE OPERATION. YOU ARE RESPONSIBLE FOR TESTING THE SOFTWARE,
136
+ VERIFYING ITS SUITABILITY FOR YOUR USE, AND MAINTAINING YOUR OWN BACKUPS.
137
+
138
+ 11. LIMITATION OF LIABILITY
139
+
140
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, LICENSOR WILL NOT BE LIABLE FOR
141
+ ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR PUNITIVE DAMAGES, OR
142
+ FOR LOSS OF DATA, PROFITS, REVENUE OR BUSINESS, ARISING OUT OF OR RELATED
143
+ TO THE SOFTWARE OR THIS AGREEMENT, EVEN IF ADVISED OF THE POSSIBILITY OF
144
+ SUCH DAMAGES.
145
+
146
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, LICENSOR'S TOTAL AGGREGATE
147
+ LIABILITY UNDER THIS AGREEMENT WILL NOT EXCEED THE AMOUNT YOU PAID TO
148
+ LICENSOR FOR THE SOFTWARE IN THE TWELVE (12) MONTHS PRECEDING THE CLAIM,
149
+ OR USD 100 IF YOU PAID NOTHING.
150
+
151
+ NOTHING IN THIS AGREEMENT EXCLUDES OR LIMITS LIABILITY THAT CANNOT BE
152
+ EXCLUDED OR LIMITED UNDER APPLICABLE LAW, INCLUDING LIABILITY FOR DEATH
153
+ OR PERSONAL INJURY CAUSED BY NEGLIGENCE, FRAUD OR WILLFUL MISCONDUCT,
154
+ WHERE SUCH LIMITATION IS PROHIBITED BY LAW.
155
+
156
+ 12. HIGH-RISK USE
157
+
158
+ THE SOFTWARE IS NOT DESIGNED, TESTED OR CERTIFIED FOR USE IN LIFE
159
+ SUPPORT, MEDICAL, NUCLEAR, AVIATION, EMERGENCY, INDUSTRIAL SAFETY OR
160
+ OTHER HIGH-RISK ENVIRONMENTS WHERE FAILURE COULD CAUSE DEATH, PERSONAL
161
+ INJURY, ENVIRONMENTAL DAMAGE OR SIGNIFICANT PROPERTY LOSS. YOU MUST
162
+ OBTAIN INDEPENDENT SAFETY CERTIFICATION AND IMPLEMENT FAIL-SAFE CONTROLS
163
+ BEFORE USING THE SOFTWARE IN SUCH ENVIRONMENTS.
164
+
165
+ 13. TERM AND TERMINATION
166
+
167
+ This Agreement is effective until terminated. Your rights terminate
168
+ automatically if you materially breach this Agreement. Licensor may also
169
+ terminate this Agreement if required by law or if continued provision of
170
+ the Software becomes unlawful.
171
+
172
+ On termination you must stop using the Software and delete all copies in
173
+ your possession or control. Sections 4, 7, 8, 9, 10, 11, 12, 13 and 15
174
+ survive termination.
175
+
176
+ 14. COMPLIANCE
177
+
178
+ You must comply with all laws and regulations applicable to your use of
179
+ the Software, including export control, sanctions and data protection
180
+ laws. You may not use the Software in any country or context prohibited
181
+ by applicable law.
182
+
183
+ 15. GOVERNING LAW AND DISPUTES
184
+
185
+ This Agreement is governed by the laws of the jurisdiction in which the
186
+ Licensor is established or, if the Licensor is an individual, in which
187
+ the Licensor resides, without regard to conflict-of-law rules. Disputes
188
+ will be resolved by the competent courts at the Licensor's principal
189
+ place of business or, for an individual, place of residence, unless
190
+ mandatory consumer protection law provides otherwise.
191
+
192
+ Nothing in this Section prevents either party from seeking injunctive or
193
+ other equitable relief in any competent court.
194
+
195
+ 16. GENERAL
196
+
197
+ This Agreement is the entire agreement between you and Licensor regarding
198
+ the Software and supersedes prior discussions on the same subject. If any
199
+ provision is held unenforceable, the remaining provisions remain in
200
+ effect. A failure to enforce a provision is not a waiver. You may not
201
+ assign this Agreement without Licensor's written consent. Licensor may
202
+ assign this Agreement to an affiliate or successor.
203
+
204
+ The English version of this Agreement prevails over any translation. The
205
+ Chinese translation is provided for reference only.
206
+
207
+ 17. CONTACT
208
+
209
+ Licensor: Keragi (the individual developer or legal entity identified
210
+ in the applicable order, invoice or license notice)
211
+ Website: https://www.keragi.com
@@ -0,0 +1,109 @@
1
+ # Keragi 专有软件许可协议(中文参考译文)
2
+
3
+ 版本 1.1 — 2026-11-06
4
+
5
+ > 本文件是英文版 `LICENSE` 的参考译文,仅供理解。英文版与中文译文不一致时,以英文版为准。
6
+
7
+ 版权所有 (c) 2026 Keragi。保留一切权利。
8
+
9
+ 这是**专有软件许可协议**,仅授予本协议明确写明的权利,不转移软件所有权,也不授予任何源码许可。
10
+
11
+ ## 1. 定义
12
+
13
+ - **软件**:Keragi wasmx 宿主、WASM 资源、模板、脚本、配置示例、文档,以及依据本协议提供的更新或补充。
14
+ - **许可方**:Keragi,或依据本协议向你提供软件的合法主体或个人开发者。
15
+ - **付费功能**:许可方明确标注为收费、订阅制或需要单独商业授权的功能、资源、版本、容量或服务。
16
+
17
+ ## 2. 接受
18
+
19
+ 下载、安装、复制或使用软件,即表示你同意本协议。如不同意,请勿安装或使用软件,并删除已获得的副本。
20
+
21
+ 如你代表组织使用软件,你声明有权使该组织受本协议约束,且“你”包括该组织。
22
+
23
+ ## 3. 授权
24
+
25
+ 在遵守本协议的前提下,许可方授予你一项**有限、非独占、不可转让、不可再许可、可撤销**的许可,允许你在自己拥有或控制的服务器或设备上安装和使用软件,用于个人用途或内部业务。
26
+
27
+ 除非单独的订单、发票或书面协议另有约定,提供给你的版本免费。本协议不转移软件的所有权或知识产权,也不授予你获取、使用或修改源码的任何权利。
28
+
29
+ ## 4. 限制
30
+
31
+ 你不得,也不得允许第三方:
32
+
33
+ 1. 再分发、再许可、出售、出租、出借软件,或使第三方获得软件,除非许可方书面明确允许;
34
+ 2. 将软件作为托管服务、管理服务或服务局提供给第三方,除非你持有相应的商业许可;
35
+ 3. 修改、改编、翻译软件或创作衍生作品,但法律强制允许的除外;
36
+ 4. 反向工程、反编译或反汇编软件,但法律强制允许的除外;
37
+ 5. 移除、遮蔽或修改版权、商标、许可或其他权利声明;
38
+ 6. 绕过、禁用或干扰许可校验、付费功能控制、使用限制或技术保护措施;
39
+ 7. 使用软件侵犯他人权利或违反适用法律;
40
+ 8. 以可能损坏、禁用、过载或影响软件、网络或系统的方式使用软件。
41
+
42
+ ## 5. 免费版、付费版与订阅
43
+
44
+ 许可方可能提供免费版、付费版、资源或功能。付费功能需要单独的订单、订阅或商业许可;范围、价格、计费周期、试用、自动续订与取消、退款政策以订单或发布说明为准。
45
+
46
+ 除非你购买付费功能或续订订阅,不会自动转为付费版。订阅结束后,付费功能可能停止工作;其余功能以订阅条款和该版本适用的许可证为准。
47
+
48
+ 许可方可能在未来版本中调整哪些功能或资源免费或收费。此类调整适用于未来版本,不追溯改变你合法获得的某个版本已取得的权利,除非你主动升级到适用新条款的版本。
49
+
50
+ ## 6. 更新与支持
51
+
52
+ 除非另有单独协议,许可方没有义务提供更新、升级、维护或支持。许可方提供的更新适用本协议或随更新附带的条款;付费支持以订单为准。
53
+
54
+ ## 7. 第三方组件
55
+
56
+ 软件可能包含第三方组件,这些组件适用其各自的许可证和声明;就该等组件而言,第三方许可证优先于本协议。本协议不限制你在第三方许可证下可能享有的权利。需要时,第三方声明随软件提供或在网站上公布。
57
+
58
+ ## 8. 知识产权
59
+
60
+ 许可方及其许可人保留软件的全部权利、所有权和利益,包括所有知识产权。未明确授予的权利均予保留。
61
+
62
+ ## 9. 数据、隐私与安全
63
+
64
+ 你对自己使用软件处理、存储或传输的数据负责,并负责部署中的访问控制、备份和安全配置。如果你自行部署软件,你是该部署的运营者,应遵守适用的数据保护和隐私法律。
65
+
66
+ Keragi 的隐私政策适用于许可方就软件与网站处理的个人数据。软件并非旨在保证绝对安全,详见第 10、12 条。
67
+
68
+ ## 10. 无担保
69
+
70
+ 软件按“现状”和“可用”状态提供。在法律允许的最大范围内,许可方不提供任何明示或默示担保,包括适销性、特定用途适用性、权利完整性、不侵权、安全性、准确性、不中断或无错误运行的担保。你有责任自行测试软件、确认其适用于你的用途,并维护自己的备份。
71
+
72
+ ## 11. 责任限制
73
+
74
+ 在法律允许的最大范围内,许可方不对任何间接、附带、特殊、后果性或惩罚性损害,或数据、利润、收入、业务损失承担责任,即使已被告知可能发生此类损害。
75
+
76
+ 在法律允许的最大范围内,许可方在本协议下的总责任不超过你在索赔发生前十二(12)个月内为软件支付的金额;如果未付费,则为 100 美元。
77
+
78
+ 本协议不排除或限制依法不得排除或限制的责任,包括因过失、欺诈或故意不当行为导致死亡或人身伤害的责任(在相关法律禁止限制的范围内)。
79
+
80
+ ## 12. 高风险用途
81
+
82
+ 软件并非为生命支持、医疗、核设施、航空、应急、工业安全或其他高风险环境设计、测试或认证;在这些环境中,故障可能导致死亡、人身伤害、环境破坏或重大财产损失。你必须在此类环境中使用前取得独立安全认证并实现失效安全控制。
83
+
84
+ ## 13. 期限与终止
85
+
86
+ 本协议自生效之日起持续,直至终止。如果你实质违反本协议,你的权利自动终止。如法律要求,或继续提供软件变得不合法,许可方也可终止本协议。
87
+
88
+ 终止后,你必须停止使用软件并删除你持有或控制的所有副本。第 4、7、8、9、10、11、12、13、15 条在终止后继续有效。
89
+
90
+ ## 14. 合规
91
+
92
+ 你应遵守适用于软件使用的所有法律和法规,包括出口管制、制裁和数据保护法律。你不得在适用法律禁止的国家或场景中使用软件。
93
+
94
+ ## 15. 适用法律与争议
95
+
96
+ 本协议适用许可方设立地(注册地)法律;许可方为个人的,适用其居住地法律;排除冲突法规则。争议由许可方主要营业地有管辖权的法院解决;许可方为个人的,由其居住地有管辖权的法院解决,除非强制性消费者保护法律另有规定。
97
+
98
+ 本条不影响任何一方在任何有管辖权的法院申请禁令或其他衡平救济。
99
+
100
+ ## 16. 一般条款
101
+
102
+ 本协议构成你与许可方之间关于软件的完整协议,并取代此前关于同一主题的讨论。若任何条款被认定不可执行,其余条款继续有效。未执行某一条款不构成放弃。未经许可方书面同意,你不得转让本协议;许可方可向关联方或承继方转让本协议。
103
+
104
+ 本协议英文版优先于任何译文。中文译文仅供参考。
105
+
106
+ ## 17. 联系方式
107
+
108
+ 许可方:Keragi(以订单、发票或许可通知中载明的个人开发者或法律主体为准)
109
+ 网站:https://www.keragi.com
package/README.md CHANGED
@@ -1,3 +1,15 @@
1
- # Temporary Holding Version
1
+ # @keragi/userx
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Keragi 账号、联系人、认证与 JWKS WASM 资源(`userx`)。包内只有预编译 `.wasm` 和资源声明,不含源码。
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ wasmx add ./keragi-userx.tgz
9
+ ```
10
+
11
+ 适合作为独立的用户服务器,或与主服务器一起安装。
12
+
13
+ ## 许可
14
+
15
+ 本包为专有软件,仅授予随附 `LICENSE` 明确写明的权利;当前版本免费使用,后续版本可能对特定 WASM 资源采用订阅或商业授权。中文参考译文见 `LICENSE.zh-CN.md`,详见 https://www.keragi.com/docs/licensing/ 。
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@keragi/userx",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Keragi accounts and authentication WASM resource (userx).",
5
+ "type": "module",
6
+ "files": [
7
+ "wasm",
8
+ "assets",
9
+ "wasmx.resource.json",
10
+ "README.md",
11
+ "LICENSE",
12
+ "LICENSE.zh-CN.md"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "license": "SEE LICENSE IN LICENSE"
18
+ }
Binary file
@@ -0,0 +1,22 @@
1
+ {
2
+ "resources": [
3
+ {
4
+ "name": "userx",
5
+ "file": "userx.wasm",
6
+ "config": {
7
+ "prefix": "/userx",
8
+ "allow_http": true,
9
+ "rate_limit": {
10
+ "per_min": 60,
11
+ "public_per_min": 60
12
+ }
13
+ }
14
+ }
15
+ ],
16
+ "assets": [
17
+ {
18
+ "from": "assets/avatars/defaults",
19
+ "to": "uploads/objects/userx/avatars/defaults"
20
+ }
21
+ ]
22
+ }