@eigenhq/kern 0.1.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.
- package/LICENSE +189 -0
- package/NOTICE +8 -0
- package/THIRD_PARTY_NOTICES.md +61 -0
- package/dist/index.d.ts +9035 -0
- package/dist/index.js +25160 -0
- package/dist/index.js.map +1 -0
- package/dist/pierre-chunk-ZLSW7KI3.js +4 -0
- package/dist/pierre-chunk-ZLSW7KI3.js.map +1 -0
- package/package.json +79 -0
- package/src/styles/kern.css +1940 -0
- package/themes/eigen.css +533 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the
|
|
13
|
+
copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other
|
|
16
|
+
entities that control, are controlled by, or are under common control with
|
|
17
|
+
that entity. For the purposes of this definition, "control" means (i) the
|
|
18
|
+
power, direct or indirect, to cause the direction or management of such
|
|
19
|
+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
|
20
|
+
(50%) or more of the outstanding shares, or (iii) beneficial ownership of
|
|
21
|
+
such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
24
|
+
permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation source, and
|
|
28
|
+
configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical transformation
|
|
31
|
+
or translation of a Source form, including but not limited to compiled
|
|
32
|
+
object code, generated documentation, and conversions to other media types.
|
|
33
|
+
|
|
34
|
+
"Work" shall mean the work of authorship, whether in Source or Object form,
|
|
35
|
+
made available under the License, as indicated by a copyright notice that is
|
|
36
|
+
included in or attached to the work (an example is provided in the Appendix
|
|
37
|
+
below).
|
|
38
|
+
|
|
39
|
+
"Derivative Works" shall mean any work, whether in Source or Object form,
|
|
40
|
+
that is based on (or derived from) the Work and for which the editorial
|
|
41
|
+
revisions, annotations, elaborations, or other modifications represent, as a
|
|
42
|
+
whole, an original work of authorship. For the purposes of this License,
|
|
43
|
+
Derivative Works shall not include works that remain separable from, or
|
|
44
|
+
merely link (or bind by name) to the interfaces of, the Work and Derivative
|
|
45
|
+
Works thereof.
|
|
46
|
+
|
|
47
|
+
"Contribution" shall mean any work of authorship, including the original
|
|
48
|
+
version of the Work and any modifications or additions to that Work or
|
|
49
|
+
Derivative Works thereof, that is intentionally submitted to Licensor for
|
|
50
|
+
inclusion in the Work by the copyright owner or by an individual or Legal
|
|
51
|
+
Entity authorized to submit on behalf of the copyright owner. For the
|
|
52
|
+
purposes of this definition, "submitted" means any form of electronic,
|
|
53
|
+
verbal, or written communication sent to the Licensor or its
|
|
54
|
+
representatives, including but not limited to communication on electronic
|
|
55
|
+
mailing lists, source code control systems, and issue tracking systems that
|
|
56
|
+
are managed by, or on behalf of, the Licensor for the purpose of discussing
|
|
57
|
+
and improving the Work, but excluding communication that is conspicuously
|
|
58
|
+
marked or otherwise designated in writing by the copyright owner as "Not a
|
|
59
|
+
Contribution."
|
|
60
|
+
|
|
61
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on
|
|
62
|
+
behalf of whom a Contribution has been received by Licensor and subsequently
|
|
63
|
+
incorporated within the Work.
|
|
64
|
+
|
|
65
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
66
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
67
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
68
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
69
|
+
sublicense, and distribute the Work and such Derivative Works in Source or
|
|
70
|
+
Object form.
|
|
71
|
+
|
|
72
|
+
3. Grant of Patent License. Subject to the terms and conditions of this
|
|
73
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
74
|
+
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in
|
|
75
|
+
this section) patent license to make, have made, use, offer to sell, sell,
|
|
76
|
+
import, and otherwise transfer the Work, where such license applies only to
|
|
77
|
+
those patent claims licensable by such Contributor that are necessarily
|
|
78
|
+
infringed by their Contribution(s) alone or by combination of their
|
|
79
|
+
Contribution(s) with the Work to which such Contribution(s) was submitted.
|
|
80
|
+
If You institute patent litigation against any entity (including a
|
|
81
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
|
|
82
|
+
Contribution incorporated within the Work constitutes direct or contributory
|
|
83
|
+
patent infringement, then any patent licenses granted to You under this
|
|
84
|
+
License for that Work shall terminate as of the date such litigation is
|
|
85
|
+
filed.
|
|
86
|
+
|
|
87
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
88
|
+
Derivative Works thereof in any medium, with or without modifications, and
|
|
89
|
+
in Source or Object form, provided that You meet the following conditions:
|
|
90
|
+
|
|
91
|
+
(a) You must give any other recipients of the Work or Derivative Works a
|
|
92
|
+
copy of this License; and
|
|
93
|
+
|
|
94
|
+
(b) You must cause any modified files to carry prominent notices stating
|
|
95
|
+
that You changed the files; and
|
|
96
|
+
|
|
97
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
98
|
+
distribute, all copyright, patent, trademark, and attribution notices from
|
|
99
|
+
the Source form of the Work, excluding those notices that do not pertain to
|
|
100
|
+
any part of the Derivative Works; and
|
|
101
|
+
|
|
102
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution,
|
|
103
|
+
then any Derivative Works that You distribute must include a readable copy
|
|
104
|
+
of the attribution notices contained within such NOTICE file, excluding
|
|
105
|
+
those notices that do not pertain to any part of the Derivative Works, in at
|
|
106
|
+
least one of the following places: within a NOTICE text file distributed as
|
|
107
|
+
part of the Derivative Works; within the Source form or documentation, if
|
|
108
|
+
provided along with the Derivative Works; or, within a display generated by
|
|
109
|
+
the Derivative Works, if and wherever such third-party notices normally
|
|
110
|
+
appear. The contents of the NOTICE file are for informational purposes only
|
|
111
|
+
and do not modify the License. You may add Your own attribution notices
|
|
112
|
+
within Derivative Works that You distribute, alongside or as an addendum to
|
|
113
|
+
the NOTICE text from the Work, provided that such additional attribution
|
|
114
|
+
notices cannot be construed as modifying the License.
|
|
115
|
+
|
|
116
|
+
You may add Your own copyright statement to Your modifications and may
|
|
117
|
+
provide additional or different license terms and conditions for use,
|
|
118
|
+
reproduction, or distribution of Your modifications, or for any such
|
|
119
|
+
Derivative Works as a whole, provided Your use, reproduction, and
|
|
120
|
+
distribution of the Work otherwise complies with the conditions stated in
|
|
121
|
+
this License.
|
|
122
|
+
|
|
123
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
124
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
125
|
+
Licensor shall be under the terms and conditions of this License, without
|
|
126
|
+
any additional terms or conditions. Notwithstanding the above, nothing
|
|
127
|
+
herein shall supersede or modify the terms of any separate license agreement
|
|
128
|
+
you may have executed with Licensor regarding such Contributions.
|
|
129
|
+
|
|
130
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
131
|
+
trademarks, service marks, or product names of the Licensor, except as
|
|
132
|
+
required for reasonable and customary use in describing the origin of the
|
|
133
|
+
Work and reproducing the content of the NOTICE file.
|
|
134
|
+
|
|
135
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
136
|
+
writing, Licensor provides the Work (and each Contributor provides its
|
|
137
|
+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
138
|
+
KIND, either express or implied, including, without limitation, any
|
|
139
|
+
warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
|
|
140
|
+
FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining
|
|
141
|
+
the appropriateness of using or redistributing the Work and assume any risks
|
|
142
|
+
associated with Your exercise of permissions under this License.
|
|
143
|
+
|
|
144
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
145
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
146
|
+
applicable law (such as deliberate and grossly negligent acts) or agreed to
|
|
147
|
+
in writing, shall any Contributor be liable to You for damages, including
|
|
148
|
+
any direct, indirect, special, incidental, or consequential damages of any
|
|
149
|
+
character arising as a result of this License or out of the use or inability
|
|
150
|
+
to use the Work (including but not limited to damages for loss of goodwill,
|
|
151
|
+
work stoppage, computer failure or malfunction, or any and all other
|
|
152
|
+
commercial damages or losses), even if such Contributor has been advised of
|
|
153
|
+
the possibility of such damages.
|
|
154
|
+
|
|
155
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
|
|
156
|
+
Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
157
|
+
acceptance of support, warranty, indemnity, or other liability obligations
|
|
158
|
+
and/or rights consistent with this License. However, in accepting such
|
|
159
|
+
obligations, You may act only on Your own behalf and on Your sole
|
|
160
|
+
responsibility, not on behalf of any other Contributor, and only if You
|
|
161
|
+
agree to indemnify, defend, and hold each Contributor harmless for any
|
|
162
|
+
liability incurred by, or claims asserted against, such Contributor by
|
|
163
|
+
reason of your accepting any such warranty or additional liability.
|
|
164
|
+
|
|
165
|
+
END OF TERMS AND CONDITIONS
|
|
166
|
+
|
|
167
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
168
|
+
|
|
169
|
+
To apply the Apache License to your work, attach the following
|
|
170
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
171
|
+
replaced with your own identifying information. (Don't include
|
|
172
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
173
|
+
comment syntax for the file format. We also recommend that a
|
|
174
|
+
file or class name and description of purpose be included on the
|
|
175
|
+
same "printed page" as the copyright notice for easier
|
|
176
|
+
identification within third-party archives.
|
|
177
|
+
|
|
178
|
+
Copyright 2025 Pierre Computer Company
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
181
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
182
|
+
License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
187
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
188
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
189
|
+
specific language governing permissions and limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Kern
|
|
2
|
+
Copyright 2026 Eigen Industries, Inc.
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
|
|
6
|
+
It includes third-party works under their own licences, among them the Solar
|
|
7
|
+
icon set by 480 Design (CC BY 4.0) and packages from Pierre (Apache 2.0); see
|
|
8
|
+
THIRD_PARTY_NOTICES.md for every work, its licence and its credit line.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
Kern (`@eigenhq/kern`) is released under the Apache License 2.0 (see `LICENSE` and `NOTICE`). It includes, depends on or draws on the third-party works below. Licences were read from each installed package in November 2026; see `docs/features/kern-public-release-legal.md` for the review behind this list.
|
|
4
|
+
|
|
5
|
+
## Included in Kern
|
|
6
|
+
|
|
7
|
+
### Solar icons
|
|
8
|
+
|
|
9
|
+
- What: the icon glyphs in `src/icons/solar.generated.tsx`, converted from `@iconify-json/solar` 1.2.13 by `scripts/generate-solar-icons.mjs`. Some glyphs are cut down from the originals (`DERIVED_GLYPHS`) or scaled up to match the set (`OPTICAL_SCALES`), and Kern's forks in `glyphs/` replace a Solar glyph with Kern's own redrawing of it. `glyphs/forks.json` records which glyphs are forked and what each comes from, and each generated component names its source.
|
|
10
|
+
- Author: 480 Design.
|
|
11
|
+
- Licence: Creative Commons Attribution 4.0 International (CC BY 4.0), https://creativecommons.org/licenses/by/4.0/.
|
|
12
|
+
- Changes: CC BY 4.0 requires saying that the material was modified. Kern converts every glyph to a React component; glyphs listed in `DERIVED_GLYPHS` or `OPTICAL_SCALES` are simplified or rescaled, and glyphs listed in `glyphs/forks.json` with origin `solar` are redrawn from the Solar glyph named there. The rest are drawn as Solar ships them.
|
|
13
|
+
- Attribution: "Icons based on Solar by 480 Design (CC BY 4.0), converted to React components and in places simplified, rescaled or redrawn by Eigen." Keep this credit wherever Kern's icons are listed or shipped.
|
|
14
|
+
|
|
15
|
+
### Hugeicons-derived glyphs
|
|
16
|
+
|
|
17
|
+
- What: any fork in `glyphs/` that `glyphs/forks.json` records with origin `hugeicons`: Kern's redrawing, in Solar's line, of the Hugeicons glyph named in its `from`. The Hugeicons data is not shipped or installed; the drawing is Kern's own, after the free Hugeicons set.
|
|
18
|
+
- Author: Hugeicons (https://hugeicons.com), free set as published in `@iconify-json/hugeicons`.
|
|
19
|
+
- Licence: MIT. Copyright notice to keep with such glyphs: "Portions after Hugeicons, MIT licence, Copyright (c) Hugeicons."
|
|
20
|
+
- In use: `leaf-linear` (after `leaf-01`), the new `footprints-linear` (after `footprints`), and `like-bold` and `dislike-bold` (after `thumbs-up`).
|
|
21
|
+
|
|
22
|
+
### Glyphs drawn for Kern
|
|
23
|
+
|
|
24
|
+
Forks and new icons recorded with origin `original`, and the icons in `src/icons/drawn-icons.tsx`, are Eigen's own work and fall under Kern's Apache 2.0 licence. A new icon recorded with origin `solar` (`look-back-linear`, drawn from Solar's `history-linear`) is a modified Solar glyph and keeps Solar's credit.
|
|
25
|
+
|
|
26
|
+
### Images
|
|
27
|
+
|
|
28
|
+
Kern ships no paintings or photographs. The parts that show one (`Wallpaper`, `SignInTransition`, `ArtifactIsland`) take the image from the app. Eigen's paintings and their credits live with eigen.design, in `apps/site/eigen`.
|
|
29
|
+
|
|
30
|
+
## Runtime dependencies
|
|
31
|
+
|
|
32
|
+
| Package | Version reviewed | Licence | Copyright |
|
|
33
|
+
| --- | --- | --- | --- |
|
|
34
|
+
| `clsx` | 2.1.1 | MIT | Copyright (c) Luke Edwards |
|
|
35
|
+
| `tailwind-merge` | 3.5.0 | MIT | Copyright (c) 2021 Dany Castillo |
|
|
36
|
+
| `@pierre/diffs` | 1.6.2 | Apache-2.0 | No copyright line in the package (author: Pierre); part of it is bundled into Kern's `dist` |
|
|
37
|
+
| `@pierre/truncate` | 0.0.2 | Apache-2.0 | No copyright line in the package (author: Pierre) |
|
|
38
|
+
|
|
39
|
+
`@pierre/diffs` brings in `@pierre/highlights`, `@pierre/theme` and `@pierre/theming` (Apache-2.0). `@pierre/highlights` and `@pierre/theme` ship NOTICE files crediting the MIT and Apache-2.0 colour themes they include (among them Primer's GitHub theme); those notices travel with the installed packages and apply to any of their themes Kern draws.
|
|
40
|
+
|
|
41
|
+
## Peer dependencies (installed by the app that uses Kern)
|
|
42
|
+
|
|
43
|
+
| Package | Version reviewed | Licence | Copyright |
|
|
44
|
+
| --- | --- | --- | --- |
|
|
45
|
+
| `react`, `react-dom` | 19.2.4 | MIT | Copyright (c) Meta Platforms, Inc. and affiliates |
|
|
46
|
+
| `radix-ui` | 1.4.3 | MIT | Copyright (c) 2022 WorkOS |
|
|
47
|
+
| `motion` | 13.1.0 | MIT | Copyright (c) 2024 Motion B.V. |
|
|
48
|
+
| `lucide-react` | 0.511.0 | ISC | Copyright (c) Lucide Contributors 2022; portions Copyright (c) Cole Bemis 2013–2022 (Feather, MIT) |
|
|
49
|
+
| `vis-network` | 10.0.2 | Apache-2.0 OR MIT | Copyright (c) 2014–2017 Almende B.V. |
|
|
50
|
+
|
|
51
|
+
## Build-time only (not shipped)
|
|
52
|
+
|
|
53
|
+
`@iconify-json/solar` (CC BY 4.0 icon data, see above), `typescript` (Apache-2.0), `vitest`, `@vitejs/plugin-react`, `jsdom` and `@testing-library/react` (MIT).
|
|
54
|
+
|
|
55
|
+
## Fonts
|
|
56
|
+
|
|
57
|
+
Kern ships no font files. It names San Francisco (SF Pro, `-apple-system`) and Optima, which macOS and iOS install. Both are Apple-licensed and must not be self-hosted or bundled.
|
|
58
|
+
|
|
59
|
+
## Trademarks
|
|
60
|
+
|
|
61
|
+
Kern reproduces the look of Apple's Messages app for Eigen's own tools. It is not affiliated with or endorsed by Apple Inc. iMessage, Messages, SF Pro and Liquid Glass are trademarks of Apple Inc.
|