mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +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
|
|
@ -17,16 +17,26 @@ describe('Conductor workspace scripts', () => {
|
|||
assert.equal(manifest.runScriptMode, 'nonconcurrent');
|
||||
});
|
||||
|
||||
it('sets up exact uv, Python packages, JS packages, and the built CLI', async () => {
|
||||
it('sets up exact uv, local files, Python packages, JS packages, and the built CLI', async () => {
|
||||
const setupScript = await readText('scripts/conductor-setup.sh');
|
||||
|
||||
assert.match(setupScript, /read_required_uv_version\(\)/);
|
||||
assert.match(setupScript, /\.context\/bin\/uv-\$required_version/);
|
||||
assert.match(setupScript, /link_agent_overlays/);
|
||||
assert.match(setupScript, /CONDUCTOR_ROOT_PATH/);
|
||||
assert.match(setupScript, /uv sync --all-packages --all-groups/);
|
||||
assert.match(setupScript, /pnpm install --frozen-lockfile --prefer-offline/);
|
||||
assert.match(setupScript, /pnpm run native:rebuild/);
|
||||
assert.match(setupScript, /pnpm run build/);
|
||||
assert.match(setupScript, /packages\/cli\/dist\/bin\.js dev doctor setup --no-input/);
|
||||
assert.doesNotMatch(setupScript, /scripts\/conductor\//);
|
||||
});
|
||||
|
||||
it('links private agent overlays when KTX_AGENT_OVERLAYS_ROOT is set', async () => {
|
||||
const workspaceScript = await readText('scripts/conductor-setup.sh');
|
||||
|
||||
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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue