@nyte-ai/host 0.0.0-stage → 0.0.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.
Files changed (235) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/THIRD-PARTY-NOTICES.md +800 -0
  4. package/dist/chunks/canvas-preview-0cmbkp2j.js +65 -0
  5. package/dist/chunks/canvas-preview-0nq75h9k.js +7 -0
  6. package/dist/chunks/canvas-preview-0nrnbt76.js +497 -0
  7. package/dist/chunks/canvas-preview-1sq7z9jq.js +17 -0
  8. package/dist/chunks/canvas-preview-1ta3avah.js +56 -0
  9. package/dist/chunks/canvas-preview-2zdyh9ny.js +26 -0
  10. package/dist/chunks/canvas-preview-31w7xm8z.js +34 -0
  11. package/dist/chunks/canvas-preview-4b6sayhg.js +295 -0
  12. package/dist/chunks/canvas-preview-4e0pxa32.js +63 -0
  13. package/dist/chunks/canvas-preview-518dh8by.js +169 -0
  14. package/dist/chunks/canvas-preview-5hxat7hh.js +239 -0
  15. package/dist/chunks/canvas-preview-5mex725c.js +14 -0
  16. package/dist/chunks/canvas-preview-5z63am63.js +295 -0
  17. package/dist/chunks/canvas-preview-65xqjw7f.js +20 -0
  18. package/dist/chunks/canvas-preview-69fkk9yn.js +95 -0
  19. package/dist/chunks/canvas-preview-75db60xy.js +457 -0
  20. package/dist/chunks/canvas-preview-76fwvd6e.js +272 -0
  21. package/dist/chunks/canvas-preview-8xgt67ka.js +598 -0
  22. package/dist/chunks/canvas-preview-98aj5p34.js +176 -0
  23. package/dist/chunks/canvas-preview-9aqczacs.js +73 -0
  24. package/dist/chunks/canvas-preview-a3yw0j70.js +72 -0
  25. package/dist/chunks/canvas-preview-azg56359.js +68 -0
  26. package/dist/chunks/canvas-preview-d9wwhbtz.js +240 -0
  27. package/dist/chunks/canvas-preview-ehf3vp31.js +411 -0
  28. package/dist/chunks/canvas-preview-evh92ywd.js +369 -0
  29. package/dist/chunks/canvas-preview-ewgspmsd.js +81 -0
  30. package/dist/chunks/canvas-preview-g3qj3y3k.js +156 -0
  31. package/dist/chunks/canvas-preview-h8hshnff.js +63 -0
  32. package/dist/chunks/canvas-preview-j1tnf51w.js +36 -0
  33. package/dist/chunks/canvas-preview-kdqgrstc.js +194 -0
  34. package/dist/chunks/canvas-preview-kn7kvbfj.js +12 -0
  35. package/dist/chunks/canvas-preview-m02v4yy6.js +386 -0
  36. package/dist/chunks/canvas-preview-mgcx2b2p.js +271 -0
  37. package/dist/chunks/canvas-preview-rp4x6y1h.js +144 -0
  38. package/dist/chunks/canvas-preview-rp6fz0w5.js +130 -0
  39. package/dist/chunks/canvas-preview-s94ebwf5.js +112 -0
  40. package/dist/chunks/canvas-preview-senpjwep.js +518 -0
  41. package/dist/chunks/canvas-preview-skzwvw4d.js +23 -0
  42. package/dist/chunks/canvas-preview-srgfpdmf.js +60 -0
  43. package/dist/chunks/canvas-preview-tjhabynd.js +252 -0
  44. package/dist/chunks/canvas-preview-vaatfznm.js +189 -0
  45. package/dist/chunks/canvas-preview-vax9ne4e.js +341 -0
  46. package/dist/chunks/canvas-preview-wg80rbc2.js +46 -0
  47. package/dist/chunks/canvas-preview-xn10d4f8.js +608 -0
  48. package/dist/chunks/canvas-preview-yjz0f7n4.js +50 -0
  49. package/dist/chunks/canvas-preview-ymgz0937.js +587 -0
  50. package/dist/chunks/canvas-preview-yrfz2ak6.js +134 -0
  51. package/dist/chunks/canvas-preview-zaaj99wd.js +244 -0
  52. package/dist/chunks/canvas-preview-zn2d0k9d.js +133 -0
  53. package/dist/src/canvas-preview.d.ts +29 -0
  54. package/dist/src/canvas-preview.js +267 -0
  55. package/dist/src/credentials.d.ts +44 -0
  56. package/dist/src/credentials.js +10 -0
  57. package/dist/src/deploy/cloudflare/worker.d.ts +50 -0
  58. package/dist/src/deploy/cloudflare/worker.js +196 -0
  59. package/dist/src/deploy/vercel/nitro.config.d.ts +2 -0
  60. package/dist/src/deploy/vercel/nitro.config.js +30 -0
  61. package/dist/src/deploy/vercel/server/routes/[...].d.ts +2 -0
  62. package/dist/src/deploy/vercel/server/routes/[...].js +18 -0
  63. package/dist/src/deploy/vercel/server/utils/host.d.ts +13 -0
  64. package/dist/src/deploy/vercel/server/utils/host.js +7 -0
  65. package/dist/src/deploy/vercel/server/utils/repair.d.ts +1 -0
  66. package/dist/src/deploy/vercel/server/utils/repair.js +6 -0
  67. package/dist/src/deploy/vercel/server/utils/step.d.ts +10 -0
  68. package/dist/src/deploy/vercel/server/utils/step.js +6 -0
  69. package/dist/src/deploy/vercel/server/workflows/drive.d.ts +14 -0
  70. package/dist/src/deploy/vercel/server/workflows/drive.js +13 -0
  71. package/dist/src/durable-object.d.ts +14 -0
  72. package/dist/src/durable-object.js +231 -0
  73. package/dist/src/hash.d.ts +1 -0
  74. package/dist/src/hash.js +6 -0
  75. package/dist/src/identity-key.d.ts +11 -0
  76. package/dist/src/identity-key.js +9 -0
  77. package/dist/src/identity.d.ts +12 -0
  78. package/dist/src/identity.js +6 -0
  79. package/dist/src/index.d.ts +21 -0
  80. package/dist/src/index.js +120 -0
  81. package/dist/src/key-file.d.ts +1 -0
  82. package/dist/src/key-file.js +7 -0
  83. package/dist/src/listen-fetch.d.ts +8 -0
  84. package/dist/src/listen-fetch.js +9 -0
  85. package/dist/src/listen.d.ts +4 -0
  86. package/dist/src/listen.js +10 -0
  87. package/dist/src/local/command.d.ts +15 -0
  88. package/dist/src/local/command.js +8 -0
  89. package/dist/src/local/feed.d.ts +7 -0
  90. package/dist/src/local/feed.js +6 -0
  91. package/dist/src/local/files.d.ts +18 -0
  92. package/dist/src/local/files.js +13 -0
  93. package/dist/src/local/git-watch.d.ts +15 -0
  94. package/dist/src/local/git-watch.js +7 -0
  95. package/dist/src/local/git.d.ts +5 -0
  96. package/dist/src/local/git.js +13 -0
  97. package/dist/src/local/github.d.ts +30 -0
  98. package/dist/src/local/github.js +9 -0
  99. package/dist/src/local/identity.d.ts +3 -0
  100. package/dist/src/local/identity.js +7 -0
  101. package/dist/src/local/jobs.d.ts +7 -0
  102. package/dist/src/local/jobs.js +6 -0
  103. package/dist/src/local/legacy-trust.d.ts +10 -0
  104. package/dist/src/local/legacy-trust.js +6 -0
  105. package/dist/src/local/patch.d.ts +16 -0
  106. package/dist/src/local/patch.js +17 -0
  107. package/dist/src/local/provider.d.ts +11 -0
  108. package/dist/src/local/provider.js +20 -0
  109. package/dist/src/local/snapshots.d.ts +7 -0
  110. package/dist/src/local/snapshots.js +11 -0
  111. package/dist/src/local/text.d.ts +1 -0
  112. package/dist/src/local/text.js +6 -0
  113. package/dist/src/local/tree.d.ts +50 -0
  114. package/dist/src/local/tree.js +16 -0
  115. package/dist/src/local/workspace-migration.d.ts +2 -0
  116. package/dist/src/local/workspace-migration.js +7 -0
  117. package/dist/src/local/worktrees.d.ts +46 -0
  118. package/dist/src/local/worktrees.js +14 -0
  119. package/dist/src/mcp/config.d.ts +75 -0
  120. package/dist/src/mcp/config.js +12 -0
  121. package/dist/src/mcp/connect.d.ts +28 -0
  122. package/dist/src/mcp/connect.js +9 -0
  123. package/dist/src/mcp/hub.d.ts +19 -0
  124. package/dist/src/mcp/hub.js +11 -0
  125. package/dist/src/mcp/oauth.d.ts +46 -0
  126. package/dist/src/mcp/oauth.js +12 -0
  127. package/dist/src/mcp/tools.d.ts +29 -0
  128. package/dist/src/mcp/tools.js +12 -0
  129. package/dist/src/open.d.ts +42 -0
  130. package/dist/src/open.js +44 -0
  131. package/dist/src/plugins/loader.d.ts +21 -0
  132. package/dist/src/plugins/loader.js +11 -0
  133. package/dist/src/postgres.d.ts +19 -0
  134. package/dist/src/postgres.js +8 -0
  135. package/dist/src/providers.d.ts +16 -0
  136. package/dist/src/providers.js +112 -0
  137. package/dist/src/secrets.d.ts +12 -0
  138. package/dist/src/secrets.js +8 -0
  139. package/dist/src/serve/binding.d.ts +39 -0
  140. package/dist/src/serve/binding.js +6 -0
  141. package/dist/src/serve/handler.d.ts +15 -0
  142. package/dist/src/serve/handler.js +8 -0
  143. package/dist/src/serve/stream-server.d.ts +6 -0
  144. package/dist/src/serve/stream-server.js +6 -0
  145. package/dist/src/session-index.d.ts +11 -0
  146. package/dist/src/session-index.js +11 -0
  147. package/dist/src/shell-env.d.ts +14 -0
  148. package/dist/src/shell-env.js +108 -0
  149. package/dist/src/sqlite-workers.d.ts +6 -0
  150. package/dist/src/sqlite-workers.js +6 -0
  151. package/dist/src/sqlite.d.ts +7 -0
  152. package/dist/src/sqlite.js +10 -0
  153. package/dist/src/store-owner.d.ts +15 -0
  154. package/dist/src/store-owner.js +9 -0
  155. package/dist/src/store-rows.d.ts +13 -0
  156. package/dist/src/store-rows.js +26 -0
  157. package/dist/src/store-usage.d.ts +25 -0
  158. package/dist/src/store-usage.js +16 -0
  159. package/dist/src/usage-scan.d.ts +24 -0
  160. package/dist/src/usage-scan.js +65 -0
  161. package/dist/src/usage-service.d.ts +22 -0
  162. package/dist/src/usage-service.js +12 -0
  163. package/dist/src/usage-summary.d.ts +9 -0
  164. package/dist/src/usage-summary.js +16 -0
  165. package/dist/src/usage-types.d.ts +86 -0
  166. package/dist/src/usage-types.js +0 -0
  167. package/dist/src/usage-worker.d.ts +1 -0
  168. package/dist/src/usage-worker.js +25 -0
  169. package/dist/src/usage.d.ts +72 -0
  170. package/dist/src/usage.js +13 -0
  171. package/package.json +132 -3
  172. package/src/canvas-preview.ts +402 -0
  173. package/src/credentials.ts +294 -0
  174. package/src/deploy/cloudflare/README.md +3 -0
  175. package/src/deploy/cloudflare/worker.ts +306 -0
  176. package/src/deploy/cloudflare/wrangler.jsonc +12 -0
  177. package/src/deploy/vercel/README.md +3 -0
  178. package/src/deploy/vercel/nitro.config.ts +29 -0
  179. package/src/deploy/vercel/server/routes/[...].ts +10 -0
  180. package/src/deploy/vercel/server/utils/host.ts +104 -0
  181. package/src/deploy/vercel/server/utils/repair.ts +35 -0
  182. package/src/deploy/vercel/server/utils/step.ts +25 -0
  183. package/src/deploy/vercel/server/workflows/drive.ts +46 -0
  184. package/src/deploy/vercel/tsconfig.json +9 -0
  185. package/src/deploy/vercel/types/bun.d.ts +2 -0
  186. package/src/durable-object.ts +386 -0
  187. package/src/hash.ts +5 -0
  188. package/src/identity-key.ts +20 -0
  189. package/src/identity.ts +66 -0
  190. package/src/index.ts +21 -0
  191. package/src/key-file.ts +53 -0
  192. package/src/listen-fetch.ts +409 -0
  193. package/src/listen.ts +228 -0
  194. package/src/local/command.ts +109 -0
  195. package/src/local/feed.ts +70 -0
  196. package/src/local/files.ts +812 -0
  197. package/src/local/git-watch.ts +189 -0
  198. package/src/local/git.ts +914 -0
  199. package/src/local/github.ts +692 -0
  200. package/src/local/identity.ts +21 -0
  201. package/src/local/jobs.ts +587 -0
  202. package/src/local/legacy-trust.ts +105 -0
  203. package/src/local/patch.ts +334 -0
  204. package/src/local/provider.ts +184 -0
  205. package/src/local/snapshots.ts +776 -0
  206. package/src/local/text.ts +9 -0
  207. package/src/local/tree.ts +398 -0
  208. package/src/local/workspace-migration.ts +95 -0
  209. package/src/local/worktrees.ts +239 -0
  210. package/src/mcp/config.ts +330 -0
  211. package/src/mcp/connect.ts +105 -0
  212. package/src/mcp/hub.ts +836 -0
  213. package/src/mcp/oauth.ts +436 -0
  214. package/src/mcp/tools.ts +333 -0
  215. package/src/open.ts +469 -0
  216. package/src/plugins/loader.ts +186 -0
  217. package/src/postgres.ts +492 -0
  218. package/src/providers.ts +135 -0
  219. package/src/secrets.ts +31 -0
  220. package/src/serve/binding.ts +628 -0
  221. package/src/serve/handler.ts +362 -0
  222. package/src/serve/stream-server.ts +176 -0
  223. package/src/session-index.ts +99 -0
  224. package/src/shell-env.ts +153 -0
  225. package/src/sqlite-workers.ts +283 -0
  226. package/src/sqlite.ts +528 -0
  227. package/src/store-owner.ts +98 -0
  228. package/src/store-rows.ts +110 -0
  229. package/src/store-usage.ts +344 -0
  230. package/src/usage-scan.ts +81 -0
  231. package/src/usage-service.ts +73 -0
  232. package/src/usage-summary.ts +79 -0
  233. package/src/usage-types.ts +87 -0
  234. package/src/usage-worker.ts +24 -0
  235. package/src/usage.ts +701 -0
