@papercraneai/sandbox-agent 0.1.0 → 0.1.1
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.
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1106,6 +1106,8 @@ async function start() {
|
|
|
1106
1106
|
if (cliArgs.agentOnly) {
|
|
1107
1107
|
// Agent-only mode: just set PROJECT_DIR and start agent
|
|
1108
1108
|
PROJECT_DIR = cliArgs.workdir;
|
|
1109
|
+
// Ensure the project directory exists
|
|
1110
|
+
await mkdir(PROJECT_DIR, { recursive: true });
|
|
1109
1111
|
log.info({ mode, projectDir: PROJECT_DIR }, "Agent-only mode starting");
|
|
1110
1112
|
}
|
|
1111
1113
|
else {
|