mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 18:01:22 +00:00
fix(coding-agent): handle typebox alias path separators on windows
This commit is contained in:
parent
3db5715de4
commit
4939434997
2 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ function getAliases(): Record<string, string> {
|
|||
const packageIndex = path.resolve(__dirname, "../..", "index.js");
|
||||
|
||||
const typeboxEntry = require.resolve("@sinclair/typebox");
|
||||
const typeboxRoot = typeboxEntry.replace(/\/build\/cjs\/index\.js$/, "");
|
||||
const typeboxRoot = typeboxEntry.replace(/[\\/]build[\\/]cjs[\\/]index\.js$/, "");
|
||||
|
||||
_aliases = {
|
||||
"@mariozechner/pi-coding-agent": packageIndex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue