Watch
0
0
Fork
You've already forked hyperhive
0

the built-in archetypes come with a default prompt

This commit is contained in:
atlas 2026-11-11 02:55:25 +01:00 • committed by mara
commit 039896c506

View file

@ -291,7 +291,7 @@ let
# output and prints it as JSON. A derivation or a path in `meta` would
# make that evaluation build or copy something; a function would not
# print at all.
name = "the built-in archetypes carry a module and a meta of plain data, and reviewer can run commands and android-dev installs its toolchain and reverse-engineer turns rea on, and each sets an svg icon as a default";
name = "the built-in archetypes carry a module and a meta of plain data, and reviewer can run commands and android-dev installs its toolchain and reverse-engineer turns rea on, and each sets an svg icon as a default, and each has a non-empty prompt under the 64 KiB cap";
ok =
let
plain =
@ -310,6 +310,9 @@ let
in
lib.all (a: a ? module && a.meta.description != "") (lib.attrValues archetypes)
&& plain metas
&& lib.all (m: (m.prompt or "") != "" && builtins.stringLength m.prompt <= 65536) (
lib.attrValues metas
)
&& lib.elem "messaging" reviewer
&& lib.elem "inbox" reviewer
&& lib.elem "execution" reviewer