<?xml version="1.0" encoding="UTF-8"?>
<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>a1b2c3d4-e5f6-7890-abcd-ef1234567890</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>PiGo</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="PiGo">
    <Override Locale="zh-CN" Value="PiGo" />
  </DisplayName>
<Description DefaultValue="Multi-model AI sidebar add-in for Excel. Powered by Pi.">
  <Override Locale="zh-CN" Value="多模型 AI 侧边栏插件，适用于 Excel。由 Pi 驱动。" />
  </Description>
  <IconUrl DefaultValue="https://pigo.toolooz.com/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://pigo.toolooz.com/assets/icon-80.png" />
  <SupportUrl DefaultValue="https://pigo.toolooz.com/about/" />

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://pigo.toolooz.com/src/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="PiGroup">
                <Label resid="GroupLabel" />
                <Icon>
                  <bt:Image size="16" resid="Icon16" />
                  <bt:Image size="32" resid="Icon32" />
                  <bt:Image size="80" resid="Icon80" />
                </Icon>
                <Control xsi:type="Button" id="OpenPiButton">
                  <Label resid="ButtonLabel" />
                  <Supertip>
                    <Title resid="ButtonLabel" />
                    <Description resid="ButtonDesc" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon16" />
                    <bt:Image size="32" resid="Icon32" />
                    <bt:Image size="80" resid="Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>PiTaskPane</TaskpaneId>
                    <SourceLocation resid="TaskpaneUrl" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://pigo.toolooz.com/assets/icon-16.png" />
        <bt:Image id="Icon32" DefaultValue="https://pigo.toolooz.com/assets/icon-32.png" />
        <bt:Image id="Icon80" DefaultValue="https://pigo.toolooz.com/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskpaneUrl" DefaultValue="https://pigo.toolooz.com/src/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="Pi">
          <Override Locale="zh-CN" Value="Pi" />
        </bt:String>
        <bt:String id="ButtonLabel" DefaultValue="Open Pi">
          <Override Locale="zh-CN" Value="打开 Pi" />
        </bt:String>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="ButtonDesc" DefaultValue="Open the Pi AI assistant sidebar">
          <Override Locale="zh-CN" Value="打开 Pi AI 助手侧边栏" />
        </bt:String>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
