Expand description
Domains & semantic mail/address stack
Functions§
- accept_
coop_ share_ package - Accept a coop share package or a bare connect-invite JSON (one paste). Connects to the host, scopes the project, admits host+self on the local roster, registers mesh peer when magic_link is present, and opens a project group chat when possible.
- add_
mail_ domain - Add a context-domain (single-owner).
agent_typeis a token: person/org/ai/service/content/group. - cf_
list_ zones - List the Cloudflare zones (domains) the token can manage.
- cf_
provision_ pages_ project - Provision a Cloudflare Pages project linked to a GitHub repo.
- cf_
provision_ r2_ bucket - Provision a Cloudflare R2 bucket.
- cf_
provision_ tunnel - Provision a Cloudflare Tunnel.
- cf_
provision_ worker - Provision a Cloudflare Worker using the local vendor JS file.
- cf_
publish_ front_ door - Publish the domain’s
_qdpTXT front-door record to Cloudflare (no hosting needed). - cf_
route_ tunnel_ dns - Route a Cloudflare Tunnel in DNS.
- cf_
verify_ token - Verify a Cloudflare API token (the easy-install front-door publishing path).
- coop_
share_ package - Build a pasteable coop share package — one blob the joiner pastes under People → Accept. Always embeds a signed connect invite (enables invites if needed). Never includes private keys.
- create_
project_ group_ chat - Create a group chat for a project from its collaborator roster (+ optional extra DIDs).
Returns
{ session_id, title, participants }. - extract_
invite_ json_ from_ package - Pure: pull the connect-invite JSON string out of a coop package or bare invite object. Used by accept + unit tests (no APP_STATE).
- front_
door_ forms - The QDP front-door forms for a domain — the DNS TXT (no-hosting anchor), the DNS record name, and the rich profile in Turtle + JSON-LD (served by the local HTTP server over the mesh when hosting).
- github_
deploy_ static_ site - Create a GitHub repository and push static site files.
- github_
verify_ token - Verify a GitHub PAT.
- list_
mail_ addresses - Addresses (optionally filtered to one domain).
- list_
mail_ domains - The person’s context-domains (personal/work/projects/…), each an agent with a front-door DID.
- load_
mail_ transport_ config - mail_
fetch - Fetch unseen mail via IMAP, apply semantic delivery + rules, and store accepted mail in the local inbox (same store as the SMTP receiver).
- mail_
now_ unix - mail_
send - Send mail via SMTP.
smtp_json=SmtpConfig,mail_json=OutgoingMail. - mint_
purpose_ inbox - Mint a purpose inbox (
frontdoor@,junkmail@, …).rules_jsonis aMailRulesobject (or empty). - mint_
relationship_ address - Mint a per-relationship (pairwise) address bound to a relationship DID.
- onboard_
mail_ domain - Onboard mail for a registered domain: mint purpose presets + catchall, then auto-start the local SMTP receiver so the product path finishes without a second hunt.
- parse_
magic_ link - Parse a magic link (deep link / https / bare
qcx1_…) into the connection identifier it carries. - purpose_
inbox_ presets - Built-in purpose-inbox presets (frontdoor/junkmail/mygov/newsletters).
- resolve_
mail_ delivery - Resolve how mail to
to_addresswould be handled (exact / catchall / reject) — pure, for UI/debug. - save_
mail_ transport_ config - Persist SMTP/IMAP prefs (app_meta_dir). Passwords stored locally — same trust as desktop secrets.
- set_
mail_ address_ enabled - Enable/disable an address (the surgical per-relationship revoke). Returns the refreshed list.
- start_
qdp_ server - Start serving
/.well-known/QDPfor a domain from a local HTTP server (self-host over the mesh). - talk_
setup_ status - Human-readable readiness for Talk: domains, mailboxes, receiver, people, so first-run can guide.