<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp
    xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
    xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
    xsi:type="TaskPaneApp">

    <Id>e9b8d7c2-1f4a-46e3-8c52-7d9b4e5a6712</Id>
    <Version>1.1.0.0</Version>
    <ProviderName>Olyteck</ProviderName>
    <DefaultLocale>en-US</DefaultLocale>
    <DisplayName DefaultValue="Knowledge Agents (Excel)"/>
    <Description DefaultValue="Run an AI agent over a column of cells — perfect for filling questionnaires from internal docs."/>

    <IconUrl                DefaultValue="https://ask.olyteck.com/addins/icon-32.png"/>
    <HighResolutionIconUrl  DefaultValue="https://ask.olyteck.com/addins/icon-80.png"/>
    <SupportUrl             DefaultValue="https://ask.olyteck.com/"/>

    <AppDomains>
        <AppDomain>https://ask.olyteck.com</AppDomain>
    </AppDomains>

    <Hosts>
        <Host Name="Workbook"/>
    </Hosts>

    <Requirements>
        <Sets DefaultMinVersion="1.1">
            <Set Name="ExcelApi" MinVersion="1.1"/>
        </Sets>
    </Requirements>

    <DefaultSettings>
        <SourceLocation DefaultValue="https://ask.olyteck.com/addins/excel/index.html"/>
    </DefaultSettings>

    <Permissions>ReadWriteDocument</Permissions>

    <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
        <Hosts>
            <Host xsi:type="Workbook">
                <DesktopFormFactor>
                    <GetStarted>
                        <Title resid="GetStarted.Title"/>
                        <Description resid="GetStarted.Description"/>
                        <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
                    </GetStarted>
                    <ExtensionPoint xsi:type="PrimaryCommandSurface">
                        <OfficeTab id="TabHome">
                            <Group id="KnowledgeGroup">
                                <Label resid="KnowledgeGroup.Label"/>
                                <Icon>
                                    <bt:Image size="16" resid="Icon.16x16"/>
                                    <bt:Image size="32" resid="Icon.32x32"/>
                                    <bt:Image size="80" resid="Icon.80x80"/>
                                </Icon>
                                <Control xsi:type="Button" id="OpenKnowledgePane">
                                    <Label resid="OpenKnowledgePane.Label"/>
                                    <Supertip>
                                        <Title resid="OpenKnowledgePane.Label"/>
                                        <Description resid="OpenKnowledgePane.Tooltip"/>
                                    </Supertip>
                                    <Icon>
                                        <bt:Image size="16" resid="Icon.16x16"/>
                                        <bt:Image size="32" resid="Icon.32x32"/>
                                        <bt:Image size="80" resid="Icon.80x80"/>
                                    </Icon>
                                    <Action xsi:type="ShowTaskpane">
                                        <TaskpaneId>KnowledgeTaskpane</TaskpaneId>
                                        <SourceLocation resid="Taskpane.Url"/>
                                    </Action>
                                </Control>
                            </Group>
                        </OfficeTab>
                    </ExtensionPoint>
                </DesktopFormFactor>
            </Host>
        </Hosts>
        <Resources>
            <bt:Images>
                <bt:Image id="Icon.16x16" DefaultValue="https://ask.olyteck.com/addins/icon-16.png"/>
                <bt:Image id="Icon.32x32" DefaultValue="https://ask.olyteck.com/addins/icon-32.png"/>
                <bt:Image id="Icon.80x80" DefaultValue="https://ask.olyteck.com/addins/icon-80.png"/>
            </bt:Images>
            <bt:Urls>
                <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://ask.olyteck.com/"/>
                <bt:Url id="Taskpane.Url" DefaultValue="https://ask.olyteck.com/addins/excel/index.html"/>
            </bt:Urls>
            <bt:ShortStrings>
                <bt:String id="GetStarted.Title" DefaultValue="Knowledge Agents is ready."/>
                <bt:String id="KnowledgeGroup.Label" DefaultValue="Olyteck Ask"/>
                <bt:String id="OpenKnowledgePane.Label" DefaultValue="Knowledge Agents"/>
            </bt:ShortStrings>
            <bt:LongStrings>
                <bt:String id="GetStarted.Description" DefaultValue="Open the Knowledge Agents pane from the Home tab to run an agent on a range of cells."/>
                <bt:String id="OpenKnowledgePane.Tooltip" DefaultValue="Open the Knowledge Agents task pane."/>
            </bt:LongStrings>
        </Resources>
    </VersionOverrides>
</OfficeApp>
