[{"data":1,"prerenderedAt":2106},["ShallowReactive",2],{"navigation_docs":3,"-guide-ai-assistants":613,"-guide-ai-assistants-surround":2103},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":371,"body":615,"description":2086,"extension":2097,"links":2098,"meta":2099,"navigation":2100,"path":372,"seo":2101,"stem":373,"__hash__":2102},"docs\u002F3.guide\u002F7.ai\u002F1.assistants.md",{"type":616,"value":617,"toc":2085},"minimark",[618,636,641,646,668,674,710,715,726,730,816,819,823,842,847,1424,1467,1473,1537,1543,1600,1606,1677,1695,1780,1805,1809,1812,1815,1842,1846,1853,1861,1925,1940,1944,1947,1951,2070,2074],[619,620,621,622,626,627,630,631,635],"p",{},"An AI assistant (Claude Code, Claude Desktop or any other MCP client) can help write and restructure content in SHADE.\nIt connects over the Model Context Protocol (MCP, an open standard for giving an AI a fixed set of tools) as an ",[623,624,625],"strong",{},"AI\nuser",", and can only read content and save drafts. A person reviews every AI change on the ",[623,628,629],{},"AI changes"," screen and\ndecides whether it goes live. Setting up a client is described in ",[632,633,634],"a",{"href":376},"MCP: connecting an AI assistant",".",[637,638,640],"h2",{"id":639},"what-users-can-do","What users can do",[619,642,643],{},[623,644,645],{},"Admins",[647,648,649,661],"ul",{},[650,651,652,653,657,658,635],"li",{},"Create an AI user (role ",[654,655,656],"code",{},"ai",", no password, cannot sign in to the admin); see ",[632,659,660],{"href":222},"Users and\nroles",[650,662,663,664,667],{},"Create an MCP token that acts as that AI user, and revoke it; see ",[632,665,666],{"href":258},"API\ntokens",". Deactivating the AI user stops all its tokens.",[619,669,670,673],{},[623,671,672],{},"The AI assistant"," (through the tools listed below)",[647,675,676,679,682,689,704,707],{},[650,677,678],{},"Read pages, headers and footers with their draft content (a tree of elements and text), the published navigation\nand footer, and images in the media library.",[650,680,681],{},"Create new unpublished pages; add, change, move and remove elements and texts in a page's or a header's or footer's\ndraft, set their own styles and animations, and translate their texts.",[650,683,684,685,688],{},"Make headers and footers, unpublished and not the default, and move one nothing shows to the trash\n(",[654,686,687],{},"website_delete_part",").",[650,690,691,692,695,696,699,700,703],{},"Add, change and remove the site's classes, variables and breakpoints (",[654,693,694],{},"website_set_class",", ",[654,697,698],{},"website_set_variable",",\n",[654,701,702],{},"website_set_breakpoint","), which go live with the next publish.",[650,705,706],{},"Set the alt text of an image.",[650,708,709],{},"Read and draft entries of collections that allow AI: today the website's pages, posts, navigation and footer, and the\nshop's products.",[619,711,712],{},[623,713,714],{},"Editors and admins",[647,716,717,720],{},[650,718,719],{},"See every page version an AI user made, filter to those awaiting review, open the page in the editor, view the\nchanges element by element, and revert a change that is still the latest version (the previous version comes\nback as a new version).",[650,721,722,723,688],{},"Publish what the AI drafted, in the normal page editor (",[632,724,725],{"href":125},"Drafts, publishing and\nhistory",[637,727,729],{"id":728},"who-may-do-it","Who may do it",[731,732,733,749],"table",{},[734,735,736],"thead",{},[737,738,739,743,746],"tr",{},[740,741,742],"th",{},"Action",[740,744,745],{},"Permission",[740,747,748],{},"Roles",[750,751,752,766,778,789,802],"tbody",{},[737,753,754,758,763],{},[755,756,757],"td",{},"Create AI users",[755,759,760],{},[654,761,762],{},"team.manage",[755,764,765],{},"admin",[737,767,768,771,776],{},[755,769,770],{},"Create and revoke MCP tokens",[755,772,773],{},[654,774,775],{},"tokens.manage",[755,777,765],{},[737,779,780,783,786],{},[755,781,782],{},"Use the MCP tools",[755,784,785],{},"an MCP token of an active AI user, plus the tool's permission (table below)",[755,787,788],{},"ai only; admins and editors are refused",[737,790,791,794,799],{},[755,792,793],{},"See the AI changes screen and its comparisons",[755,795,796],{},[654,797,798],{},"content.read",[755,800,801],{},"admin, editor",[737,803,804,807,814],{},[755,805,806],{},"Revert an AI change",[755,808,809,810,813],{},"the update permission of the change's collection (",[654,811,812],{},"collections.\u003Cslug>.update","), and not an AI user",[755,815,801],{},[619,817,818],{},"AI users may read content and media, see the theme and set alt texts, plus what each collection allows them: pages\nand posts let them read, create and update (drafts only; a person publishes).",[637,820,822],{"id":821},"the-mcp-tools","The MCP tools",[619,824,825,826,829,830,833,834,837,838,841],{},"These are all the tools. Module tools are added only while the module is on, and only those the module marks safe\nfor AI. The ",[654,827,828],{},"website_*"," tools come from the website module while it is on, the ",[654,831,832],{},"analytics_*"," tools from the analytics\nmodule, the ",[654,835,836],{},"commerce_*"," tools from the shop, the ",[654,839,840],{},"appointments_*"," tools from appointments; the others are core's.",[619,843,844],{},[623,845,846],{},"Pages, layout and media",[731,848,849,861],{},[734,850,851],{},[737,852,853,856,859],{},[740,854,855],{},"Tool",[740,857,858],{},"What it does",[740,860,745],{},[750,862,863,878,892,907,921,950,965,980,1000,1014,1029,1043,1058,1072,1090,1105,1119,1134,1148,1161,1174,1190,1206,1222,1238,1253,1275,1293,1307,1322,1336,1350,1364,1378,1395,1409],{},[737,864,865,870,873],{},[755,866,867],{},[654,868,869],{},"website_list_pages",[755,871,872],{},"Pages with title, slug, status and \"has unpublished changes\"; search by title",[755,874,875],{},[654,876,877],{},"collections.website-pages.read",[737,879,880,885,888],{},[755,881,882],{},[654,883,884],{},"website_get_page",[755,886,887],{},"One page with SEO, structured data, its draft version and the draft content, a tree of elements and text; for another language, the texts with nothing in that language yet",[755,889,890],{},[654,891,877],{},[737,893,894,899,902],{},[755,895,896],{},[654,897,898],{},"website_set_structured_data",[755,900,901],{},"Replaces a page's structured data presets (article, breadcrumb, questions, software application) in its draft; a preset left out is off",[755,903,904],{},[654,905,906],{},"collections.website-pages.update",[737,908,909,914,917],{},[755,910,911],{},[654,912,913],{},"list_data_sources",[755,915,916],{},"Data sources a page can show: name, settings and item fields",[755,918,919],{},[654,920,798],{},[737,922,923,928,945],{},[755,924,925],{},[654,926,927],{},"website_get_layout",[755,929,930,931,934,935,938,939,934,942],{},"The published navigation and footer; their drafts are changed with ",[654,932,933],{},"get_entry"," and ",[654,936,937],{},"update_draft_entry"," on ",[654,940,941],{},"website-navigation",[654,943,944],{},"website-footer",[755,946,947],{},[654,948,949],{},"collections.website-navigation.read",[737,951,952,957,960],{},[755,953,954],{},[654,955,956],{},"website_list_parts",[755,958,959],{},"The site's headers and footers: title, kind, whether it is the default, status",[755,961,962],{},[654,963,964],{},"collections.website-parts.read",[737,966,967,972,975],{},[755,968,969],{},[654,970,971],{},"website_create_part",[755,973,974],{},"Makes a header or footer (title, kind, optional content), unpublished and not the default",[755,976,977],{},[654,978,979],{},"collections.website-parts.create",[737,981,982,987,996],{},[755,983,984],{},[654,985,986],{},"website_get_part",[755,988,989,990,992,993],{},"One header or footer with its draft version and draft content, as ",[654,991,884],{}," gives a page's; the page tools change it given its ",[654,994,995],{},"partId",[755,997,998],{},[654,999,964],{},[737,1001,1002,1006,1009],{},[755,1003,1004],{},[654,1005,687],{},[755,1007,1008],{},"Moves a header or footer to the trash, where a person restores it or removes it for good; refused for the default one and for one a page picks; marked as destructive in the AI client",[755,1010,1011],{},[654,1012,1013],{},"collections.website-parts.delete",[737,1015,1016,1021,1024],{},[755,1017,1018],{},[654,1019,1020],{},"search_media",[755,1022,1023],{},"Images by filename or alt text (id, filename, alt, size, address)",[755,1025,1026],{},[654,1027,1028],{},"media.read",[737,1030,1031,1036,1039],{},[755,1032,1033],{},[654,1034,1035],{},"list_media_without_alt_text",[755,1037,1038],{},"Images whose alt text is empty",[755,1040,1041],{},[654,1042,1028],{},[737,1044,1045,1050,1053],{},[755,1046,1047],{},[654,1048,1049],{},"website_create_draft_page",[755,1051,1052],{},"New unpublished page from title, slug and optional content",[755,1054,1055],{},[654,1056,1057],{},"collections.website-pages.create",[737,1059,1060,1065,1068],{},[755,1061,1062],{},[654,1063,1064],{},"website_add_node",[755,1066,1067],{},"Adds an element, a text or a component, with what it holds, at a position in a page draft (also in a component's slot); checked as any insert",[755,1069,1070],{},[654,1071,906],{},[737,1073,1074,1079,1086],{},[755,1075,1076],{},[654,1077,1078],{},"website_update_node",[755,1080,1081,1082,1085],{},"Changes one element's tag, attributes or classes, a text's value, or a component's properties or variant; a widget's parts' classes (",[654,1083,1084],{},"parts",")",[755,1087,1088],{},[654,1089,906],{},[737,1091,1092,1097,1100],{},[755,1093,1094],{},[654,1095,1096],{},"website_list_components",[755,1098,1099],{},"The component library: names, properties, slots and variants; then SHADE's widgets (tabs, a menu, a dialog…), what each renders and the parts that take classes",[755,1101,1102],{},[654,1103,1104],{},"website.components.read",[737,1106,1107,1112,1115],{},[755,1108,1109],{},[654,1110,1111],{},"website_list_starters",[755,1113,1114],{},"The starters an admin can add to the library, and whether each is there already (a form comes from one)",[755,1116,1117],{},[654,1118,1104],{},[737,1120,1121,1126,1129],{},[755,1122,1123],{},[654,1124,1125],{},"website_get_site",[755,1127,1128],{},"What writing a page needs: the site's languages, breakpoints, classes and variables, the styles' revision, and the style properties with the values each takes",[755,1130,1131],{},[654,1132,1133],{},"website.styles.read",[737,1135,1136,1140,1143],{},[755,1137,1138],{},[654,1139,694],{},[755,1141,1142],{},"Adds, changes or removes one of the site's classes; checked as a save of the styles, refused when they changed since the revision given; live with the next publish",[755,1144,1145],{},[654,1146,1147],{},"website.styles.update",[737,1149,1150,1154,1157],{},[755,1151,1152],{},[654,1153,698],{},[755,1155,1156],{},"Adds, changes or removes one of the site's variables (not the theme's); refused while a style uses one it removes",[755,1158,1159],{},[654,1160,1147],{},[737,1162,1163,1167,1170],{},[755,1164,1165],{},[654,1166,702],{},[755,1168,1169],{},"Adds, changes or removes one of the site's breakpoints; refused while a style, an animation or a menu's fold point uses one it removes",[755,1171,1172],{},[654,1173,1147],{},[737,1175,1176,1181,1186],{},[755,1177,1178],{},[654,1179,1180],{},"website_get_styles",[755,1182,1183,1184],{},"A page's elements' own styles; a header's or footer's with ",[654,1185,995],{},[755,1187,1188],{},[654,1189,1133],{},[737,1191,1192,1197,1202],{},[755,1193,1194],{},[654,1195,1196],{},"website_set_element_style",[755,1198,1199,1200],{},"Sets or removes one element's own styles; refused for an element the draft lacks; live when the page is published; on a header or footer with ",[654,1201,995],{},[755,1203,1204],{},[654,1205,1147],{},[737,1207,1208,1213,1218],{},[755,1209,1210],{},[654,1211,1212],{},"website_get_animations",[755,1214,1215,1216],{},"A page's animations; a header's or footer's with ",[654,1217,995],{},[755,1219,1220],{},[654,1221,1133],{},[737,1223,1224,1229,1234],{},[755,1225,1226],{},[654,1227,1228],{},"website_set_animations",[755,1230,1231,1232],{},"Replaces a page's animations, checked as the Motion tab's are; live when the page is published; a header's or footer's with ",[654,1233,995],{},[755,1235,1236],{},[654,1237,1147],{},[737,1239,1240,1245,1248],{},[755,1241,1242],{},[654,1243,1244],{},"website_get_theme",[755,1246,1247],{},"The theme's draft and published tokens, their versions, whether the draft has unpublished changes, and the rules the tokens follow",[755,1249,1250],{},[654,1251,1252],{},"collections.website-theme.read",[737,1254,1255,1260,1270],{},[755,1256,1257],{},[654,1258,1259],{},"website_save_theme_draft",[755,1261,1262,1263,934,1266,1269],{},"Merges a partial change (a section, or single tokens) onto the theme's draft and checks the whole result; with ",[654,1264,1265],{},"baseVersionId",[654,1267,1268],{},"dryRun","; live only when a person publishes the theme",[755,1271,1272],{},[654,1273,1274],{},"collections.website-theme.update",[737,1276,1277,1282,1289],{},[755,1278,1279],{},[654,1280,1281],{},"website_translate_texts",[755,1283,1284,1285,1288],{},"Saves texts (texts, and text attributes such as ",[654,1286,1287],{},"alt",") in another of the site's languages; other texts and languages keep theirs",[755,1290,1291],{},[654,1292,906],{},[737,1294,1295,1300,1303],{},[755,1296,1297],{},[654,1298,1299],{},"website_duplicate_node",[755,1301,1302],{},"Copies an element or text (with what it holds and its own styles) in a draft, or into another page's draft, with the animations wholly inside it under new names",[755,1304,1305],{},[654,1306,906],{},[737,1308,1309,1314,1317],{},[755,1310,1311],{},[654,1312,1313],{},"website_make_component",[755,1315,1316],{},"Saves elements of a draft that stand next to each other as a new library component, with their own styles and animations, and puts a use of it in their place (an animation naming elements inside and outside the selection is dropped and named in the result); the component is then in the library for every page",[755,1318,1319],{},[654,1320,1321],{},"website.components.manage",[737,1323,1324,1329,1332],{},[755,1325,1326],{},[654,1327,1328],{},"website_duplicate_page",[755,1330,1331],{},"Copies a page as a new unpublished page, with every language's title, address and SEO, and its own styles and animations when the caller may change them",[755,1333,1334],{},[654,1335,1057],{},[737,1337,1338,1343,1346],{},[755,1339,1340],{},[654,1341,1342],{},"website_move_node",[755,1344,1345],{},"Moves an element or text (with what it holds) within the same draft",[755,1347,1348],{},[654,1349,906],{},[737,1351,1352,1357,1360],{},[755,1353,1354],{},[654,1355,1356],{},"website_remove_node_from_draft",[755,1358,1359],{},"Removes an element or text (with what it holds) from the draft; marked as destructive in the AI client",[755,1361,1362],{},[654,1363,906],{},[737,1365,1366,1371,1374],{},[755,1367,1368],{},[654,1369,1370],{},"website_replace_nodes",[755,1372,1373],{},"Replaces an element (with what it holds), or the page's whole content, with new elements in one change: all of it is saved or nothing; marked as destructive in the AI client",[755,1375,1376],{},[654,1377,906],{},[737,1379,1380,1385,1391],{},[755,1381,1382],{},[654,1383,1384],{},"website_check_publish",[755,1386,1387,1388,1390],{},"What publishing the saved draft would say: the accessibility check's errors and warnings, each with its element, and the search engine warnings; publishes nothing; a header or footer with ",[654,1389,995],{},", around an empty page",[755,1392,1393],{},[654,1394,877],{},[737,1396,1397,1402,1405],{},[755,1398,1399],{},[654,1400,1401],{},"website_set_seo",[755,1403,1404],{},"Sets a page's SEO title, description, \"hide from search engines\" and canonical address in its draft; the title and description per language",[755,1406,1407],{},[654,1408,906],{},[737,1410,1411,1416,1419],{},[755,1412,1413],{},[654,1414,1415],{},"set_alt_text",[755,1417,1418],{},"Sets an image's alt text (1–300 characters), nothing else; not for images on the live site",[755,1420,1421],{},[654,1422,1423],{},"media.update",[619,1425,1426,1427,1429,1430,1432,1433,1436,1437,1439,1440,1442,1443,1445,1446,1449,1450,1453,1454,1456,1457,1460,1461,1463,1464,1466],{},"The tools that read or change a page's elements, own styles, animations and texts, and its publish check, work on a header or footer too: give its ",[654,1428,995],{}," (from ",[654,1431,956],{},") in place of ",[654,1434,1435],{},"pageId",". The table names the permission each tool declares; with ",[654,1438,995],{},", the headers' and footers' read (and, for the tools that change elements or texts, their update) is checked as well, when the header or footer is read and saved. The tools that add, change, move, remove or replace elements take ",[654,1441,1268],{},": the change is checked as saving it would check it, with the same errors, and nothing is saved. The theme has two tools of its own, and both work on its draft: the AI saves a change, and a person publishes it from the Theme page or from the AI changes screen. ",[654,1444,1259],{}," takes only what changes (",[654,1447,1448],{},"{ \"colors\": { \"primary\": \"#1a2b3c\" } }",", or ",[654,1451,1452],{},"{ \"radius\": 12 }","), merges it onto the draft and checks the whole result, so a colour that isn't hex or a font file that isn't WOFF2 is refused with the token's name. It also takes ",[654,1455,1268],{},", and the ",[654,1458,1459],{},"draftVersionId"," from ",[654,1462,1244],{}," as ",[654,1465,1265],{},": a draft that changed since is refused.",[619,1468,1469,1472],{},[623,1470,1471],{},"Analytics"," (read only, while the analytics module is on): counts only, never anything about a visitor.",[731,1474,1475,1485],{},[734,1476,1477],{},[737,1478,1479,1481,1483],{},[740,1480,855],{},[740,1482,858],{},[740,1484,745],{},[750,1486,1487,1505,1521],{},[737,1488,1489,1494,1497],{},[755,1490,1491],{},[654,1492,1493],{},"analytics_summary",[755,1495,1496],{},"Page views and visitors over 7, 30 or 90 days (total and per day), the top pages, referring sites, campaigns, devices, countries, languages and pages not found, and the other sites counted",[755,1498,1499,1502,1503],{},[654,1500,1501],{},"analytics.read",", and ",[654,1504,798],{},[737,1506,1507,1512,1515],{},[755,1508,1509],{},[654,1510,1511],{},"analytics_goals",[755,1513,1514],{},"Each goal's total, count per day and top pages over the period",[755,1516,1517,1502,1519],{},[654,1518,1501],{},[654,1520,798],{},[737,1522,1523,1528,1531],{},[755,1524,1525],{},[654,1526,1527],{},"analytics_paths",[755,1529,1530],{},"Pairs of \"from page, to page\" with their views, at most 50, optionally only those from or to one page",[755,1532,1533,1502,1535],{},[654,1534,1501],{},[654,1536,798],{},[619,1538,1539,1542],{},[623,1540,1541],{},"Shop"," (read only, while the shop is on): numbers and products, never who ordered.",[731,1544,1545,1555],{},[734,1546,1547],{},[737,1548,1549,1551,1553],{},[740,1550,855],{},[740,1552,858],{},[740,1554,745],{},[750,1556,1557,1572,1586],{},[737,1558,1559,1564,1567],{},[755,1560,1561],{},[654,1562,1563],{},"commerce_orders_to_ship",[755,1565,1566],{},"Paid orders not shipped yet, oldest first: number, when paid, amount, country, oversold, and what is in them",[755,1568,1569],{},[654,1570,1571],{},"commerce.read",[737,1573,1574,1579,1582],{},[755,1575,1576],{},[654,1577,1578],{},"commerce_sales_today",[755,1580,1581],{},"One day's paid orders: how many, what was charged, VAT and refunds, per currency",[755,1583,1584],{},[654,1585,1571],{},[737,1587,1588,1593,1596],{},[755,1589,1590],{},[654,1591,1592],{},"commerce_low_stock",[755,1594,1595],{},"Tracked SKUs with 3 or fewer available",[755,1597,1598],{},[654,1599,1571],{},[619,1601,1602,1605],{},[623,1603,1604],{},"Appointments"," (read only, while the appointments module is on): times and places, never who booked.",[731,1607,1608,1618],{},[734,1609,1610],{},[737,1611,1612,1614,1616],{},[740,1613,855],{},[740,1615,858],{},[740,1617,745],{},[750,1619,1620,1635,1649,1663],{},[737,1621,1622,1627,1630],{},[755,1623,1624],{},[654,1625,1626],{},"appointments_today",[755,1628,1629],{},"One day's confirmed appointments (start, end, location) and the locations",[755,1631,1632],{},[654,1633,1634],{},"appointments.ai.read",[737,1636,1637,1642,1645],{},[755,1638,1639],{},[654,1640,1641],{},"appointments_week",[755,1643,1644],{},"The 7 days from a date, per day",[755,1646,1647],{},[654,1648,1634],{},[737,1650,1651,1656,1659],{},[755,1652,1653],{},[654,1654,1655],{},"appointments_free_times",[755,1657,1658],{},"The times a visitor could book, over 1 to 14 days",[755,1660,1661],{},[654,1662,1634],{},[737,1664,1665,1670,1673],{},[755,1666,1667],{},[654,1668,1669],{},"appointments_location_day",[755,1671,1672],{},"One location's appointments and free times for a day",[755,1674,1675],{},[654,1676,1634],{},[619,1678,1679,1681,1682,1686,1687,1690,1691,1694],{},[623,1680,429],{},": only for collections that allow AI (their ",[1683,1684,1685],"em",{},"AI"," setting, see ",[632,1688,1689],{"href":117},"Collections and\nentries",") ",[623,1692,1693],{},"and"," give the AI role the matching permission.",[731,1696,1697,1708],{},[734,1698,1699],{},[737,1700,1701,1703,1705],{},[740,1702,855],{},[740,1704,858],{},[740,1706,1707],{},"Needs",[750,1709,1710,1725,1738,1752,1765],{},[737,1711,1712,1717,1720],{},[755,1713,1714],{},[654,1715,1716],{},"list_collections",[755,1718,1719],{},"Collections the AI may read, with their fields (nested fields included) and whether it may write",[755,1721,1722,1724],{},[654,1723,798],{},"; lists only collections the AI may read",[737,1726,1727,1732,1735],{},[755,1728,1729],{},[654,1730,1731],{},"list_entries",[755,1733,1734],{},"Working copies of entries, with filters and search (at most 50 per page)",[755,1736,1737],{},"AI may read the collection",[737,1739,1740,1744,1750],{},[755,1741,1742],{},[654,1743,933],{},[755,1745,1746,1747],{},"One entry with its fields and current version; a collection with one entry uses id ",[654,1748,1749],{},"\"1\"",[755,1751,1737],{},[737,1753,1754,1759,1762],{},[755,1755,1756],{},[654,1757,1758],{},"create_draft_entry",[755,1760,1761],{},"New unpublished entry (note \"Created by AI\")",[755,1763,1764],{},"AI may write, the collection has drafts, AI may create",[737,1766,1767,1771,1777],{},[755,1768,1769],{},[654,1770,937],{},[755,1772,1773,1774,1776],{},"New draft version with the given fields changed, based on the version ",[654,1775,933],{}," gave",[755,1778,1779],{},"AI may write, the collection has drafts, AI may update",[619,1781,1782,1784,1785,1787,1788,1790,1791,1793,1794,1796,1797,1800,1801,1804],{},[623,1783,317],{}," can add tools. The website module adds the ",[654,1786,828],{}," tools above, analytics the ",[654,1789,832],{}," tools, the shop the ",[654,1792,836],{}," tools, appointments the ",[654,1795,840],{}," tools and the ",[632,1798,1799],{"href":326},"editorial module"," the ",[654,1802,1803],{},"editorial_*"," tools: lists of schedules, review requests, releases, out-of-date translations and comment threads, and two that write, submit an entry for review and add a comment. The AI cannot schedule, approve, publish or manage releases. These\nshow numbers, products, times and places only: orders hold personal data, and AI clients never see customers. Shop products are reachable through the collection tools: the shop lets\nthe AI read, create and update them.",[637,1806,1808],{"id":1807},"hard-limits","Hard limits",[619,1810,1811],{},"Whatever the AI role's permissions become, these can never be done over MCP: publishing and deleting pages,\nuploading and deleting media, theme, settings (including the build hook), users, tokens, the audit log, rebuilds,\nredirects and modules. No tool can use them, and the collection tools can only read, create or update (never publish\nor delete).",[619,1813,1814],{},"So the AI:",[647,1816,1817,1824,1827,1830,1833,1836,1839],{},[650,1818,1819,1820,1823],{},"saves ",[623,1821,1822],{},"drafts only",": page tools save drafts, collection tools never touch the published version, and a\ncollection without drafts cannot be written to;",[650,1825,1826],{},"never publishes by itself; the one change of its own that reaches the live site is moving a published header or\nfooter nothing shows to the trash, which takes it off the site and asks for a rebuild; a person restores it or\nremoves it for good;",[650,1828,1829],{},"cannot upload files;",[650,1831,1832],{},"drafts the navigation, the footer, the headers and footers, and the theme, and a person publishes each; it makes\nheaders and footers, and deletes only one nothing shows;",[650,1834,1835],{},"cannot change settings;",[650,1837,1838],{},"may change only the alt text of an image, never its focal point or filename;",[650,1840,1841],{},"may only describe images that published content does not use yet. Alt text has no drafts, so a change on a live\nimage would reach the site with the next rebuild without a person publishing it; those are refused (\"This image is\non the live site…\") and a person sets their alt text.",[637,1843,1845],{"id":1844},"in-the-admin","In the admin",[619,1847,1848],{},[1849,1850],"img",{"alt":1851,"src":1852},"The AI changes screen, which lists what AI assistants changed for review","\u002Fscreenshots\u002Fai-changes.png",[619,1854,1855,1857,1858,1860],{},[623,1856,629],{}," (a tab of Reviews, also found by search; shown with ",[654,1859,798],{},"). A table of versions an AI user made (counted\nwhen they were saved: an account that leaves the AI role later keeps its changes here, and a person who becomes an\nAI account brings none of their own), of\npages and of the entries of every other collection the reader may read (posts, a module's products), newest first,\n20 per page.",[647,1862,1863,1883,1900,1906,1920],{},[650,1864,1865,1866,1869,1870,695,1873,1876,1877,695,1880,635],{},"Columns: ",[623,1867,1868],{},"Changed"," (the title, linking to its editor, with its collection under it), ",[623,1871,1872],{},"AI user",[623,1874,1875],{},"Note"," (e.g.\n\"AI added a section\", \"Updated by AI\"), ",[623,1878,1879],{},"When",[623,1881,1882],{},"State",[650,1884,1885,1887,1888,1891,1892,1895,1896,1899],{},[623,1886,1882],{},": ",[623,1889,1890],{},"Published"," (this version is live), ",[623,1893,1894],{},"Awaiting review"," (still the latest version, nobody saved\nafter it), ",[623,1897,1898],{},"Superseded"," (a later version exists).",[650,1901,1902,1905],{},[623,1903,1904],{},"Awaiting review only"," switch (on by default): only versions nobody reviewed yet: still the latest, and not\npublished (a person publishing it counts as a review).",[650,1907,1908,1909,1912,1913,1916,1917,635],{},"Row menu: ",[623,1910,1911],{},"Open in editor","; ",[623,1914,1915],{},"View changes"," (a side panel comparing the version with the one before it, field by\nfield, title, slug, SEO and the content element by element; \"The AI made this.\" when there is none); ",[623,1918,1919],{},"Revert",[650,1921,1922,1924],{},[623,1923,1919],{}," asks \"Revert the AI change to {title}?\" and restores the version before the change as a new version;\nthe AI change stays in the history. Disabled when the AI created it (delete it instead), when a later version\nexists (it is Superseded: reverting it would undo the later edits too; restore an earlier version from the entry's\nhistory instead) or the user may not update it.",[619,1926,1927,1928,934,1931,1933,1934,695,1937,1939],{},"AI accounts and MCP tokens are made on the ",[623,1929,1930],{},"Team",[623,1932,257],{}," screens (",[632,1935,1936],{"href":222},"Team and\nroles",[632,1938,257],{"href":258},"). The admin is also\nin Dutch.",[637,1941,1943],{"id":1942},"on-the-website","On the website",[619,1945,1946],{},"Nothing directly: AI changes are drafts and reach the site only when a person publishes them.",[637,1948,1950],{"id":1949},"rules-and-limits","Rules and limits",[647,1952,1953,1967,1973,1979,1988,1999,2005,2011,2017,2023,2033,2050,2059,2065],{},[650,1954,1955,1958,1959,1962,1963,1966],{},[623,1956,1957],{},"Address",": the admin's address followed by ",[654,1960,1961],{},"\u002Fapi\u002Fmcp"," (see ",[632,1964,1965],{"href":376},"connecting","). Only an MCP token of\nan active AI user gets in.",[650,1968,1969,1972],{},[623,1970,1971],{},"Every call is checked",": the token, that it is an AI user, and the tool's permission. What the AI sends is\nchecked against the tool's own rules.",[650,1974,1975,1978],{},[623,1976,1977],{},"Errors the AI can read",": SHADE's own errors come back with their message and each problem found, so the AI can\ncorrect itself; anything else is \"Internal error\", without details.",[650,1980,1981,1984,1985,1987],{},[623,1982,1983],{},"Rate limit",": 120 calls a minute per token (",[632,1986,265],{"href":266},"). Each\nrequest carries one message: a JSON-RPC batch of several is refused, so every tool call counts. The usual request\nsize limit applies.",[650,1989,1990,1993,1994,1996,1997,688],{},[623,1991,1992],{},"Saving at the same moment",": a person and the AI saving the same draft at the same moment never overwrite each\nother: the later save is refused. A person editing the page in the editor is told on their next save after an AI\nsave. ",[654,1995,937],{}," needs the version the AI read (",[632,1998,725],{"href":125},[650,2000,2001,2004],{},[623,2002,2003],{},"Impossible changes"," (an unknown element, a tag or attribute that isn't allowed, wrong nesting, an id already\nused) are refused and save nothing. A refusal names the element or text it is about.",[650,2006,2007,2010],{},[623,2008,2009],{},"Unknown fields"," in a tool's input are refused, never dropped, so the AI knows what wasn't saved.",[650,2012,2013,2016],{},[623,2014,2015],{},"Forms",": a form the AI builds by hand would send nothing, so it is refused. The AI adds a form component from\nthe library instead; when there is none, it names the Form starter for an admin to add.",[650,2018,2019,2022],{},[623,2020,2021],{},"Unchanged content"," saves no new version.",[650,2024,2025,2028,2029,2032],{},[623,2026,2027],{},"Audit",": every write is recorded as made over MCP, with the AI user as who did it (",[632,2030,2031],{"href":262},"Audit\nlog","). Page saves carry a note, so the version history shows what the AI did.",[650,2034,2035,1887,2037,2039,2040,2042,2043,699,2045,934,2047,2049],{},[623,2036,128],{},[654,2038,884],{}," lists a draft's untranslated texts in another language, and\n",[654,2041,1281],{}," translates them (the default language and unknown languages are refused). ",[654,2044,933],{},[654,2046,937],{},[654,2048,1415],{}," work in a chosen language too (only translatable text changes; what is not\nsent keeps its translation or keeps falling back).",[650,2051,2052,2055,2056,2058],{},[623,2053,2054],{},"Editing a draft that changed."," ",[654,2057,884],{}," gives the draft's version; when the AI passes it back to the\nwrite tools, a draft that changed since is refused (\"The page changed since you read it: call website_get_page\nagain…\"). Without it the edit applies to the current draft.",[650,2060,2061,2064],{},[623,2062,2063],{},"Module tools"," meant for admins only are never offered to the AI.",[650,2066,2067,2069],{},[623,2068,1919],{}," is not allowed for AI users, and only a change that is still the latest version can be reverted: a\nlater version, a person's edit among them, is never undone by it. The AI changes screen lists every unreviewed AI\nchange, oldest first.",[637,2071,2073],{"id":2072},"for-developers","For developers",[619,2075,2076,2077,2080,2081,2084],{},"The code and its tests: ",[654,2078,2079],{},"shade\u002Ffeatures\u002Fai\u002FREADME.md"," in the ",[654,2082,2083],{},"shade"," repository.",{"title":2086,"searchDepth":2087,"depth":2087,"links":2088},"",2,[2089,2090,2091,2092,2093,2094,2095,2096],{"id":639,"depth":2087,"text":640},{"id":728,"depth":2087,"text":729},{"id":821,"depth":2087,"text":822},{"id":1807,"depth":2087,"text":1808},{"id":1844,"depth":2087,"text":1845},{"id":1942,"depth":2087,"text":1943},{"id":1949,"depth":2087,"text":1950},{"id":2072,"depth":2087,"text":2073},"md",null,{},true,{"title":371,"description":2086},"Os2TXAV4-LRhvpwTS2DNqlJLiKeEI3k7RIv75G9kFHo",[2104,2105],{"title":361,"path":362,"stem":363,"description":2086,"children":-1},{"title":375,"path":376,"stem":377,"description":2086,"children":-1},1796500160547]