mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 09:59:41 -05:00
Both are Cap'n Proto calls on sandstorm-http-bridge's /tmp/sandstorm-api; the bridge's HTTP proxy has no route for either. They went through node-capnp (capnp.node), built for Node 14, so a grain ran without them. imports/sandstorm/bridgeClient.mjs now makes the same calls in plain JavaScript with @wekanteam/capnp-es, using schema classes generated from Sandstorm's .capnp files by releases/sandstorm-capnp-schemas.sh. The activity hook reads the board from the activity instead of the removed hard-coded 'sandstorm' board, and a notification that cannot be sent no longer fails the change. The .spk drops the 33.6 MB capnp.node. tests/sandstormCapnpRpc.test.cjs drives every RPC message from a hand-built peer, and runs the same cases plus WeKan's bridge calls against the reference C++ RPC implementation with Sandstorm's schemas. Thanks to xet7 !