Repository navigation
onlyworlds 0.89.0
-
door_where(door): where one entry ofdoors_ofwrote the element, as the where-phrase a "Last shaped" line shows, and nothing else (no reader, no time: "by you" and when stay the caller's). It pairs withdoors_of: pass it an entry asdoors_ofgives it, its tools-list match already made. The words are the ones the Open with menu will use:- a listed tool (
toolnot None):in <tool name>, such asin Atlas; this rule comes first; site:on onlyworlds.com;- an agent's door (
seat,mcp,declared):with an AI; server:by OnlyWorlds;- anything else (
sync,api,v1, a client the tools list does not hold, such assdk):in code.
An entry that is not a mapping, a
doorthat is not a string, or atoolthat is neither None nor a mapping with a stringnameraisesTypeError. The shared fixture gives every case awherelist, one phrase per expected entry, and a case with every rule's word (27 cases); the npm SDK'sdoorWhereanswers it phrase for phrase. - a listed tool (