@jennybryan@fosstodon.org thank you, it's great to have that documentation on wrapping glue functions.
I bumped into that parent.frame issue recently:
https://post.lurk.org/@ludictech/112989620800004404
and figured out some kind of solution. It sounds like understanding this better will help me when working with cli and other related systems 👍🏻