[{"data":1,"prerenderedAt":265},["ShallowReactive",2],{"quirekit-doc:\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-ai-sidebar-plugin":3},{"id":4,"title":5,"body":6,"description":12,"extension":252,"keywords":253,"locale":256,"meta":257,"navigation":258,"order":259,"path":260,"section":261,"seo":262,"stem":263,"__hash__":264},"docs\u002Fplugins\u002Freference\u002Fcreate-classic-ai-sidebar-plugin.en.md","createClassicAiSidebarPlugin",{"type":7,"value":8,"toc":239},"minimark",[9,13,24,29,35,80,89,93,99,102,105,134,142,146,149,152,156,159,164,167,173,176,180,183,188,194,198,201,205,217,235],[10,11,12],"p",{},"Adds an AI sidebar using a host createWorkspace port per editor attachment. The host owns models, authorization mode and persistence.",[10,14,15,19,20],{},[16,17,18],"code",{},"@quirekit\u002Fclassic-ai"," · ",[21,22,23],"strong",{},"Commercial",[25,26,28],"h2",{"id":27},"editor-compatibility","Editor compatibility",[10,30,31,32],{},"Layer：",[21,33,34],{},"Classic product integration",[36,37,38,54],"table",{},[39,40,41],"thead",{},[42,43,44,48,51],"tr",{},[45,46,47],"th",{},"Editor",[45,49,50],{},"Status",[45,52,53],{},"Assembly and boundaries",[55,56,57,69],"tbody",{},[42,58,59,63,66],{},[60,61,62],"td",{},"Classic",[60,64,65],{},"Supported",[60,67,68],{},"Install this Classic product plugin in createClassicEditor plugins. Supply its required models, host ports and services as documented below.",[42,70,71,74,77],{},[60,72,73],{},"Block",[60,75,76],{},"Unsupported",[60,78,79],{},"Block does not consume Classic product contributions, plugins or paginated assembly. Use shared capabilities and Block adapters instead of copying this entry's Classic configuration.",[10,81,82,83,88],{},"“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See ",[84,85,87],"a",{"href":86},"\u002Fen\u002Fplugins\u002Fcompatibility","status and integration rules",". Licensing is shown separately.",[25,90,92],{"id":91},"installation","Installation",[10,94,95,96,98],{},"The current ",[16,97,18],{}," manifest is private. This site uses workspace source; external projects need the relevant distribution package rather than assuming public npm availability.",[10,100,101],{},"This entry is a commercial component. Obtain distribution access and authorization first; installation commands require that distribution source.",[10,103,104],{},"Install the product plugin in createClassicEditor plugins rather than Core extensions. Required host ports are listed below.",[106,107,112],"pre",{"className":108,"code":109,"language":110,"meta":111,"style":111},"language-ts shiki shiki-themes github-light github-light github-dark","import { createClassicAiSidebarPlugin } from '@quirekit\u002Fclassic-ai'\n","ts","",[16,113,114],{"__ignoreMap":111},[115,116,119,123,127,130],"span",{"class":117,"line":118},"line",1,[115,120,122],{"class":121},"sDD9d","import",[115,124,126],{"class":125},"sVPnS"," { createClassicAiSidebarPlugin } ",[115,128,129],{"class":121},"from",[115,131,133],{"class":132},"s-HEn"," '@quirekit\u002Fclassic-ai'\n",[10,135,136,137,141],{},"Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see ",[84,138,140],{"href":139},"\u002Fen\u002Fsupport","support and licensing",".",[25,143,145],{"id":144},"integration-by-editor","Integration by editor",[10,147,148],{},"These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.",[150,151],"plugin-integration",{"name":5},[25,153,155],{"id":154},"configuration","Configuration",[10,157,158],{},"Pass these fields to the factory options. Required ports come from the host. undefined means no explicit option; documented factory fallbacks apply.",[160,161,163],"h3",{"id":162},"createworkspace","createWorkspace",[10,165,166],{},"Construct document and model ports once per editor attachment.",[10,168,169,170],{},"Type：",[16,171,172],{},"(context: ClassicAiPluginContext): AiChatWorkspaceOptions",[10,174,175],{},"Default：Required host port",[160,177,179],{"id":178},"defaultopen","defaultOpen",[10,181,182],{},"Whether the application opens the sidebar after editor attachment.",[10,184,169,185],{},[16,186,187],{},"false | true | undefined",[10,189,190,191],{},"Default：",[16,192,193],{},"undefined",[25,195,197],{"id":196},"commands-and-runtime","Commands and runtime",[10,199,200],{},"This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.",[25,202,204],{"id":203},"next-steps","Next steps",[10,206,207,208,212,213,216],{},"Return to ",[84,209,211],{"href":210},"\u002Fen\u002Fplugins","all plugins",", or read ",[84,214,154],{"href":215},"\u002Fen\u002Fplugins\u002Fconfiguration"," to distinguish options, attributes and commands.",[10,218,219,220,224,225,229,230,234],{},"Continue with ",[84,221,223],{"href":222},"\u002Fen\u002Fclassic\u002Fquick-start","Classic quick start"," and ",[84,226,228],{"href":227},"\u002Fen\u002Fclassic\u002Fconfiguration","configuration\u002Flifetime",". See ",[84,231,233],{"href":232},"\u002Fen\u002Fbuild\u002Fproduct-plugin","product plugin development"," for your own UI and services.",[236,237,238],"style",{},"html pre.shiki code .sDD9d, html code.shiki .sDD9d{--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVPnS, html code.shiki .sVPnS{--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .s-HEn, html code.shiki .s-HEn{--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF}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 .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 .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);}",{"title":111,"searchDepth":240,"depth":240,"links":241},2,[242,243,244,245,250,251],{"id":27,"depth":240,"text":28},{"id":91,"depth":240,"text":92},{"id":144,"depth":240,"text":145},{"id":154,"depth":240,"text":155,"children":246},[247,249],{"id":162,"depth":248,"text":163},3,{"id":178,"depth":248,"text":179},{"id":196,"depth":240,"text":197},{"id":203,"depth":240,"text":204},"md",[5,18,254,255,163,179,5],"Classic AI 侧栏接口","products","en",{"navigationTitle":5,"license":23},true,81,"\u002Fen\u002Fplugins\u002Freference\u002Fcreate-classic-ai-sidebar-plugin","Product presets and services",{"title":5,"description":12},"plugins\u002Freference\u002Fcreate-classic-ai-sidebar-plugin.en","d5DnHB9jxoavN2PG2VyIPjqiUl-b096IjT04CxrQfps",1793045235590]