@@ -0,0 +1,800 @@
1
+ # Third-party notices
2
+
3
+ Parts of this repository are ported from or derived from other projects. This
4
+ file lists the upstream projects and their licenses. The dependencies below
5
+ include MIT, Apache-2.0,
6
+ the MCP client's licensing-transition notice, the SIL Open Font License for
7
+ the bundled typefaces, and the proprietary Iconists license used by Central
8
+ Icons.
9
+
10
+ MIT notices are reproduced in full under each entry. The Apache License 2.0
11
+ covers several entries, so its full text appears once in the appendix at the
12
+ end of this file and those entries reference it there.
13
+
14
+ ## shadcn/ui
15
+
16
+ - Repository: https://github.com/shadcn-ui/ui
17
+ - What: the Message, Bubble, Marker, Attachment, MessageScroller and Questionnaire
18
+ component contracts and composition in `packages/ui` are adapted from commit
19
+ `d75a96ab781f3d659be1ad287347d5887ce9f2fc`.
20
+ - Package: `@shadcn/react` 0.3.1 supplies the headless scrolling and questionnaire behavior.
21
+
22
+ License: MIT, with the following notice:
23
+
24
+ ```text
25
+ MIT License
26
+
27
+ Copyright (c) 2023 shadcn
28
+
29
+ Permission is hereby granted, free of charge, to any person obtaining a copy
30
+ of this software and associated documentation files (the "Software"), to deal
31
+ in the Software without restriction, including without limitation the rights
32
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
33
+ copies of the Software, and to permit persons to whom the Software is
34
+ furnished to do so, subject to the following conditions:
35
+
36
+ The above copyright notice and this permission notice shall be included in all
37
+ copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ SOFTWARE.
46
+ ```
47
+
48
+ ## pi-claude-code (`earendil-works/pi-claude-code`)
49
+
50
+ - Repository: https://github.com/earendil-works/pi-claude-code
51
+ - What: the Claude Code CLI provider, single-turn relay, transcript replay,
52
+ process reuse, and billing guards in `packages/plugin/examples/claude-code`
53
+ are adapted from commit `70abb65186592ca788b29b3db22c3160d629c41f`.
54
+
55
+ License: MIT, with the following notice:
56
+
57
+ ```text
58
+ MIT License
59
+
60
+ Copyright (c) 2026 Armin Ronacher
61
+
62
+ Permission is hereby granted, free of charge, to any person obtaining a copy
63
+ of this software and associated documentation files (the "Software"), to deal
64
+ in the Software without restriction, including without limitation the rights
65
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
+ copies of the Software, and to permit persons to whom the Software is
67
+ furnished to do so, subject to the following conditions:
68
+
69
+ The above copyright notice and this permission notice shall be included in all
70
+ copies or substantial portions of the Software.
71
+
72
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78
+ SOFTWARE.
79
+ ```
80
+
81
+ ## pi (`earendil-works/pi`)
82
+
83
+ - Repository: https://github.com/earendil-works/pi
84
+ - What: the agent loop, provider adapters, auth and OAuth flows, schema types,
85
+ and assorted runtime utilities across `packages/ai`, `packages/core`,
86
+ `packages/schema`, `packages/tui`, and `packages/plugin` are ported from pi.
87
+ - Packages: `@earendil-works/pi-mcp` 1.0.0 and
88
+ `@earendil-works/pi-codemode` 1.0.0 supply the MCP client and QuickJS
89
+ executor. Tool discovery and code-mode integration are adapted from commit
90
+ `86dfceec402ad77e563bf4feab5f26c42d5f5db6`.
91
+ - Transcript reconciliation, checkpoint instruction snapshots, provider system
92
+ updates, and cache warming are ported from the 1.0.0 release commit
93
+ `a13d35a742c6ef8462812a28fbe1d8c8b7431c32`.
94
+
95
+ License: MIT, with the following notice:
96
+
97
+ ```text
98
+ MIT License
99
+
100
+ Copyright (c) 2025 Mario Zechner
101
+
102
+ Permission is hereby granted, free of charge, to any person obtaining a copy
103
+ of this software and associated documentation files (the "Software"), to deal
104
+ in the Software without restriction, including without limitation the rights
105
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
106
+ copies of the Software, and to permit persons to whom the Software is
107
+ furnished to do so, subject to the following conditions:
108
+
109
+ The above copyright notice and this permission notice shall be included in all
110
+ copies or substantial portions of the Software.
111
+
112
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
113
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
114
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
115
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
116
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
117
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
118
+ SOFTWARE.
119
+ ```
120
+
121
+ ## quickjs-wasi
122
+
123
+ - Repository: https://github.com/vercel-labs/quickjs-wasi
124
+ - Package: `quickjs-wasi` 3.6.2
125
+ - What: Pi code mode runs JavaScript in the packaged QuickJS WebAssembly engine.
126
+
127
+ ```text
128
+ MIT License
129
+
130
+ Copyright (c) 2026 Vercel, Inc.
131
+
132
+ Permission is hereby granted, free of charge, to any person obtaining a copy
133
+ of this software and associated documentation files (the "Software"), to deal
134
+ in the Software without restriction, including without limitation the rights
135
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
136
+ copies of the Software, and to permit persons to whom the Software is
137
+ furnished to do so, subject to the following conditions:
138
+
139
+ The above copyright notice and this permission notice shall be included in
140
+ all copies or substantial portions of the Software.
141
+
142
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
143
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
144
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
145
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
146
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
147
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
148
+ THE SOFTWARE.
149
+ ```
150
+
151
+ ## Pierre
152
+
153
+ - Repository: https://github.com/pierrecomputer/pierre
154
+ - Packages: `@pierre/diffs` 1.3.1, `@pierre/trees` 1.0.0-beta.4, with
155
+ `@pierre/theme` 2.0.0 and `@pierre/theming` 1.0.0 pulled transitively by the
156
+ diff renderer.
157
+ - What: the desktop app uses `@pierre/diffs` as a lazy leaf renderer for
158
+ unified patches and uses `@pierre/trees` only for its complete file-icon
159
+ resolver and sprite. The TUI's palettes (`packages/tui/src/lib/theme.ts`) take
160
+ their colors from `@pierre/theme`'s roles and their diff row fills from
161
+ `@pierre/diffs`' stylesheet. Nyte core remains the source of change, VCS,
162
+ file, and session identity; Pierre does not own application state or the
163
+ workbench composition.
164
+
165
+ License: Apache License 2.0, reproduced in the appendix below. Copyright 2025
166
+ Pierre Computer Company. The license text is also distributed in each package.
167
+
168
+ `@pierre/trees` includes the following upstream notice:
169
+
170
+ > This project includes some code derived from
171
+ > [@headless-tree/core](https://github.com/lukasbach/headless-tree). The initial
172
+ > version used `headless-tree` as the underlying tree implementation. Pierre
173
+ > later wrote its own core, while retaining ideas including drag and drop and
174
+ > the general list approach to rendering.
175
+
176
+ The corresponding license notice is:
177
+
178
+ ```text
179
+ MIT License
180
+
181
+ Copyright (c) 2023 Lukas Bach
182
+
183
+ Permission is hereby granted, free of charge, to any person obtaining a copy
184
+ of this software and associated documentation files (the "Software"), to deal
185
+ in the Software without restriction, including without limitation the rights
186
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
187
+ copies of the Software, and to permit persons to whom the Software is
188
+ furnished to do so, subject to the following conditions:
189
+
190
+ The above copyright notice and this permission notice shall be included in all
191
+ copies or substantial portions of the Software.
192
+
193
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
194
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
195
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
196
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
197
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
198
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
199
+ SOFTWARE.
200
+ ```
201
+
202
+ ## Central Icons
203
+
204
+ - Homepage: https://iconists.co/central
205
+ - Packages: `@central-icons-react/round-outlined-radius-2-stroke-1.5` and
206
+ `@central-icons-react/round-filled-radius-2-stroke-1.5` 1.1.318
207
+ - What: the desktop icon leaf maps Nyte semantic icon names to Central's React
208
+ glyphs. No icon SVG source is copied into Nyte source files.
209
+
210
+ License: the proprietary Iconists License Agreement distributed as the
211
+ package's `LICENSE.md` and published at https://iconists.co/license. Its seat,
212
+ redistribution, extraction, and 300-icons-per-style terms apply.
213
+
214
+ ## dnd kit
215
+
216
+ - Repository: https://github.com/clauderic/dnd-kit
217
+ - Package: `@dnd-kit/core` 6.3.1
218
+ - What: the desktop sidebar uses dnd kit for accessible session dragging,
219
+ drag overlays, and pane drop targets. Nyte retains ownership of pane layout
220
+ and drop-placement semantics.
221
+
222
+ License: MIT, with the following notice:
223
+
224
+ ```text
225
+ MIT License
226
+
227
+ Copyright (c) 2021, Claudéric Demers
228
+
229
+ Permission is hereby granted, free of charge, to any person obtaining a copy
230
+ of this software and associated documentation files (the "Software"), to deal
231
+ in the Software without restriction, including without limitation the rights
232
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
233
+ copies of the Software, and to permit persons to whom the Software is
234
+ furnished to do so, subject to the following conditions:
235
+
236
+ The above copyright notice and this permission notice shall be included in all
237
+ copies or substantial portions of the Software.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
240
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
241
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
242
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
243
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
245
+ SOFTWARE.
246
+ ```
247
+
248
+ ## Model Context Protocol TypeScript SDK
249
+
250
+ - Repository: https://github.com/modelcontextprotocol/typescript-sdk
251
+ - Package: `@modelcontextprotocol/sdk` 1.30.0
252
+ - What: local MCP server test fixtures use the SDK. Production MCP connections
253
+ use `@earendil-works/pi-mcp`, whose SDK-derived code retains the additional
254
+ notice below.
255
+
256
+ License: the package declares MIT in `package.json`. Its distributed `LICENSE`
257
+ records the MCP project's transition to Apache License 2.0, with contributions
258
+ whose relicensing consent has not been obtained remaining under MIT. The
259
+ complete applicable license text is distributed with the installed package and
260
+ published in the package repository.
261
+
262
+ Pi MCP distributes the following notice for its SDK-derived code:
263
+
264
+ ```text
265
+ MIT License
266
+
267
+ Copyright (c) 2024 Anthropic, PBC
268
+
269
+ Permission is hereby granted, free of charge, to any person obtaining a copy
270
+ of this software and associated documentation files (the "Software"), to deal
271
+ in the Software without restriction, including without limitation the rights
272
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
273
+ copies of the Software, and to permit persons to whom the Software is
274
+ furnished to do so, subject to the following conditions:
275
+
276
+ The above copyright notice and this permission notice shall be included in all
277
+ copies or substantial portions of the Software.
278
+
279
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
280
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
281
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
282
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
283
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
284
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
285
+ SOFTWARE.
286
+ ```
287
+
288
+ ## Agent Client Protocol (`agentclientprotocol/typescript-sdk`, `agentclientprotocol/registry`)
289
+
290
+ - Repositories: https://github.com/agentclientprotocol/typescript-sdk and
291
+ https://github.com/agentclientprotocol/registry
292
+ - Package: `@agentclientprotocol/sdk` 1.9.0
293
+ - What: the ACP model API in `packages/plugin/src/acp/` talks to agents through
294
+ the SDK's client connection and schema types.
295
+ `packages/plugin/src/acp/registry-seed.json` is a trimmed snapshot of the
296
+ registry's agent list (ids, names and launch commands), used until the first
297
+ registry fetch.
298
+
299
+ License: Apache License 2.0, reproduced in the appendix below. Copyright 2025
300
+ Zed Industries, Inc. and contributors. Neither project ships a `NOTICE` file, so
301
+ no additional attribution text is carried.
302
+
303
+ ## OpenAI Codex (`openai/codex`)
304
+
305
+ - Repository: https://github.com/openai/codex
306
+ - What: the Codex compaction request handling in
307
+ `packages/ai/src/api/openai-codex-responses.ts` is ported from the
308
+ `codex-rs` compaction endpoint.
309
+
310
+ License: Apache License 2.0, reproduced in the appendix below. The applicable
311
+ attribution from upstream's `NOTICE` at revision
312
+ `121f91fd5d9dc66017866ce9bdc49f1e182721df` is preserved here:
313
+
314
+ ```text
315
+ OpenAI Codex
316
+ Copyright 2025 OpenAI
317
+ ```
318
+
319
+ ## OpenCode (`anomalyco/opencode`)
320
+
321
+ - Repository: https://github.com/anomalyco/opencode
322
+ - What: the TUI slash-command autocomplete (`packages/tui/src/lib/slash.ts`,
323
+ `packages/tui/src/model/completion.ts`), the keymap wiring
324
+ (`packages/tui/src/app/keymap.ts`), the queued-prompt rows
325
+ (`packages/tui/src/ui/composer/queue.tsx`), Up/Down over a wrapped draft
326
+ (`packages/tui/src/model/history.ts`), and patch-hunk splitting in
327
+ `packages/tui/src/lib/output-diff.ts` are ported from OpenCode. The SDK admission
328
+ vocabulary (`steer`/`queue`, `wait`, opaque cursors) follows OpenCode's v2
329
+ design, as does re-delivery: `messages.redeliver`
330
+ (`packages/core/src/kernel/queue.ts`) follows OpenCode v2's inbox
331
+ `steer`/`queue`/`cancel` trio, and enter on an empty composer sending the
332
+ front of the queue (`packages/tui/src/model/interactions.ts`) is its
333
+ `onEmptySubmit`. The rename
334
+ plugin's context construction, prompt, model fallback, and output cleanup
335
+ (`packages/plugin/examples/rename.ts`) port OpenCode v2. The web-search
336
+ plugin set (`packages/plugin/examples/web-search/`) ports its Exa, Firecrawl,
337
+ Parallel, and Tavily adapters, its stateless MCP `tools/call` transport and
338
+ response bounds, its result and error vocabulary, and its arrangement of one
339
+ plugin per provider from OpenCode v2.
340
+ - Core's ripgrep resolver and search adapter (`packages/core/src/ripgrep.ts`,
341
+ `packages/core/src/ripgrep/binary.ts`) and filename search
342
+ (`packages/core/src/file-search.ts`) adapt OpenCode v2's core implementation.
343
+ - The TUI selection handlers, clipboard adapter, pasted-text expansion, Mermaid
344
+ renderer integration, queued-message editing, and local plugin reloads also
345
+ adapt merged V2 PRs #45758, #41603, #39920, #41113, #44683, #39776, and #47388.
346
+ Source functions retain upstream names; the source comments pin the merge commits.
347
+ - The 10 desktop scenarios in `packages/desktop/benchmark/` port OpenCode v2's
348
+ startup, navigation, streaming, retained-memory, terminal, workspace-cycle,
349
+ transport-reconnect, and Markdown-lifetime tests. Nyte runs them against the
350
+ real Electron process tree and adds CPU, idle-wakeup, RSS, process-count, and
351
+ macOS POWER measurements.
352
+
353
+ License: MIT, with the following notice:
354
+
355
+ ```text
356
+ MIT License
357
+
358
+ Copyright (c) 2025 opencode
359
+
360
+ Permission is hereby granted, free of charge, to any person obtaining a copy
361
+ of this software and associated documentation files (the "Software"), to deal
362
+ in the Software without restriction, including without limitation the rights
363
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
364
+ copies of the Software, and to permit persons to whom the Software is
365
+ furnished to do so, subject to the following conditions:
366
+
367
+ The above copyright notice and this permission notice shall be included in all
368
+ copies or substantial portions of the Software.
369
+
370
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
371
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
372
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
373
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
374
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
375
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
376
+ SOFTWARE.
377
+ ```
378
+
379
+ ## Beautiful Mermaid (`lukilabs/beautiful-mermaid`)
380
+
381
+ - Repository: https://github.com/lukilabs/beautiful-mermaid
382
+ - Package: `beautiful-mermaid` 1.1.3
383
+ - What: terminal Mermaid diagrams use its Unicode renderer. The docs also use
384
+ its SVG renderer.
385
+
386
+ License: MIT, with the following notice:
387
+
388
+ ```text
389
+ MIT License
390
+
391
+ Copyright (c) 2026 Craft Docs
392
+
393
+ Permission is hereby granted, free of charge, to any person obtaining a copy
394
+ of this software and associated documentation files (the "Software"), to deal
395
+ in the Software without restriction, including without limitation the rights
396
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
397
+ copies of the Software, and to permit persons to whom the Software is
398
+ furnished to do so, subject to the following conditions:
399
+
400
+ The above copyright notice and this permission notice shall be included in all
401
+ copies or substantial portions of the Software.
402
+
403
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
404
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
405
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
406
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
407
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
408
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
409
+ SOFTWARE.
410
+ ```
411
+
412
+ ## T3 Code (`pingdotgg/t3code`)
413
+
414
+ - Repository: https://github.com/pingdotgg/t3code
415
+ - The SQLite reader and checkpoint workers, large-parameter statement cache
416
+ bypass, and connection tuning in `packages/host/src/sqlite*.ts` are adapted
417
+ from `bf8ffe81a63c82d3de5fbaa9991fd5f30034a452`.
418
+ - Homepage: https://t3.codes
419
+ - What: the demo desktop app (`packages/demo/desktop`) follows T3 Code's
420
+ control-surface shape — agents in a sidebar, a conversation workspace, a
421
+ shared composer, and settings behind a dialog.
422
+
423
+ License: MIT, with the following notice:
424
+
425
+ ```text
426
+ MIT License
427
+
428
+ Copyright (c) 2026 T3 Tools Inc.
429
+
430
+ Permission is hereby granted, free of charge, to any person obtaining a copy
431
+ of this software and associated documentation files (the "Software"), to deal
432
+ in the Software without restriction, including without limitation the rights
433
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
434
+ copies of the Software, and to permit persons to whom the Software is
435
+ furnished to do so, subject to the following conditions:
436
+
437
+ The above copyright notice and this permission notice shall be included in all
438
+ copies or substantial portions of the Software.
439
+
440
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
441
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
442
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
443
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
444
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
445
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
446
+ SOFTWARE.
447
+ ```
448
+
449
+ ## Grok Build (`xai-org/grok-build`)
450
+
451
+ - Repository: https://github.com/xai-org/grok-build
452
+ - What: the TUI's startup appearance detection (`packages/tui/src/lib/theme.ts`)
453
+ ports the `env_appearance` module of `xai-grok-pager-render`; the spinner and
454
+ status glyphs (`packages/tui/src/lib/constants.ts`) port its `glyphs`. The slash
455
+ dropdown's layout and selection behavior
456
+ (`packages/tui/src/ui/composer/completion.tsx`,
457
+ `packages/tui/src/model/dialogs/list.ts`, `packages/tui/src/ui/dialogs/list.tsx`)
458
+ and the slash command model (`packages/tui/src/lib/slash.ts`) port
459
+ `xai-grok-pager`.
460
+ - All of the above are adaptations rather than copies: they are rewritten in
461
+ TypeScript against OpenTUI, and the semantic roles, detection order, and
462
+ fallbacks differ from upstream where Nyte's structure differs.
463
+
464
+ License: Apache License 2.0, reproduced in the appendix below. Copyright
465
+ 2023-2026 SpaceXAI. Upstream ships no `NOTICE` file, so no additional
466
+ attribution text is carried.
467
+
468
+ ## Honk (`interfaces-lab/honk`)
469
+
470
+ - Repository: https://github.com/interfaces-lab/honk
471
+ - What: the desktop app's dense vertical sidebar, model-selection structure,
472
+ work-detail controls, quiet grouped-work presentation, shared scrollport
473
+ styling, StyleX layout schema, and right-side Changes workbench adapt Honk's
474
+ interface structure to Nyte's SDK and TanStack Query projections.
475
+
476
+ License: MIT, with the following notice:
477
+
478
+ ```text
479
+ MIT License
480
+
481
+ Copyright (c) 2026 T3 Tools Inc.
482
+ Copyright (c) 2025 opencode
483
+
484
+ Permission is hereby granted, free of charge, to any person obtaining a copy
485
+ of this software and associated documentation files (the "Software"), to deal
486
+ in the Software without restriction, including without limitation the rights
487
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
488
+ copies of the Software, and to permit persons to whom the Software is
489
+ furnished to do so, subject to the following conditions:
490
+
491
+ The above copyright notice and this permission notice shall be included in all
492
+ copies or substantial portions of the Software.
493
+
494
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
495
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
496
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
497
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
498
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
499
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
500
+ SOFTWARE.
501
+ ```
502
+
503
+ ## EasyList and EasyPrivacy
504
+
505
+ - Homepage: https://easylist.to
506
+ - What: `packages/desktop/scripts/build-adblock.mjs` fetches both lists at build
507
+ time and serializes them into `resources/adblock.bin`, which the desktop app
508
+ bundles as an extra resource for the browser panel. No list text is copied
509
+ into Nyte source files. The engine that reads them is `@ghostery/adblocker`
510
+ (MPL-2.0), used as an ordinary dependency.
511
+
512
+ License: dual-licensed under the GNU General Public License version 3 and the
513
+ Creative Commons Attribution-ShareAlike 3.0 Unported license, at the user's
514
+ choice. Nyte redistributes the lists under CC BY-SA 3.0.
515
+
516
+ ## Inter (`rsms/inter`) and JetBrains Mono (`JetBrains/JetBrainsMono`)
517
+
518
+ - Repositories: https://github.com/rsms/inter,
519
+ https://github.com/JetBrains/JetBrainsMono
520
+ - What: the desktop app bundles both as variable WOFF2 files through
521
+ `@fontsource-variable/inter` and `@fontsource-variable/jetbrains-mono`,
522
+ loaded from `packages/desktop/src/renderer/src/main.tsx`. Inter is the
523
+ default interface face; JetBrains Mono is a selectable code face. The font
524
+ files are redistributed unmodified.
525
+
526
+ License: SIL Open Font License, Version 1.1. Copyright 2016 The Inter Project
527
+ Authors; Copyright 2020 The JetBrains Mono Project Authors. The full license
528
+ text ships alongside each package as `LICENSE`.
529
+
530
+ ## Fumadocs (`fuma-nama/fumadocs`)
531
+
532
+ - Repository: https://github.com/fuma-nama/fumadocs
533
+ - What: the docs site's Mermaid MDX component
534
+ (`packages/docs/src/components/mdx/mermaid.tsx`) is ported from the Fumadocs
535
+ docs app, adapted to render through `beautiful-mermaid` and to follow the
536
+ active light or dark theme without a client-side re-render.
537
+
538
+ License: MIT, with the following notice:
539
+
540
+ ```text
541
+ MIT License
542
+
543
+ Copyright (c) 2023 Fuma
544
+
545
+ Permission is hereby granted, free of charge, to any person obtaining a copy
546
+ of this software and associated documentation files (the "Software"), to deal
547
+ in the Software without restriction, including without limitation the rights
548
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
549
+ copies of the Software, and to permit persons to whom the Software is
550
+ furnished to do so, subject to the following conditions:
551
+
552
+ The above copyright notice and this permission notice shall be included in all
553
+ copies or substantial portions of the Software.
554
+
555
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
556
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
557
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
558
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
559
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
560
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
561
+ SOFTWARE.
562
+ ```
563
+
564
+ ## Design references
565
+
566
+ These credits record design sources. They do not grant a license to the
567
+ referenced products or imply endorsement.
568
+
569
+ ### Cursor
570
+
571
+ - Product: https://cursor.com
572
+ - Desktop design references include mention-preview folder rows, native
573
+ context menus and file-manager labels, transcript overscroll and edge
574
+ fades, collapsed-message previews, shell command and output presentation,
575
+ and Changes-panel shortcuts and default commit behavior in `packages/app`.
576
+ - The mention-preview reference is the file and folder path presentation in
577
+ `/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.glass.main.js`.
578
+ Scroll and fade references include `--composer-messages-bottom-overscroll`,
579
+ `--cursor-spacing-8`, `.composer-fade-overlay`, and `UMs`.
580
+ - Composer and read-only message behavior was studied in the workbench
581
+ modules `ComposerLexicalRenderer.js`, `ComposerRichTextInline.js`,
582
+ `promptInputRichText.js`, and `draftAgentRepositoryService.js`. Nyte uses
583
+ its own message model and workspace and draft visibility rules.
584
+ - A Cursor iOS study informed the mobile interaction order and visual
585
+ hierarchy. Its iPad layouts were adapted to iPhone rather than copied.
586
+
587
+ ## Appendix: Apache License 2.0
588
+
589
+ This is the license for Pierre, Grok Build, and OpenAI Codex above. Section 4
590
+ governs redistribution: it requires that recipients receive this license text,
591
+ that modified files say they were changed, and that copyright and attribution
592
+ notices are retained. The `Based on <link>` headers on each ported file carry
593
+ the change notice, and the copyright holders are named in their entries above.
594
+ None of these upstreams ships a `NOTICE` file, so section 4(d) adds nothing
595
+ here.
596
+
597
+ ```text
598
+
599
+ Apache License
600
+ Version 2.0, January 2004
601
+ http://www.apache.org/licenses/
602
+
603
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
604
+
605
+ 1. Definitions.
606
+
607
+ "License" shall mean the terms and conditions for use, reproduction,
608
+ and distribution as defined by Sections 1 through 9 of this document.
609
+
610
+ "Licensor" shall mean the copyright owner or entity authorized by
611
+ the copyright owner that is granting the License.
612
+
613
+ "Legal Entity" shall mean the union of the acting entity and all
614
+ other entities that control, are controlled by, or are under common
615
+ control with that entity. For the purposes of this definition,
616
+ "control" means (i) the power, direct or indirect, to cause the
617
+ direction or management of such entity, whether by contract or
618
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
619
+ outstanding shares, or (iii) beneficial ownership of such entity.
620
+
621
+ "You" (or "Your") shall mean an individual or Legal Entity
622
+ exercising permissions granted by this License.
623
+
624
+ "Source" form shall mean the preferred form for making modifications,
625
+ including but not limited to software source code, documentation
626
+ source, and configuration files.
627
+
628
+ "Object" form shall mean any form resulting from mechanical
629
+ transformation or translation of a Source form, including but
630
+ not limited to compiled object code, generated documentation,
631
+ and conversions to other media types.
632
+
633
+ "Work" shall mean the work of authorship, whether in Source or
634
+ Object form, made available under the License, as indicated by a
635
+ copyright notice that is included in or attached to the work
636
+ (an example is provided in the Appendix below).
637
+
638
+ "Derivative Works" shall mean any work, whether in Source or Object
639
+ form, that is based on (or derived from) the Work and for which the
640
+ editorial revisions, annotations, elaborations, or other modifications
641
+ represent, as a whole, an original work of authorship. For the purposes
642
+ of this License, Derivative Works shall not include works that remain
643
+ separable from, or merely link (or bind by name) to the interfaces of,
644
+ the Work and Derivative Works thereof.
645
+
646
+ "Contribution" shall mean any work of authorship, including
647
+ the original version of the Work and any modifications or additions
648
+ to that Work or Derivative Works thereof, that is intentionally
649
+ submitted to Licensor for inclusion in the Work by the copyright owner
650
+ or by an individual or Legal Entity authorized to submit on behalf of
651
+ the copyright owner. For the purposes of this definition, "submitted"
652
+ means any form of electronic, verbal, or written communication sent
653
+ to the Licensor or its representatives, including but not limited to
654
+ communication on electronic mailing lists, source code control systems,
655
+ and issue tracking systems that are managed by, or on behalf of, the
656
+ Licensor for the purpose of discussing and improving the Work, but
657
+ excluding communication that is conspicuously marked or otherwise
658
+ designated in writing by the copyright owner as "Not a Contribution."
659
+
660
+ "Contributor" shall mean Licensor and any individual or Legal Entity
661
+ on behalf of whom a Contribution has been received by Licensor and
662
+ subsequently incorporated within the Work.
663
+
664
+ 2. Grant of Copyright License. Subject to the terms and conditions of
665
+ this License, each Contributor hereby grants to You a perpetual,
666
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
667
+ copyright license to reproduce, prepare Derivative Works of,
668
+ publicly display, publicly perform, sublicense, and distribute the
669
+ Work and such Derivative Works in Source or Object form.
670
+
671
+ 3. Grant of Patent License. Subject to the terms and conditions of
672
+ this License, each Contributor hereby grants to You a perpetual,
673
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
674
+ (except as stated in this section) patent license to make, have made,
675
+ use, offer to sell, sell, import, and otherwise transfer the Work,
676
+ where such license applies only to those patent claims licensable
677
+ by such Contributor that are necessarily infringed by their
678
+ Contribution(s) alone or by combination of their Contribution(s)
679
+ with the Work to which such Contribution(s) was submitted. If You
680
+ institute patent litigation against any entity (including a
681
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
682
+ or a Contribution incorporated within the Work constitutes direct
683
+ or contributory patent infringement, then any patent licenses
684
+ granted to You under this License for that Work shall terminate
685
+ as of the date such litigation is filed.
686
+
687
+ 4. Redistribution. You may reproduce and distribute copies of the
688
+ Work or Derivative Works thereof in any medium, with or without
689
+ modifications, and in Source or Object form, provided that You
690
+ meet the following conditions:
691
+
692
+ (a) You must give any other recipients of the Work or
693
+ Derivative Works a copy of this License; and
694
+
695
+ (b) You must cause any modified files to carry prominent notices
696
+ stating that You changed the files; and
697
+
698
+ (c) You must retain, in the Source form of any Derivative Works
699
+ that You distribute, all copyright, patent, trademark, and
700
+ attribution notices from the Source form of the Work,
701
+ excluding those notices that do not pertain to any part of
702
+ the Derivative Works; and
703
+
704
+ (d) If the Work includes a "NOTICE" text file as part of its
705
+ distribution, then any Derivative Works that You distribute must
706
+ include a readable copy of the attribution notices contained
707
+ within such NOTICE file, excluding those notices that do not
708
+ pertain to any part of the Derivative Works, in at least one
709
+ of the following places: within a NOTICE text file distributed
710
+ as part of the Derivative Works; within the Source form or
711
+ documentation, if provided along with the Derivative Works; or,
712
+ within a display generated by the Derivative Works, if and
713
+ wherever such third-party notices normally appear. The contents
714
+ of the NOTICE file are for informational purposes only and
715
+ do not modify the License. You may add Your own attribution
716
+ notices within Derivative Works that You distribute, alongside
717
+ or as an addendum to the NOTICE text from the Work, provided
718
+ that such additional attribution notices cannot be construed
719
+ as modifying the License.
720
+
721
+ You may add Your own copyright statement to Your modifications and
722
+ may provide additional or different license terms and conditions
723
+ for use, reproduction, or distribution of Your modifications, or
724
+ for any such Derivative Works as a whole, provided Your use,
725
+ reproduction, and distribution of the Work otherwise complies with
726
+ the conditions stated in this License.
727
+
728
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
729
+ any Contribution intentionally submitted for inclusion in the Work
730
+ by You to the Licensor shall be under the terms and conditions of
731
+ this License, without any additional terms or conditions.
732
+ Notwithstanding the above, nothing herein shall supersede or modify
733
+ the terms of any separate license agreement you may have executed
734
+ with Licensor regarding such Contributions.
735
+
736
+ 6. Trademarks. This License does not grant permission to use the trade
737
+ names, trademarks, service marks, or product names of the Licensor,
738
+ except as required for reasonable and customary use in describing the
739
+ origin of the Work and reproducing the content of the NOTICE file.
740
+
741
+ 7. Disclaimer of Warranty. Unless required by applicable law or
742
+ agreed to in writing, Licensor provides the Work (and each
743
+ Contributor provides its Contributions) on an "AS IS" BASIS,
744
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
745
+ implied, including, without limitation, any warranties or conditions
746
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
747
+ PARTICULAR PURPOSE. You are solely responsible for determining the
748
+ appropriateness of using or redistributing the Work and assume any
749
+ risks associated with Your exercise of permissions under this License.
750
+
751
+ 8. Limitation of Liability. In no event and under no legal theory,
752
+ whether in tort (including negligence), contract, or otherwise,
753
+ unless required by applicable law (such as deliberate and grossly
754
+ negligent acts) or agreed to in writing, shall any Contributor be
755
+ liable to You for damages, including any direct, indirect, special,
756
+ incidental, or consequential damages of any character arising as a
757
+ result of this License or out of the use or inability to use the
758
+ Work (including but not limited to damages for loss of goodwill,
759
+ work stoppage, computer failure or malfunction, or any and all
760
+ other commercial damages or losses), even if such Contributor
761
+ has been advised of the possibility of such damages.
762
+
763
+ 9. Accepting Warranty or Additional Liability. While redistributing
764
+ the Work or Derivative Works thereof, You may choose to offer,
765
+ and charge a fee for, acceptance of support, warranty, indemnity,
766
+ or other liability obligations and/or rights consistent with this
767
+ License. However, in accepting such obligations, You may act only
768
+ on Your own behalf and on Your sole responsibility, not on behalf
769
+ of any other Contributor, and only if You agree to indemnify,
770
+ defend, and hold each Contributor harmless for any liability
771
+ incurred by, or claims asserted against, such Contributor by reason
772
+ of your accepting any such warranty or additional liability.
773
+
774
+ END OF TERMS AND CONDITIONS
775
+
776
+ APPENDIX: How to apply the Apache License to your work.
777
+
778
+ To apply the Apache License to your work, attach the following
779
+ boilerplate notice, with the fields enclosed by brackets "[]"
780
+ replaced with your own identifying information. (Don't include
781
+ the brackets!) The text should be enclosed in the appropriate
782
+ comment syntax for the file format. We also recommend that a
783
+ file or class name and description of purpose be included on the
784
+ same "printed page" as the copyright notice for easier
785
+ identification within third-party archives.
786
+
787
+ Copyright [yyyy] [name of copyright owner]
788
+
789
+ Licensed under the Apache License, Version 2.0 (the "License");
790
+ you may not use this file except in compliance with the License.
791
+ You may obtain a copy of the License at
792
+
793
+ http://www.apache.org/licenses/LICENSE-2.0
794
+
795
+ Unless required by applicable law or agreed to in writing, software
796
+ distributed under the License is distributed on an "AS IS" BASIS,
797
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
798
+ See the License for the specific language governing permissions and
799
+ limitations under the License.
800
+ ```