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
+27
View File
@@ -0,0 +1,27 @@
import { describe, expect, it, vi } from "vitest";
import { join } from "node:path";
vi.mock("../../src/bridge/file-bridge.js", () => ({
sendCommand: vi.fn().mockResolvedValue({ success: true, data: {} }),
}));
import { sendCommand } from "../../src/bridge/file-bridge.js";
import {
AFTER_EFFECTS_BRIDGE_HELPERS,
AFTER_EFFECTS_DEFAULT_TEMP_DIR_NAME,
getAfterEffectsTempDir,
sendAfterEffectsCommand,
} from "../../src/bridge/after-effects-bridge.js";
describe("After Effects bridge", () => {
it("uses an independent bridge directory and AE-only helpers", async () => {
expect(getAfterEffectsTempDir(undefined, "D:/Temp")).toBe(join("D:/Temp", AFTER_EFFECTS_DEFAULT_TEMP_DIR_NAME));
await sendAfterEffectsCommand("return __aeResult({});", { tempDir: "D:/PremiereOnly" });
expect(sendCommand).toHaveBeenCalledWith("return __aeResult({});", expect.objectContaining({
tempDir: getAfterEffectsTempDir(),
helpers: AFTER_EFFECTS_BRIDGE_HELPERS,
}));
expect(AFTER_EFFECTS_BRIDGE_HELPERS.source).toContain("__aeResult");
expect(AFTER_EFFECTS_BRIDGE_HELPERS.source).not.toContain("__findSequence");
});
});