<?xml version="1.0" encoding="UTF-8"?>
<!--
  Locus for Word — task-pane add-in manifest (TEMPLATE).

  Every URL below uses the local dev origin as a placeholder. Do not hand this
  file to users directly — serve it from /api/word/manifest, which rewrites the
  origin to whatever host served the request, so one template covers dev and
  production. Run `npm run dev:word` locally: Office refuses a task pane over
  plain http, including on localhost.

  Sideload instructions: docs/WORD_ADDIN.md
-->
<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>d3b9f1a2-4c6e-4b8a-9f2d-1a2b3c4d5e6f</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Locus</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Locus for Word" />
  <Description DefaultValue="Live literature discovery and intelligent citation suggestions grounded in what you're reading and writing." />
  <IconUrl DefaultValue="https://www.joinlocus.ai/icon.png" />
  <HighResolutionIconUrl DefaultValue="https://www.joinlocus.ai/icon.png" />
  <SupportUrl DefaultValue="https://www.joinlocus.ai/word-addin" />
  <AppDomains>
    <AppDomain>https://www.joinlocus.ai</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document" />
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.3">
      <Set Name="WordApi" MinVersion="1.3" />
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://www.joinlocus.ai/word" />
  </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>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Locus.Group1">
                <Label resid="Locus.Group1Label" />
                <Icon>
                  <bt:Image size="16" resid="Locus.icon16" />
                  <bt:Image size="32" resid="Locus.icon32" />
                  <bt:Image size="80" resid="Locus.icon80" />
                </Icon>
                <Control xsi:type="Button" id="Locus.TaskpaneButton">
                  <Label resid="Locus.TaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="Locus.TaskpaneButton.Label" />
                    <Description resid="Locus.TaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Locus.icon16" />
                    <bt:Image size="32" resid="Locus.icon32" />
                    <bt:Image size="80" resid="Locus.icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>LocusTaskpane</TaskpaneId>
                    <SourceLocation resid="Locus.Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Locus.icon16" DefaultValue="https://www.joinlocus.ai/icon.png" />
        <bt:Image id="Locus.icon32" DefaultValue="https://www.joinlocus.ai/icon.png" />
        <bt:Image id="Locus.icon80" DefaultValue="https://www.joinlocus.ai/icon.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Locus.Taskpane.Url" DefaultValue="https://www.joinlocus.ai/word" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://www.joinlocus.ai" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Locus.Group1Label" DefaultValue="Locus" />
        <bt:String id="Locus.TaskpaneButton.Label" DefaultValue="Locus" />
        <bt:String id="GetStarted.Title" DefaultValue="Locus for Word is ready" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Locus.TaskpaneButton.Tooltip" DefaultValue="Open the Locus research assistant pane." />
        <bt:String id="GetStarted.Description" DefaultValue="Open the Locus pane from the Home tab to get literature and citation suggestions." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
