// Test if service manager functions are available print("Testing service manager function availability..."); // Try to call a simple function that should be available try { let result = exist("/tmp"); print(`exist() function works: ${result}`); } catch (error) { print(`exist() function failed: ${error}`); } // List some other functions that should be available print("Testing other SAL functions:"); try { let files = find_files("/tmp", "*.txt"); print(`find_files() works, found ${files.len()} files`); } catch (error) { print(`find_files() failed: ${error}`); } // Try to call service manager function try { let manager = create_service_manager(); print("✅ create_service_manager() works!"); } catch (error) { print(`❌ create_service_manager() failed: ${error}`); } print("Test complete.");