@agentbean/daemon 0.1.10 → 0.1.11

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.
@@ -94,9 +94,9 @@ function canonicalPath(path) {
94
94
  return path;
95
95
  }
96
96
  }
97
- function resolveOutputRoots(workspace, outputDirs = []) {
97
+ function resolveOutputRoots(workspace, outputDirs = [], includeWorkspace = false) {
98
98
  const roots = new Set();
99
- if (workspace)
99
+ if (workspace && includeWorkspace)
100
100
  roots.add(resolve(workspace));
101
101
  for (const raw of [...outputDirs, ...outputDirsFromEnv()]) {
102
102
  const expanded = raw.replace(/^~(?=$|\/)/, homedir());
@@ -153,7 +153,7 @@ export async function postProcess(reply, workspace, kind, dispatchStart, options
153
153
  for (const filePath of extractMentionedFiles(reply, workspace, dispatchStart)) {
154
154
  outputFiles.add(canonicalPath(filePath));
155
155
  }
156
- for (const filePath of collectRecentOutputFiles(resolveOutputRoots(workspace, options.outputDirs), dispatchStart)) {
156
+ for (const filePath of collectRecentOutputFiles(resolveOutputRoots(workspace, options.outputDirs, options.scanWorkspace), dispatchStart)) {
157
157
  outputFiles.add(filePath);
158
158
  }
159
159
  // Extract code blocks for logging but do NOT auto-execute (security)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agentbean/daemon",
3
3
  "private": false,
4
- "version": "0.1.10",
4
+ "version": "0.1.11",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {