coakka-v2-connector-electron 2.4.1 → 2.5.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 +202 -0
- package/NATIVE-LICENSE.md +138 -0
- package/NOTICE +16 -0
- package/PACKAGE-LICENSE.md +31 -0
- package/README.md +27 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -4
- package/LICENSE.md +0 -135
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# CoAkka Native Artifact License 1.2
|
|
2
|
+
|
|
3
|
+
Effective: 2026-08-20
|
|
4
|
+
|
|
5
|
+
This license applies only to CoAkka Native Artifacts that include or explicitly
|
|
6
|
+
reference version 1.2 of these terms. It does not replace the terms shipped
|
|
7
|
+
with an older release unless that release explicitly adopts version 1.2.
|
|
8
|
+
|
|
9
|
+
This is a public-use native artifact license, not an OSI-approved open source
|
|
10
|
+
license. Connector source, generated language bindings, type declarations,
|
|
11
|
+
sample source, package documentation, and public documentation may be provided
|
|
12
|
+
separately under the Apache License, Version 2.0. A package can therefore be a
|
|
13
|
+
file-scoped multi-license distribution: Apache-2.0 for its language-level
|
|
14
|
+
material and this license for its bundled Native Artifacts.
|
|
15
|
+
|
|
16
|
+
## Definitions
|
|
17
|
+
|
|
18
|
+
`Licensor` means the copyright owner or entity authorized to distribute the
|
|
19
|
+
Native Artifacts under this license.
|
|
20
|
+
|
|
21
|
+
`Native Artifacts` means compiled CoAkka native libraries and executables,
|
|
22
|
+
native headers required to consume them, native symbol or debug files, and
|
|
23
|
+
native-only provenance, manifest, checksum, or signature material that includes
|
|
24
|
+
or explicitly references this license. Connector source, generated language
|
|
25
|
+
bindings, type declarations, examples, and documentation are not Native
|
|
26
|
+
Artifacts merely because they are distributed in the same package.
|
|
27
|
+
|
|
28
|
+
`Application` means a product or service that uses the Native Artifacts as an
|
|
29
|
+
internal component to provide functionality independent from CoAkka. CoAkka is
|
|
30
|
+
not the primary or substantial product offered to the application's users, and
|
|
31
|
+
those users are not given a hosted CoAkka runtime or substantially equivalent
|
|
32
|
+
CoAkka service.
|
|
33
|
+
|
|
34
|
+
`Managed CoAkka Service` means a product or service offered to third parties
|
|
35
|
+
whose primary or substantial value is providing hosted access to CoAkka's
|
|
36
|
+
runtime, connector, routing, delivery, management, or substantially equivalent
|
|
37
|
+
functionality. This includes a hosted CoAkka runtime, a CoAkka control plane, a
|
|
38
|
+
service through which customers deploy or operate workloads directly against
|
|
39
|
+
CoAkka, and an appliance or cloud image whose primary purpose is to provide
|
|
40
|
+
CoAkka functionality.
|
|
41
|
+
|
|
42
|
+
## Free Application Use
|
|
43
|
+
|
|
44
|
+
Subject to this license, the Licensor grants you a non-exclusive, worldwide,
|
|
45
|
+
royalty-free license to download, copy, and use the Native Artifacts, and to
|
|
46
|
+
redistribute unmodified Native Artifacts as part of an Application.
|
|
47
|
+
|
|
48
|
+
You may, without a separate agreement:
|
|
49
|
+
|
|
50
|
+
- use every capability included in a Native Artifact in development, test, CI,
|
|
51
|
+
evaluation, proof-of-concept, and production environments
|
|
52
|
+
- use the Native Artifacts for internal business operations and commercial workloads
|
|
53
|
+
- build, operate, sell, and distribute Applications that use or bundle
|
|
54
|
+
unmodified Native Artifacts
|
|
55
|
+
- operate a SaaS, hosted application, or customer-facing service that uses the
|
|
56
|
+
Native Artifacts as an internal component, provided the offering is not a
|
|
57
|
+
Managed CoAkka Service
|
|
58
|
+
- reproduce and cache unmodified Native Artifacts inside your organization and
|
|
59
|
+
its controlled build, deployment, and support environments
|
|
60
|
+
- run and internally cache official CoAkka sample images
|
|
61
|
+
- provide integration, consulting, and support services for Applications that
|
|
62
|
+
use CoAkka, provided those services do not offer a Managed CoAkka Service
|
|
63
|
+
|
|
64
|
+
These permissions apply equally to individuals and organizations regardless of
|
|
65
|
+
their size or industry. A cloud provider or other infrastructure company may
|
|
66
|
+
use CoAkka internally and in its independent Applications on the same terms as
|
|
67
|
+
any other user. The restriction below is based on what is offered to third
|
|
68
|
+
parties, not on the identity of the user.
|
|
69
|
+
|
|
70
|
+
When redistributing a Native Artifact with an Application, you must preserve
|
|
71
|
+
the applicable copyright, license, trademark, checksum, and provenance notices
|
|
72
|
+
and make a copy of this license available with the redistributed Native
|
|
73
|
+
Artifact.
|
|
74
|
+
|
|
75
|
+
## Reserved Uses
|
|
76
|
+
|
|
77
|
+
The following uses require a separate written agreement with the Licensor:
|
|
78
|
+
|
|
79
|
+
- selling, hosting, or offering a Managed CoAkka Service
|
|
80
|
+
- selling, licensing, renting, or redistributing the Native Artifacts as a
|
|
81
|
+
standalone product or where they provide the primary or substantial value of
|
|
82
|
+
the offering
|
|
83
|
+
- publishing an appliance, container image, cloud image, runtime platform, or
|
|
84
|
+
marketplace offering whose primary purpose is to provide CoAkka functionality
|
|
85
|
+
- presenting modified, repackaged, or third-party artifacts as official CoAkka
|
|
86
|
+
Native Artifacts
|
|
87
|
+
|
|
88
|
+
You may not:
|
|
89
|
+
|
|
90
|
+
- remove or obscure copyright, license, trademark, checksum, or provenance
|
|
91
|
+
notices
|
|
92
|
+
- reverse engineer or modify the Native Artifacts except where that restriction
|
|
93
|
+
is prohibited by applicable law
|
|
94
|
+
- use the CoAkka name, package names, artifact names, image names, or other
|
|
95
|
+
project identifiers in a way that implies endorsement of an unofficial fork,
|
|
96
|
+
hosted service, or product
|
|
97
|
+
|
|
98
|
+
## No Runtime Activation Gate
|
|
99
|
+
|
|
100
|
+
This license states legal permissions and restrictions; it is not a runtime
|
|
101
|
+
activation mechanism. Publisher signing, platform trust, checksums, release
|
|
102
|
+
receipts, capability introspection, and runtime license-status fields do not
|
|
103
|
+
create an additional feature or production-use fee for a Native Artifact
|
|
104
|
+
distributed under this license. Local operating-system or organization
|
|
105
|
+
security policy may still require its own signing, integrity, or admission
|
|
106
|
+
checks.
|
|
107
|
+
|
|
108
|
+
## No Warranty
|
|
109
|
+
|
|
110
|
+
The Native Artifacts are provided as-is, without warranties or conditions of
|
|
111
|
+
any kind, to the maximum extent permitted by applicable law.
|
|
112
|
+
|
|
113
|
+
## Limitation Of Liability
|
|
114
|
+
|
|
115
|
+
To the maximum extent permitted by applicable law, the project contributors
|
|
116
|
+
and artifact publishers are not liable for any direct, indirect, incidental,
|
|
117
|
+
special, consequential, exemplary, or other damages arising from use of the
|
|
118
|
+
Native Artifacts.
|
|
119
|
+
|
|
120
|
+
## No Patent Or Trademark Grant
|
|
121
|
+
|
|
122
|
+
These terms do not grant patent rights, trademark ownership, or rights to use
|
|
123
|
+
the CoAkka name beyond truthful reference to the project, compatible
|
|
124
|
+
integrations, and unmodified official Native Artifacts. Trademark use is
|
|
125
|
+
governed by the CoAkka trademark guidance distributed with the applicable
|
|
126
|
+
package or public documentation.
|
|
127
|
+
|
|
128
|
+
## Questions
|
|
129
|
+
|
|
130
|
+
For questions about whether an offering is a Managed CoAkka Service or requires
|
|
131
|
+
a separate agreement, use the public support path in the `coakka-samples`
|
|
132
|
+
repository.
|
|
133
|
+
|
|
134
|
+
## Legal Notice
|
|
135
|
+
|
|
136
|
+
This file is not legal advice. If intended use depends on legal interpretation
|
|
137
|
+
of these terms, consult qualified counsel or request a separate written
|
|
138
|
+
agreement.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
CoAkka Packages
|
|
2
|
+
Copyright 2026 Phuong Tran and contributors.
|
|
3
|
+
|
|
4
|
+
Connector source, generated bindings, type declarations, package metadata,
|
|
5
|
+
examples, and package documentation are licensed under the Apache License,
|
|
6
|
+
Version 2.0.
|
|
7
|
+
|
|
8
|
+
Bundled CoAkka native libraries or executables, native headers, symbol files,
|
|
9
|
+
and native-only provenance are licensed under the CoAkka Native Artifact
|
|
10
|
+
License 1.2.
|
|
11
|
+
|
|
12
|
+
See PACKAGE-LICENSE.md for the file-scope map, LICENSE for Apache-2.0, and
|
|
13
|
+
NATIVE-LICENSE.md for the native terms. CoAkka packages are free to use in
|
|
14
|
+
applications, including commercial and production applications. Selling or
|
|
15
|
+
offering CoAkka itself as managed runtime or infrastructure requires a separate
|
|
16
|
+
agreement under the native terms.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# CoAkka Package License Map
|
|
2
|
+
|
|
3
|
+
This package is free to use in applications, including commercial and
|
|
4
|
+
production applications. Its licenses apply by file scope; they apply
|
|
5
|
+
simultaneously to their respective files and are not alternative licenses for
|
|
6
|
+
the package as a whole.
|
|
7
|
+
|
|
8
|
+
## Connector Material: Apache-2.0
|
|
9
|
+
|
|
10
|
+
Language-level connector source, generated bindings, type declarations,
|
|
11
|
+
package metadata, examples, and package documentation are licensed under the
|
|
12
|
+
Apache License, Version 2.0. The full terms are in `LICENSE`.
|
|
13
|
+
|
|
14
|
+
## Native Material: CoAkka Native Artifact License 1.2
|
|
15
|
+
|
|
16
|
+
Compiled CoAkka native libraries or executables, native headers, native symbol
|
|
17
|
+
files, and native-only provenance are licensed under the CoAkka Native Artifact
|
|
18
|
+
License 1.2. The full terms are in `NATIVE-LICENSE.md`.
|
|
19
|
+
|
|
20
|
+
The Native Artifact License permits ordinary internal, production, commercial,
|
|
21
|
+
application, and SaaS use. A separate agreement is required to sell or offer
|
|
22
|
+
CoAkka itself as a managed runtime, control plane, appliance, cloud image, or
|
|
23
|
+
substantially equivalent infrastructure service.
|
|
24
|
+
|
|
25
|
+
## Aggregate Notice
|
|
26
|
+
|
|
27
|
+
`NOTICE` records the package identity and summarizes this file-scoped mapping.
|
|
28
|
+
It does not replace either license.
|
|
29
|
+
|
|
30
|
+
Public guidance and stable links are available in the
|
|
31
|
+
[CoAkka package licensing guide](https://github.com/phuong-tran/coakka-samples/blob/main/docs/package-licensing.md).
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ contract used by Node.js, the JVM, Python, Go, C#, Rust, Swift, and other
|
|
|
12
12
|
connector lanes.
|
|
13
13
|
|
|
14
14
|
Kubernetes is supported but not required. Use the public
|
|
15
|
-
[Ecosystem Overview](https://github.com/phuong-tran/coakka-
|
|
15
|
+
[Ecosystem Overview](https://github.com/phuong-tran/coakka-samples/blob/main/docs/ecosystem-overview.md)
|
|
16
16
|
and [Compatibility Matrix](https://github.com/phuong-tran/coakka-publish/blob/main/docs/compatibility-matrix.md)
|
|
17
17
|
to select an exact package and native platform tuple.
|
|
18
18
|
Start with the [CoAkka Documentation](https://github.com/phuong-tran/coakka-samples/blob/main/docs/README.md)
|
|
@@ -69,9 +69,9 @@ The main-process options can forward the shared `connectionStrategy` and
|
|
|
69
69
|
`security` startup specs. Capability/config/security getters and atomic apply
|
|
70
70
|
results are exposed on `ElectronRuntimeIntentBridge`; renderer/preload code
|
|
71
71
|
still never receives credential material. See
|
|
72
|
-
[Connection Strategies](https://github.com/phuong-tran/coakka-
|
|
73
|
-
[TLS and mTLS](https://github.com/phuong-tran/coakka-
|
|
74
|
-
and [Troubleshooting](https://github.com/phuong-tran/coakka-
|
|
72
|
+
[Connection Strategies](https://github.com/phuong-tran/coakka-samples/blob/main/docs/connection-strategies.md),
|
|
73
|
+
[TLS and mTLS](https://github.com/phuong-tran/coakka-samples/blob/main/docs/tls-and-mtls.md),
|
|
74
|
+
and [Troubleshooting](https://github.com/phuong-tran/coakka-samples/blob/main/docs/troubleshooting.md).
|
|
75
75
|
|
|
76
76
|
## Main Process
|
|
77
77
|
|
|
@@ -143,7 +143,14 @@ supported platform tuple. Contact: `gabrielgun1983@gmail.com`.
|
|
|
143
143
|
|
|
144
144
|
The Node dependency exposes `FileLane` to trusted Electron main-process code.
|
|
145
145
|
Do not forward raw file paths, authorization tokens, or lane methods through
|
|
146
|
-
preload/renderer IPC. See the shared [file-lane contract](https://github.com/phuong-tran/coakka-
|
|
146
|
+
preload/renderer IPC. See the shared [file-lane contract](https://github.com/phuong-tran/coakka-samples/blob/main/docs/runtime-file-transfer.md).
|
|
147
|
+
|
|
148
|
+
## Stream Lane
|
|
149
|
+
|
|
150
|
+
Version `2.5.1` contains the Stream Lane connector surface for Electron main
|
|
151
|
+
over exact native generation `2.5.0+4b65d0b2256037bf7fc180bfa6df8c41efc1dd6a`. Keep runtime ownership in the
|
|
152
|
+
main process and follow the public
|
|
153
|
+
[streaming contract](https://github.com/phuong-tran/coakka-samples/blob/main/docs/runtime-streaming.md).
|
|
147
154
|
|
|
148
155
|
## AI-Assisted Integration
|
|
149
156
|
|
|
@@ -152,7 +159,18 @@ Before generating Electron integration code, read the public
|
|
|
152
159
|
and the runnable Electron sample. Connection policy and native lane ownership
|
|
153
160
|
belong to Electron main; renderer code sends validated intent only.
|
|
154
161
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
|
|
163
|
+
## License
|
|
164
|
+
|
|
165
|
+
**Free for application use, including commercial and production use.**
|
|
166
|
+
|
|
167
|
+
Connector source, generated bindings, type declarations, examples, and package
|
|
168
|
+
documentation use the [Apache License, Version 2.0](https://github.com/phuong-tran/coakka-samples/blob/main/LICENSE).
|
|
169
|
+
Bundled Native Core files use the [CoAkka Native Artifact License 1.2](https://github.com/phuong-tran/coakka-samples/blob/main/NATIVE-LICENSE.md).
|
|
170
|
+
Those native terms permit ordinary application and SaaS use but require a
|
|
171
|
+
separate agreement to sell or offer CoAkka itself as managed runtime or
|
|
172
|
+
infrastructure.
|
|
173
|
+
|
|
174
|
+
See [CoAkka Package Licensing](https://github.com/phuong-tran/coakka-samples/blob/main/docs/package-licensing.md)
|
|
175
|
+
for the file-scope map. The package also carries offline `LICENSE`,
|
|
176
|
+
`NATIVE-LICENSE.md`, `PACKAGE-LICENSE.md`, and `NOTICE` copies.
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, Ru
|
|
|
5
5
|
* intentionally absent from the preload and renderer intent surfaces.
|
|
6
6
|
*/
|
|
7
7
|
export { STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, type StreamConsumer, type StreamFrameMetadata, type StreamLaneConfig, type StreamLaneSecurityConfig, type StreamLaneStats, type StreamPressureSnapshot, type StreamPublishSpec, type StreamSessionSnapshot, type StreamSource, type StreamSourceFrame, type StreamSubscribeSpec, } from "coakka-v2-connector-node";
|
|
8
|
-
export declare const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.
|
|
8
|
+
export declare const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.5.1";
|
|
9
9
|
export declare const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
|
|
10
10
|
export interface ElectronIntentPayloadIdentity {
|
|
11
11
|
messageType: string;
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, Ru
|
|
|
5
5
|
* intentionally absent from the preload and renderer intent surfaces.
|
|
6
6
|
*/
|
|
7
7
|
export { STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, } from "coakka-v2-connector-node";
|
|
8
|
-
export const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.
|
|
8
|
+
export const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.5.1";
|
|
9
9
|
export const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
|
|
10
10
|
const DEFAULT_ROUTE_PORT = 19481;
|
|
11
11
|
export class ElectronRuntimeIntentBridge {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coakka-v2-connector-electron",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Electron connector for the polyglot, multi-language, multi-platform CoAkka Runtime ecosystem",
|
|
5
|
-
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
|
+
"license": "SEE LICENSE IN PACKAGE-LICENSE.md",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/phuong-tran/coakka-publish.git"
|
|
@@ -42,7 +42,10 @@
|
|
|
42
42
|
"files": [
|
|
43
43
|
"dist",
|
|
44
44
|
"CONSUMING.md",
|
|
45
|
-
"LICENSE
|
|
45
|
+
"LICENSE",
|
|
46
|
+
"NATIVE-LICENSE.md",
|
|
47
|
+
"PACKAGE-LICENSE.md",
|
|
48
|
+
"NOTICE",
|
|
46
49
|
"README.md"
|
|
47
50
|
],
|
|
48
51
|
"scripts": {
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"smoke:packaged": "bash scripts/smoke-packaged-package.sh"
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
|
-
"coakka-v2-connector-node": "2.
|
|
58
|
+
"coakka-v2-connector-node": "2.5.1"
|
|
56
59
|
},
|
|
57
60
|
"peerDependencies": {
|
|
58
61
|
"electron": ">=42"
|
package/LICENSE.md
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
# CoAkka Public Artifact License 1.1
|
|
2
|
-
|
|
3
|
-
Effective: 2026-08-03
|
|
4
|
-
|
|
5
|
-
This repository is the public binary artifact surface for CoAkka. It contains
|
|
6
|
-
headers, native libraries, connector packages, Maven artifacts, checksums, and
|
|
7
|
-
artifact metadata. It is not a source-build repository.
|
|
8
|
-
|
|
9
|
-
Unless a specific artifact includes explicitly different license terms, the
|
|
10
|
-
Licensor makes the Artifacts available under this license. Version 1.1 replaces
|
|
11
|
-
version 1.0 for all Artifacts currently distributed from this repository or an
|
|
12
|
-
official release page, including Artifacts first published before the effective
|
|
13
|
-
date. An embedded copy of CoAkka Public Artifact License 1.0 is superseded by
|
|
14
|
-
this version and is not an explicitly different artifact-specific license.
|
|
15
|
-
|
|
16
|
-
This is a public-use artifact license, not an OSI-approved open source license.
|
|
17
|
-
The separate `coakka-samples` repository may use a permissive open source
|
|
18
|
-
license for sample code and documentation; that sample license does not change
|
|
19
|
-
the terms for the Artifacts.
|
|
20
|
-
|
|
21
|
-
## Definitions
|
|
22
|
-
|
|
23
|
-
`Licensor` means the copyright owner or entity authorized to distribute the
|
|
24
|
-
Artifacts under this license.
|
|
25
|
-
|
|
26
|
-
`Artifacts` means the CoAkka binaries, headers, libraries, connector packages,
|
|
27
|
-
Maven artifacts, container-bundle files, checksums, manifests, and release
|
|
28
|
-
metadata distributed from this repository or an official release page.
|
|
29
|
-
|
|
30
|
-
`Application` means a product or service that uses the Artifacts as an internal
|
|
31
|
-
component to provide functionality independent from CoAkka. CoAkka is not the
|
|
32
|
-
primary product offered to the application's users, and those users are not
|
|
33
|
-
given a hosted CoAkka runtime or substantially equivalent CoAkka service.
|
|
34
|
-
|
|
35
|
-
`Managed CoAkka Service` means a product or service offered to third parties
|
|
36
|
-
whose primary or substantial value is providing hosted access to CoAkka's
|
|
37
|
-
runtime, connector, routing, delivery, management, or substantially equivalent
|
|
38
|
-
functionality. This includes a hosted CoAkka runtime, a CoAkka control plane, a
|
|
39
|
-
service through which customers deploy or operate workloads directly against
|
|
40
|
-
CoAkka, and an appliance or cloud image whose primary purpose is to provide
|
|
41
|
-
CoAkka functionality.
|
|
42
|
-
|
|
43
|
-
## License Grant And Allowed Use
|
|
44
|
-
|
|
45
|
-
Subject to this license, the Licensor grants you a non-exclusive, worldwide,
|
|
46
|
-
royalty-free license to download, copy, and use the Artifacts, and to
|
|
47
|
-
redistribute unmodified Artifacts as part of an Application.
|
|
48
|
-
|
|
49
|
-
You may, without a separate agreement:
|
|
50
|
-
|
|
51
|
-
- use every capability included in an Artifact in development, test, CI,
|
|
52
|
-
evaluation, proof-of-concept, and production environments
|
|
53
|
-
- use the Artifacts for internal business operations and commercial workloads
|
|
54
|
-
- build, operate, sell, and distribute Applications that use or bundle
|
|
55
|
-
unmodified Artifacts
|
|
56
|
-
- operate a SaaS, hosted application, or customer-facing service that uses the
|
|
57
|
-
Artifacts as an internal component, provided the offering is not a Managed
|
|
58
|
-
CoAkka Service
|
|
59
|
-
- reproduce and cache unmodified Artifacts inside your organization and its
|
|
60
|
-
controlled build, deployment, and support environments
|
|
61
|
-
- run and internally cache official CoAkka sample images
|
|
62
|
-
- provide integration, consulting, and support services for Applications that
|
|
63
|
-
use CoAkka, provided those services do not offer a Managed CoAkka Service
|
|
64
|
-
|
|
65
|
-
These permissions apply equally to individuals and organizations regardless of
|
|
66
|
-
their size or industry. A cloud provider or other infrastructure company may
|
|
67
|
-
use CoAkka internally and in its independent Applications on the same terms as
|
|
68
|
-
any other user. The restriction below is based on what is offered to third
|
|
69
|
-
parties, not on the identity of the user.
|
|
70
|
-
|
|
71
|
-
When redistributing an Artifact with an Application, you must preserve the
|
|
72
|
-
applicable copyright, license, trademark, checksum, and provenance notices and
|
|
73
|
-
make a copy of this license available with the redistributed Artifact.
|
|
74
|
-
|
|
75
|
-
## Reserved Uses
|
|
76
|
-
|
|
77
|
-
The following uses require a separate written agreement with the Licensor:
|
|
78
|
-
|
|
79
|
-
- selling, hosting, or offering a Managed CoAkka Service
|
|
80
|
-
- selling, licensing, renting, or redistributing the Artifacts as a standalone
|
|
81
|
-
product or where the Artifacts provide the primary or substantial value of
|
|
82
|
-
the offering
|
|
83
|
-
- publishing an appliance, container image, cloud image, runtime platform, or
|
|
84
|
-
marketplace offering whose primary purpose is to provide CoAkka functionality
|
|
85
|
-
- presenting modified, repackaged, or third-party Artifacts as official CoAkka
|
|
86
|
-
Artifacts
|
|
87
|
-
|
|
88
|
-
You may not:
|
|
89
|
-
|
|
90
|
-
- remove or obscure copyright, license, trademark, checksum, or provenance
|
|
91
|
-
notices
|
|
92
|
-
- reverse engineer or modify the Artifacts except where that restriction is
|
|
93
|
-
prohibited by applicable law
|
|
94
|
-
- use the CoAkka name, package names, artifact names, image names, or other
|
|
95
|
-
project identifiers in a way that implies endorsement of an unofficial fork,
|
|
96
|
-
hosted service, or product
|
|
97
|
-
|
|
98
|
-
## No Runtime Activation Gate
|
|
99
|
-
|
|
100
|
-
This license states legal permissions and restrictions; it is not a runtime
|
|
101
|
-
activation mechanism. Publisher signing, platform trust, checksums, release
|
|
102
|
-
receipts, capability introspection, and runtime license-status fields do not
|
|
103
|
-
create an additional feature or production-use fee for an Artifact distributed
|
|
104
|
-
under this license. Local operating-system or organization security policy may
|
|
105
|
-
still require its own signing, integrity, or admission checks.
|
|
106
|
-
|
|
107
|
-
## No Warranty
|
|
108
|
-
|
|
109
|
-
The Artifacts are provided as-is, without warranties or conditions of any kind,
|
|
110
|
-
to the maximum extent permitted by applicable law.
|
|
111
|
-
|
|
112
|
-
## Limitation Of Liability
|
|
113
|
-
|
|
114
|
-
To the maximum extent permitted by applicable law, the project contributors and
|
|
115
|
-
artifact publishers are not liable for any direct, indirect, incidental,
|
|
116
|
-
special, consequential, exemplary, or other damages arising from use of the
|
|
117
|
-
Artifacts.
|
|
118
|
-
|
|
119
|
-
## No Patent Or Trademark Grant
|
|
120
|
-
|
|
121
|
-
These terms do not grant patent rights, trademark ownership, or rights to use
|
|
122
|
-
the CoAkka name beyond truthful reference to the project, compatible
|
|
123
|
-
integrations, and unmodified official Artifacts. Trademark use is governed by
|
|
124
|
-
`TRADEMARKS.md`.
|
|
125
|
-
|
|
126
|
-
## Questions
|
|
127
|
-
|
|
128
|
-
For questions about whether an offering is a Managed CoAkka Service or requires
|
|
129
|
-
a separate agreement, use the contact path in `SUPPORT.md`.
|
|
130
|
-
|
|
131
|
-
## Legal Notice
|
|
132
|
-
|
|
133
|
-
This file is not legal advice. If intended use depends on legal interpretation
|
|
134
|
-
of these terms, consult qualified counsel or request a separate written
|
|
135
|
-
agreement.
|