diff --git a/src/plugin/strray-codex-injection.ts b/src/plugin/strray-codex-injection.ts index 0105777f7..26b81f48e 100644 --- a/src/plugin/strray-codex-injection.ts +++ b/src/plugin/strray-codex-injection.ts @@ -24,6 +24,7 @@ async function loadFrameworkLogger() { const candidates = [ "../core/framework-logger.js", "../../dist/core/framework-logger.js", + "../../node_modules/strray-ai/dist/core/framework-logger.js", ]; for (const p of candidates) { try { @@ -46,6 +47,7 @@ async function loadConfigPaths() { const candidates = [ "../core/config-paths.js", "../../dist/core/config-paths.js", + "../../node_modules/strray-ai/dist/core/config-paths.js", ]; for (const p of candidates) { try { @@ -80,6 +82,7 @@ async function importSystemPromptGenerator() { const candidates = [ "../core/system-prompt-generator.js", "../../dist/core/system-prompt-generator.js", + "../../node_modules/strray-ai/dist/core/system-prompt-generator.js", ]; for (const p of candidates) { try {