Files
waggle-os/packages/core/LICENSE.md
shumeiko.it 0fef37ac53 chore(core): mark the files copied from hive-mind-core as Apache-2.0
The logger, injection scanner, ingress guard, WorkspaceManager, embedders,
recall helpers and execution traces came from @waggle/hive-mind-core
(Apache-2.0); awareness, identity and parts of WaggleDB were adapted from
it. They keep Apache-2.0: an SPDX header with the original copyright line
and the source file, packages/core/LICENSE.md listing them,
LICENSE-APACHE with the full text, and "MIT AND Apache-2.0" in
package.json. A test keeps the list and the headers in step. No code
changes.

Logs UF-069: the hive-mind-core LICENSE is an abridged Apache text.
2026-11-04 10:19:05 +01:00

48 lines
3.2 KiB
Markdown

# License of `@waggle/core`
This package is licensed under the MIT License (the `LICENSE` file at the repository root),
except the files listed below. They were copied from `@waggle/hive-mind-core`, a package of
the commercial Waggle repository licensed under the Apache License, Version 2.0, and keep that
license. The full license text is in [`LICENSE-APACHE`](LICENSE-APACHE).
Copyright 2026 Marko Marković · Egzakta Group · waggle-os.ai
Each file starts with an `SPDX-License-Identifier: Apache-2.0` header, this copyright line and
the file it was copied from. The source files are bundled into the sidecar (`service.js`), so
`THIRD_PARTY_NOTICES.md` lists them as well; the tests do not ship.
`tests/license-headers.test.ts` checks that this list and the headers agree.
| File | Copied from (`packages/hive-mind-core/`) | Changed |
|---|---|---|
| `src/awareness.ts` | `src/mind/awareness.ts` | yes |
| `src/embeddings/api-embedder.ts` | `src/mind/api-embedder.ts` | no |
| `src/embeddings/embedding-provider.ts` | `src/mind/embedding-provider.ts` | yes |
| `src/embeddings/embeddings.ts` | `src/mind/embeddings.ts` | parts (the `Embedder` interface) |
| `src/embeddings/inprocess-embedder.ts` | `src/mind/inprocess-embedder.ts` | yes |
| `src/embeddings/litellm-embedder.ts` | `src/mind/litellm-embedder.ts` | no |
| `src/embeddings/ollama-embedder.ts` | `src/mind/ollama-embedder.ts` | no |
| `src/embeddings/transformers-model-load.ts` | `src/mind/transformers-model-load.ts` | no |
| `src/execution-traces.ts` | `src/mind/execution-traces.ts` | yes |
| `src/identity.ts` | `src/mind/identity.ts` | yes |
| `src/injection-scanner.ts` | `src/injection-scanner.ts` | no |
| `src/logger.ts` | `src/logger.ts` | yes |
| `src/memory-ingress-guard.ts` | `src/memory-ingress-guard.ts` | no |
| `src/recall/inprocess-reranker.ts` | `src/mind/inprocess-reranker.ts` | yes |
| `src/recall/parse-date-window.ts` | `src/mind/parse-date-window.ts` | yes |
| `src/recall/recall-context.ts` | `src/mind/recall-context.ts` | no |
| `src/recall/resolve-relative-date.ts` | `src/mind/resolve-relative-date.ts` | yes |
| `src/waggle-db.ts` | `src/mind/db.ts` | parts (the connection setup and the meta accessors) |
| `src/workspace-manager.ts` | `src/workspace-manager.ts` | yes |
| `tests/embeddings/embedding-provider.test.ts` | `tests/mind/embedding-provider.test.ts` | yes |
| `tests/embeddings/inprocess-embedder.test.ts` | `tests/mind/inprocess-embedder.test.ts` | yes |
| `tests/embeddings/transformers-model-load.test.ts` | `tests/mind/transformers-model-load.test.ts` | yes |
| `tests/logger.test.ts` | `tests/logger.test.ts` | yes |
| `tests/memory-ingress-guard.test.ts` | `tests/memory-ingress-guard.test.ts` | yes |
| `tests/recall/inprocess-reranker.test.ts` | `tests/mind/inprocess-reranker.test.ts` | yes |
| `tests/recall/parse-date-window.test.ts` | `tests/mind/parse-date-window.test.ts` | yes |
| `tests/recall/resolve-relative-date.test.ts` | `tests/mind/resolve-relative-date.test.ts` | yes |
| `tests/workspace-manager.test.ts` | `tests/workspace-manager.test.ts` | yes |
New files in this package and changes to the MIT files are MIT-licensed. A file added here
from `@waggle/hive-mind-core` needs the same header and a row in this table.