You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log("Symlink creation failed (might be platform limitation):",symlinkError)
457
+
// Skip test if symlinks can't be created
458
+
console.log("Skipping symlink test - platform doesn't support symlinks")
459
+
return
460
+
}
461
+
462
+
// Start task to list files in symlink test directory
463
+
taskId=awaitapi.startNewTask({
464
+
configuration: {
465
+
mode: "code",
466
+
autoApprovalEnabled: true,
467
+
alwaysAllowReadOnly: true,
468
+
alwaysAllowReadOnlyOutsideWorkspace: true,
469
+
},
470
+
text: `I have created a test directory with symlinks at "${testDirName}". Use the list_files tool to list the contents of this directory. It should show both the original files/directories and the symlinked ones. The directory contains symlinks to both a file and a directory.`,
471
+
})
472
+
473
+
console.log("Symlink test Task ID:",taskId)
474
+
475
+
// Wait for task completion
476
+
awaitwaitFor(()=>taskCompleted,{timeout: 60_000})
477
+
478
+
// Verify the list_files tool was executed
479
+
assert.ok(toolExecuted,"The list_files tool should have been executed")
480
+
481
+
// Verify the tool returned results
482
+
assert.ok(listResults,"Tool execution results should be captured")
0 commit comments