﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Package IgnorableNamespaces="uap uap3 mp rescap virtualization build" xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5" xmlns:uap6="http://schemas.microsoft.com/appx/manifest/uap/windows10/6" xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10" xmlns:desktop4="http://schemas.microsoft.com/appx/manifest/desktop/windows10/4" xmlns:desktop5="http://schemas.microsoft.com/appx/manifest/desktop/windows10/5" xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6" xmlns:virtualization="http://schemas.microsoft.com/appx/manifest/virtualization/windows10" xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10" xmlns:build="http://schemas.microsoft.com/developer/appx/2015/build">
  <Identity Name="Microsoft.MicrosoftOfficeHub" Version="19.2604.36171.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" ProcessorArchitecture="x64" />
  <Properties>
    <DisplayName>Microsoft 365 Copilot</DisplayName>
    <PublisherDisplayName>Microsoft Corporation</PublisherDisplayName>
    <Logo>images\storelogo.png</Logo>
    <desktop6:RegistryWriteVirtualization>disabled</desktop6:RegistryWriteVirtualization>
  </Properties>
  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18362.0" MaxVersionTested="10.0.26100.0" />
    <PackageDependency Name="Microsoft.WindowsAppRuntime.1.7" MinVersion="7000.522.1444.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VCLibs.140.00.UWPDesktop" MinVersion="14.0.33728.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
    <PackageDependency Name="Microsoft.VCLibs.140.00" MinVersion="14.0.33519.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
  </Dependencies>
  <Resources>
    <Resource Language="EN-US" />
    <Resource Language="EN-GB" />
    <Resource uap:Scale="200" />
  </Resources>
  <Applications>
    <Application Id="Microsoft.MicrosoftOfficeHub" Executable="M365Copilot.exe" EntryPoint="Windows.FullTrustApplication">
      <uap:VisualElements DisplayName="Microsoft 365 Copilot" Description="Microsoft 365 Copilot" Square150x150Logo="images\Square150x150Logo.png" Square44x44Logo="images\Square44x44Logo.png" BackgroundColor="#FFFFFF">
        <uap:DefaultTile ShortName="Microsoft 365 Copilot" Square71x71Logo="images\Square71x71Logo.png" Wide310x150Logo="images\Wide310x150Logo.png" Square310x310Logo="images\Square310x310Logo.png">
          <uap:ShowNameOnTiles>
            <uap:ShowOn Tile="square150x150Logo" />
            <uap:ShowOn Tile="wide310x150Logo" />
            <uap:ShowOn Tile="square310x310Logo" />
          </uap:ShowNameOnTiles>
        </uap:DefaultTile>
        <uap:SplashScreen Image="images\splashscreen.png" BackgroundColor="#FFFFFF" uap5:Optional="true" />
      </uap:VisualElements>
      <Extensions>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="ms-getoffice" />
        </uap:Extension>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="ms-officeapp" />
        </uap:Extension>
        <uap:Extension Category="windows.protocol">
          <uap:Protocol Name="ms-companion-launch">
            <uap:DisplayName>Microsoft 365 Copilot</uap:DisplayName>
          </uap:Protocol>
        </uap:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.windows.copilotkeyprovider" Id="Microsoft.MicrosoftOfficeHub" DisplayName="Microsoft 365 Copilot" Description="Microsoft 365 Copilot" PublicFolder="Public">
            <uap3:Properties>
              <SingleTap MessageWParam="0">ms-officeapp://?state=SingleTap</SingleTap>
              <PressAndHoldStart MessageWParam="1">ms-officeapp://?state=Down</PressAndHoldStart>
              <PressAndHoldStop MessageWParam="2">ms-officeapp://?state=Up</PressAndHoldStop>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.windows.companionwindowprovider" Id="M365.CompanionWindowProviderExtension" DisplayName="M365 Companion Window Provider Extension" PublicFolder="Public">
            <uap3:Properties>
              <IsAvailableRegistryKey KeyPath="Software\Microsoft\Windows\CurrentVersion\M365Copilot" ValueName="IsCompanionWindowAvailable" />
              <DisplayNameResourceUri>M365 Copilot</DisplayNameResourceUri>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.apptaskprovider" PublicFolder="Public" Id="M365.AppTaskProvider" DisplayName="M365 App Task Provider" />
        </uap3:Extension>
        <desktop:Extension Category="windows.startupTask" Executable="m365copilot_autostarter.exe" EntryPoint="Windows.FullTrustApplication">
          <desktop:StartupTask TaskId="WebViewHostStartupId" Enabled="true" DisplayName="Microsoft 365 Copilot" />
        </desktop:Extension>
        <desktop4:Extension Category="windows.fileExplorerContextMenus">
          <desktop4:FileExplorerContextMenus>
            <desktop5:ItemType Type=".doc">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".docx">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".xls">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".docb">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".fluid">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".loop">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".one">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".ppt">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".pptx">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".xlsx">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".xlsm">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".md">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".pdf">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".png">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".txt">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".rtf">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".htm">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".html">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".bmp">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".gif">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".jfif">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".jpeg">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".jpg">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".csv">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
            <desktop5:ItemType Type=".webp">
              <desktop5:Verb Id="AskM365Copilot" Clsid="4a616e61-3bfe-4f5c-937f-b8602bf16679" />
            </desktop5:ItemType>
          </desktop4:FileExplorerContextMenus>
        </desktop4:Extension>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:SurrogateServer DisplayName="Microsoft 365 Copilot Context Menu">
              <com:Class Id="4a616e61-3bfe-4f5c-937f-b8602bf16679" Path="FileExplorerCommandHandler.dll" ThreadingModel="STA" />
            </com:SurrogateServer>
          </com:ComServer>
        </com:Extension>
        <uap:Extension Category="windows.shareTarget">
          <uap:ShareTarget>
            <uap:SupportedFileTypes>
              <uap:SupportsAnyFileType />
            </uap:SupportedFileTypes>
            <uap:DataFormat>StorageItem</uap:DataFormat>
            <uap:DataFormat>Text</uap:DataFormat>
            <uap:DataFormat>Bitmap</uap:DataFormat>
          </uap:ShareTarget>
        </uap:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.windowsai.chat" Id="WindowsAI.Chat" DisplayName="Microsoft 365 Copilot App" Description="Microsoft 365 Copilot App" PublicFolder="public\chat\share">
            <uap3:Properties>
              <SupportsPrompt>true</SupportsPrompt>
              <DisplayNameResourceUri>
                  ms-resource://Microsoft.MicrosoftOfficeHub/Resources/CopilotDisplayName
                </DisplayNameResourceUri>
              <SuggestionIconResourceUri>
                  ms-resource://Microsoft.MicrosoftOfficeHub/Images/CopilotIconWithoutBadge32x32.png
                </SuggestionIconResourceUri>
              <PlaceholderResourceUri>
                  ms-resource://Microsoft.MicrosoftOfficeHub/Resources/CopilotPlaceholderText
                </PlaceholderResourceUri>
              <SuggestionActionResourceUri>
                  ms-resource://Microsoft.MicrosoftOfficeHub/Resources/CopilotSuggestionText
                </SuggestionActionResourceUri>
              <LaunchSuggestionUri>
                  ms-getoffice:launchSuggestion?prompt=
                </LaunchSuggestionUri>
              <SuggestionEndpoint>https://substrate.office.com</SuggestionEndpoint>
              <TaskbarButtons>
                <Voice>ms-getoffice:?form=COTBCO&amp;state=VoiceComposer</Voice>
                <TrailingCommandsDynamic>taskbar.json</TrailingCommandsDynamic>
              </TaskbarButtons>
              <CommandStripButtons>
                <Voice>ms-getoffice:?form=COTBLF&amp;state=VoiceComposer</Voice>
                <LeadingCommandsDynamic>uc_leading.json</LeadingCommandsDynamic>
                <TrailingCommandsDynamic>uc_trailing.json</TrailingCommandsDynamic>
              </CommandStripButtons>
              <IsAvailableRegistryKey KeyPath="Software\Microsoft\Windows\CurrentVersion\M365Copilot" ValueName="IsCopilotAvailable" />
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.windows.ai.actions" DisplayName="M365 Copilot Agents" Id="M365Copilot.Agent.Actions" PublicFolder="Assets">
            <uap3:Properties>
              <Registration>ActionRegistration.json</Registration>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExtension">
          <uap3:AppExtension Name="com.microsoft.palettes" Id="M365Copilot.Palette" PublicFolder="Public" DisplayName="M365 Copilot">
            <uap3:Properties>
              <ComObjects>
                <Windows.UI.Palettes.IPaletteItemSourceExtension>D9E8A3F2-7B4C-4D5E-9A1B-3C8F6E2D4A7B</Windows.UI.Palettes.IPaletteItemSourceExtension>
              </ComObjects>
            </uap3:Properties>
          </uap3:AppExtension>
        </uap3:Extension>
        <com:Extension Category="windows.comServer">
          <com:ComServer>
            <com:ExeServer Executable="m365copilotwindowsucprovider.exe" Arguments="-RegisterProcessAsComServer" DisplayName="M365 Copilot Windows UC Provider">
              <com:Class Id="D9E8A3F2-7B4C-4D5E-9A1B-3C8F6E2D4A7B" DisplayName="M365 Copilot Windows UC Provider" />
            </com:ExeServer>
          </com:ComServer>
        </com:Extension>
        <uap3:Extension Category="windows.appUriHandler">
          <uap3:AppUriHandler>
            <uap3:Host Name="m365.cloud.microsoft" />
          </uap3:AppUriHandler>
        </uap3:Extension>
      </Extensions>
    </Application>
  </Applications>
  <Capabilities>
    <Capability Name="internetClientServer" />
    <uap6:Capability Name="graphicsCapture" />
    <rescap:Capability Name="runFullTrust" />
    <rescap:Capability Name="enterpriseCloudSSO" />
    <rescap:Capability Name="packageQuery" />
    <rescap:Capability Name="broadFileSystemAccess" />
    <rescap:Capability Name="unvirtualizedResources" />
    <DeviceCapability Name="microphone" />
  </Capabilities>
  <Extensions>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>M365CopilotCSharp.dll</Path>
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.AgentActions.AgentRegistration" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.AgentActions.AgentInfo" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.CommandLine.CommandLineParser" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.AutoStart.AutoStartConfig" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Configuration.FeatureGateNames" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Configuration.ChangeGateManager" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Configuration.FeatureGateManager" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.EcsBoolSetting" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.EcsStringSetting" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.EcsIntSetting" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.EcsSettingFetcher" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.EcsSdkNativeBridge" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Ecs.M365EcsSettings" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.ActivityTracking.ActivityTracker" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Application.Storage.LocalSettings" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="M365CopilotCSharp.Telemetry.Logger" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>Microsoft.Web.WebView2.Core.dll</Path>
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2CustomSchemeRegistration" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2CompositionController" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2ControllerWindowReference" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2Environment" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2Controller" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>WinRT.Host.dll</Path>
        <ActivatableClass ActivatableClassId="McpClient.CallToolResponse" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="McpClient.ReadResourceResponse" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="McpClient.McpClientService" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="McpClient.DiscoverAndDescribeServers" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>Microsoft.Toolkit.Win32.UI.XamlHost.dll</Path>
        <ActivatableClass ActivatableClassId="Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
    <Extension Category="windows.activatableClass.inProcessServer">
      <InProcessServer>
        <Path>Microsoft.UserContext.dll</Path>
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.BatchEntityData" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.UserContextManager" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.LongTermUserContextDataStore" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.FlatBufferUserContextDataStore" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.EntityAggregateData" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.EntityData" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.SqlContextDataStore" ThreadingModel="both" />
        <ActivatableClass ActivatableClassId="Microsoft.UserContext.ShortTermUserContextDataStore" ThreadingModel="both" />
      </InProcessServer>
    </Extension>
  </Extensions>
  <build:Metadata>
    <build:Item Name="Microsoft.Build.DesktopBridge.Tasks.dll" Version="17.14.40140.49182" />
    <build:Item Name="TargetFrameworkMoniker" Value=".NETFramework,Version=v4.5.1" />
    <build:Item Name="VisualStudio" Version="17.0" />
    <build:Item Name="OperatingSystem" Version="10.0.20348.3932 (WinBuild.160101.0800)" />
    <build:Item Name="Microsoft.Build.AppxPackage.dll" Version="17.14.40598.3191" />
    <build:Item Name="ProjectGUID" Value="d6f6fc52-3c14-42d6-bef7-e6cecb8d6b93" />
    <build:Item Name="makepri.exe" Version="10.0.26100.4654 (WinBuild.160101.0800)" />
  </build:Metadata>
  <mp:PhoneIdentity PhoneProductId="fca4e40c-fd2a-4898-a472-8ec78e56280a" PhonePublisherId="95d94207-0c7c-47ed-82db-d75c81153c35" />
</Package>