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
+30
View File
@@ -0,0 +1,30 @@
(function (root, factory) {
const api = factory();
if (typeof module === "object" && module.exports) module.exports = api;
root.PremiereMcpTrackItemMutationLocks = api;
})(typeof globalThis !== "undefined" ? globalThis : this, function () {
"use strict";
// A slide modifies the target plus both immediate neighbours. Use the same
// track-level tail for slips and slides so an operation on one of those
// neighbours cannot bypass the reviewed snapshot while a slide is pending.
function createTrackItemMutationLocks() {
const tails = new Map();
function withTrackMutationLock(key, operation) {
const previous = tails.get(key) || Promise.resolve();
let release;
const gate = new Promise(function (resolve) { release = resolve; });
const tail = previous.catch(function () { return undefined; }).then(function () { return gate; });
tails.set(key, tail);
return previous.catch(function () { return undefined; }).then(operation).finally(function () {
release();
if (tails.get(key) === tail) tails.delete(key);
});
}
return { withTrackMutationLock };
}
return { createTrackItemMutationLocks };
});