Add Conductor workspace setup

This commit is contained in:
Andrey Avtomonov 2026-05-11 10:03:49 +02:00
parent 0d35cf8128
commit 72c0e2d1de
2 changed files with 28 additions and 0 deletions

5
conductor.json Normal file
View file

@ -0,0 +1,5 @@
{
"scripts": {
"setup": "sh scripts/setup-conductor-workspace.sh"
}
}

View file

@ -0,0 +1,23 @@
#!/bin/sh
set -eu
if [ -z "${KAELIO_SKILLS_ROOT:-}" ]; then
exit 0
fi
agents_source="${KAELIO_SKILLS_ROOT}/.agents"
if [ ! -d "${agents_source}" ]; then
exit 0
fi
if [ -L .agents ]; then
exit 0
fi
if [ -e .agents ]; then
echo "Skipping .agents symlink because .agents already exists and is not a symlink." >&2
exit 0
fi
ln -s "${agents_source}" .agents