okami.mom/albedo

git clone https://git.nkp.pet/okami.mom/albedo

dawnAdd /cd: a folder picker that moves a session, and descendants follow3b601a9

main
3.8 KiB89 linesraw

Third party notices

prime-agent

The Python kernel's saved-state design follows prime-agent's REPL runtime (prime-agent-runtime/src/rlm/repl.py): serialise each top-level name on its own so one unserialisable object costs only itself, cap per variable and in aggregate, write through a temporary file in the same directory, and record the working directory alongside the values. Albedo's implementation (priv/python/albedo_kernel.py, save_state and load_state) is its own code and falls back to pickle where prime-agent requires dill.

prime-agent is distributed under the MIT License:

MIT License

Copyright (c) 2025 Mario Zechner
Copyright (c) 2026 Prime Intellect

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

JetBrains Mono

native/render/fonts/JetBrainsMonoNL-Medium.ttf is JetBrains Mono 2.304, bundled unmodified into albedo-render to draw code for files.view_code. Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono). It is licensed under the SIL Open Font License, Version 1.1, whose full text sits beside the font in native/render/fonts/JetBrainsMono-OFL.txt.

arborium

albedo-render links arborium (https://github.com/bearcove/arborium), MIT OR Apache-2.0, and the tree-sitter grammars its enabled lang-* features compile in, each under its own upstream license. They are fetched by Cargo, not vendored here; native/render/Cargo.lock pins their versions.

linguist

priv/linguist/languages.yml and priv/linguist/popular.yml are GitHub linguist's language table and popular-language list (https://github.com/github-linguist/linguist, lib/linguist/), shipped unmodified. The folder browser reads them for file languages, their colours and the language shares in /fs/preview.

linguist is distributed under the MIT License:

Copyright (c) 2017 GitHub, Inc.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
1# Third party notices
2
3## prime-agent
4
5The Python kernel's saved-state design follows prime-agent's REPL runtime
6(`prime-agent-runtime/src/rlm/repl.py`): serialise each top-level name on its
7own so one unserialisable object costs only itself, cap per variable and in
8aggregate, write through a temporary file in the same directory, and record the
9working directory alongside the values. Albedo's implementation
10(`priv/python/albedo_kernel.py`, `save_state` and `load_state`) is its own code
11and falls back to `pickle` where prime-agent requires `dill`.
12
13prime-agent is distributed under the MIT License:
14
15```
16MIT License
17
18Copyright (c) 2025 Mario Zechner
19Copyright (c) 2026 Prime Intellect
20
21Permission is hereby granted, free of charge, to any person obtaining a copy
22of this software and associated documentation files (the "Software"), to deal
23in the Software without restriction, including without limitation the rights
24to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25copies of the Software, and to permit persons to whom the Software is
26furnished to do so, subject to the following conditions:
27
28The above copyright notice and this permission notice shall be included in all
29copies or substantial portions of the Software.
30
31THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37SOFTWARE.
38```
39
40## JetBrains Mono
41
42`native/render/fonts/JetBrainsMonoNL-Medium.ttf` is JetBrains Mono 2.304,
43bundled unmodified into `albedo-render` to draw code for `files.view_code`.
44Copyright 2020 The JetBrains Mono Project Authors
45(https://github.com/JetBrains/JetBrainsMono). It is licensed under the SIL Open
46Font License, Version 1.1, whose full text sits beside the font in
47`native/render/fonts/JetBrainsMono-OFL.txt`.
48
49## arborium
50
51`albedo-render` links arborium (https://github.com/bearcove/arborium),
52MIT OR Apache-2.0, and the tree-sitter grammars its enabled `lang-*` features
53compile in, each under its own upstream license. They are fetched by Cargo,
54not vendored here; `native/render/Cargo.lock` pins their versions.
55
56## linguist
57
58`priv/linguist/languages.yml` and `priv/linguist/popular.yml` are GitHub
59linguist's language table and popular-language list
60(https://github.com/github-linguist/linguist, `lib/linguist/`), shipped
61unmodified. The folder browser reads them for file languages, their colours
62and the language shares in `/fs/preview`.
63
64linguist is distributed under the MIT License:
65
66```
67Copyright (c) 2017 GitHub, Inc.
68
69Permission is hereby granted, free of charge, to any person
70obtaining a copy of this software and associated documentation
71files (the "Software"), to deal in the Software without
72restriction, including without limitation the rights to use,
73copy, modify, merge, publish, distribute, sublicense, and/or sell
74copies of the Software, and to permit persons to whom the
75Software is furnished to do so, subject to the following
76conditions:
77
78The above copyright notice and this permission notice shall be
79included in all copies or substantial portions of the Software.
80
81THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
82EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
83OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
84NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
85HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
86WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
87FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
88OTHER DEALINGS IN THE SOFTWARE.
89```