mirror of
https://github.com/hanzoai/base.git
synced 2026-08-05 11:12:33 +00:00
`plugins/jsvm/internal/types/generated/types.d.ts` carried literal `<<<<<<< HEAD` / `=======` / `>>>>>>> upstream/master` at lines 23807-23850, committed, from an old upstream merge nobody finished. The file's own first line reads GENERATED CODE - DO NOT MODIFY BY HAND, so it was not hand-edited around: `make jstypes` (go run ./plugins/jsvm/internal/types/types.go) was run, which is the one way this file is produced. Regenerating showed the markers were the smaller half of the problem — the file was badly stale. Nothing was lost (every namespace present before is still present, `declare function` count unchanged at 17) and NINE namespaces appear that Base's own packages have exported for some time: crdt, tasks, network, metric, logger, query, json, big, rsa. Hook authors writing JS against Base had no types for any of them. Worth knowing for whoever adds a regenerate-and-diff gate: the generator prepends `// <unix timestamp>` to line 1, so this file is never byte-reproducible across runs and such a gate must ignore that line. Co-authored-by: Hanzo Dev <dev@hanzo.ai>