Repository navigation
Conversation
Copilot can follow the service validation example into CommonJS-only diagnostics even though imported sources use import.meta. Selecting the service's ESM compiler project avoids that configuration detour while preserving no-emit checking and real source diagnostics. The default service compiler project selects CommonJS. https://github.com/nosportugal/code-interpreter/blob/c7bf37d6977dffcccc687e29c0b1514036c24e63/service/tsconfig.json#L2-L5 An imported package source uses import.meta. https://github.com/nosportugal/code-interpreter/blob/c7bf37d6977dffcccc687e29c0b1514036c24e63/packages/code/src/root-access.ts#L31-L37 The service build already selects its ESM compiler project. https://github.com/nosportugal/code-interpreter/blob/c7bf37d6977dffcccc687e29c0b1514036c24e63/service/rollup.config.js#L39-L47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧠 How this helps Copilot
Copilot can follow the service validation example into CommonJS-only compiler diagnostics even though service dependencies use
import.meta. Selecting the ESM project already used by the service build avoids that configuration detour and keeps actual source errors visible; it does not promise a clean whole-service check.Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainatc7bf37d.