mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
[codex] Add Conductor workspace setup (#5)
* Add Conductor workspace setup * Refine Conductor setup script structure * Separate Conductor setup steps * Consolidate Conductor setup script * Use KTX env var for agent overlays * Restore Orbit verification summary docs
This commit is contained in:
parent
dc66ffdffb
commit
075764fe77
3 changed files with 39 additions and 1 deletions
|
|
@ -82,8 +82,27 @@ resolve_uv_for_project() {
|
|||
printf '%s\n' "$workspace_uv"
|
||||
}
|
||||
|
||||
link_agent_overlays() {
|
||||
if [ -z "${KTX_AGENT_OVERLAYS_ROOT:-}" ] || [ ! -d "${KTX_AGENT_OVERLAYS_ROOT}/.agents" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ -L .agents ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ -e .agents ]; then
|
||||
echo "Skipping .agents symlink because .agents already exists and is not a symlink." >&2
|
||||
return 0
|
||||
fi
|
||||
|
||||
ln -s "${KTX_AGENT_OVERLAYS_ROOT}/.agents" .agents
|
||||
}
|
||||
|
||||
echo "=== Conductor KTX workspace setup ==="
|
||||
|
||||
link_agent_overlays
|
||||
|
||||
if [ -n "${CONDUCTOR_ROOT_PATH:-}" ] && [ -f "$CONDUCTOR_ROOT_PATH/.env" ]; then
|
||||
ln -sf "$CONDUCTOR_ROOT_PATH/.env" .env
|
||||
echo "Linked .env"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue