coakka-v2-connector-electron 2.5.0 → 2.5.2

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/NATIVE-LICENSE.md CHANGED
@@ -1,36 +1,35 @@
1
- # CoAkka Public Artifact License 1.1
1
+ # CoAkka Native Artifact License 1.2
2
2
 
3
- Effective: 2026-08-03
3
+ Effective: 2026-08-20
4
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.
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
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.
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.
20
15
 
21
16
  ## Definitions
22
17
 
23
18
  `Licensor` means the copyright owner or entity authorized to distribute the
24
- Artifacts under this license.
19
+ Native Artifacts under this license.
25
20
 
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.
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.
29
27
 
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.
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.
34
33
 
35
34
  `Managed CoAkka Service` means a product or service offered to third parties
36
35
  whose primary or substantial value is providing hosted access to CoAkka's
@@ -40,24 +39,24 @@ service through which customers deploy or operate workloads directly against
40
39
  CoAkka, and an appliance or cloud image whose primary purpose is to provide
41
40
  CoAkka functionality.
42
41
 
43
- ## License Grant And Allowed Use
42
+ ## Free Application Use
44
43
 
45
44
  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.
45
+ royalty-free license to download, copy, and use the Native Artifacts, and to
46
+ redistribute unmodified Native Artifacts as part of an Application.
48
47
 
49
48
  You may, without a separate agreement:
50
49
 
51
- - use every capability included in an Artifact in development, test, CI,
50
+ - use every capability included in a Native Artifact in development, test, CI,
52
51
  evaluation, proof-of-concept, and production environments
53
- - use the Artifacts for internal business operations and commercial workloads
52
+ - use the Native Artifacts for internal business operations and commercial workloads
54
53
  - build, operate, sell, and distribute Applications that use or bundle
55
- unmodified Artifacts
54
+ unmodified Native Artifacts
56
55
  - 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
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
61
60
  - run and internally cache official CoAkka sample images
62
61
  - provide integration, consulting, and support services for Applications that
63
62
  use CoAkka, provided those services do not offer a Managed CoAkka Service
@@ -68,29 +67,30 @@ use CoAkka internally and in its independent Applications on the same terms as
68
67
  any other user. The restriction below is based on what is offered to third
69
68
  parties, not on the identity of the user.
70
69
 
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.
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
74
 
75
75
  ## Reserved Uses
76
76
 
77
77
  The following uses require a separate written agreement with the Licensor:
78
78
 
79
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
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
82
  the offering
83
83
  - publishing an appliance, container image, cloud image, runtime platform, or
84
84
  marketplace offering whose primary purpose is to provide CoAkka functionality
85
- - presenting modified, repackaged, or third-party Artifacts as official CoAkka
86
- Artifacts
85
+ - presenting modified, repackaged, or third-party artifacts as official CoAkka
86
+ Native Artifacts
87
87
 
88
88
  You may not:
89
89
 
90
90
  - remove or obscure copyright, license, trademark, checksum, or provenance
91
91
  notices
92
- - reverse engineer or modify the Artifacts except where that restriction is
93
- prohibited by applicable law
92
+ - reverse engineer or modify the Native Artifacts except where that restriction
93
+ is prohibited by applicable law
94
94
  - use the CoAkka name, package names, artifact names, image names, or other
95
95
  project identifiers in a way that implies endorsement of an unofficial fork,
96
96
  hosted service, or product
@@ -100,33 +100,36 @@ You may not:
100
100
  This license states legal permissions and restrictions; it is not a runtime
101
101
  activation mechanism. Publisher signing, platform trust, checksums, release
102
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.
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.
106
107
 
107
108
  ## No Warranty
108
109
 
109
- The Artifacts are provided as-is, without warranties or conditions of any kind,
110
- to the maximum extent permitted by applicable law.
110
+ The Native Artifacts are provided as-is, without warranties or conditions of
111
+ any kind, to the maximum extent permitted by applicable law.
111
112
 
112
113
  ## Limitation Of Liability
113
114
 
114
- To the maximum extent permitted by applicable law, the project contributors and
115
- artifact publishers are not liable for any direct, indirect, incidental,
115
+ To the maximum extent permitted by applicable law, the project contributors
116
+ and artifact publishers are not liable for any direct, indirect, incidental,
116
117
  special, consequential, exemplary, or other damages arising from use of the
117
- Artifacts.
118
+ Native Artifacts.
118
119
 
119
120
  ## No Patent Or Trademark Grant
120
121
 
121
122
  These terms do not grant patent rights, trademark ownership, or rights to use
122
123
  the CoAkka name beyond truthful reference to the project, compatible
123
- integrations, and unmodified official Artifacts. Trademark use is governed by
124
- `TRADEMARKS.md`.
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.
125
127
 
126
128
  ## Questions
127
129
 
128
130
  For questions about whether an offering is a Managed CoAkka Service or requires
