Files
bzzz/install/config-ui/app/components/VersionDisplay.tsx
anthonyrawlins 03d938037a Complete BZZZ deployment system fixes with all remaining changes
## Additional Changes:
- Add test configurations and deployment artifacts
- Update web assets and build manifests
- Add version management scripts
- Include local test configs (.bzzz/ directory)
- Update internal runtime and agent configurations
- Refresh Next.js build artifacts

## Final State:
- Complete deployment system working end-to-end
- ironwood successfully deployed and operational
- All hardcoded values removed from codebase
- Config generation and validation fully functional

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 22:06:01 +10:00

43 lines
854 B
TypeScript

'use client'
import { useEffect, useState } from 'react'
interface VersionInfo {
version: string
full_version: string
timestamp: number
}
export default function VersionDisplay() {
const [versionInfo, setVersionInfo] = useState<VersionInfo | null>(null)
useEffect(() => {
const fetchVersion = async () => {
try {
const response = await fetch('/api/version')
if (response.ok) {
const data = await response.json()
setVersionInfo(data)
}
} catch (error) {
console.warn('Failed to fetch version:', error)
}
}
fetchVersion()
}, [])
if (!versionInfo) {
return (
<div className="text-xs text-gray-500">
BZZZ
</div>
)
}
return (
<div className="text-xs text-gray-500">
BZZZ {versionInfo.full_version}
</div>
)
}