@openbkn/bkn-sdk 0.1.1-alpha.15 → 0.1.1-alpha.18

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 CHANGED
@@ -28,8 +28,9 @@ This license does not apply to:
28
28
  kweaver-ai/kweaver-core, which remain licensed solely under the
29
29
  Apache License, Version 2.0, with their original copyright
30
30
  notices preserved; nor
31
- (b) OpenBKN components expressly licensed under the plain Apache
32
- License, Version 2.0 (e.g., BKN SDK / CLI and BKN Skill).
31
+ (b) OpenBKN components or individual files expressly designated as
32
+ licensed under the plain Apache License, Version 2.0, in their
33
+ own license notice or source header.
33
34
  See the NOTICE file for the per-component breakdown.
34
35
 
35
36
  ================================================================
@@ -39,34 +40,107 @@ ADDITIONAL CONDITIONS
39
40
  1. Commercial Use.
40
41
 
41
42
  The Licensed Modules may be used for commercial purposes, including
42
- as a component within your own application or business. However, a
43
- separate commercial license must be obtained from OpenBKN if any
44
- of the following conditions applies:
45
-
46
- a. Service Restriction. You may not, without prior written
47
- authorization from OpenBKN, use the source code of the Licensed
48
- Modules to provide to third parties a hosted service, a managed
49
- or operated service, or any service that is the same as or
50
- substantially similar to the official services offered by
51
- OpenBKN. For the purposes of this license, "providing a
52
- service to third parties" means making the substantial features
53
- or functionality of the Licensed Modules available to parties
54
- other than your own organization, whether for a fee or free of
55
- charge, including by means of hosting, operation, deployment, or
56
- integration carried out on their behalf as a commercial activity.
57
-
58
- b. Multi-Tenant Restriction. Where applicable, you may not use the
59
- Licensed Modules to operate a multi-tenant service environment in
60
- which separate third-party tenants are provided with isolated
61
- access to the Licensed Modules' features or functionality.
43
+ as a component within your own application or business, subject to
44
+ the conditions below.
45
+
46
+ a. Implementation Services.
47
+
48
+ Any person or legal entity may provide paid or unpaid consulting,
49
+ development, SDK or API integration, deployment, configuration,
50
+ training, support, upgrade, or maintenance services for a single
51
+ End Customer, provided that:
52
+
53
+ i. the Licensed Modules are deployed in an environment dedicated
54
+ to that End Customer and owned or ultimately controlled by
55
+ that End Customer;
56
+
57
+ ii. the End Customer's use remains within the rights granted under
58
+ this license or is covered by a valid commercial subscription;
59
+
60
+ iii. no license key, activation receipt, Commercial Entitlement, or
61
+ environment is shared across End Customers beyond its
62
+ authorized scope; and
63
+
64
+ iv. the service provider does not operate a Restricted Hosted
65
+ Service as defined below.
66
+
67
+ Providing these Implementation Services does not by itself
68
+ require the End Customer or the service provider to obtain a
69
+ commercial subscription.
70
+
71
+ b. Commercial Entitlements and No Circumvention.
72
+
73
+ A separate commercial subscription is required to enable or use
74
+ features, modules, distributions, services, or product-
75
+ customization rights expressly designated by OpenBKN as
76
+ Professional, Enterprise Standard, Industry Solution, or other
77
+ commercial entitlements for the applicable released version
78
+ (collectively, "Commercial Entitlements").
79
+
80
+ You may not, directly or indirectly:
81
+
82
+ i. enable or use a Commercial Entitlement without a valid
83
+ commercial subscription covering the applicable End Customer,
84
+ project, and environment;
85
+
86
+ ii. bypass, disable, alter, or interfere with license checks,
87
+ activation mechanisms, entitlement controls, or usage
88
+ restrictions;
89
+
90
+ iii. share, reuse, transfer, or misapply a license key, activation
91
+ receipt, or Commercial Entitlement beyond its authorized
92
+ scope;
93
+
94
+ iv. conceal or misrepresent an End Customer, project, tenant,
95
+ installation, or deployment model for the purpose of avoiding
96
+ commercial licensing; or
97
+
98
+ v. assist or enable another person or legal entity to do any of
99
+ the foregoing.
100
+
101
+ This Section does not prohibit independent development of
102
+ extensions, connectors, Skills, ontologies, or applications
103
+ through documented interfaces, provided that such development
104
+ does not copy commercial-only code or circumvent the controls
105
+ described above.
106
+
107
+ c. Restricted Hosted Services.
108
+
109
+ Without prior written authorization from OpenBKN, you may not use
110
+ the Licensed Modules to:
111
+
112
+ i. operate a shared or multi-tenant service for separate End
113
+ Customers;
114
+
115
+ ii. provide the substantial features or functionality of the
116
+ Licensed Modules as a hosted platform controlled by the
117
+ service provider;
118
+
119
+ iii. offer a white-label, OEM, or other service substantially
120
+ similar to the official hosted or managed services offered by
121
+ OpenBKN; or
122
+
123
+ iv. use one End Customer's subscription, Commercial Entitlement,
124
+ or environment to provide services to another End Customer.
125
+
126
+ Implementation Services performed in accordance with Section
127
+ 1(a) are not Restricted Hosted Services.
128
+
129
+ For purposes of these Additional Conditions, "End Customer"
130
+ means the final organization that obtains and uses the Licensed
131
+ Modules for its own business. An environment remains controlled
132
+ by the End Customer when a service provider performs delegated
133
+ maintenance, provided that the End Customer retains ultimate
134
+ administrative and data control.
62
135
 
