Files
ruflo/docker-test/test-published-alpha.dockerfile
T
rUvandClaude af1c8a7c72 feat: implement hive-mind resume functionality (#245)
* 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>
2025-07-14 10:56:09 -04:00

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"]