<?xml version='1.0' encoding='UTF-8'?>
<ExtensionManifest Version="9.0"
                  ExtensionBundleId="com.comp-o-rama.bundle"
                  ExtensionBundleVersion="1.1.0"
                  ExtensionBundleName="COMP-O-RAMA"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ExtensionList>
    <Extension Id="com.comp-o-rama.panel" Version="1.1.0"/>
  </ExtensionList>

  <ExecutionEnvironment>
    <HostList>
      <!-- CEP 11 requires AE 2022+ (22.x) — needed for aescripts licensing framework -->
      <Host Name="AEFT" Version="[22.0,99.9]"/>
    </HostList>
    <LocaleList>
      <Locale Code="All"/>
    </LocaleList>
    <RequiredRuntimeList>
      <RequiredRuntime Name="CSXS" Version="11.0"/>
    </RequiredRuntimeList>
  </ExecutionEnvironment>

  <DispatchInfoList>
    <Extension Id="com.comp-o-rama.panel">
      <DispatchInfo>
        <Resources>
          <!-- Point at workspace HTML + JSX exactly as in repo -->
          <MainPath>./index.html</MainPath>
          <ScriptPath>./jsx/comp-o-rama.jsx</ScriptPath>
          <CEFCommandLine>
            <Parameter>--enable-nodejs</Parameter>
            <Parameter>--mixed-context</Parameter>
            <Parameter>--enable-aggressive-domstorage-flushing</Parameter>
          </CEFCommandLine>
        </Resources>
        <Lifecycle>
          <AutoVisible>true</AutoVisible>
        </Lifecycle>
        <UI>
          <Type>Panel</Type>
          <!-- This is the exact label you will see in AE -->
          <Menu>COMP-O-RAMA</Menu>
          <Geometry>
            <Size>
              <Height>600</Height>
              <Width>320</Width>
            </Size>
            <MinSize>
              <Height>400</Height>
              <Width>280</Width>
            </MinSize>
          </Geometry>
        </UI>
      </DispatchInfo>
    </Extension>
  </DispatchInfoList>
</ExtensionManifest>
