File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,15 @@ AGENTS_WORKFLOW_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
44
55bash " $AGENTS_WORKFLOW_DIR /common-pre-setup"
66
7+ echo " Checking if there is a project-specific Codex setup file"
78if [ -f .agents/codex-setup ]; then
89 .agents/codex-setup
910fi
1011
12+ echo " Checking if there is a project-specific post-setup file"
1113if [ -f .agents/common-post-setup ]; then
1214 .agents/common-post-setup
1315fi
1416
17+ echo " Running the agents-workflow post-setup"
1518bash " $AGENTS_WORKFLOW_DIR /common-post-setup"
Original file line number Diff line number Diff line change 2222# Try to move the directory - this should work since the script is loaded in memory
2323# This prevents agents from looking into it (wastes their time)
2424if ! mv " $AGENTS_WORKFLOW_DIR " " $TEMP_AGENTS_DIR " ; then
25- echo " Move failed, falling back to copy strategy" >&2
25+ echo " Move failed, falling back to copy strategy"
2626 cp -r " $AGENTS_WORKFLOW_DIR " " $TEMP_AGENTS_DIR "
2727 rm -rf " $AGENTS_WORKFLOW_DIR " || true
2828fi
@@ -34,7 +34,7 @@ if [ -d "/usr/local/bin" ]; then
3434elif [ -d " /usr/bin" ]; then
3535 BIN_DIR=" /usr/bin"
3636else
37- echo " Cannot find suitable bin directory to install get-task" >&2
37+ echo " Cannot find suitable bin directory to install get-task"
3838 exit 1
3939fi
4040
You can’t perform that action at this time.
0 commit comments