Skip to content

fix: add node_modules candidate paths for consumer env#22

Merged
htafolla merged 1 commit intomasterfrom
fix/consumer-node-modules-candidates
Mar 30, 2026
Merged

fix: add node_modules candidate paths for consumer env#22
htafolla merged 1 commit intomasterfrom
fix/consumer-node-modules-candidates

Conversation

@htafolla
Copy link
Copy Markdown
Owner

Consumer installations only have node_modules/ — no src/ or dist/ at project root. The 3 dynamic import candidate lists in strray-codex-injection.ts now try ../../node_modules/strray-ai/dist/core/*.js as a fallback. All 120 tests pass.

Consumer installations only have node_modules/ — no src/ or dist/ at project
root. The 3 dynamic import candidate lists in strray-codex-injection.ts
(loadFrameworkLogger, loadConfigPaths, importSystemPromptGenerator) now try
../../node_modules/strray-ai/dist/core/*.js as a fallback.
@htafolla htafolla merged commit c32e97c into master Mar 30, 2026
5 checks passed
@htafolla htafolla deleted the fix/consumer-node-modules-candidates branch March 31, 2026 15:40
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.

1 participant