@forgesworn/fold-kit 0.0.0-seed.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +28 -0
  3. package/package.json +19 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 TheCryptoDonkey
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @forgesworn/fold-kit
2
+
3
+ Circle primitives for private Nostr groups that nobody operates: a room key
4
+ per epoch, sealed to each device that stays; link invitations as
5
+ capabilities; member removal by rekey; device credentials so a person
6
+ approves a device once and it signs from then on.
7
+
8
+ Fold-kit is being extracted from [KithMoot](https://github.com/forgesworn/kithmoot)
9
+ so that other ForgeSworn clients can share one circle model. KithMoot's wire
10
+ format does not change: every derivation label and event shape moves
11
+ byte-identical and is pinned by known-answer vectors.
12
+
13
+ **Status: extraction in progress. No published package yet.**
14
+
15
+ ## How it relates to its siblings
16
+
17
+ - [`covey-kit`](https://github.com/forgesworn/covey-kit): circle state
18
+ derived from a root, latest-wins configuration, per-recipient gift wraps.
19
+ - [`roost-kit`](https://github.com/forgesworn/roost-kit): transport for
20
+ private circles (gift wrap, relay fan-out, offline outbox).
21
+ - `fold-kit`: symmetric epoch keys with a pinned authority, sealed rekeys and
22
+ link invitations. Suited to high-rate encrypted streams such as chat and
23
+ collaborative documents, where a wrap per recipient per message is too
24
+ costly.
25
+
26
+ ## Licence
27
+
28
+ MIT
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@forgesworn/fold-kit",
3
+ "version": "0.0.0-seed.0",
4
+ "description": "Circle primitives for private Nostr groups nobody operates: epoch keys, link invites, removal by rekey, device credentials.",
5
+ "type": "module",
6
+ "files": [
7
+ "LICENSE",
8
+ "README.md"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/forgesworn/fold-kit.git"
13
+ },
14
+ "author": "forgesworn",
15
+ "license": "MIT",
16
+ "publishConfig": {
17
+ "access": "public"
18
+ }
19
+ }