Frontend Enhancements: - Complete React TypeScript frontend with modern UI components - Distributed workflows management interface with real-time updates - Socket.IO integration for live agent status monitoring - Agent management dashboard with cluster visualization - Project management interface with metrics and task tracking - Responsive design with proper error handling and loading states Backend Infrastructure: - Distributed coordinator for multi-agent workflow orchestration - Cluster management API with comprehensive agent operations - Enhanced database models for agents and projects - Project service for filesystem-based project discovery - Performance monitoring and metrics collection - Comprehensive API documentation and error handling Documentation: - Complete distributed development guide (README_DISTRIBUTED.md) - Comprehensive development report with architecture insights - System configuration templates and deployment guides The platform now provides a complete web interface for managing the distributed AI cluster with real-time monitoring, workflow orchestration, and agent coordination capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
52 lines
1.4 KiB
Markdown
52 lines
1.4 KiB
Markdown
# isexe
|
|
|
|
Minimal module to check if a file is executable, and a normal file.
|
|
|
|
Uses `fs.stat` and tests against the `PATHEXT` environment variable on
|
|
Windows.
|
|
|
|
## USAGE
|
|
|
|
```javascript
|
|
var isexe = require('isexe')
|
|
isexe('some-file-name', function (err, isExe) {
|
|
if (err) {
|
|
console.error('probably file does not exist or something', err)
|
|
} else if (isExe) {
|
|
console.error('this thing can be run')
|
|
} else {
|
|
console.error('cannot be run')
|
|
}
|
|
})
|
|
|
|
// same thing but synchronous, throws errors
|
|
var isExe = isexe.sync('some-file-name')
|
|
|
|
// treat errors as just "not executable"
|
|
isexe('maybe-missing-file', { ignoreErrors: true }, callback)
|
|
var isExe = isexe.sync('maybe-missing-file', { ignoreErrors: true })
|
|
```
|
|
|
|
## API
|
|
|
|
### `isexe(path, [options], [callback])`
|
|
|
|
Check if the path is executable. If no callback provided, and a
|
|
global `Promise` object is available, then a Promise will be returned.
|
|
|
|
Will raise whatever errors may be raised by `fs.stat`, unless
|
|
`options.ignoreErrors` is set to true.
|
|
|
|
### `isexe.sync(path, [options])`
|
|
|
|
Same as `isexe` but returns the value and throws any errors raised.
|
|
|
|
### Options
|
|
|
|
* `ignoreErrors` Treat all errors as "no, this is not executable", but
|
|
don't raise them.
|
|
* `uid` Number to use as the user id
|
|
* `gid` Number to use as the group id
|
|
* `pathExt` List of path extensions to use instead of `PATHEXT`
|
|
environment variable on Windows.
|