fix(tlon): Fix Zod v4 record() and @urbit/aura v3 API changes (#1631)

* fix(tlon): Fix Zod v4 record() and @urbit/aura v3 API changes

- Fix Zod v4.3.6 bug: single-arg z.record() fails with toJSONSchema()
  - Use two-arg form: z.record(z.string(), schema)
  - Fixes 'Cannot read properties of undefined (reading _zod)' error

- Fix @urbit/aura v3.0.0 API migration:
  - unixToDa() → da.fromUnix()
  - formatUd() → scot('ud', ...)
  - Fixes '(0 , _aura.unixToDa) is not a function' error

These were blocking Tlon plugin loading and outbound messaging.

* fix: add tlon schema/aura tests (#1631) (thanks @arthyn)

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
Hunter Miller
2026-01-24 15:09:18 -06:00
committed by GitHub
parent 5330595a5a
commit 8a2720db4c
5 changed files with 75 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ Docs: https://docs.clawd.bot
- Web UI: hide internal `message_id` hints in chat bubbles.
- Heartbeat: normalize target identifiers for consistent routing.
- Gateway: reduce log noise for late invokes + remote node probes; debounce skills refresh. (#1607) Thanks @petter-b.
- Tlon: fix Zod v4 record keys + aura v3 DM ids. (#1631) Thanks @arthyn.
## 2026.1.23-1