{"schema":"ankle.atcmd.manifest.v1","product":"@command","owner":"ANKLE","runtime_api":"https://aleqth.com","registry_url":"https://aleqth.com/atcmd/registry","public_widget_src":"https://ankle.website/atcmd/widget.js","runtime_widget_src":"https://aleqth.com/atcmd/widget.js","domain_roles":{"ankle.website":{"role":"public distribution and install surface","duties":["host the canonical product story","offer the browser extension and public widget installer","route builders to /widget, /install, /credits, and examples"]},"ankle.md":{"role":"protocol canon and static spec mirror","duties":["publish the @command protocol shape","mirror snippets and verification docs","serve as the low-noise reference for agents and builders"]},"aleqth.com":{"role":"authenticated runtime, account, API, credits, and lab","duties":["own identity handoff and app tokens","write analytics and SURF attribution events","serve God-eye, Operator Desk, dashboard, credits, and data APIs"]},"external_hosts":{"role":"third-party pages activated as ANKLE surfaces","duties":["load the public widget script","declare widgets and sources with data attributes","send usage signals into the ANKLE graph while keeping their own domain and design"]}},"activation":[{"step":"discover","actor":"builder","action":"Find @command through ankle.website/install, ankle.website/widget, ankle.md, the extension, or a shared snippet.","result":"Builder understands that @command is an ANKLE product, while aleqth.com remains the authenticated runtime."},{"step":"install","actor":"builder","action":"Paste the script tag, or let the extension inject it for the current site.","result":"The host page receives the terminal, identity bar, and widget runtime."},{"step":"register","actor":"widget","action":"POST /atcmd/surface/register with origin, page URL, title, tags, and manifest metadata.","result":"A deterministic external surface id is created and God-eye can see the host."},{"step":"mount","actor":"builder","action":"Add data-ankle-widget blocks for discplayer, SoundCloud, used-in cards, sources, or approved custom modules.","result":"The page becomes a connected ANKLE surface without being rebuilt on aleqth.com."},{"step":"attribute","actor":"widget","action":"POST /atcmd/source for embeds, images, media, and references.","result":"External sources enter SURF and the used-in backlink graph."},{"step":"operate","actor":"Hermes and @command agents","action":"Read the registry, surface events, and source graph to explain, install, modify, or verify widgets.","result":"Agents can apply system changes across native pages, external hosts, and the browser extension."},{"step":"monetize","actor":"builder and ANKLE","action":"Use credits, Whop checkout, premium widgets, missions, and marketplace listings around approved modules.","result":"User-created experiences can become callable products in the @command network."}],"commands":[{"command":"/activate","status":"core","description":"Explain and open the external-surface activation workflow."},{"command":"/registry","status":"core","description":"List approved/candidate widgets and app modules."},{"command":"/widgets","status":"core","description":"Alias for the registry view."},{"command":"/source <url>","status":"core","description":"Attribute an external source to the current host page."},{"command":"/used-in <url>","status":"core","description":"Show where an attributed source has appeared."},{"command":"/install","status":"core","description":"Open the field-kit install path."},{"command":"/credits","status":"core","description":"Open Whop-backed ANKLE credit packs."},{"command":"/scope [source]","status":"experimental","description":"Mount or explain the ANKLE Scope signal/data visualizer widget."},{"command":"/build <request>","status":"experimental","description":"Generate a scoped host-site build plan with HTML, CSS, iframe/srcdoc, and patch instructions."},{"command":"/host","status":"experimental","description":"Declare or inspect the current host page capability/tool surface."}],"widgets":[{"id":"atcmd-terminal","handle":"terminal","status":"core","title":"@command terminal","mount":"script","capabilities":["identity","chat","commands","credits","agent-help"],"monetization":"credits for agent actions; free signed-out install/sign-in surface"},{"id":"discplayer","handle":"discplayer","status":"core","title":"discplayer embed wrapper","mount":"data-ankle-widget=\"discplayer\"","capabilities":["iframe","source-attribution","analytics","Hermes-help"],"monetization":"eligible for premium widget listings and creator usage analytics"},{"id":"soundcloud","handle":"soundcloud","status":"experimental","title":"SoundCloud embed wrapper","mount":"data-ankle-widget=\"soundcloud\"","capabilities":["iframe","source-attribution","play-event-analytics"],"monetization":"future music/playlist modules and artist pages"},{"id":"used-in-card","handle":"used-in","status":"core","title":"Used-in backlink card","mount":"data-ankle-widget=\"used-in\"","capabilities":["asset-backlinks","SURF-usage-read","provenance-display"],"monetization":"free trust layer that increases value of attributed assets"},{"id":"surf-source","handle":"source","status":"core","title":"External source attribution block","mount":"data-ankle-widget=\"source\"","capabilities":["source-attribution","tagging","used-in-graph"],"monetization":"credits for deeper tagging, enrichment, and agent analysis"},{"id":"install-card","handle":"install","status":"core","title":"Install/get-started card","mount":"data-ankle-widget=\"install\"","capabilities":["extension-install","account-handoff","credit-topup-link"],"monetization":"onboarding into Whop-backed credit and membership funnels"},{"id":"ankle-scope","handle":"scope","status":"experimental","title":"ANKLE Scope signal visualizer","mount":"data-ankle-widget=\"scope\"","capabilities":["canvas-animation","page-motion-signal","tag-vector-signal","audio-like-signal","png-export","source-attribution","Hermes-help"],"monetization":"credits for deeper signal adapters, saved /dada motion objects, and premium analytics visualizations"},{"id":"custom-module","handle":"custom","status":"candidate","title":"User-created widget module","mount":"registered manifest","capabilities":["sandboxed-runtime","registry-review","agent-callable"],"monetization":"future approval path for builders to publish paid or free ANKLE modules"},{"id":"host-builder","handle":"builder","status":"experimental","title":"External host builder bridge","mount":"data-ankle-widget=\"builder\"","capabilities":["host-capability-handshake","build-plan-generation","html-css-artifacts","iframe-srcdoc","extension-confirmation-handoff","contained-preview-apply","Hermes-help"],"monetization":"credits for deeper build runs, hosted deployment help, and premium app modules"}],"host_tool_protocol":{"schema":"ankle.atcmd.host_tool_protocol.v1","description":"MCP-like handshake for external websites. The host declares allowed tools; @command/Hermes returns plans, code artifacts, and user-confirmed actions rather than blindly mutating pages.","endpoints":{"declare_capabilities":"POST /atcmd/host/capabilities","plan_build":"POST /atcmd/build/plan","registry":"GET /atcmd/registry","manifest":"GET /atcmd/manifest"},"default_allowed_ops":["generate_html","generate_css","insert_snippet","mount_widget","attribute_source"],"write_policy":"Direct writes require builder mode, a scoped user/app token, a host capability grant, and explicit user confirmation through the extension or host UI.","extension_apply_flow":["host widget or terminal requests /atcmd/build/plan","extension stages the plan and shows the exact target, operations, and safety bounds","user clicks APPLY PREVIEW","extension injects a contained HTML/CSS preview into the current page only","persistent host writes require a separate approved host save/deploy capability"],"http_https":"Local previews may use http://localhost; public surfaces should use HTTPS for identity handoff, clipboard, media, and secure API behavior."}}