[{"data":1,"prerenderedAt":1100},["ShallowReactive",2],{"copilot-navigation":3,"copilot-version":152,"mdc-o8y00b-key":155,"\u002Fdocs\u002Fcopilot\u002Fusage\u002Ffield":197,"\u002Fdocs\u002Fcopilot\u002Fusage\u002Ffield-surround":1095},[4,15,33,54,79,98,135],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","\u002Fdocs\u002Fcopilot\u002Fgetting-started","1.docs\u002F1.copilot\u002F1.getting-started\u002F1.index",[9,11],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fdocs\u002Fcopilot\u002Fgetting-started\u002Finstallation","1.docs\u002F1.copilot\u002F1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18,"children":19,"page":32},"Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration","1.docs\u002F1.copilot\u002F2.configuration",[20,24,28],{"title":21,"path":22,"stem":23},"Global Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Fglobal","1.docs\u002F1.copilot\u002F2.configuration\u002F1.global",{"title":25,"path":26,"stem":27},"View Button & Field Configuration","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Flocal","1.docs\u002F1.copilot\u002F2.configuration\u002F2.local",{"title":29,"path":30,"stem":31},"System Prompt","\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Fsystem-prompt","1.docs\u002F1.copilot\u002F2.configuration\u002F3.system-prompt",false,{"title":34,"path":35,"stem":36,"children":37,"page":32},"Usage","\u002Fdocs\u002Fcopilot\u002Fusage","1.docs\u002F1.copilot\u002F3.usage",[38,42,46,50],{"title":39,"path":40,"stem":41},"View Button","\u002Fdocs\u002Fcopilot\u002Fusage\u002Fview-button","1.docs\u002F1.copilot\u002F3.usage\u002F1.view-button",{"title":43,"path":44,"stem":45},"Toolbar Buttons","\u002Fdocs\u002Fcopilot\u002Fusage\u002Ftoolbar-buttons","1.docs\u002F1.copilot\u002F3.usage\u002F2.toolbar-buttons",{"title":47,"path":48,"stem":49},"Inline Suggestions","\u002Fdocs\u002Fcopilot\u002Fusage\u002Finline-suggestions","1.docs\u002F1.copilot\u002F3.usage\u002F3.inline-suggestions",{"title":51,"path":52,"stem":53},"Copilot Field","\u002Fdocs\u002Fcopilot\u002Fusage\u002Ffield","1.docs\u002F1.copilot\u002F3.usage\u002F4.field",{"title":55,"path":56,"stem":57,"children":58,"page":32},"Prompt Dialog","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog","1.docs\u002F1.copilot\u002F4.prompt-dialog",[59,63,67,71,75],{"title":60,"path":61,"stem":62},"Field Placeholders","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fplaceholders","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F1.placeholders",{"title":64,"path":65,"stem":66},"Prompt Templates","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Ftemplates","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F2.templates",{"title":68,"path":69,"stem":70},"File Attachments","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Ffiles","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F3.files",{"title":72,"path":73,"stem":74},"Page References","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fpage-references","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F4.page-references",{"title":76,"path":77,"stem":78},"Skills","\u002Fdocs\u002Fcopilot\u002Fprompt-dialog\u002Fskills","1.docs\u002F1.copilot\u002F4.prompt-dialog\u002F5.skills",{"title":80,"path":81,"stem":82,"children":83},"Agents","\u002Fdocs\u002Fcopilot\u002Fagents","1.docs\u002F1.copilot\u002F5.agents\u002F1.index",[84,86,90,94],{"title":85,"path":81,"stem":82},"Connect an Agent Over MCP",{"title":87,"path":88,"stem":89},"Permissions & Review","\u002Fdocs\u002Fcopilot\u002Fagents\u002Fpermissions-and-review","1.docs\u002F1.copilot\u002F5.agents\u002F2.permissions-and-review",{"title":91,"path":92,"stem":93},"Tools","\u002Fdocs\u002Fcopilot\u002Fagents\u002Ftools","1.docs\u002F1.copilot\u002F5.agents\u002F3.tools",{"title":95,"path":96,"stem":97},"Hosting & Troubleshooting","\u002Fdocs\u002Fcopilot\u002Fagents\u002Fhosting","1.docs\u002F1.copilot\u002F5.agents\u002F4.hosting",{"title":99,"path":100,"stem":101,"children":102},"PHP Classes","\u002Fdocs\u002Fcopilot\u002Fphp-classes","1.docs\u002F1.copilot\u002F6.php-classes\u002F1.index",[103,105,109,131],{"title":104,"path":100,"stem":101},"Overview",{"title":106,"path":107,"stem":108},"Client","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fclient","1.docs\u002F1.copilot\u002F6.php-classes\u002F2.client",{"title":110,"path":111,"stem":112,"children":113,"defaultOpen":32},"Providers","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders","1.docs\u002F1.copilot\u002F6.php-classes\u002F3.providers\u002F1.index",[114,115,119,123,127],{"title":104,"path":111,"stem":112},{"title":116,"path":117,"stem":118},"OpenAIProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fopenai","1.docs\u002F1.copilot\u002F6.php-classes\u002F3.providers\u002F2.openai",{"title":120,"path":121,"stem":122},"AnthropicProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fanthropic","1.docs\u002F1.copilot\u002F6.php-classes\u002F3.providers\u002F3.anthropic",{"title":124,"path":125,"stem":126},"GeminiProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fgemini","1.docs\u002F1.copilot\u002F6.php-classes\u002F3.providers\u002F4.gemini",{"title":128,"path":129,"stem":130},"MistralProvider","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fproviders\u002Fmistral","1.docs\u002F1.copilot\u002F6.php-classes\u002F3.providers\u002F5.mistral",{"title":132,"path":133,"stem":134},"Exceptions","\u002Fdocs\u002Fcopilot\u002Fphp-classes\u002Fexceptions","1.docs\u002F1.copilot\u002F6.php-classes\u002F4.exceptions",{"title":136,"path":137,"stem":138,"children":139,"page":32},"Advanced","\u002Fdocs\u002Fcopilot\u002Fadvanced","1.docs\u002F1.copilot\u002F7.advanced",[140,144,148],{"title":141,"path":142,"stem":143},"Blocks & Layouts","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Fblocks-and-layouts","1.docs\u002F1.copilot\u002F7.advanced\u002F1.blocks-and-layouts",{"title":145,"path":146,"stem":147},"Quick Reference","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Freference","1.docs\u002F1.copilot\u002F7.advanced\u002F2.reference",{"title":149,"path":150,"stem":151},"Troubleshooting","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Ftroubleshooting","1.docs\u002F1.copilot\u002F7.advanced\u002F3.troubleshooting",{"title":153,"date":154},"v4.0.0","2026-11-24",{"data":156,"body":157},{},{"type":158,"children":159},"root",[160],{"type":161,"tag":162,"props":163,"children":164},"element","p",{},[165,168,177,179,186,188,195],{"type":166,"value":167},"text","Kirby Tools is built on ",{"type":161,"tag":169,"props":170,"children":174},"a",{"href":171,"rel":172},"https:\u002F\u002Fgetkirby.com",[173],"nofollow",[175],{"type":166,"value":176},"Kirby",{"type":166,"value":178}," – with gratitude to the team and community who make it. Help me improve the plugins: share feedback in ",{"type":161,"tag":169,"props":180,"children":183},{"href":181,"rel":182},"https:\u002F\u002Fgithub.com\u002Fkirby-tools\u002Fcommunity\u002Fdiscussions",[173],[184],{"type":166,"value":185},"Discussions",{"type":166,"value":187}," or report bugs via ",{"type":161,"tag":169,"props":189,"children":192},{"href":190,"rel":191},"https:\u002F\u002Fgithub.com\u002Fkirby-tools\u002Fcommunity\u002Fissues",[173],[193],{"type":166,"value":194},"Issues",{"type":166,"value":196},".",{"id":198,"title":51,"body":199,"description":1090,"extension":1091,"meta":1092,"navigation":293,"path":52,"seo":1093,"stem":53,"__hash__":1094},"docs\u002F1.docs\u002F1.copilot\u002F3.usage\u002F4.field.md",{"type":200,"value":201,"toc":1070},"minimark",[202,209,225,230,233,323,326,332,361,368,371,375,380,387,391,398,402,418,461,465,473,485,499,505,508,534,567,576,586,593,647,651,660,663,682,690,732,736,746,907,913,939,947,955,958,964,1006,1014,1017,1066],[162,203,204,205,208],{},"The Copilot field provides a dedicated interface for generating content for another field of the same blueprint. Unlike the ",[169,206,207],{"href":40},"Panel view button"," which targets multiple fields at once, the Copilot field focuses on a single field with additional features: persistent prompts saved between sessions, immutable prompts for locked workflows, and automatic file context on file pages.",[210,211,213],"tip",{"icon":212},"i-ri-image-line",[162,214,215,219,220,224],{},[216,217,218],"strong",{},"File Pages",": Use ",[221,222,223],"code",{},"files: auto"," to include the current image as context, for alt text, captions, or descriptions.",[226,227,229],"h2",{"id":228},"basic-setup","Basic Setup",[162,231,232],{},"Add a Copilot field to any blueprint by specifying the target field:",[234,235,241],"pre",{"className":236,"code":237,"filename":238,"language":239,"meta":240,"style":240},"language-yaml shiki shiki-themes github-light github-light github-dark","fields:\n  blocks:\n    label: Content\n    type: blocks\n\n  copilot:\n    type: copilot\n    field: blocks\n","pages\u002Fdefault.yml","yaml","",[221,242,243,256,264,277,288,295,303,313],{"__ignoreMap":240},[244,245,248,252],"span",{"class":246,"line":247},"line",1,[244,249,251],{"class":250},"sovSZ","fields",[244,253,255],{"class":254},"sxrX7",":\n",[244,257,259,262],{"class":246,"line":258},2,[244,260,261],{"class":250},"  blocks",[244,263,255],{"class":254},[244,265,267,270,273],{"class":246,"line":266},3,[244,268,269],{"class":250},"    label",[244,271,272],{"class":254},": ",[244,274,276],{"class":275},"sIIMD","Content\n",[244,278,280,283,285],{"class":246,"line":279},4,[244,281,282],{"class":250},"    type",[244,284,272],{"class":254},[244,286,287],{"class":275},"blocks\n",[244,289,291],{"class":246,"line":290},5,[244,292,294],{"emptyLinePlaceholder":293},true,"\n",[244,296,298,301],{"class":246,"line":297},6,[244,299,300],{"class":250},"  copilot",[244,302,255],{"class":254},[244,304,306,308,310],{"class":246,"line":305},7,[244,307,282],{"class":250},[244,309,272],{"class":254},[244,311,312],{"class":275},"copilot\n",[244,314,316,319,321],{"class":246,"line":315},8,[244,317,318],{"class":250},"    field",[244,320,272],{"class":254},[244,322,287],{"class":275},[162,324,325],{},"The field renders like this:",[327,328,329],"panel-mock",{},[330,331],"panel-copilot-field",{},[162,333,334,335,338,339,343,344,347,348,343,351,353,354,356,357,360],{},"Enter your prompt and click ",[216,336,337],{},"Generate",", or press ",[340,341],"kbd",{"value":342},"meta"," ",[340,345],{"value":346},"enter"," \u002F ",[340,349],{"value":350},"CTRL",[340,352],{"value":346},". While a generation runs, ",[216,355,337],{}," turns into ",[216,358,359],{},"Stop",":",[327,362,363],{},[330,364],{"userPrompt":365,":fileNames":366,":isGenerating":367},"Summarize the attached brief in five points.","[\"brief.pdf\"]","true",[162,369,370],{},"The Copilot field adds to the target field's content and never overwrites it.",[226,372,374],{"id":373},"prompts-and-undo","Prompts and Undo",[376,377,379],"h3",{"id":378},"reset-prompt","Reset Prompt",[162,381,382,383,386],{},"If you've modified a predefined prompt, click ",[216,384,385],{},"Reset prompt"," (circular arrow icon) to restore the original.",[376,388,390],{"id":389},"undo-generation","Undo Generation",[162,392,393,394,397],{},"After generating content, an ",[216,395,396],{},"Undo"," button appears to revert to the previous content.",[376,399,401],{"id":400},"dynamic-prompts-with-kql","Dynamic Prompts With KQL",[162,403,404,405,409,410,413,414,417],{},"A ",[169,406,408],{"href":407},"\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Flocal#userprompt","Kirby query"," in ",[221,411,412],{},"userPrompt"," or ",[221,415,416],{},"systemPrompt"," lets content editors define their own prompt in a dedicated field:",[234,419,421],{"className":236,"code":420,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: blocks\n    userPrompt: \"{{ page.customPrompt.value }}\"\n",[221,422,423,429,435,443,451],{"__ignoreMap":240},[244,424,425,427],{"class":246,"line":247},[244,426,251],{"class":250},[244,428,255],{"class":254},[244,430,431,433],{"class":246,"line":258},[244,432,300],{"class":250},[244,434,255],{"class":254},[244,436,437,439,441],{"class":246,"line":266},[244,438,282],{"class":250},[244,440,272],{"class":254},[244,442,312],{"class":275},[244,444,445,447,449],{"class":246,"line":279},[244,446,318],{"class":250},[244,448,272],{"class":254},[244,450,287],{"class":275},[244,452,453,456,458],{"class":246,"line":290},[244,454,455],{"class":250},"    userPrompt",[244,457,272],{"class":254},[244,459,460],{"class":275},"\"{{ page.customPrompt.value }}\"\n",[226,462,464],{"id":463},"configuration-reference","Configuration Reference",[162,466,467,468,472],{},"The Copilot field takes every ",[169,469,471],{"href":470},"\u002Fdocs\u002Fcopilot\u002Fconfiguration\u002Flocal#view-button-properties","view button property",", plus the following:",[474,475,479],"callout",{"color":476,"icon":477,"to":478},"info","i-ri-keyboard-line","\u002Fdocs\u002Fcopilot\u002Fadvanced\u002Freference#keyboard-shortcuts",[162,480,481,482,484],{},"See the ",[216,483,145],{}," for all keyboard shortcuts.",[376,486,488,343,490],{"id":487},"field",[221,489,487],{},[491,492],"u-badge",{"className":493,"label":497,"variant":498},[494,495,496],"align-middle","ml-2","rounded-full!","String","subtle",[162,500,501,504],{},[216,502,503],{},"Required."," Specifies which field to generate content for. This should be the name of a field defined in the same blueprint.",[162,506,507],{},"The Copilot field works only among the top-level fields of a blueprint. Inside a blocks, layout, structure, or object field, it shows an error instead.",[162,509,510,511,514,515,514,518,514,521,514,523,526,527,530,531,196],{},"The target is a ",[221,512,513],{},"blocks",", ",[221,516,517],{},"layout",[221,519,520],{},"list",[221,522,166],{},[221,524,525],{},"textarea",", or ",[221,528,529],{},"writer"," field – for any other type, use the ",[169,532,533],{"href":40},"view button",[234,535,537],{"className":236,"code":536,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: blocks\n",[221,538,539,545,551,559],{"__ignoreMap":240},[244,540,541,543],{"class":246,"line":247},[244,542,251],{"class":250},[244,544,255],{"class":254},[244,546,547,549],{"class":246,"line":258},[244,548,300],{"class":250},[244,550,255],{"class":254},[244,552,553,555,557],{"class":246,"line":266},[244,554,282],{"class":250},[244,556,272],{"class":254},[244,558,312],{"class":275},[244,560,561,563,565],{"class":246,"line":279},[244,562,318],{"class":250},[244,564,272],{"class":254},[244,566,287],{"class":275},[376,568,570,343,572],{"id":569},"editable",[221,571,569],{},[491,573],{"className":574,"label":575,"variant":498},[494,495,496],"Boolean",[162,577,578,579,582,583,585],{},"Control whether users can edit the prompt. Setting it to ",[221,580,581],{},"false"," is useful if a specific ",[221,584,412],{}," should always be used without modifications.",[162,587,588,343,591],{},[216,589,590],{},"Default:",[221,592,367],{},[234,594,596],{"className":236,"code":595,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: content\n    userPrompt: Write a technical guide about \"{title}\". Include an introduction, step-by-step instructions, and a summary.\n    editable: false\n",[221,597,598,604,610,618,627,636],{"__ignoreMap":240},[244,599,600,602],{"class":246,"line":247},[244,601,251],{"class":250},[244,603,255],{"class":254},[244,605,606,608],{"class":246,"line":258},[244,607,300],{"class":250},[244,609,255],{"class":254},[244,611,612,614,616],{"class":246,"line":266},[244,613,282],{"class":250},[244,615,272],{"class":254},[244,617,312],{"class":275},[244,619,620,622,624],{"class":246,"line":279},[244,621,318],{"class":250},[244,623,272],{"class":254},[244,625,626],{"class":275},"content\n",[244,628,629,631,633],{"class":246,"line":290},[244,630,455],{"class":250},[244,632,272],{"class":254},[244,634,635],{"class":275},"Write a technical guide about \"{title}\". Include an introduction, step-by-step instructions, and a summary.\n",[244,637,638,641,643],{"class":246,"line":297},[244,639,640],{"class":250},"    editable",[244,642,272],{"class":254},[244,644,646],{"class":645},"sBjJW","false\n",[327,648,649],{},[330,650],{":editable":581},[376,652,654,343,656],{"id":653},"files",[221,655,653],{},[491,657],{"className":658,"label":659,"variant":498},[494,495,496],"Boolean | String",[162,661,662],{},"This property enables file attachments for providing context to the AI model.",[162,664,665,343,667,669,672,343,675,514,677,514,679],{},[216,666,590],{},[221,668,367],{},[670,671],"br",{},[216,673,674],{},"Options:",[221,676,367],{},[221,678,581],{},[221,680,681],{},"\"auto\"",[162,683,684,685,687,688,360],{},"To disable file attachments and prevent users from adding files, set the ",[221,686,653],{}," property to ",[221,689,581],{},[234,691,693],{"className":236,"code":692,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: blocks\n    files: false\n",[221,694,695,701,707,715,723],{"__ignoreMap":240},[244,696,697,699],{"class":246,"line":247},[244,698,251],{"class":250},[244,700,255],{"class":254},[244,702,703,705],{"class":246,"line":258},[244,704,300],{"class":250},[244,706,255],{"class":254},[244,708,709,711,713],{"class":246,"line":266},[244,710,282],{"class":250},[244,712,272],{"class":254},[244,714,312],{"class":275},[244,716,717,719,721],{"class":246,"line":279},[244,718,318],{"class":250},[244,720,272],{"class":254},[244,722,287],{"class":275},[244,724,725,728,730],{"class":246,"line":290},[244,726,727],{"class":250},"    files",[244,729,272],{"class":254},[244,731,646],{"class":645},[327,733,734],{},[330,735],{":files":581},[162,737,738,739,741,742,745],{},"On a Kirby file page, setting ",[221,740,223],{}," pre-selects the ",[216,743,744],{},"current file as context"," for the user prompt. This is useful for generating metadata like alternative text based on the image that has already been uploaded to the Panel:",[234,747,750],{"className":236,"code":748,"filename":749,"language":239,"meta":240,"style":240},"columns:\n  - width: 2\u002F3\n    fields:\n      alt:\n        label: Alternative Text\n        type: text\n\n  - width: 1\u002F3\n    fields:\n      copilot:\n        type: copilot\n        field: alt\n        # Use the uploaded file as context\n        files: auto\n        # Optional: Provide a predefined user prompt\n        userPrompt: Describe this image for alternative text. Include key features, colors, and context. Max 125 characters.\n        # Optional: Disable the editing of the user prompt\n        editable: false\n","files\u002Fimage.yml",[221,751,752,759,772,779,786,796,806,810,821,828,836,845,856,863,874,880,891,897],{"__ignoreMap":240},[244,753,754,757],{"class":246,"line":247},[244,755,756],{"class":250},"columns",[244,758,255],{"class":254},[244,760,761,764,767,769],{"class":246,"line":258},[244,762,763],{"class":254},"  - ",[244,765,766],{"class":250},"width",[244,768,272],{"class":254},[244,770,771],{"class":275},"2\u002F3\n",[244,773,774,777],{"class":246,"line":266},[244,775,776],{"class":250},"    fields",[244,778,255],{"class":254},[244,780,781,784],{"class":246,"line":279},[244,782,783],{"class":250},"      alt",[244,785,255],{"class":254},[244,787,788,791,793],{"class":246,"line":290},[244,789,790],{"class":250},"        label",[244,792,272],{"class":254},[244,794,795],{"class":275},"Alternative Text\n",[244,797,798,801,803],{"class":246,"line":297},[244,799,800],{"class":250},"        type",[244,802,272],{"class":254},[244,804,805],{"class":275},"text\n",[244,807,808],{"class":246,"line":305},[244,809,294],{"emptyLinePlaceholder":293},[244,811,812,814,816,818],{"class":246,"line":315},[244,813,763],{"class":254},[244,815,766],{"class":250},[244,817,272],{"class":254},[244,819,820],{"class":275},"1\u002F3\n",[244,822,824,826],{"class":246,"line":823},9,[244,825,776],{"class":250},[244,827,255],{"class":254},[244,829,831,834],{"class":246,"line":830},10,[244,832,833],{"class":250},"      copilot",[244,835,255],{"class":254},[244,837,839,841,843],{"class":246,"line":838},11,[244,840,800],{"class":250},[244,842,272],{"class":254},[244,844,312],{"class":275},[244,846,848,851,853],{"class":246,"line":847},12,[244,849,850],{"class":250},"        field",[244,852,272],{"class":254},[244,854,855],{"class":275},"alt\n",[244,857,859],{"class":246,"line":858},13,[244,860,862],{"class":861},"sCsY4","        # Use the uploaded file as context\n",[244,864,866,869,871],{"class":246,"line":865},14,[244,867,868],{"class":250},"        files",[244,870,272],{"class":254},[244,872,873],{"class":275},"auto\n",[244,875,877],{"class":246,"line":876},15,[244,878,879],{"class":861},"        # Optional: Provide a predefined user prompt\n",[244,881,883,886,888],{"class":246,"line":882},16,[244,884,885],{"class":250},"        userPrompt",[244,887,272],{"class":254},[244,889,890],{"class":275},"Describe this image for alternative text. Include key features, colors, and context. Max 125 characters.\n",[244,892,894],{"class":246,"line":893},17,[244,895,896],{"class":861},"        # Optional: Disable the editing of the user prompt\n",[244,898,900,903,905],{"class":246,"line":899},18,[244,901,902],{"class":250},"        editable",[244,904,272],{"class":254},[244,906,646],{"class":645},[327,908,909],{},[330,910],{":editable":581,"userPrompt":911,"files":912},"Describe this image for alternative text. Include key features, colors, and context. Max 125 characters.","auto",[162,914,915,916,514,919,514,922,514,925,928,929,932,933,514,936,938],{},"Only images are attached this way – ",[221,917,918],{},"avif",[221,920,921],{},"gif",[221,923,924],{},"jpeg",[221,926,927],{},"png",", and ",[221,930,931],{},"webp",". On a file of any other type, including PDF, the Copilot field shows a note that the type is not supported as context. Unlike ",[221,934,935],{},"files: true",[221,937,912],{}," does not add the file picker, so the user cannot attach a different file instead.",[210,940,941],{},[162,942,943,944,946],{},"Learn more about working with files on the dedicated ",[169,945,68],{"href":69}," page.",[376,948,950,343,952],{"id":949},"storage",[221,951,949],{},[491,953],{"className":954,"label":575,"variant":498},[494,495,496],[162,956,957],{},"Enable or disable local storage for saving user prompts in the browser. When enabled, prompts are remembered between sessions. The storage is keyed by the Panel view and the target field, so the same Copilot field keeps its prompt per page – and two Copilot fields writing to the same field on the same page share one entry.",[162,959,960,343,962],{},[216,961,590],{},[221,963,367],{},[234,965,967],{"className":236,"code":966,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: content\n    storage: false\n",[221,968,969,975,981,989,997],{"__ignoreMap":240},[244,970,971,973],{"class":246,"line":247},[244,972,251],{"class":250},[244,974,255],{"class":254},[244,976,977,979],{"class":246,"line":258},[244,978,300],{"class":250},[244,980,255],{"class":254},[244,982,983,985,987],{"class":246,"line":266},[244,984,282],{"class":250},[244,986,272],{"class":254},[244,988,312],{"class":275},[244,990,991,993,995],{"class":246,"line":279},[244,992,318],{"class":250},[244,994,272],{"class":254},[244,996,626],{"class":275},[244,998,999,1002,1004],{"class":246,"line":290},[244,1000,1001],{"class":250},"    storage",[244,1003,272],{"class":254},[244,1005,646],{"class":645},[376,1007,1009,343,1011],{"id":1008},"help",[221,1010,1008],{},[491,1012],{"className":1013,"label":497,"variant":498},[494,495,496],[162,1015,1016],{},"Provide additional help text or instructions for the Copilot field.",[234,1018,1020],{"className":236,"code":1019,"language":239,"meta":240,"style":240},"fields:\n  copilot:\n    type: copilot\n    field: blocks\n    help: |\n      Example: Write a summary of this page and include the contents of {blocks}.\n",[221,1021,1022,1028,1034,1042,1050,1061],{"__ignoreMap":240},[244,1023,1024,1026],{"class":246,"line":247},[244,1025,251],{"class":250},[244,1027,255],{"class":254},[244,1029,1030,1032],{"class":246,"line":258},[244,1031,300],{"class":250},[244,1033,255],{"class":254},[244,1035,1036,1038,1040],{"class":246,"line":266},[244,1037,282],{"class":250},[244,1039,272],{"class":254},[244,1041,312],{"class":275},[244,1043,1044,1046,1048],{"class":246,"line":279},[244,1045,318],{"class":250},[244,1047,272],{"class":254},[244,1049,287],{"class":275},[244,1051,1052,1055,1057],{"class":246,"line":290},[244,1053,1054],{"class":250},"    help",[244,1056,272],{"class":254},[244,1058,1060],{"class":1059},"s8jYJ","|\n",[244,1062,1063],{"class":246,"line":297},[244,1064,1065],{"class":275},"      Example: Write a summary of this page and include the contents of {blocks}.\n",[1067,1068,1069],"style",{},"html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}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 .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}",{"title":240,"searchDepth":258,"depth":258,"links":1071},[1072,1073,1078],{"id":228,"depth":258,"text":229},{"id":373,"depth":258,"text":374,"children":1074},[1075,1076,1077],{"id":378,"depth":266,"text":379},{"id":389,"depth":266,"text":390},{"id":400,"depth":266,"text":401},{"id":463,"depth":258,"text":464,"children":1079},[1080,1082,1084,1086,1088],{"id":487,"depth":266,"text":1081},"field ",{"id":569,"depth":266,"text":1083},"editable ",{"id":653,"depth":266,"text":1085},"files ",{"id":949,"depth":266,"text":1087},"storage ",{"id":1008,"depth":266,"text":1089},"help ","Single-field generation with locked prompts and auto file context, for image alt text, captions, and editorial workflows.","md",{},{"title":51,"description":1090},"XqERjdisL4W009xHLjMlfAf8_SeTddujLKH2tZNRzwc",[1096,1098],{"title":47,"path":48,"stem":49,"description":1097,"children":-1},"Ghost text appears as you type in writer fields – press Tab to accept, Escape to dismiss, or just keep typing to ignore.",{"title":60,"path":61,"stem":62,"description":1099,"children":-1},"Reference Kirby fields in user prompts with `{field}` placeholders – at submit time each one resolves to the field's actual value.",1795525257043]