Skip to content

Fix ES module imports missing .js extensions#13

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-interactive-mode-issue
Draft

Fix ES module imports missing .js extensions#13
Copilot wants to merge 2 commits intomainfrom
copilot/fix-interactive-mode-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 11, 2026

Several local module imports were missing the .js file extension, violating ES module standards and causing potential compatibility issues with strict ESM environments.

Changes:

  • Added .js extensions to 8 import statements across 4 files:
    • bro (1 import)
    • agent.js (3 imports)
    • setup.js (2 imports)
    • nonInteractive.js (2 imports)

Before:

import { ui } from './ui'
import { llm } from './llm'

After:

import { ui } from './ui.js'
import { llm } from './llm.js'

This ensures consistent ESM compliance throughout the codebase.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.groq.com
    • Triggering command: /home/REDACTED/.bun/bin/bun bun run bro (dns block)
    • Triggering command: /home/REDACTED/.bun/bin/bun bun run bro what is 2+2 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

fix interactive mode isn't working


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: oovaa <103980029+oovaa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue with interactive mode functionality Fix ES module imports missing .js extensions Jan 11, 2026
Copilot AI requested a review from oovaa January 11, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants