<?xml version="1.0" encoding="UTF-8"?>
<!--
  Seligo for Microsoft 365 — unified Office add-in manifest (WP27 S0).
  Hosts: Word, Excel, Outlook. Requirements: Mailbox 1.1, WordApi 1.3, ExcelApi 1.1.
  Sideload for local dev; deploy via the M365 Admin Center (Integrated Apps).
  N1: the add-in persists no document/mail/Graph content — see the privacyUrl.
-->
<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"
          
           xsi:type="TaskPaneApp">
  <Id>4f6c1a2e-9b7d-4c3a-8e21-7a5d0c9b1f34</Id>
  <Version>1.0.0.1</Version>
  <ProviderName>Seligo</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Seligo"/>
  <Description DefaultValue="Governed AI for Word, Excel and Outlook — EU-hosted, budgeted, with visible provenance."/>
  <IconUrl DefaultValue="https://m365.seligo.cloud/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://m365.seligo.cloud/assets/icon-80.png"/>
  <SupportUrl DefaultValue="https://seligo.cloud/support"/>
  <AppDomains>
    <AppDomain>https://m365.seligo.cloud</AppDomain>
    <AppDomain>https://api.seligo.cloud</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
    <Host Name="Workbook"/>
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://m365.seligo.cloud/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Seligo.Group">
                <Label resid="Seligo.GroupLabel"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16"/>
                  <bt:Image size="32" resid="Icon.32"/>
                  <bt:Image size="80" resid="Icon.80"/>
                </Icon>
                <Control xsi:type="Button" id="Seligo.OpenPane">
                  <Label resid="Seligo.TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="Seligo.TaskpaneButton.Label"/>
                    <Description resid="Seligo.TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16"/>
                    <bt:Image size="32" resid="Icon.32"/>
                    <bt:Image size="80" resid="Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>Seligo.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Seligo.Group">
                <Label resid="Seligo.GroupLabel"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16"/>
                  <bt:Image size="32" resid="Icon.32"/>
                  <bt:Image size="80" resid="Icon.80"/>
                </Icon>
                <Control xsi:type="Button" id="Seligo.OpenPane">
                  <Label resid="Seligo.TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="Seligo.TaskpaneButton.Label"/>
                    <Description resid="Seligo.TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16"/>
                    <bt:Image size="32" resid="Icon.32"/>
                    <bt:Image size="80" resid="Icon.80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>Seligo.Taskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://m365.seligo.cloud/assets/icon-16.png"/>
        <bt:Image id="Icon.32" DefaultValue="https://m365.seligo.cloud/assets/icon-32.png"/>
        <bt:Image id="Icon.80" DefaultValue="https://m365.seligo.cloud/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://m365.seligo.cloud/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://m365.seligo.cloud/taskpane.html"/>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://seligo.cloud"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Seligo is ready"/>
        <bt:String id="Seligo.GroupLabel" DefaultValue="Seligo"/>
        <bt:String id="Seligo.TaskpaneButton.Label" DefaultValue="Open Seligo"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open the Seligo pane to use governed AI on this document."/>
        <bt:String id="Seligo.TaskpaneButton.Tooltip" DefaultValue="Open the Seligo AI pane."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>

</OfficeApp>
