feat: initial commit - Jhonny Editor

- Adicionado estrutura completa do projeto
- Configurado MCP server para Premiere Pro
- Adicionado documentação e skills
- Configurado Gitignore para o projeto
This commit is contained in:
João Henrique
2026-09-08 09:59:31 -04:00
commit b541f502ba
1507 changed files with 387650 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Attach Premiere connector
on:
release:
types: [published]
permissions:
contents: write
jobs:
attach-connector:
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.event.release.tag_name }}
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run check
- name: Verify release identity
env:
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: node scripts/verify-release-tag.mjs
- name: Build and verify signed connector
shell: pwsh
run: ./scripts/build-signed-cep.ps1
- name: Attach connector to release
shell: pwsh
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload "${{ github.event.release.tag_name }}" "artifacts/MCPBridgeCEP.zxp" --clobber
+45
View File
@@ -0,0 +1,45 @@
name: Build Claude Desktop MCPB
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: write
jobs:
bundle:
name: Build standards-current MCPB
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.event_name == 'release' && github.event.release.tag_name || github.sha }}
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
package-manager-cache: false
- run: npm ci
- run: npm run check
- name: Verify release identity
if: ${{ github.event_name == 'release' }}
env:
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: node scripts/verify-release-tag.mjs
- run: npm run build:claude
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: premiere-pro-mcp-claude-desktop
path: |
artifacts/*.mcpb
if-no-files-found: error
- name: Attach bundles to release
if: ${{ github.event_name == 'release' }}
env:
GH_TOKEN: ${{ github.token }}
run: >-
gh release upload "${{ github.event.release.tag_name }}"
artifacts/*.mcpb --clobber
+95
View File
@@ -0,0 +1,95 @@
name: Connector installers
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
inputs:
require_production_signing:
description: Fail unless platform signing identities are configured
required: true
default: true
type: boolean
permissions:
contents: read
jobs:
connector-package:
runs-on: windows-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Build and verify CEP connector
shell: pwsh
run: ./scripts/build-signed-cep.ps1
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: connector-package
path: artifacts/MCPBridgeCEP.zxp
if-no-files-found: error
windows-installer:
needs: connector-package
runs-on: windows-latest
env:
WINDOWS_SIGNING_PFX_BASE64: ${{ secrets.WINDOWS_SIGNING_PFX_BASE64 }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6
with:
dotnet-version: 8.0.x
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: connector-package
path: artifacts
- name: Restore Windows signing certificate
if: ${{ env.WINDOWS_SIGNING_PFX_BASE64 != '' }}
shell: pwsh
run: '[IO.File]::WriteAllBytes("$env:RUNNER_TEMP\windows-signing.pfx", [Convert]::FromBase64String($env:WINDOWS_SIGNING_PFX_BASE64))'
- name: Build Windows installer
shell: pwsh
env:
SIGNING_PASSWORD: ${{ secrets.WINDOWS_SIGNING_PFX_PASSWORD }}
run: |
$params = @{}
if (Test-Path "$env:RUNNER_TEMP\windows-signing.pfx") {
$params.SigningCertificatePath = "$env:RUNNER_TEMP\windows-signing.pfx"
$params.SigningCertificatePassword = $env:SIGNING_PASSWORD
}
if ('${{ inputs.require_production_signing }}' -eq 'true') { $params.RequireSigning = $true }
./scripts/build-connector-installer.ps1 @params
- name: Verify embedded connector package without installing it
shell: pwsh
run: |
$installer = Get-ChildItem "artifacts/connector-installers/*.exe" | Select-Object -First 1
if (-not $installer) { throw "Windows connector installer artifact was not produced." }
$result = Start-Process -FilePath $installer.FullName -ArgumentList "--verify-only" -Wait -PassThru -NoNewWindow
if ($result.ExitCode -ne 0) { throw "Windows connector installer verification failed." }
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: connector-installer-windows
path: artifacts/connector-installers/*.exe
if-no-files-found: error
macos-installer:
needs: connector-package
runs-on: macos-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: connector-package
path: artifacts
- name: Build macOS installer preview
shell: bash
env:
REQUIRE_SIGNING: ${{ inputs.require_production_signing || 'false' }}
run: ./scripts/build-connector-installer.sh
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: connector-installer-macos
path: |
artifacts/connector-installers/*.pkg
artifacts/connector-installers/*.command
if-no-files-found: error
+33
View File
@@ -0,0 +1,33 @@
name: Copilot Setup Steps
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
cache: npm
package-manager-cache: false
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
+34
View File
@@ -0,0 +1,34 @@
name: Cross-platform validation
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ github.token }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
node: [20, 22, 24]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm ci
- run: npm run check
- name: Enforce unit test coverage baseline
if: matrix.os == 'windows-latest' && matrix.node == 22
run: npm run test:coverage
- name: Verify packaged files
run: npm run pack:check
+69
View File
@@ -0,0 +1,69 @@
name: Publish npm
on:
workflow_dispatch:
inputs:
tag:
description: npm dist-tag to publish
required: true
default: latest
skip_tests:
description: Skip tests after build
required: true
default: "false"
type: choice
options:
- "false"
- "true"
permissions:
contents: read
id-token: write
jobs:
build-signed-cep:
name: Build signed CEP package
runs-on: windows-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Build and verify signed ZXP
shell: pwsh
run: ./scripts/build-signed-cep.ps1
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: signed-cep
path: artifacts/MCPBridgeCEP.zxp
if-no-files-found: error
publish:
name: Publish package
needs: build-signed-cep
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
name: signed-cep
path: artifacts
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
registry-url: https://registry.npmjs.org/
package-manager-cache: false
- run: npm install --global npm@latest
- run: npm ci
- run: npm run premiere:docs-inventory:check
- run: npm run build
- if: ${{ inputs.skip_tests != 'true' }}
run: npm test
- run: npm run pack:check
- name: Fail if version is already published
shell: bash
run: |
VERSION="$(node -p "require('./package.json').version")"
if npm view "premiere-pro-mcp@${VERSION}" version >/dev/null 2>&1; then
echo "premiere-pro-mcp@${VERSION} is already published."
exit 1
fi
- name: Publish to npm
run: npm publish --provenance --access public --tag "${{ inputs.tag }}"
+60
View File
@@ -0,0 +1,60 @@
name: Build Premiere UXP CCX
on:
workflow_dispatch:
inputs:
distribution_channel:
description: Distribution channel for the generated CCX
required: true
default: direct
type: choice
options:
- direct
- marketplace
marketplace_plugin_id:
description: Adobe Developer Distribution plugin ID (required only for marketplace)
required: false
type: string
release:
types: [published]
permissions:
contents: write
jobs:
package:
name: Validate and package UXP CCX
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
UXP_DISTRIBUTION_CHANNEL: ${{ inputs.distribution_channel || 'direct' }}
UXP_MARKETPLACE_PLUGIN_ID: ${{ inputs.marketplace_plugin_id }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.event_name == 'release' && github.event.release.tag_name || github.sha }}
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: 24
package-manager-cache: false
- run: npm ci
- run: npm run check
- name: Verify release identity
if: ${{ github.event_name == 'release' }}
env:
RELEASE_TAG: ${{ github.event.release.tag_name }}
run: node scripts/verify-release-tag.mjs
- run: node scripts/validate-distribution.mjs --uxp
- run: node scripts/build-uxp-ccx.mjs
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: premiere-pro-mcp-uxp-${{ inputs.distribution_channel || 'direct' }}
path: artifacts/*.ccx
if-no-files-found: error
- name: Attach direct CCX to release
if: ${{ github.event_name == 'release' }}
env:
GH_TOKEN: ${{ github.token }}
run: >-
gh release upload "${{ github.event.release.tag_name }}"
artifacts/*-direct.ccx --clobber