mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
* fix: update hooks format for Claude Code 1.0.51+ compatibility - Changed hooks from object format to array format (PreToolUse, PostToolUse, Stop) - Added migration script for existing users - Updated settings.json template in init command - Removed unsupported fields (mcpServers, features, performance) - Added @alpha tag to npx commands in hooks Fixes #235 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: implement hive-mind resume functionality (alpha.50) - Add HiveMindSessionManager for session persistence - Implement auto-save middleware with 30-second intervals - Add 'hive-mind resume <session-id>' command - Add 'hive-mind sessions' command to list sessions - Integrate session tracking into spawn workflow - Add comprehensive test suite (80+ tests) - Update documentation and fix README - Bump version to 2.0.0-alpha.50 Fixes #232 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * chore: bump version to 2.0.0-alpha.51 - Update version strings in all CLI files - Prepare for npm publication 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
31 lines
838 B
Docker
31 lines
838 B
Docker
FROM node:20-alpine
|
|
|
|
LABEL description="Test published claude-flow@alpha.50 package"
|
|
LABEL test_type="npm-package-validation"
|
|
|
|
# Install system dependencies
|
|
RUN apk add --no-cache \
|
|
git \
|
|
bash \
|
|
curl
|
|
|
|
# Create test directory
|
|
WORKDIR /test-app
|
|
|
|
# Install the published alpha package
|
|
RUN npm install -g claude-flow@alpha
|
|
|
|
# Test basic functionality
|
|
RUN echo '#!/bin/bash\necho "=== Testing claude-flow@alpha.50 ===" && \
|
|
claude-flow --version && \
|
|
echo "=== Version check passed ===" && \
|
|
claude-flow --help && \
|
|
echo "=== Help command passed ===" && \
|
|
echo "✅ Package installation and basic commands working"' > /test-script.sh && chmod +x /test-script.sh
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
CMD claude-flow --version || exit 1
|
|
|
|
# Default command
|
|
CMD ["/test-script.sh"] |