MIT License

Copyright (c) 2026 Haruhito

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.

------------------------------------------------------------------------------
Open-core note:
Sofuu follows an open-core model. The MIT License above covers the entire
Sofuu execution runtime codebase: the engine, CLI, JavaScript/TypeScript
APIs, agents, MCP client/server, HTTP, vector operations, the local-memory
subsystem's runtime code, embeddings, and core developer tooling.

It DOES NOT cover the design, mathematics, or specification of the QTSQ
tensor format, nor any future hosted, cloud, enterprise, or managed
offerings. Those remain proprietary — see `LICENSES/QTSQ-FORMAT.txt` for
the QTSQ format terms. Note: that license grants free use of the Format
through Sofuu itself (personal and commercial, no fees); what stays
restricted is forking the spec and independent competing implementations.
The `qtsq` codec library itself is likewise proprietary; builds that cannot
find it compile without the persistent-memory subsystem.
The full boundary is stated in the "Open core" section of `README.md`.

Third-party components:
Sofuu links or bundles QuickJS, libuv, http-parser, libcurl, libopus and a
large set of Rust crates, each under its own licence. Their copyright notices
and licence texts are reproduced in `NOTICE` — and, from v0.3.1 onward, that
file travels inside every release archive next to the binary. `NOTICE` is
part of the distribution and must not be removed.