129
- a separate agreement, use the contact path in `SUPPORT.md`.
131
+ a separate agreement, use the public support path in the `coakka-samples`
132
+ repository.
130
133
 
131
134
  ## Legal Notice
132
135
 
package/NOTICE CHANGED
@@ -1,9 +1,16 @@
1
- CoAkka Connectors
1
+ CoAkka Packages
2
2
  Copyright 2026 Phuong Tran and contributors.
3
3
 
4
- Language-level connector material is licensed under the Apache License,
5
- Version 2.0. Bundled CoAkka native artifacts remain under the CoAkka Public
6
- Artifact License 1.1. See PACKAGE-LICENSE.md for the file-scope map, LICENSE
7
- for Apache-2.0, and NATIVE-LICENSE.md for the native artifact terms.
4
+ Connector source, generated bindings, type declarations, package metadata,
5
+ examples, and package documentation are licensed under the Apache License,
6
+ Version 2.0.
8
7
 
9
- Third-party components retain their respective copyright and license notices.
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.
@@ -1,29 +1,31 @@
1
- # CoAkka Connector Package Licensing
1
+ # CoAkka Package License Map
2
2
 
3
- This distribution is a multi-license aggregate. Its licenses apply by file scope;
4
- they are not alternative licenses for the complete package.
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.
5
7
 
6
8
  ## Connector Material: Apache-2.0
7
9
 
8
- Language-level connector source, generated language bindings, type declarations,
9
- package/build metadata, examples, and package documentation are licensed under
10
- the Apache License, Version 2.0. The full terms are in `LICENSE`.
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`.
11
13
 
12
- ## CoAkka Native Material
14
+ ## Native Material: CoAkka Native Artifact License 1.2
13
15
 
14
- CoAkka native shared or static libraries, native C headers, symbol files, and
15
- native-only provenance records are licensed under the CoAkka Public Artifact
16
- License 1.1. The full terms are in `NATIVE-LICENSE.md`.
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`.
17
19
 
18
- This scope includes CoAkka payloads below `native/`, `runtimes/*/native/`,
19
- `META-INF/native/`, or another package-specific native payload directory, plus
20
- files explicitly identified as CoAkka native artifacts. Copying or extracting a
21
- native payload does not change its license.
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.
22
24
 
23
- ## Third-Party Material
25
+ ## Aggregate Notice
24
26
 
25
- Third-party or vendored components retain their own license terms. Their notices
26
- are included with those components or in the package's third-party notices.
27
+ `NOTICE` records the package identity and summarizes this file-scoped mapping.
28
+ It does not replace either license.
27
29
 
