@bakers-build/conductor 0.10.1-next.3 → 0.10.1-next.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1495,6 +1495,10 @@ export class Conductor {
1495
1495
  : {}),
1496
1496
  ...(chosen.agent.modelApi ? { modelApi: chosen.agent.modelApi } : {}),
1497
1497
  };
1498
+ const isolates = this.config.runtime?.isolates === true;
1499
+ // Without it the run starts in an empty private home and cannot sign in.
1500
+ if (isolates && !chosen.agent.prepareRun)
1501
+ throw new Error(`agent ${chosen.alias ?? chosen.id}: the runtime isolates runs, but the agent has no prepareRun to prepare its login and configuration`);
1498
1502
  const runtimeContext = await runtime.prepareRun?.({
1499
1503
  uuid: run.runUuid,
1500
1504
  id: run.runId,
@@ -1510,7 +1514,6 @@ export class Conductor {
1510
1514
  : undefined;
1511
1515
  if (preparation)
1512
1516
  Object.assign(env, preparation.env);
1513
- const isolates = this.config.runtime?.isolates === true;
1514
1517
  // An isolated run without its own clone would share the parent's Git data.
1515
1518
  if (isolates && !ws.clone)
1516
1519
  throw new Error('the runtime isolates runs, but the workspace provides no run clone');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bakers-build/conductor",
3
- "version": "0.10.1-next.3",
3
+ "version": "0.10.1-next.5",
4
4
  "description": "bakers.build conductor engine + CLI: registers, claims tickets via JSON:API, dispatches agents.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -32,14 +32,14 @@
32
32
  "dependencies": {
33
33
  "@dropsh/plugin-jsonapi-schema": "^0.8.2",
34
34
  "@dropsh/plugin-oauth2": "^0.8.2",
35
- "@bakers-build/core": "^0.10.1-next.3",
36
- "@bakers-build/message": "^0.10.1-next.3",
35
+ "@bakers-build/core": "^0.10.1-next.5",
36
+ "@bakers-build/message": "^0.10.1-next.5",
37
37
  "@modelcontextprotocol/sdk": "1.32.1",
38
38
  "commander": "^12.1.0",
39
39
  "dropsh": "^0.8.2"
40
40
  },
41
41
  "bakersBuild": {
42
- "commit": "0eec088d2c0daf5127b57de523f251d83c497cc4",
42
+ "commit": "25319ae2b9b63c102ea4e73efd55f6e6ac27b921",
43
43
  "channel": "next"
44
44
  }
45
45
  }