<?xml version="1.0" encoding="UTF-8"?>
<!--
  OilFlow Pre-Deal Copilot — Outlook task pane add-in (manifest 1.1).

  Sideload this manifest into Outlook (Microsoft 365 web / desktop / mobile)
  to add the "OilFlow Pre-Deal" task pane to your email reading surface.
  See https://oilflow.us/outlook-addin for installation instructions.

  This is the front-office distribution surface for SKU #5 Pre-Deal Copilot:
  every commodity RM lives in their inbox, so the verdict has to come to
  them rather than asking them to navigate to a separate web app. Highlight
  a deal email, click "Run Pre-Deal check," see a sub-30s clearance verdict
  alongside the email body.
-->
<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:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
  xsi:type="MailApp">

  <Id>4a8c6f80-9b1c-4d5a-9e7f-3b2c8d1e0f4a</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>OilFlow Network</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>

  <DisplayName DefaultValue="OilFlow Pre-Deal Copilot"/>
  <Description DefaultValue="Paste a proposed physical-commodity deal from any email and get a sub-30s clearance probability + restructure suggestion. SKU #5 Pre-Deal Copilot for relationship managers, deal originators, and brokers."/>

  <IconUrl DefaultValue="https://oilflow.us/oilflow-logo.svg"/>
  <HighResolutionIconUrl DefaultValue="https://oilflow.us/oilflow-logo.svg"/>

  <SupportUrl DefaultValue="https://oilflow.us/outlook-addin"/>

  <AppDomains>
    <AppDomain>https://oilflow.us</AppDomain>
  </AppDomains>

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

  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.5"/>
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <!--
          The task pane URL is served from the OilFlow Next.js app. The
          taskpane reads the open email via Office.context.mailbox.item,
          extracts heuristic deal fields, lets the RM confirm/edit, then
          calls POST /api/v1/predeal/check with their API key.
        -->
        <SourceLocation DefaultValue="https://oilflow.us/outlook-addin/taskpane"/>
        <RequestedHeight>520</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadItem</Permissions>

  <Rule xsi:type="RuleCollection" Mode="Or">
    <!-- Surface only on inbound messages — outbound drafts are unlikely
         to need a Pre-Deal check. -->
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>

  <DisableEntityHighlighting>false</DisableEntityHighlighting>
</OfficeApp>
