usebeeline 0.0.52 → 0.0.53

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.
@@ -17040,6 +17040,9 @@ var MonolithCornerTurnLoop = class {
17040
17040
  this.sessionScratchDir = tmpDir;
17041
17041
  const homeStateDirs = harnessHomeStateDirs(command, agentEnv.HOME ?? operatorHome);
17042
17042
  await Promise.all(homeStateDirs.map((dir) => mkdir9(dir, { recursive: true })));
17043
+ const attachScratchRoot = this.options.config.agentHomeRoot ?? tmpDir;
17044
+ if (attachScratchRoot)
17045
+ await mkdir9(attachScratchRoot, { recursive: true });
17043
17046
  const spawnCommand = wrapAgentCommand({
17044
17047
  bwrapPath: this.options.config.bwrapPath,
17045
17048
  spec: {
@@ -17051,6 +17054,7 @@ var MonolithCornerTurnLoop = class {
17051
17054
  harnessStateDirs: stateDirs,
17052
17055
  harnessHomeStateDirs: homeStateDirs,
17053
17056
  ...tmpDir ? { tmpDir } : {},
17057
+ ...attachScratchRoot ? { additionalWritablePaths: [attachScratchRoot] } : {},
17054
17058
  maskPaths: credentialMaskPaths(this.options.config.sandboxMaskPaths, operatorHome)
17055
17059
  },
17056
17060
  command,
@@ -17088,7 +17092,7 @@ var MonolithCornerTurnLoop = class {
17088
17092
  attachRoot: this.options.worktreePath,
17089
17093
  // The whole per-session overlay, not an enumerated subset: see
17090
17094
  // `monolith-room-turn.ts`'s matching comment.
17091
- attachScratchRoot: this.options.config.agentHomeRoot ?? tmpDir,
17095
+ attachScratchRoot,
17092
17096
  ...this.options.grantRunnerEndpoint ? { grantRunner: this.options.grantRunnerEndpoint } : {}
17093
17097
  })
17094
17098
  ];
@@ -17812,6 +17816,9 @@ var MonolithRoomTurnLoop = class {
17812
17816
  this.sessionStateDirs = stateDirs;
17813
17817
  const homeStateDirs = harnessHomeStateDirs(command, agentEnv.HOME ?? operatorHome);
17814
17818
  await Promise.all(homeStateDirs.map((dir) => mkdir10(dir, { recursive: true })));
17819
+ const attachScratchRoot = this.options.config.agentHomeRoot ?? tmpDir;
17820
+ if (attachScratchRoot)
17821
+ await mkdir10(attachScratchRoot, { recursive: true });
17815
17822
  const spawnCommand = wrapAgentCommand({
17816
17823
  bwrapPath: this.options.config.bwrapPath,
17817
17824
  spec: {
@@ -17820,6 +17827,7 @@ var MonolithRoomTurnLoop = class {
17820
17827
  harnessStateDirs: stateDirs,
17821
17828
  harnessHomeStateDirs: homeStateDirs,
17822
17829
  ...tmpDir ? { tmpDir } : {},
17830
+ ...attachScratchRoot ? { additionalWritablePaths: [attachScratchRoot] } : {},
17823
17831
  maskPaths: credentialMaskPaths(this.options.config.sandboxMaskPaths, operatorHome)
17824
17832
  },
17825
17833
  command,
@@ -17835,7 +17843,7 @@ var MonolithRoomTurnLoop = class {
17835
17843
  // never picks where a harness writes a file it generates (grok's own
17836
17844
  // images dir, say), so anything inside the overlay it could possibly
17837
17845
  // have written must be attachable, whatever subdirectory that is.
17838
- attachScratchRoot: this.options.config.agentHomeRoot ?? tmpDir,
17846
+ attachScratchRoot,
17839
17847
  directMessage,
17840
17848
  ...this.options.grantRunnerEndpoint ? { grantRunner: this.options.grantRunnerEndpoint } : {}
17841
17849
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usebeeline",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "Connect an AI coding agent to Beeline with one command.",
5
5
  "homepage": "https://usebeeline.app",
6
6
  "bugs": {