Answer a local Hug
Standalone mode: the person at the terminal answers (what cliq run sends). values are
checked against the Hug’s inputs; a file input takes { path, name, size, sha256 } for a
file copied into the Hug’s directory (.cliq/hugs/<hug_id>/), and the file on disk must
suit the input (its accepted types and size). The daemon then moves it into its own store
and the answer carries a reference to it, as a CliqHub answer would. The answer counts for
every channel the Hug went to.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Authorizations
Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.
Body
The Hug
1Answers keyed by requested-input name; a file is { path, name, size, sha256 } inside the Hug directory
An optional note for the requester
10000Name shown to the requester (default: the OS user)
1 - 200