-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
Description
Bug from githubnext/agentics#182
Situation was
-
workflows/workflow.mdimports "shared/file1.md" -
workflows/shared/file1.mdimports "shared/file2.md" -
workflows/shared/file2.mdimports nothing -
Install via remote
gh aw add githubnext/agentics/workflowfails -
install by local
gh aw compile workflows/file1.mdsucceeds -
Didn't try install via local
gh aw add workflows/workflow.md
Design question is whether local imports are resolved relative to directory where importing file is - should the second import be
import shared/file2.md
or
import file2.md
or
import ./file2.md
However many systems ban this and encourage some syntax rooted in top level of local situation, like
import @/shared/file2.md
We should probably do the same. Directory relative imports are a nightmare to maintain as you move files around and quite buggy to implement
Reactions are currently unavailable