genie-toolkit
genie-toolkit copied to clipboard
Does not compile with npm 7
For some unscrutable reason, npm 7 changed how git deps are prepared, and now repos that use genie-toolkit (like almond-server or thingpedia-common-devices) no longer build genie-toolkit correctly: the templates fail to build because they fail to locate the genie-toolkit.d.ts file
I think the solution here will be to remove entirely the ability to specify templates outside of Genie. Templates will be shipped with Genie and there will only ever be one template pack (+ flags). Programmability of dialogues will come in a different way, by configuring the transaction/slot filling templates with custom ThingTalk logic (see https://wiki.almond.stanford.edu/en/genie/design-notes/unified-control-language for a summary of current designs). @rayslxu opinions? We'll drop sempre templates when we do that.
(originally reported independently by @aydanpirani and @james-zhuang)
Agree with shipping pre-compiled templates.
FWIW that issue should be long solved, but we have other issues with node 16 and npm 7.