Files
zeekay 238dd248ed Read the platform model, do not ship it
The model was compiled in with go:embed, so every clone and every binary
carried a 1.9MB artifact this repository does not own, under a licence that
needed its own carve-out in LICENSE, its own section in NOTICE, and a
LICENSE-EPL beside them.

It is now read at start from model.json in the data directory. A deployment
that has the artifact supplies it; this repository redistributes nothing.
Absent is not an error -- loadModel returns nil for a file that is not there
and buildHierarchy already answered an empty hierarchy for input it cannot
parse -- so a server without one starts and serves an empty model rather
than refusing to boot over a file it cannot carry.

The model moves onto the server, which is where a value read at Register
belongs; sessions reach it through the server they already hold. Tests carry
their own small model, the ten classes they exercise, hand-written: they
never depended on its contents, only that the model served is the model
held.

LICENSE is MIT OR Apache-2.0 with no exception. NOTICE lists dependencies
only.
2026-09-01 00:48:49 -07:00

15 lines
583 B
Plaintext

Hanzo Team
Copyright (c) 2026 Hanzo AI, Inc.
This product is licensed MIT OR Apache-2.0, EXCEPT for the third-party
dependencies listed below, which remain under their own licence. See LICENSE.
================================================================================
Base / PocketBase — MIT
================================================================================
This product depends on Base (https://github.com/hanzoai/base), a fork of
PocketBase (https://github.com/pocketbase/pocketbase), licensed under MIT:
Copyright (c) 2022 - present, Gani Georgiev