28
- If a file contains an explicit license notice, that notice controls for that
29
- file. Otherwise, use the scope above.
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
@@ -147,10 +147,14 @@ preload/renderer IPC. See the shared [file-lane contract](https://github.com/phu
147
147
 
148
148
  ## Stream Lane
149
149
 
150
- Version `2.5.0` contains the Stream Lane connector surface for Electron main
150
+ Version `2.5.2` contains owner-aware File and Stream Lane connector surfaces for Electron main
151
151
  over exact native generation `2.5.0+4b65d0b2256037bf7fc180bfa6df8c41efc1dd6a`. Keep runtime ownership in the
152
152
  main process and follow the public
153
153
  [streaming contract](https://github.com/phuong-tran/coakka-samples/blob/main/docs/runtime-streaming.md).
154
+ Electron re-exports Node's `FileReceiveGrant`, `StreamPublishGrant`, and
155
+ `openOwned`/`prepare*Grant` methods only to main-process code. Follow the
156
+ [owner-grant ONE/ALL sample](https://github.com/phuong-tran/coakka-samples/blob/main/docs/runtime-lane-owner-grants.md)
157
+ and keep serialized grants out of preload and renderer IPC.
154
158
 
155
159
  ## AI-Assisted Integration
156
160
 
@@ -159,9 +163,18 @@ Before generating Electron integration code, read the public
159
163
  and the runnable Electron sample. Connection policy and native lane ownership
160
164
  belong to Electron main; renderer code sends validated intent only.
161
165
 
166
+
162
167
  ## License
163
168
 
164
- Connector material is Apache-2.0 under [LICENSE](LICENSE). Bundled native
165
- material uses the terms in [NATIVE-LICENSE.md](NATIVE-LICENSE.md). See
166
- [PACKAGE-LICENSE.md](PACKAGE-LICENSE.md) for the file-scope map and
167
- [NOTICE](NOTICE) for the package notice.
169
+ **Free for application use, including commercial and production use.**
170
+
171
+ Connector source, generated bindings, type declarations, examples, and package
172
+ documentation use the [Apache License, Version 2.0](https://github.com/phuong-tran/coakka-samples/blob/main/LICENSE).
173
+ Bundled Native Core files use the [CoAkka Native Artifact License 1.2](https://github.com/phuong-tran/coakka-samples/blob/main/NATIVE-LICENSE.md).
174
+ Those native terms permit ordinary application and SaaS use but require a
175
+ separate agreement to sell or offer CoAkka itself as managed runtime or
176
+ infrastructure.
177
+
178
+ See [CoAkka Package Licensing](https://github.com/phuong-tran/coakka-samples/blob/main/docs/package-licensing.md)
179
+ for the file-scope map. The package also carries offline `LICENSE`,
180
+ `NATIVE-LICENSE.md`, `PACKAGE-LICENSE.md`, and `NOTICE` copies.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  import { type RuntimeCapabilitiesSnapshot, type RuntimeTcpConnectionApplyResult, type RuntimeTcpConnectionConfigSnapshot, type RuntimeTcpConnectionStrategySpec, type RuntimeTcpSecurityApplyResult, type RuntimeTcpSecurityInfoSnapshot, type RuntimeTcpSecuritySpec } from "coakka-v2-connector-node";
2
2
  export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, RuntimeTlsReloadMode, supportsRuntimeCapabilities, } from "coakka-v2-connector-node";
3
3
  /**
4
- * Stream Lane is available only to trusted Electron main-process code. It is
5
- * intentionally absent from the preload and renderer intent surfaces.
4
+ * File and Stream Lanes are available only to trusted Electron main-process
5
+ * code. They are intentionally absent from preload and renderer intents so
6
+ * file paths and bearer grants never cross that boundary implicitly.
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.5.0";
8
+ export { FILE_LANE_DETAIL_MAX_BYTES, FILE_LANE_SHA256_BYTES, LANE_OWNER_GRANTS_FEATURE, FileLane, FileLaneError, FileLaneFlag, FileLaneSecurityMode, FileReceiveGrant, FileTransferDirection, FileTransferResult, FileTransferState, LaneOwnerGrantUnavailableError, STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPublishGrant, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, type FileDigest, type FileLaneConfig, type FileLaneSecurityConfig, type FileLaneStats, type FileReceiveSpec, type FileSendSpec, type FileTransferSnapshot, type LaneOwnerConfig, type LaneOwnerEndpoint, 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";
9
+ export declare const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.5.2";
9
10
  export declare const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
10
11
  export interface ElectronIntentPayloadIdentity {
11
12
  messageType: string;
package/dist/index.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import { DeliveryHint, EndpointFlag, NodeRuntimeClient, PayloadFormat, PayloadIdentity, RuntimeHost, } from "coakka-v2-connector-node";
2
2
  export { RuntimeCapability, RuntimeTcpConnectionMode, RuntimeTcpSecurityMode, RuntimeTlsReloadMode, supportsRuntimeCapabilities, } from "coakka-v2-connector-node";
3
3
  /**
4
- * Stream Lane is available only to trusted Electron main-process code. It is
5
- * intentionally absent from the preload and renderer intent surfaces.
4
+ * File and Stream Lanes are available only to trusted Electron main-process
5
+ * code. They are intentionally absent from preload and renderer intents so
6
+ * file paths and bearer grants never cross that boundary implicitly.
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.5.0";
8
+ export { FILE_LANE_DETAIL_MAX_BYTES, FILE_LANE_SHA256_BYTES, LANE_OWNER_GRANTS_FEATURE, FileLane, FileLaneError, FileLaneFlag, FileLaneSecurityMode, FileReceiveGrant, FileTransferDirection, FileTransferResult, FileTransferState, LaneOwnerGrantUnavailableError, STREAM_LANE_DETAIL_MAX_BYTES, STREAM_LANE_MAX_FRAME_BYTES, STREAM_LANE_MAX_WINDOW_BYTES, StreamConsumerDecision, StreamDirection, StreamFrameFlag, StreamLane, StreamLaneError, StreamLaneFlag, StreamLaneSecurityMode, StreamPublishGrant, StreamPressureReason, StreamPressureState, StreamResult, StreamSourceSignal, StreamState, } from "coakka-v2-connector-node";
9
+ export const COAKKA_ELECTRON_CONNECTOR_VERSION = "2.5.2";
9
10
  export const COAKKA_ELECTRON_INTENT_CHANNEL = "coakka:intent";
10
11
  const DEFAULT_ROUTE_PORT = 19481;
11
12
  export class ElectronRuntimeIntentBridge {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coakka-v2-connector-electron",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Electron connector for the polyglot, multi-language, multi-platform CoAkka Runtime ecosystem",
5
5
  "license": "SEE LICENSE IN PACKAGE-LICENSE.md",
6
6
  "repository": {
@@ -55,7 +55,7 @@
55
55
  "smoke:packaged": "bash scripts/smoke-packaged-package.sh"
56
56
  },
57
57
  "dependencies": {
58
- "coakka-v2-connector-node": "2.5.0"
58
+ "coakka-v2-connector-node": "2.5.2"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "electron": ">=42"