tloncorp / landscape

14 stars 16 forks source link

lib: support summarization of new groups backend #240

Closed Fang- closed 8 months ago

Fang- commented 8 months ago

/lib/summarize now supports building summaries off of the new /app/channels. If that agent is running, it will use the new summarization logic. If it's not, it will continue on as it has.

Somewhat important to get this out the door ahead of the new groups backend release. If a ship uses the old version of this library while the new groups backend is installed, summarization logic may crash. In practice, this probably only affects reports for %bark. (But third-party devs using this library are encouraged to pull in this latest version also.)

Also pulls in the necessary sur file dependencies. If those change, in particular the ones including types we scry for, we may need to update the files here again. (One such change is probably on the way, we may want to hold off on merging for at least a day.)
(The /sur/chat-2 included here is a version that has been stripped of its references to /lib/graph-store. The types/functions for that aren't used in this desk, and the dependency was giving import troubles. At some point after this release cycle, we should clean up the tangled dependency situation.)

LAND-1211