<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
  Phase 55 — Kresmion Excel Add-In manifest.

  Production hosting: https://kresmion.com/excel-addin/*
  Local dev:          https://localhost:3000/*

  To switch between prod and dev, change every ``https://kresmion.com``
  occurrence below to ``https://localhost:3000`` and vice versa. The
  ``office-addin-debugging start`` workflow patches this automatically.
-->
<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>03730c01-5c5e-4976-b789-d153a4a83dbb</Id>
  <Version>0.1.0.0</Version>
  <ProviderName>Kresmion</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Kresmion" />
  <Description DefaultValue="Live financial intelligence — macro regime, signals, on-chain whales, BIS data, SEC filings — as Excel worksheet functions." />
  <IconUrl DefaultValue="https://kresmion.com/excel-addin/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://kresmion.com/excel-addin/assets/icon-80.png" />
  <SupportUrl DefaultValue="https://kresmion.com/account/api-keys" />

  <AppDomains>
    <AppDomain>https://kresmion.com</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://kresmion.com/excel-addin/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">

        <!-- Custom-functions runtime bundle. -->
        <Runtimes>
          <Runtime resid="Kresmion.Url.Functions" lifetime="long" />
        </Runtimes>

        <AllFormFactors>
          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="Kresmion.Url.Functions" />
            </Script>
            <Page>
              <SourceLocation resid="Kresmion.Url.Taskpane" />
            </Page>
            <Metadata>
              <SourceLocation resid="Kresmion.Url.FunctionsMetadata" />
            </Metadata>
            <Namespace resid="Kresmion.Namespace" />
          </ExtensionPoint>
        </AllFormFactors>

        <DesktopFormFactor>
          <GetStarted>
            <Title resid="Kresmion.GetStarted.Title" />
            <Description resid="Kresmion.GetStarted.Description" />
            <LearnMoreUrl resid="Kresmion.GetStarted.LearnMoreUrl" />
          </GetStarted>

          <FunctionFile resid="Kresmion.Url.Functions" />

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="Kresmion.Group">
                <Label resid="Kresmion.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Kresmion.Icon16" />
                  <bt:Image size="32" resid="Kresmion.Icon32" />
                  <bt:Image size="80" resid="Kresmion.Icon80" />
                </Icon>
                <Control xsi:type="Button" id="Kresmion.OpenTaskpaneButton">
                  <Label resid="Kresmion.OpenTaskpaneButton.Label" />
                  <Supertip>
                    <Title resid="Kresmion.OpenTaskpaneButton.Label" />
                    <Description resid="Kresmion.OpenTaskpaneButton.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Kresmion.Icon16" />
                    <bt:Image size="32" resid="Kresmion.Icon32" />
                    <bt:Image size="80" resid="Kresmion.Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>Kresmion.Taskpane</TaskpaneId>
                    <SourceLocation resid="Kresmion.Url.Taskpane" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>

      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Kresmion.Icon16" DefaultValue="https://kresmion.com/excel-addin/assets/icon-16.png" />
        <bt:Image id="Kresmion.Icon32" DefaultValue="https://kresmion.com/excel-addin/assets/icon-32.png" />
        <bt:Image id="Kresmion.Icon80" DefaultValue="https://kresmion.com/excel-addin/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Kresmion.Url.Taskpane"  DefaultValue="https://kresmion.com/excel-addin/taskpane.html" />
        <bt:Url id="Kresmion.Url.Functions" DefaultValue="https://kresmion.com/excel-addin/functions.html" />
        <bt:Url id="Kresmion.Url.FunctionsMetadata" DefaultValue="https://kresmion.com/excel-addin/functions.json" />
        <bt:Url id="Kresmion.GetStarted.LearnMoreUrl" DefaultValue="https://kresmion.com/account/api-keys" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="Kresmion.Namespace"                  DefaultValue="KRESMION" />
        <bt:String id="Kresmion.Group.Label"                DefaultValue="Kresmion" />
        <bt:String id="Kresmion.OpenTaskpaneButton.Label"   DefaultValue="Kresmion" />
        <bt:String id="Kresmion.GetStarted.Title"           DefaultValue="Kresmion Excel Add-In" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="Kresmion.OpenTaskpaneButton.Tooltip" DefaultValue="Open the Kresmion taskpane to connect your API key and see the function reference." />
        <bt:String id="Kresmion.GetStarted.Description"     DefaultValue="Paste your API key in the taskpane and start typing =KRESMION.REGIME() in any cell. Generate keys at kresmion.com/account/api-keys." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
