You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
claude: Eliminate circular dependency between core API and engine layer
Moved utility functions from execute/ layer to core/ to break the circular
dependency where core/quarto-api.ts imported from execute/jupyter/percent.ts,
which in turn imported from core/quarto-api.ts.
Changes:
- Move execute/jupyter/percent.ts → core/jupyter/percent.ts (breaks cycle)
- Updated to import directly from core utilities instead of quartoAPI
- Move languagesInMarkdown() → core/pandoc/pandoc-partition.ts
- Belongs with other markdown parsing logic
- Move isQmdFile() → core/path.ts
- Fits naturally with other path utilities
- Move postProcessRestorePreservedHtml() → core/jupyter/preserve.ts
- Lives with restorePreservedHtml() function it wraps
All functions moved to existing files (zero new files created).
Core utilities no longer depend on engine layer.
Typecheck passes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments