mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
Use KTX env var for agent overlays
This commit is contained in:
parent
472006d000
commit
b3c44a089f
2 changed files with 5 additions and 5 deletions
|
|
@ -32,11 +32,11 @@ describe('Conductor workspace scripts', () => {
|
|||
assert.doesNotMatch(setupScript, /scripts\/conductor\//);
|
||||
});
|
||||
|
||||
it('links private agent overlays when KAELIO_SKILLS_ROOT is set', async () => {
|
||||
it('links private agent overlays when KTX_AGENT_OVERLAYS_ROOT is set', async () => {
|
||||
const workspaceScript = await readText('scripts/conductor-setup.sh');
|
||||
|
||||
assert.match(workspaceScript, /KAELIO_SKILLS_ROOT/);
|
||||
assert.match(workspaceScript, /ln -s "\$\{KAELIO_SKILLS_ROOT\}\/\.agents" \.agents/);
|
||||
assert.match(workspaceScript, /KTX_AGENT_OVERLAYS_ROOT/);
|
||||
assert.match(workspaceScript, /ln -s "\$\{KTX_AGENT_OVERLAYS_ROOT\}\/\.agents" \.agents/);
|
||||
});
|
||||
|
||||
it('runs the KTX daemon on the documented fixed local port', async () => {
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ resolve_uv_for_project() {
|
|||
}
|
||||
|
||||
link_agent_overlays() {
|
||||
if [ -z "${KAELIO_SKILLS_ROOT:-}" ] || [ ! -d "${KAELIO_SKILLS_ROOT}/.agents" ]; then
|
||||
if [ -z "${KTX_AGENT_OVERLAYS_ROOT:-}" ] || [ ! -d "${KTX_AGENT_OVERLAYS_ROOT}/.agents" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
|
@ -96,7 +96,7 @@ link_agent_overlays() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
ln -s "${KAELIO_SKILLS_ROOT}/.agents" .agents
|
||||
ln -s "${KTX_AGENT_OVERLAYS_ROOT}/.agents" .agents
|
||||
}
|
||||
|
||||
echo "=== Conductor KTX workspace setup ==="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue