Files
jhonny-editor/code/docs/recommendations/2026-08-18/18-transcript-language-cache.md
T
João Henrique b541f502ba 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
2026-09-08 09:59:31 -04:00

1.2 KiB
Executable File

Recommendation 18: capability-aware transcript language cache

Evidence

Premiere 26.3 adds Transcript.querySupportedLanguages(). Re-querying immutable host metadata for every planning workflow adds round trips, while assuming languages from locale or prior hosts would misrepresent installed capability.

Proposed improvement

Cache the bounded normalized language list by exact Premiere version, UXP protocol, and connection generation. Invalidate on reconnect or capability change, return cache age/source, and never infer language-pack installation beyond Adobe's returned data.

Acceptance

  • Repeated reads on one connection use one host call.
  • Reconnect, version change, probe failure, and explicit refresh invalidate safely.
  • Codes/names are normalized, deduplicated, size-bounded, and preserve unknown fields only in debug fixtures.
  • A query failure returns unavailable, never a stale claim from another host.

This optimizes capability discovery; it does not start transcription.