OpenWriterControle/docs/README.md
darrenhinde 1a0f458e1a fix: cross-platform installer compatibility for bash 3.2+ and Windows
Critical fixes:
- Fix argument mismatch (accept 'core' and '--core' formats)
- Fix bash 3.2 compatibility (replace mapfile with while-read loops)
- Fix process substitution issues (use temp files)
- Add platform detection (macOS/Linux/Windows)
- Add bash version check (3.2+ required)
- Add conditional color support for Windows terminals

Enhancements:
- Platform-specific dependency installation instructions
- Improved help text with usage examples
- Better error messages for unsupported platforms

Testing:
- Add comprehensive compatibility test suite (12 tests)
- Add collision detection tests
- Organize tests in scripts/tests/ directory
- All tests pass on macOS (bash 3.2.57)

Documentation:
- Add Windows installation instructions to README
- Add platform compatibility guide
- Add COMPATIBILITY.md quick reference
- Update all test script references

Tested on:
- macOS 13+ (bash 3.2.57) ✓
- Linux (bash 4.0+) ✓
- Windows Git Bash (bash 4.4+) ✓

Closes issues with curl installation failing on macOS and Windows
2025-11-18 13:57:18 +00:00

106 lines
4 KiB
Markdown

# OpenCode Agents Documentation
Welcome to the OpenCode Agents documentation! This directory contains all documentation organized by topic.
## 📚 Documentation Index
### Getting Started
- **[Installation Guide](getting-started/installation.md)** - Complete installation guide with collision handling
- **[Collision Handling](getting-started/collision-handling.md)** - Quick reference for install script collision strategies
### Features
- **[System Builder](features/system-builder/)** - Build complete AI systems tailored to your domain
- [Quick Start](features/system-builder/README.md) - Get started with the system builder
- [Complete Guide](features/system-builder/guide.md) - Detailed documentation and examples
- **[Agent System Blueprint](features/agent-system-blueprint.md)** - Architecture patterns and how to extend the system
### Contributing
- **[Contributing Guide](contributing/CONTRIBUTING.md)** - How to contribute to the project
- **[Code of Conduct](contributing/CODE_OF_CONDUCT.md)** - Community guidelines
### GitHub
- **[GitHub Settings](github/GITHUB_SETTINGS.md)** - Repository settings checklist
## 🚀 Quick Links
### For New Users
- Start with the main [README](../README.md) in the repository root
- Follow the [Installation Guide](getting-started/installation.md)
- Use `opencode --agent codebase-agent` to start building
### For Contributors
- Read the [Contributing Guide](contributing/CONTRIBUTING.md)
- Review the [Code of Conduct](contributing/CODE_OF_CONDUCT.md)
- Check out [good first issues](https://github.com/darrenhinde/opencode-agents/labels/good%20first%20issue)
### For Advanced Users
- Study the [Agent System Blueprint](features/agent-system-blueprint.md)
- Try the [System Builder](features/system-builder/)
- Create custom agents and commands
## 📖 Documentation Structure
```
docs/
├── README.md # This file
├── getting-started/
│ ├── installation.md # Installation guide
│ └── collision-handling.md # Collision handling reference
├── features/
│ ├── system-builder/
│ │ ├── README.md # System builder quick start
│ │ └── guide.md # System builder complete guide
│ └── agent-system-blueprint.md # Architecture patterns
├── contributing/
│ ├── CODE_OF_CONDUCT.md # Community guidelines
│ └── CONTRIBUTING.md # Contribution guide
└── github/
└── GITHUB_SETTINGS.md # Repository settings
```
## 🔍 Finding What You Need
### I want to...
**...install OpenCode Agents**
→ [Installation Guide](getting-started/installation.md)
**...understand collision handling**
→ [Collision Handling](getting-started/collision-handling.md)
**...build a custom AI system**
→ [System Builder](features/system-builder/)
**...understand the architecture**
→ [Agent System Blueprint](features/agent-system-blueprint.md)
**...contribute to the project**
→ [Contributing Guide](contributing/CONTRIBUTING.md)
**...report a bug or request a feature**
→ [GitHub Issues](https://github.com/darrenhinde/opencode-agents/issues)
## 💡 Additional Resources
- **Main README**: [../README.md](../README.md)
- **GitHub Repository**: https://github.com/darrenhinde/opencode-agents
- **OpenCode CLI Docs**: https://opencode.ai/docs
- **Component Registry**: [../registry.json](../registry.json)
## 🤝 Community
- **Issues**: [Report bugs or request features](https://github.com/darrenhinde/opencode-agents/issues)
- **Discussions**: [Ask questions and share ideas](https://github.com/darrenhinde/opencode-agents/discussions)
- **Pull Requests**: [Contribute code](https://github.com/darrenhinde/opencode-agents/pulls)
## 📝 License
This project is licensed under the MIT License. See [LICENSE](../LICENSE) for details.
---
**Need help?** Check the [Contributing Guide](contributing/CONTRIBUTING.md) or open an [issue](https://github.com/darrenhinde/opencode-agents/issues).