63
136
  2. Logo and Copyright Notices.
64
137
 
65
138
  When using the front end or console of the Licensed Modules, you may
66
139
  not remove or modify the OpenBKN logo, trademarks, or copyright and
67
- licensing notices displayed therein. This condition does not apply
68
- to uses of the Licensed Modules that do not involve their front end
69
- or console.
140
+ licensing notices displayed therein, except to the extent expressly
141
+ permitted by a valid commercial subscription that includes product-
142
+ customization rights. This condition does not apply to uses of the
143
+ Licensed Modules that do not involve their front end or console.
70
144
 
71
145
  3. Contributions.
72
146
 
@@ -107,20 +181,29 @@ ADDITIONAL CONDITIONS
107
181
 
108
182
  7. Termination.
109
183
 
110
- Any use of the Licensed Modules in violation of the Additional
111
- Conditions above automatically terminates the additional rights
112
- granted to you under this license for the Licensed Modules. To
113
- continue, you must either bring your use into compliance, obtain a
114
- commercial license from OpenBKN, or cease using the Licensed
115
- Modules.
184
+ OpenBKN may terminate the copyright, patent, and other permissions
185
+ granted by OpenBKN under this license for the Licensed Modules if
186
+ you violate the Additional Conditions above. If a violation is
187
+ capable of cure, OpenBKN will provide written notice and at least
188
+ 30 days to cure the violation before termination takes effect.
189
+ Intentional circumvention, license sharing, or continued operation
190
+ of an unauthorized hosted or multi-tenant service may result in
191
+ immediate termination without a cure period. To continue after
192
+ termination, you must bring your use into compliance, obtain written
193
+ authorization from OpenBKN, or cease using the Licensed Modules.
194
+
195
+ Nothing in this Section terminates or restricts rights independently
196
+ granted by upstream or other contributors under the Apache License,
197
+ Version 2.0, or another applicable license.
116
198
 
117
199
  ================================================================
118
200
  COMMERCIAL LICENSING
119
201
  ================================================================
120
202
 
