[{"data":1,"prerenderedAt":1294},["ShallowReactive",2],{"navigation":3,"copilot-navigation":552,"copilot-version":592,"mdc--4zkox4-key":674,"\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fanthropic":704,"\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fanthropic-surround":1289},[4,139,265,303,320,384,395,531],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Copilot","i-ri-sparkling-line","\u002Fdocs\u002Fcopilot","1.docs\u002F1.copilot",[10,21,39,60,85,122],{"title":11,"path":12,"stem":13,"children":14},"Getting Started","\u002Fdocs\u002Fcopilot\u002Fgetting-started","1.docs\u002F1.copilot\u002F1.getting-started\u002F1.index",[15,17],{"title":16,"path":12,"stem":13},"Introduction",{"title":18,"path":19,"stem":20},"Installation","\u002Fdocs\u002Fcopilot\u002Fgetting-started\u002Finstallation","1.docs\u002F1.copilot\u002F1.getting-started\u002F2.installation",{"title":22,"path":23,"stem":24,"children":25,"page":38},"Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration","1.docs\u002F1.copilot\u002F2.configuration",[26,30,34],{"title":27,"path":28,"stem":29},"Global Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Fglobal","1.docs\u002F1.copilot\u002F2.configuration\u002F1.global",{"title":31,"path":32,"stem":33},"View Button & Field Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Flocal","1.docs\u002F1.copilot\u002F2.configuration\u002F2.local",{"title":35,"path":36,"stem":37},"System Prompt","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Fsystem-prompt","1.docs\u002F1.copilot\u002F2.configuration\u002F3.system-prompt",false,{"title":40,"path":41,"stem":42,"children":43,"page":38},"Usage","\u002Fdocs\u002Fcopilot\u002Fusage","1.docs\u002F1.copilot\u002F3.usage",[44,48,52,56],{"title":45,"path":46,"stem":47},"Panel View Button","\u002Fdocs\u002Fcopilot\u002Fusage\u002Fview-button","1.docs\u002F1.copilot\u002F3.usage\u002F1.view-button",{"title":49,"path":50,"stem":51},"Toolbar Buttons","\u002Fdocs\u002Fcopilot\u002Fusage\u002Ftoolbar-buttons","1.docs\u002F1.copilot\u002F3.usage\u002F2.toolbar-buttons",{"title":53,"path":54,"stem":55},"Inline Suggestions","\u002Fdocs\u002Fcopilot\u002Fusage\u002Finline-suggestions","1.docs\u002F1.copilot\u002F3.usage\u002F3.inline-suggestions",{"title":57,"path":58,"stem":59},"Copilot Section","\u002Fdocs\u002Fcopilot\u002Fusage\u002Fsection","1.docs\u002F1.copilot\u002F3.usage\u002F4.section",{"title":61,"path":62,"stem":63,"children":64,"page":38},"Prompt Dialog","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog","1.docs\u002F1.copilot\u002F4.prompt-dialog",[65,69,73,77,81],{"title":66,"path":67,"stem":68},"Field Placeholders","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fplaceholders","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F1.placeholders",{"title":70,"path":71,"stem":72},"Prompt Templates","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Ftemplates","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F2.templates",{"title":74,"path":75,"stem":76},"File Attachments","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Ffiles","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F3.files",{"title":78,"path":79,"stem":80},"Page References","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fpage-references","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F4.page-references",{"title":82,"path":83,"stem":84},"Skills","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fskills","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F5.skills",{"title":86,"path":87,"stem":88,"children":89},"PHP Classes","\u002Fdocs\u002Fcopilot\u002Fphp-classes","1.docs\u002F1.copilot\u002F5.php-classes\u002F1.index",[90,92,96,118],{"title":91,"path":87,"stem":88},"Overview",{"title":93,"path":94,"stem":95},"Client","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fclient","1.docs\u002F1.copilot\u002F5.php-classes\u002F2.client",{"title":97,"path":98,"stem":99,"children":100,"defaultOpen":38},"Providers","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders","1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F1.index",[101,102,106,110,114],{"title":91,"path":98,"stem":99},{"title":103,"path":104,"stem":105},"OpenAIProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fopenai","1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F2.openai",{"title":107,"path":108,"stem":109},"AnthropicProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fanthropic","1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F3.anthropic",{"title":111,"path":112,"stem":113},"GeminiProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fgemini","1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F4.gemini",{"title":115,"path":116,"stem":117},"MistralProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fmistral","1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F5.mistral",{"title":119,"path":120,"stem":121},"Exceptions","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fexceptions","1.docs\u002F1.copilot\u002F5.php-classes\u002F4.exceptions",{"title":123,"path":124,"stem":125,"children":126,"page":38},"Advanced","\u002Fdocs\u002Fcopilot\u002Fadvanced","1.docs\u002F1.copilot\u002F6.advanced",[127,131,135],{"title":128,"path":129,"stem":130},"Blocks & Layouts","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Fblocks-and-layouts","1.docs\u002F1.copilot\u002F6.advanced\u002F1.blocks-and-layouts",{"title":132,"path":133,"stem":134},"Quick Reference","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Freference","1.docs\u002F1.copilot\u002F6.advanced\u002F2.reference",{"title":136,"path":137,"stem":138},"Troubleshooting","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Ftroubleshooting","1.docs\u002F1.copilot\u002F6.advanced\u002F3.troubleshooting",{"title":140,"icon":141,"path":142,"stem":143,"children":144,"page":38},"Content Translator","i-ri-translate","\u002Fdocs\u002Fcontent-translator","1.docs\u002F2.content-translator",[145,157,168,185,194,228,240],{"title":11,"path":146,"stem":147,"children":148},"\u002Fdocs\u002Fcontent-translator\u002Fgetting-started","1.docs\u002F2.content-translator\u002F1.getting-started\u002F1.index",[149,150,153],{"title":16,"path":146,"stem":147},{"title":18,"path":151,"stem":152},"\u002Fdocs\u002Fcontent-translator\u002Fgetting-started\u002Finstallation","1.docs\u002F2.content-translator\u002F1.getting-started\u002F2.installation",{"title":154,"path":155,"stem":156},"Migration","\u002Fdocs\u002Fcontent-translator\u002Fgetting-started\u002Fmigration","1.docs\u002F2.content-translator\u002F1.getting-started\u002F3.migration",{"title":22,"path":158,"stem":159,"children":160,"page":38},"\u002Fdocs\u002Fcontent-translator\u002Fconfiguration","1.docs\u002F2.content-translator\u002F2.configuration",[161,164],{"title":27,"path":162,"stem":163},"\u002Fdocs\u002Fcontent-translator\u002Fconfiguration\u002Fglobal","1.docs\u002F2.content-translator\u002F2.configuration\u002F1.global",{"title":165,"path":166,"stem":167},"View Button & Section Configuration","\u002Fdocs\u002Fcontent-translator\u002Fconfiguration\u002Flocal","1.docs\u002F2.content-translator\u002F2.configuration\u002F2.local",{"title":169,"path":170,"stem":171,"children":172,"page":38},"Translation Providers","\u002Fdocs\u002Fcontent-translator\u002Fproviders","1.docs\u002F2.content-translator\u002F3.providers",[173,177,181],{"title":174,"path":175,"stem":176},"DeepL","\u002Fdocs\u002Fcontent-translator\u002Fproviders\u002Fdeepl","1.docs\u002F2.content-translator\u002F3.providers\u002F1.deepl",{"title":178,"path":179,"stem":180},"AI Translation","\u002Fdocs\u002Fcontent-translator\u002Fproviders\u002Fai-translation","1.docs\u002F2.content-translator\u002F3.providers\u002F2.ai-translation",{"title":182,"path":183,"stem":184},"Custom Translator","\u002Fdocs\u002Fcontent-translator\u002Fproviders\u002Fcustom-translator","1.docs\u002F2.content-translator\u002F3.providers\u002F3.custom-translator",{"title":186,"path":187,"stem":188,"children":189,"page":38},"Panel","\u002Fdocs\u002Fcontent-translator\u002Fpanel","1.docs\u002F2.content-translator\u002F4.panel",[190],{"title":191,"path":192,"stem":193},"Translation Coverage","\u002Fdocs\u002Fcontent-translator\u002Fpanel\u002Ftranslation-coverage","1.docs\u002F2.content-translator\u002F4.panel\u002F1.translation-coverage",{"title":86,"path":195,"stem":196,"children":197},"\u002Fdocs\u002Fcontent-translator\u002Fphp-classes","1.docs\u002F2.content-translator\u002F5.php-classes\u002F1.index",[198,199,203,221,224],{"title":91,"path":195,"stem":196},{"title":200,"path":201,"stem":202},"Translator","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Ftranslator","1.docs\u002F2.content-translator\u002F5.php-classes\u002F2.translator",{"title":204,"path":205,"stem":206,"children":207,"defaultOpen":38},"Strategies","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fstrategies","1.docs\u002F2.content-translator\u002F5.php-classes\u002F3.strategies\u002F1.index",[208,209,213,217],{"title":91,"path":205,"stem":206},{"title":210,"path":211,"stem":212},"DeepLStrategy","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fstrategies\u002Fdeepl-strategy","1.docs\u002F2.content-translator\u002F5.php-classes\u002F3.strategies\u002F2.deepl-strategy",{"title":214,"path":215,"stem":216},"CopilotAIStrategy","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fstrategies\u002Fcopilot-ai-strategy","1.docs\u002F2.content-translator\u002F5.php-classes\u002F3.strategies\u002F3.copilot-ai-strategy",{"title":218,"path":219,"stem":220},"CallableStrategy","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fstrategies\u002Fcallable-strategy","1.docs\u002F2.content-translator\u002F5.php-classes\u002F3.strategies\u002F4.callable-strategy",{"title":119,"path":222,"stem":223},"\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fexceptions","1.docs\u002F2.content-translator\u002F5.php-classes\u002F4.exceptions",{"title":225,"path":226,"stem":227},"DeepL Client","\u002Fdocs\u002Fcontent-translator\u002Fphp-classes\u002Fdeepl-client","1.docs\u002F2.content-translator\u002F5.php-classes\u002F5.deepl-client",{"title":123,"path":229,"stem":230,"children":231,"page":38},"\u002Fdocs\u002Fcontent-translator\u002Fadvanced","1.docs\u002F2.content-translator\u002F6.advanced",[232,236],{"title":233,"path":234,"stem":235},"KirbyTags","\u002Fdocs\u002Fcontent-translator\u002Fadvanced\u002Fkirbytags","1.docs\u002F2.content-translator\u002F6.advanced\u002F1.kirbytags",{"title":237,"path":238,"stem":239},"Hooks","\u002Fdocs\u002Fcontent-translator\u002Fadvanced\u002Fhooks","1.docs\u002F2.content-translator\u002F6.advanced\u002F2.hooks",{"title":241,"path":242,"stem":243,"children":244,"page":38},"CLI & Automation","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation","1.docs\u002F2.content-translator\u002F7.cli-automation",[245,249,253,257,261],{"title":246,"path":247,"stem":248},"Single Page","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation\u002Fsingle-page","1.docs\u002F2.content-translator\u002F7.cli-automation\u002F1.single-page",{"title":250,"path":251,"stem":252},"Batch Pages","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation\u002Fbatch-pages","1.docs\u002F2.content-translator\u002F7.cli-automation\u002F2.batch-pages",{"title":254,"path":255,"stem":256},"File Metadata","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation\u002Ffile-metadata","1.docs\u002F2.content-translator\u002F7.cli-automation\u002F3.file-metadata",{"title":258,"path":259,"stem":260},"Janitor Integration","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation\u002Fjanitor","1.docs\u002F2.content-translator\u002F7.cli-automation\u002F4.janitor",{"title":262,"path":263,"stem":264},"AI Strategy Override","\u002Fdocs\u002Fcontent-translator\u002Fcli-automation\u002Fai-strategy","1.docs\u002F2.content-translator\u002F7.cli-automation\u002F5.ai-strategy",{"title":266,"icon":267,"path":268,"stem":269,"children":270,"page":38},"SEO Audit","i-ri-seo-line","\u002Fdocs\u002Fseo-audit","1.docs\u002F3.seo-audit",[271,279,290],{"title":11,"path":272,"stem":273,"children":274},"\u002Fdocs\u002Fseo-audit\u002Fgetting-started","1.docs\u002F3.seo-audit\u002F1.getting-started\u002F1.index",[275,276],{"title":16,"path":272,"stem":273},{"title":18,"path":277,"stem":278},"\u002Fdocs\u002Fseo-audit\u002Fgetting-started\u002Finstallation","1.docs\u002F3.seo-audit\u002F1.getting-started\u002F2.installation",{"title":22,"path":280,"stem":281,"children":282,"page":38},"\u002Fdocs\u002Fseo-audit\u002Fconfiguration","1.docs\u002F3.seo-audit\u002F2.configuration",[283,286],{"title":27,"path":284,"stem":285},"\u002Fdocs\u002Fseo-audit\u002Fconfiguration\u002Fglobal","1.docs\u002F3.seo-audit\u002F2.configuration\u002F1.global",{"title":287,"path":288,"stem":289},"View Button & Section","\u002Fdocs\u002Fseo-audit\u002Fconfiguration\u002Flocal","1.docs\u002F3.seo-audit\u002F2.configuration\u002F2.local",{"title":291,"path":292,"stem":293,"children":294,"page":38},"Guide","\u002Fdocs\u002Fseo-audit\u002Fguide","1.docs\u002F3.seo-audit\u002F3.guide",[295,299],{"title":296,"path":297,"stem":298},"Assessments for SEO and Readability","\u002Fdocs\u002Fseo-audit\u002Fguide\u002Fassessments","1.docs\u002F3.seo-audit\u002F3.guide\u002F1.assessments",{"title":300,"path":301,"stem":302},"Audit URL","\u002Fdocs\u002Fseo-audit\u002Fguide\u002Faudit-url","1.docs\u002F3.seo-audit\u002F3.guide\u002F2.audit-url",{"title":304,"path":305,"stem":306,"children":307,"icon":319},"Live Preview","\u002Fdocs\u002Flive-preview","1.docs\u002F4.live-preview\u002F1.index",[308,309,312,316],{"title":11,"path":305,"stem":306},{"title":22,"path":310,"stem":311},"\u002Fdocs\u002Flive-preview\u002Fconfiguration","1.docs\u002F4.live-preview\u002F2.configuration",{"title":313,"path":314,"stem":315},"Preview Mode","\u002Fdocs\u002Flive-preview\u002Fpreview-mode","1.docs\u002F4.live-preview\u002F3.preview-mode",{"title":136,"path":317,"stem":318},"\u002Fdocs\u002Flive-preview\u002Ftroubleshooting","1.docs\u002F4.live-preview\u002F4.troubleshooting","i-ri-picture-in-picture-line",{"title":321,"icon":322,"path":323,"stem":324,"children":325,"page":38},"Headless","i-ri-code-block","\u002Fdocs\u002Fheadless","1.docs\u002F5.headless",[326,334,350,370,378],{"title":11,"path":327,"stem":328,"children":329},"\u002Fdocs\u002Fheadless\u002Fgetting-started","1.docs\u002F5.headless\u002F1.getting-started\u002F1.index",[330,331],{"title":16,"path":327,"stem":328},{"title":18,"path":332,"stem":333},"\u002Fdocs\u002Fheadless\u002Fgetting-started\u002Finstallation","1.docs\u002F5.headless\u002F1.getting-started\u002F2.installation",{"title":22,"path":335,"stem":336,"children":337,"page":38},"\u002Fdocs\u002Fheadless\u002Fconfiguration","1.docs\u002F5.headless\u002F2.configuration",[338,342,346],{"title":339,"path":340,"stem":341},"Authentication","\u002Fdocs\u002Fheadless\u002Fconfiguration\u002Fauthentication","1.docs\u002F5.headless\u002F2.configuration\u002F1.authentication",{"title":343,"path":344,"stem":345},"CORS","\u002Fdocs\u002Fheadless\u002Fconfiguration\u002Fcors","1.docs\u002F5.headless\u002F2.configuration\u002F2.cors",{"title":347,"path":348,"stem":349},"Panel Configuration","\u002Fdocs\u002Fheadless\u002Fconfiguration\u002Fpanel","1.docs\u002F5.headless\u002F2.configuration\u002F3.panel",{"title":40,"path":351,"stem":352,"children":353,"page":38},"\u002Fdocs\u002Fheadless\u002Fusage","1.docs\u002F5.headless\u002F3.usage",[354,358,362,366],{"title":355,"path":356,"stem":357},"KQL (Kirby Query Language)","\u002Fdocs\u002Fheadless\u002Fusage\u002Fkql","1.docs\u002F5.headless\u002F3.usage\u002F1.kql",{"title":359,"path":360,"stem":361},"JSON Templates","\u002Fdocs\u002Fheadless\u002Fusage\u002Fjson-templates","1.docs\u002F5.headless\u002F3.usage\u002F2.json-templates",{"title":363,"path":364,"stem":365},"Field Methods","\u002Fdocs\u002Fheadless\u002Fusage\u002Ffield-methods","1.docs\u002F5.headless\u002F3.usage\u002F3.field-methods",{"title":367,"path":368,"stem":369},"Page Methods","\u002Fdocs\u002Fheadless\u002Fusage\u002Fpage-methods","1.docs\u002F5.headless\u002F3.usage\u002F4.page-methods",{"title":123,"path":371,"stem":372,"children":373,"page":38},"\u002Fdocs\u002Fheadless\u002Fadvanced","1.docs\u002F5.headless\u002F4.advanced",[374],{"title":375,"path":376,"stem":377},"API Builder","\u002Fdocs\u002Fheadless\u002Fadvanced\u002Fapi-builder","1.docs\u002F5.headless\u002F4.advanced\u002F1.api-builder",{"title":154,"path":379,"stem":380,"children":381},"\u002Fdocs\u002Fheadless\u002Fmigration","1.docs\u002F5.headless\u002F5.migration\u002F1.index",[382],{"title":383,"path":379,"stem":380},"Version Migration",{"title":385,"path":386,"stem":387,"children":388,"icon":394},"Minimap","\u002Fdocs\u002Fminimap","1.docs\u002F6.minimap\u002F1.index",[389,390],{"title":11,"path":386,"stem":387},{"title":391,"path":392,"stem":393},"Fields Support","\u002Fdocs\u002Fminimap\u002Ffields-support","1.docs\u002F6.minimap\u002F2.fields-support","i-ri-timeline-view",{"title":396,"icon":397,"path":398,"stem":399,"children":400,"page":38},"Documentation","i-ri-book-open-line","\u002Fdocs","1.docs",[401,442,484,498,504,527],{"title":5,"icon":6,"path":7,"stem":8,"children":402,"page":38},[403,407,412,418,425,437],{"title":11,"path":12,"stem":13,"children":404},[405,406],{"title":16,"path":12,"stem":13},{"title":18,"path":19,"stem":20},{"title":22,"path":23,"stem":24,"children":408,"page":38},[409,410,411],{"title":27,"path":28,"stem":29},{"title":31,"path":32,"stem":33},{"title":35,"path":36,"stem":37},{"title":40,"path":41,"stem":42,"children":413,"page":38},[414,415,416,417],{"title":45,"path":46,"stem":47},{"title":49,"path":50,"stem":51},{"title":53,"path":54,"stem":55},{"title":57,"path":58,"stem":59},{"title":61,"path":62,"stem":63,"children":419,"page":38},[420,421,422,423,424],{"title":66,"path":67,"stem":68},{"title":70,"path":71,"stem":72},{"title":74,"path":75,"stem":76},{"title":78,"path":79,"stem":80},{"title":82,"path":83,"stem":84},{"title":86,"path":87,"stem":88,"children":426},[427,428,429,436],{"title":91,"path":87,"stem":88},{"title":93,"path":94,"stem":95},{"title":97,"path":98,"stem":99,"children":430,"defaultOpen":38},[431,432,433,434,435],{"title":91,"path":98,"stem":99},{"title":103,"path":104,"stem":105},{"title":107,"path":108,"stem":109},{"title":111,"path":112,"stem":113},{"title":115,"path":116,"stem":117},{"title":119,"path":120,"stem":121},{"title":123,"path":124,"stem":125,"children":438,"page":38},[439,440,441],{"title":128,"path":129,"stem":130},{"title":132,"path":133,"stem":134},{"title":136,"path":137,"stem":138},{"title":140,"icon":141,"path":142,"stem":143,"children":443,"page":38},[444,449,453,458,461,473,477],{"title":11,"path":146,"stem":147,"children":445},[446,447,448],{"title":16,"path":146,"stem":147},{"title":18,"path":151,"stem":152},{"title":154,"path":155,"stem":156},{"title":22,"path":158,"stem":159,"children":450,"page":38},[451,452],{"title":27,"path":162,"stem":163},{"title":165,"path":166,"stem":167},{"title":169,"path":170,"stem":171,"children":454,"page":38},[455,456,457],{"title":174,"path":175,"stem":176},{"title":178,"path":179,"stem":180},{"title":182,"path":183,"stem":184},{"title":186,"path":187,"stem":188,"children":459,"page":38},[460],{"title":191,"path":192,"stem":193},{"title":86,"path":195,"stem":196,"children":462},[463,464,465,471,472],{"title":91,"path":195,"stem":196},{"title":200,"path":201,"stem":202},{"title":204,"path":205,"stem":206,"children":466,"defaultOpen":38},[467,468,469,470],{"title":91,"path":205,"stem":206},{"title":210,"path":211,"stem":212},{"title":214,"path":215,"stem":216},{"title":218,"path":219,"stem":220},{"title":119,"path":222,"stem":223},{"title":225,"path":226,"stem":227},{"title":123,"path":229,"stem":230,"children":474,"page":38},[475,476],{"title":233,"path":234,"stem":235},{"title":237,"path":238,"stem":239},{"title":241,"path":242,"stem":243,"children":478,"page":38},[479,480,481,482,483],{"title":246,"path":247,"stem":248},{"title":250,"path":251,"stem":252},{"title":254,"path":255,"stem":256},{"title":258,"path":259,"stem":260},{"title":262,"path":263,"stem":264},{"title":266,"icon":267,"path":268,"stem":269,"children":485,"page":38},[486,490,494],{"title":11,"path":272,"stem":273,"children":487},[488,489],{"title":16,"path":272,"stem":273},{"title":18,"path":277,"stem":278},{"title":22,"path":280,"stem":281,"children":491,"page":38},[492,493],{"title":27,"path":284,"stem":285},{"title":287,"path":288,"stem":289},{"title":291,"path":292,"stem":293,"children":495,"page":38},[496,497],{"title":296,"path":297,"stem":298},{"title":300,"path":301,"stem":302},{"title":304,"path":305,"stem":306,"children":499,"icon":319},[500,501,502,503],{"title":11,"path":305,"stem":306},{"title":22,"path":310,"stem":311},{"title":313,"path":314,"stem":315},{"title":136,"path":317,"stem":318},{"title":321,"icon":322,"path":323,"stem":324,"children":505,"page":38},[506,510,515,521,524],{"title":11,"path":327,"stem":328,"children":507},[508,509],{"title":16,"path":327,"stem":328},{"title":18,"path":332,"stem":333},{"title":22,"path":335,"stem":336,"children":511,"page":38},[512,513,514],{"title":339,"path":340,"stem":341},{"title":343,"path":344,"stem":345},{"title":347,"path":348,"stem":349},{"title":40,"path":351,"stem":352,"children":516,"page":38},[517,518,519,520],{"title":355,"path":356,"stem":357},{"title":359,"path":360,"stem":361},{"title":363,"path":364,"stem":365},{"title":367,"path":368,"stem":369},{"title":123,"path":371,"stem":372,"children":522,"page":38},[523],{"title":375,"path":376,"stem":377},{"title":154,"path":379,"stem":380,"children":525},[526],{"title":383,"path":379,"stem":380},{"title":385,"path":386,"stem":387,"children":528,"icon":394},[529,530],{"title":11,"path":386,"stem":387},{"title":391,"path":392,"stem":393},{"title":532,"path":533,"stem":534,"children":535,"page":38},"Blog","\u002Fblog","blog",[536,540,544,548],{"title":537,"path":538,"stem":539},"Kirby Copilot v2.5 – Beyond Single Fields","\u002Fblog\u002Fcopilot-v25","blog\u002Fcopilot-v25",{"title":541,"path":542,"stem":543},"Kirby Copilot v3 – Your Quiet Co-Writer","\u002Fblog\u002Fcopilot-v3","blog\u002Fcopilot-v3",{"title":545,"path":546,"stem":547},"Going Open Source with Commercial Plugins","\u002Fblog\u002Fgoing-open-source","blog\u002Fgoing-open-source",{"title":549,"path":550,"stem":551},"Moving to Paddle","\u002Fblog\u002Fpaddle-migration","blog\u002Fpaddle-migration",[553,557,562,568,575,587],{"title":11,"path":12,"stem":13,"children":554},[555,556],{"title":16,"path":12,"stem":13},{"title":18,"path":19,"stem":20},{"title":22,"path":23,"stem":24,"children":558,"page":38},[559,560,561],{"title":27,"path":28,"stem":29},{"title":31,"path":32,"stem":33},{"title":35,"path":36,"stem":37},{"title":40,"path":41,"stem":42,"children":563,"page":38},[564,565,566,567],{"title":45,"path":46,"stem":47},{"title":49,"path":50,"stem":51},{"title":53,"path":54,"stem":55},{"title":57,"path":58,"stem":59},{"title":61,"path":62,"stem":63,"children":569,"page":38},[570,571,572,573,574],{"title":66,"path":67,"stem":68},{"title":70,"path":71,"stem":72},{"title":74,"path":75,"stem":76},{"title":78,"path":79,"stem":80},{"title":82,"path":83,"stem":84},{"title":86,"path":87,"stem":88,"children":576},[577,578,579,586],{"title":91,"path":87,"stem":88},{"title":93,"path":94,"stem":95},{"title":97,"path":98,"stem":99,"children":580,"defaultOpen":38},[581,582,583,584,585],{"title":91,"path":98,"stem":99},{"title":103,"path":104,"stem":105},{"title":107,"path":108,"stem":109},{"title":111,"path":112,"stem":113},{"title":115,"path":116,"stem":117},{"title":119,"path":120,"stem":121},{"title":123,"path":124,"stem":125,"children":588,"page":38},[589,590,591],{"title":128,"path":129,"stem":130},{"title":132,"path":133,"stem":134},{"title":136,"path":137,"stem":138},{"id":593,"title":594,"body":595,"date":666,"description":663,"extension":667,"meta":668,"navigation":669,"path":670,"seo":671,"stem":672,"__hash__":673},"versions\u002F2.copilot\u002Fchangelog\u002Fv3.8.0.md","v3.8.0",{"type":596,"value":597,"toc":662},"minimark",[598,605,611],[599,600,601],"tip",{},[602,603,604],"p",{},"Copilot's AI engine is now a first-class PHP API. Drive structured-output generation from CLI commands, model methods, or any custom workflow – the same provider stack that powers the Panel.",[602,606,607],{},[608,609,610],"strong",{},"🚀 Features",[612,613,614,626,639],"ul",{},[615,616,617,620,621,625],"li",{},[608,618,619],{},"PHP classes",": Generate text and structured JSON from any PHP context – no Panel required. See the ",[622,623,624],"a",{"href":87},"PHP classes documentation",".",[615,627,628,634,635,625],{},[608,629,630],{},[631,632,633],"code",{},"Client::generateObject()",": Generate JSON objects conforming to a JSON Schema across all supported providers with a single API. See the ",[622,636,638],{"href":637},"\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fclient#generateobject","client reference",[615,640,641,646,647,650,651,654,655,658,659,625],{},[608,642,643],{},[631,644,645],{},"ProviderException",": A dedicated exception class wraps upstream provider failures with ",[631,648,649],{},"provider",", ",[631,652,653],{},"httpCode",", and the original ",[631,656,657],{},"Throwable",". See the ",[622,660,661],{"href":120},"exceptions documentation",{"title":663,"searchDepth":664,"depth":664,"links":665},"",2,[],"2026-05-03","md",{},true,"\u002Fcopilot\u002Fchangelog\u002Fv3.8.0",{"title":594,"description":663},"2.copilot\u002Fchangelog\u002Fv3.8.0","fx4N6UG39S9yydNQ_1ixLWAdhCfX1k8-6jC_o60CZk0",{"data":675,"body":676},{},{"type":677,"children":678},"root",[679],{"type":680,"tag":602,"props":681,"children":682},"element",{},[683,686,694,696,703],{"type":684,"value":685},"text","We love Kirby – our plugins wouldn't exist without it. Help us improve: share feedback in ",{"type":680,"tag":622,"props":687,"children":691},{"href":688,"rel":689},"https:\u002F\u002Fgithub.com\u002Fkirby-tools\u002Fcommunity\u002Fdiscussions",[690],"nofollow",[692],{"type":684,"value":693},"Discussions",{"type":684,"value":695}," or report bugs via ",{"type":680,"tag":622,"props":697,"children":700},{"href":698,"rel":699},"https:\u002F\u002Fgithub.com\u002Fkirby-tools\u002Fcommunity\u002Fissues",[690],[701],{"type":684,"value":702},"Issues",{"type":684,"value":625},{"id":705,"title":107,"body":706,"description":1285,"extension":667,"meta":1286,"navigation":669,"path":108,"seo":1287,"stem":109,"__hash__":1288},"docs\u002F1.docs\u002F1.copilot\u002F5.php-classes\u002F3.providers\u002F3.anthropic.md",{"type":596,"value":707,"toc":1277},[708,718,723,789,810,814,821,847,1020,1037,1043,1060,1110,1117,1121,1142,1245,1263,1273],[602,709,710,711,714,715,625],{},"Use Anthropic Claude with native API support. The provider handles Anthropic's distinct wire format – top-level ",[631,712,713],{},"system"," field, tool-use-based structured output – so you call it with the same messages interface as every other provider. Retry is delegated to the official ",[631,716,717],{},"anthropic-ai\u002Fsdk",[719,720,722],"h2",{"id":721},"construction","Construction",[724,725,729],"pre",{"className":726,"code":727,"language":728,"meta":663,"style":663},"language-php shiki shiki-themes github-light github-light github-dark","public function __construct(\n    ProviderConfig $config,\n    AnthropicClient|null $client = null,\n)\n","php",[631,730,731,751,759,783],{"__ignoreMap":663},[732,733,736,740,743,747],"span",{"class":734,"line":735},"line",1,[732,737,739],{"class":738},"s8jYJ","public",[732,741,742],{"class":738}," function",[732,744,746],{"class":745},"sBjJW"," __construct",[732,748,750],{"class":749},"sxrX7","(\n",[732,752,753,756],{"class":734,"line":664},[732,754,755],{"class":745},"    ProviderConfig",[732,757,758],{"class":749}," $config,\n",[732,760,762,765,768,771,774,777,780],{"class":734,"line":761},3,[732,763,764],{"class":745},"    AnthropicClient",[732,766,767],{"class":749},"|",[732,769,770],{"class":738},"null",[732,772,773],{"class":749}," $client ",[732,775,776],{"class":738},"=",[732,778,779],{"class":745}," null",[732,781,782],{"class":749},",\n",[732,784,786],{"class":734,"line":785},4,[732,787,788],{"class":749},")\n",[790,791,792,800],"field-group",{},[793,794,797],"field",{"name":795,"type":796},"config","ProviderConfig",[602,798,799],{},"Resolved per-provider configuration.",[793,801,804],{"name":802,"type":803},"client","\\\\Anthropic\\\\Client | null",[602,805,806,807,625],{},"Inject a custom Anthropic client. Defaults to ",[631,808,809],{},"new AnthropicClient(apiKey: ..., baseUrl: ...)",[719,811,813],{"id":812},"methods","Methods",[815,816,818],"h3",{"id":817},"generateobject",[631,819,820],{},"generateObject",[602,822,823,824,826,827,830,831,834,835,838,839,842,843,846],{},"Splits incoming messages into system parts (concatenated and forwarded as the top-level ",[631,825,713],{}," field) and chat turns. Registers a single tool ",[631,828,829],{},"structured_response"," with the user-supplied JSON Schema as ",[631,832,833],{},"input_schema",", forces it via ",[631,836,837],{},"toolChoice",", and returns the ",[631,840,841],{},"input"," of the first ",[631,844,845],{},"ToolUseBlock"," in the response.",[724,848,850],{"className":726,"code":849,"language":728,"meta":663,"style":663},"$provider->generateObject(\n    messages: [\n        ['role' => 'system', 'content' => 'Return JSON only.'],\n        ['role' => 'user', 'content' => 'Pick three colors.'],\n    ],\n    schema: [\n        'type' => 'object',\n        'properties' => ['colors' => ['type' => 'array', 'items' => ['type' => 'string']]],\n        'required' => ['colors'],\n    ],\n);\n",[631,851,852,865,873,901,923,929,937,950,995,1009,1014],{"__ignoreMap":663},[732,853,854,857,860,863],{"class":734,"line":735},[732,855,856],{"class":749},"$provider",[732,858,859],{"class":738},"->",[732,861,820],{"class":862},"snPdu",[732,864,750],{"class":749},[732,866,867,870],{"class":734,"line":664},[732,868,869],{"class":862},"    messages",[732,871,872],{"class":749},": [\n",[732,874,875,878,882,885,888,890,893,895,898],{"class":734,"line":761},[732,876,877],{"class":749},"        [",[732,879,881],{"class":880},"sIIMD","'role'",[732,883,884],{"class":738}," =>",[732,886,887],{"class":880}," 'system'",[732,889,650],{"class":749},[732,891,892],{"class":880},"'content'",[732,894,884],{"class":738},[732,896,897],{"class":880}," 'Return JSON only.'",[732,899,900],{"class":749},"],\n",[732,902,903,905,907,909,912,914,916,918,921],{"class":734,"line":785},[732,904,877],{"class":749},[732,906,881],{"class":880},[732,908,884],{"class":738},[732,910,911],{"class":880}," 'user'",[732,913,650],{"class":749},[732,915,892],{"class":880},[732,917,884],{"class":738},[732,919,920],{"class":880}," 'Pick three colors.'",[732,922,900],{"class":749},[732,924,926],{"class":734,"line":925},5,[732,927,928],{"class":749},"    ],\n",[732,930,932,935],{"class":734,"line":931},6,[732,933,934],{"class":862},"    schema",[732,936,872],{"class":749},[732,938,940,943,945,948],{"class":734,"line":939},7,[732,941,942],{"class":880},"        'type'",[732,944,884],{"class":738},[732,946,947],{"class":880}," 'object'",[732,949,782],{"class":749},[732,951,953,956,958,961,964,966,968,971,973,976,978,981,983,985,987,989,992],{"class":734,"line":952},8,[732,954,955],{"class":880},"        'properties'",[732,957,884],{"class":738},[732,959,960],{"class":749}," [",[732,962,963],{"class":880},"'colors'",[732,965,884],{"class":738},[732,967,960],{"class":749},[732,969,970],{"class":880},"'type'",[732,972,884],{"class":738},[732,974,975],{"class":880}," 'array'",[732,977,650],{"class":749},[732,979,980],{"class":880},"'items'",[732,982,884],{"class":738},[732,984,960],{"class":749},[732,986,970],{"class":880},[732,988,884],{"class":738},[732,990,991],{"class":880}," 'string'",[732,993,994],{"class":749},"]]],\n",[732,996,998,1001,1003,1005,1007],{"class":734,"line":997},9,[732,999,1000],{"class":880},"        'required'",[732,1002,884],{"class":738},[732,1004,960],{"class":749},[732,1006,963],{"class":880},[732,1008,900],{"class":749},[732,1010,1012],{"class":734,"line":1011},10,[732,1013,928],{"class":749},[732,1015,1017],{"class":734,"line":1016},11,[732,1018,1019],{"class":749},");\n",[602,1021,1022,1023,1025,1026,1029,1030,1032,1033,1036],{},"Throws ",[631,1024,645],{}," on upstream ",[631,1027,1028],{},"APIException"," (with ",[631,1031,653],{}," set to the status), or when the response contains no ",[631,1034,1035],{},"tool_use"," block. Forcing a tool guarantees the response shape – Claude can't fall back to prose.",[815,1038,1040],{"id":1039},"generatetext",[631,1041,1042],{},"generateText",[602,1044,1045,1046,1049,1050,1053,1054,1056,1057,846],{},"Sends a ",[631,1047,1048],{},"messages.create"," request without ",[631,1051,1052],{},"tools"," or ",[631,1055,837],{}," and returns the concatenated text of every ",[631,1058,1059],{},"TextBlock",[724,1061,1063],{"className":726,"code":1062,"language":728,"meta":663,"style":663},"$provider->generateText(\n    messages: [\n        ['role' => 'user', 'content' => 'Describe three primary colors.'],\n    ],\n);\n",[631,1064,1065,1075,1081,1102,1106],{"__ignoreMap":663},[732,1066,1067,1069,1071,1073],{"class":734,"line":735},[732,1068,856],{"class":749},[732,1070,859],{"class":738},[732,1072,1042],{"class":862},[732,1074,750],{"class":749},[732,1076,1077,1079],{"class":734,"line":664},[732,1078,869],{"class":862},[732,1080,872],{"class":749},[732,1082,1083,1085,1087,1089,1091,1093,1095,1097,1100],{"class":734,"line":761},[732,1084,877],{"class":749},[732,1086,881],{"class":880},[732,1088,884],{"class":738},[732,1090,911],{"class":880},[732,1092,650],{"class":749},[732,1094,892],{"class":880},[732,1096,884],{"class":738},[732,1098,1099],{"class":880}," 'Describe three primary colors.'",[732,1101,900],{"class":749},[732,1103,1104],{"class":734,"line":785},[732,1105,928],{"class":749},[732,1107,1108],{"class":734,"line":925},[732,1109,1019],{"class":749},[602,1111,1022,1112,1025,1114,1116],{},[631,1113,645],{},[631,1115,1028],{},", or when the response contains no text block.",[719,1118,1120],{"id":1119},"provider-specific-options","Provider-Specific Options",[602,1122,1123,1124,1127,1128,650,1131,1134,1135,1138,1139,1141],{},"Anything in ",[631,1125,1126],{},"providers.anthropic"," that isn't ",[631,1129,1130],{},"apiKey",[631,1132,1133],{},"model",", or ",[631,1136,1137],{},"baseUrl"," is spread into the ",[631,1140,1048],{}," request:",[724,1143,1145],{"className":726,"code":1144,"language":728,"meta":663,"style":663},"'providers' => [\n    'anthropic' => [\n        'apiKey' => env('ANTHROPIC_API_KEY'),\n        'maxTokens' => 8000,\n        'temperature' => 0.7,\n        'thinking' => ['type' => 'enabled', 'budgetTokens' => 4000],\n    ],\n],\n",[631,1146,1147,1157,1166,1185,1197,1209,1237,1241],{"__ignoreMap":663},[732,1148,1149,1152,1154],{"class":734,"line":735},[732,1150,1151],{"class":880},"'providers'",[732,1153,884],{"class":738},[732,1155,1156],{"class":749}," [\n",[732,1158,1159,1162,1164],{"class":734,"line":664},[732,1160,1161],{"class":880},"    'anthropic'",[732,1163,884],{"class":738},[732,1165,1156],{"class":749},[732,1167,1168,1171,1173,1176,1179,1182],{"class":734,"line":761},[732,1169,1170],{"class":880},"        'apiKey'",[732,1172,884],{"class":738},[732,1174,1175],{"class":862}," env",[732,1177,1178],{"class":749},"(",[732,1180,1181],{"class":880},"'ANTHROPIC_API_KEY'",[732,1183,1184],{"class":749},"),\n",[732,1186,1187,1190,1192,1195],{"class":734,"line":785},[732,1188,1189],{"class":880},"        'maxTokens'",[732,1191,884],{"class":738},[732,1193,1194],{"class":745}," 8000",[732,1196,782],{"class":749},[732,1198,1199,1202,1204,1207],{"class":734,"line":925},[732,1200,1201],{"class":880},"        'temperature'",[732,1203,884],{"class":738},[732,1205,1206],{"class":745}," 0.7",[732,1208,782],{"class":749},[732,1210,1211,1214,1216,1218,1220,1222,1225,1227,1230,1232,1235],{"class":734,"line":931},[732,1212,1213],{"class":880},"        'thinking'",[732,1215,884],{"class":738},[732,1217,960],{"class":749},[732,1219,970],{"class":880},[732,1221,884],{"class":738},[732,1223,1224],{"class":880}," 'enabled'",[732,1226,650],{"class":749},[732,1228,1229],{"class":880},"'budgetTokens'",[732,1231,884],{"class":738},[732,1233,1234],{"class":745}," 4000",[732,1236,900],{"class":749},[732,1238,1239],{"class":734,"line":939},[732,1240,928],{"class":749},[732,1242,1243],{"class":734,"line":952},[732,1244,900],{"class":749},[1246,1247,1248],"warning",{},[602,1249,1250,1251,1254,1255,1258,1259,1262],{},"Anthropic requires ",[631,1252,1253],{},"max_tokens"," on every request. The provider sends ",[631,1256,1257],{},"DEFAULT_MAX_TOKENS"," (32000) by default – override via ",[631,1260,1261],{},"providers.anthropic.maxTokens"," when you need a tighter cap.",[602,1264,1265,1266,650,1269,1272],{},"Option names use the SDK's camelCase convention (",[631,1267,1268],{},"maxTokens",[631,1270,1271],{},"topP","), not the snake_case wire format. The SDK handles the conversion.",[1274,1275,1276],"style",{},"html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":663,"searchDepth":664,"depth":664,"links":1278},[1279,1280,1284],{"id":721,"depth":664,"text":722},{"id":812,"depth":664,"text":813,"children":1281},[1282,1283],{"id":817,"depth":761,"text":820},{"id":1039,"depth":761,"text":1042},{"id":1119,"depth":664,"text":1120},"Use Anthropic Claude with native API support – structured output is guaranteed, never falling back to free-form prose.",{},{"title":107,"description":1285},"kWC3hLVpU89WR8xWXFZd_eYmGC9ShjPNIydDZClD_5A",[1290,1292],{"title":103,"path":104,"stem":105,"description":1291,"children":-1},"Use OpenAI directly, or any OpenAI-compatible endpoint like OpenRouter, Ollama, or Cloudflare AI Gateway via a custom base URL.",{"title":111,"path":112,"stem":113,"description":1293,"children":-1},"Recommended for blocks and layouts – Gemini handles deeply nested JSON schemas more reliably than other providers.",1778009925246]