<?xml version="1.0" encoding="UTF-8"?>
<!--
  Qirnas Word add-in (task pane). Hosted on chat.qirnasgpt.com; talks to chat-api.qirnasgpt.com
  (POST /assist) using a bearer token obtained via the Office Dialog API browser login.
  Sideload: Word → Insert → Add-ins → My Add-ins → Upload My Add-in → pick this manifest.
-->
<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>d7a2c1e4-9b3f-4c8a-8e21-5f6b7c8d9e01</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>MindLab</ProviderName>
  <DefaultLocale>ar-SA</DefaultLocale>
  <DisplayName DefaultValue="قِرناس" />
  <Description DefaultValue="مساعد قِرناس الذكي داخل Word — اكتب، لخّص، وترجم بالعربية." />
  <IconUrl DefaultValue="https://chat.qirnasgpt.com/office/icon.png" />
  <HighResolutionIconUrl DefaultValue="https://chat.qirnasgpt.com/office/icon.png" />
  <SupportUrl DefaultValue="https://qirnasgpt.com" />
  <AppDomains>
    <AppDomain>https://chat.qirnasgpt.com</AppDomain>
    <AppDomain>https://chat-api.qirnasgpt.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document" />
  </Hosts>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://chat.qirnasgpt.com/office/taskpane.html" />
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="QirnasGroup">
                <Label resid="Qirnas.GroupLabel" />
                <Icon>
                  <bt:Image size="16" resid="Qirnas.Icon16" />
                  <bt:Image size="32" resid="Qirnas.Icon32" />
                  <bt:Image size="80" resid="Qirnas.Icon80" />
                </Icon>
                <Control xsi:type="Button" id="QirnasButton">
                  <Label resid="Qirnas.ButtonLabel" />
                  <Supertip>
                    <Title resid="Qirnas.ButtonLabel" />
                    <Description resid="Qirnas.ButtonTip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Qirnas.Icon16" />
                    <bt:Image size="32" resid="Qirnas.Icon32" />
                    <bt:Image size="80" resid="Qirnas.Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>QirnasTaskpane</TaskpaneId>
                    <SourceLocation resid="Qirnas.Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Qirnas.Icon16" DefaultValue="https://chat.qirnasgpt.com/office/icon.png" />
        <bt:Image id="Qirnas.Icon32" DefaultValue="https://chat.qirnasgpt.com/office/icon.png" />
        <bt:Image id="Qirnas.Icon80" DefaultValue="https://chat.qirnasgpt.com/office/icon.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Qirnas.Taskpane.Url" DefaultValue="https://chat.qirnasgpt.com/office/taskpane.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Qirnas.GroupLabel" DefaultValue="قِرناس" />
        <bt:String id="Qirnas.ButtonLabel" DefaultValue="قِرناس" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Qirnas.ButtonTip" DefaultValue="افتح مساعد قِرناس لكتابة وتلخيص وترجمة النص." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