121
- For commercial licensing inquiries (including authorization to provide
122
- services, operate multi-tenant environments, or other uses requiring a
123
- commercial license), contact: <CONTACT EMAIL / URL>
203
+ For commercial licensing inquiries (including access to Commercial
204
+ Entitlements, authorization to operate Restricted Hosted Services or
205
+ multi-tenant environments, or other uses requiring a commercial
206
+ license), contact: community@openbkn.ai
124
207
 
125
208
  ================================================================
126
209
  DISCLAIMER
package/NOTICE ADDED
@@ -0,0 +1,31 @@
1
+ BKN SDK
2
+ Copyright 2026 OpenBKN
3
+
4
+ BKN SDK is part of the OpenBKN project.
5
+
6
+ ================================================================
7
+ 1. BKN SDK (OpenBKN License)
8
+ ================================================================
9
+ BKN SDK is independently developed by OpenBKN, does not contain
10
+ upstream kweaver-ai/kweaver-core code, is copyright OpenBKN, and is
11
+ licensed under the OpenBKN License — a modified version of the Apache
12
+ License, Version 2.0, with Additional Conditions.
13
+
14
+ Full license text: LICENSE
15
+ Apache License, Version 2.0 (incorporated): http://www.apache.org/licenses/LICENSE-2.0
16
+
17
+ ================================================================
18
+ 2. Third-party dependencies
19
+ ================================================================
20
+ This product depends on and may bundle third-party software, each of
21
+ which remains under its own license as declared in its package
22
+ metadata (see package.json and the dependency manifests). Those
23
+ licenses are not altered by the OpenBKN License.
24
+
25
+ ================================================================
26
+ 3. Historical versions
27
+ ================================================================
28
+ Versions of this repository previously distributed under the Apache
29
+ License, Version 2.0 remain available under that license; their grant
30
+ is not affected by the present licensing arrangement. The present
31
+ arrangement applies only to versions released after this notice.
package/README.md CHANGED
@@ -125,5 +125,6 @@ to live `openbkn <group> <sub> --help` for exact flags.
125
125
 
126
126
  BKN SDK is part of the OpenBKN project and is licensed under the **OpenBKN
127
127
  License** — a modified version of the Apache License, Version 2.0, with
128
- additional conditions. See [LICENSE](LICENSE) and [NOTICE](NOTICE). Versions
129
- previously distributed under Apache-2.0 remain available under that license.
128
+ additional conditions. See the complete [OpenBKN License](LICENSE) and
129
+ [NOTICE](NOTICE). Versions previously distributed under Apache-2.0 remain
130
+ available under that license.
package/README.zh.md CHANGED
@@ -4,7 +4,7 @@ BKN(Business Knowledge Network)平台的统一 TypeScript SDK + CLI。一套
4
4
  可 import 的 SDK 与 `openbkn` 命令行——共享同一套领域逻辑。面向 BKN 平台的
5
5
  统一命令行工具,运维面收进 `openbkn admin` 子命令。纯后端,无 Web UI。
6
6
 
7
- > 状态:预发布。各域的读命令已实现并在真实平台上验证;部分写操作与 Trace-AI
7
+ > 状态:预发布。各域的读命令已实现并在真实平台上验证;部分写操作与 BKN Trace
8
8
  > 引擎仍在进行中(见 `docs/exec-plans/tech-debt-tracker.md`)。
9
9
 
10
10
  ## 安装
@@ -85,5 +85,5 @@ npm run build # tsup → dist/(库 + openbkn bin)
85
85
  ## 许可证
86
86
 
87
87
  BKN SDK 是 OpenBKN 项目的一部分,采用 **OpenBKN License** —— Apache License 2.0
88
- 的修改版,附加若干条件。见 [LICENSE](LICENSE) 与 [NOTICE](NOTICE)。此前以
89
- Apache-2.0 分发的版本仍按 Apache-2.0 授权。
88
+ 的修改版,附加若干条件。见完整 [OpenBKN License](LICENSE) 与
89
+ [NOTICE](NOTICE)。此前以 Apache-2.0 分发的版本仍按 Apache-2.0 授权。