@siftd/connect-agent 0.2.45 → 0.2.46

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.
@@ -751,8 +751,9 @@ export class MasterOrchestrator {
751
751
  const teamDir = this.getTeamFilesDir();
752
752
  if (!teamDir)
753
753
  return {};
754
+ const hasTeamDir = existsSync(teamDir);
754
755
  return {
755
- workingDir: this.forceTeamWorkingDir ? teamDir : undefined,
756
+ workingDir: this.forceTeamWorkingDir && hasTeamDir ? teamDir : undefined,
756
757
  instructions: `TEAM FILES DIRECTORY: ${teamDir}\nSave any requested files under this directory so they appear in /files (Team Files). Create the directory if needed.`,
757
758
  };
758
759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siftd/connect-agent",
3
- "version": "0.2.45",
3
+ "version": "0.2.46",
4
4
  "description": "Master orchestrator agent - control Claude Code remotely via web",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",