From 72c0e2d1de2095b6ef9229acdcddff5066d967c0 Mon Sep 17 00:00:00 2001 From: Andrey Avtomonov Date: Mon, 11 May 2026 10:03:49 +0200 Subject: [PATCH] Add Conductor workspace setup --- conductor.json | 5 +++++ scripts/setup-conductor-workspace.sh | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 conductor.json create mode 100755 scripts/setup-conductor-workspace.sh diff --git a/conductor.json b/conductor.json new file mode 100644 index 00000000..d97e1c1a --- /dev/null +++ b/conductor.json @@ -0,0 +1,5 @@ +{ + "scripts": { + "setup": "sh scripts/setup-conductor-workspace.sh" + } +} diff --git a/scripts/setup-conductor-workspace.sh b/scripts/setup-conductor-workspace.sh new file mode 100755 index 00000000..8e84145f --- /dev/null +++ b/scripts/setup-conductor-workspace.sh @@ -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