Commit Graph
4 Commits
Author SHA1 Message Date
James d04e02ddd0 refactor(codex-plugin): portable drift check + lefthook cycle guard
Review findings from /simplify:

- Replace execSync('diff -r') with in-process tree compare. Removes the
  POSIX diff dependency, eliminates the temp-dir dance, and yields a
  structured drift list (changed/missing/extra per path) instead of a
  2000-char-truncated blob.
- Use fileURLToPath for __dirname so paths work on Windows.
- Replace existsSync+statSync TOCTOU with a single statSync in try/catch,
  and fix the error message for the non-directory case.
- Switch readdirSync to { withFileTypes: true } to avoid per-entry
  statSync when scanning for extras.
- lefthook: exclude packages/codex-plugin/skills/** from the
  codex-plugin-sync glob. Without this, editing the built copy (e.g.
  during a conflict resolution) would trigger the hook to rebuild and
  overwrite the user's edit.
2026-04-21 19:23:47 +00:00
James 8cf3ef7870 fix(codex-plugin): correct homepage and author URL to hyperframes.heygen.com 2026-04-21 19:16:47 +00:00
James 6c2129ea33 chore(codex-plugin): add author.email 2026-04-21 19:15:22 +00:00
James 2dd7da562a feat(codex-plugin): add @hyperframes/codex-plugin package
Bundles the 5 hyperframes skills (hyperframes, hyperframes-cli,
hyperframes-registry, gsap, website-to-hyperframes) as an OpenAI Codex
plugin per developers.openai.com/codex/plugins/build.

Users can install directly:
  codex plugin marketplace add heygen-com/hyperframes --sparse packages/codex-plugin

The skills/ directory under packages/codex-plugin/ is a built copy of
the repo-root skills/. A lefthook pre-commit hook auto-rebuilds when
any skill file changes, and `bun run lint` runs a drift check so CI
fails if the committed plugin copy diverges.
2026-04-21 19:11:14 +00:00