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>
64 lines
1.3 KiB
JavaScript
64 lines
1.3 KiB
JavaScript
let Declaration = require('../declaration')
|
||
|
||
class BreakProps extends Declaration {
|
||
/**
|
||
* Don’t prefix some values
|
||
*/
|
||
insert(decl, prefix, prefixes) {
|
||
if (decl.prop !== 'break-inside') {
|
||
return super.insert(decl, prefix, prefixes)
|
||
}
|
||
if (/region/i.test(decl.value) || /page/i.test(decl.value)) {
|
||
return undefined
|
||
}
|
||
return super.insert(decl, prefix, prefixes)
|
||
}
|
||
|
||
/**
|
||
* Return property name by final spec
|
||
*/
|
||
normalize(prop) {
|
||
if (prop.includes('inside')) {
|
||
return 'break-inside'
|
||
}
|
||
if (prop.includes('before')) {
|
||
return 'break-before'
|
||
}
|
||
return 'break-after'
|
||
}
|
||
|
||
/**
|
||
* Change name for -webkit- and -moz- prefix
|
||
*/
|
||
prefixed(prop, prefix) {
|
||
return `${prefix}column-${prop}`
|
||
}
|
||
|
||
/**
|
||
* Change prefixed value for avoid-column and avoid-page
|
||
*/
|
||
set(decl, prefix) {
|
||
if (
|
||
(decl.prop === 'break-inside' && decl.value === 'avoid-column') ||
|
||
decl.value === 'avoid-page'
|
||
) {
|
||
decl.value = 'avoid'
|
||
}
|
||
return super.set(decl, prefix)
|
||
}
|
||
}
|
||
|
||
BreakProps.names = [
|
||
'break-inside',
|
||
'page-break-inside',
|
||
'column-break-inside',
|
||
'break-before',
|
||
'page-break-before',
|
||
'column-break-before',
|
||
'break-after',
|
||
'page-break-after',
|
||
'column-break-after'
|
||
]
|
||
|
||
module.exports = BreakProps
|