Skip to content

Conversation

@sn0n
Copy link

@sn0n sn0n commented Jan 21, 2026

This commit adds full OpenCode support to PAI with:

New OpenCode Directory Structure:

  • Cross-platform installation wizards (PowerShell for Windows, Bash for Linux/macOS)
  • Comprehensive documentation explaining OpenCode vs Claude Code differences
  • MCP (Model Context Protocol) server examples for adapting PAI features
  • Pack conversion guide for migrating Claude Code hooks to OpenCode MCP servers

Installation Wizards:

  • install.ps1 - Windows PowerShell installer with full .NET path support
  • install.sh - Linux/macOS Bash installer with timedatectl integration
  • Both wizards create PAI directory structure, CORE skill, and MCP configuration

Documentation:

  • OpenCode/README.md - Complete OpenCode setup and usage guide
  • OpenCode/PACK_CONVERSION_GUIDE.md - Detailed hook-to-MCP conversion patterns
  • OpenCode/examples/README.md - MCP server development guide

Example MCP Servers:

  • context-server.ts - Auto-generated by installers, loads CORE skill at session start
  • history-server-example.ts - Example implementation for conversation history tracking

Windows Support:

  • First-class Windows compatibility with PowerShell scripts
  • USERPROFILE path resolution
  • Windows timezone to IANA mapping
  • Cross-platform TypeScript MCP servers

README Updates:

  • Added OpenCode quick start section
  • Updated platform compatibility table with full OpenCode support
  • Added links to OpenCode installation documentation

Key Features:

  • MCP server architecture replaces Claude Code hooks
  • Cross-platform support (Windows, Linux, macOS)
  • Full compatibility with PAI skills and workflows
  • Conversion patterns for all major hook types (SessionStart, PreToolUse, PostToolUse)

This enables PAI users to run the same personal AI infrastructure on OpenCode with minimal adaptation, expanding PAI's reach to Windows users and the growing OpenCode ecosystem.

claude and others added 5 commits January 21, 2026 05:14
This commit adds full OpenCode support to PAI with:

**New OpenCode Directory Structure:**
- Cross-platform installation wizards (PowerShell for Windows, Bash for Linux/macOS)
- Comprehensive documentation explaining OpenCode vs Claude Code differences
- MCP (Model Context Protocol) server examples for adapting PAI features
- Pack conversion guide for migrating Claude Code hooks to OpenCode MCP servers

**Installation Wizards:**
- `install.ps1` - Windows PowerShell installer with full .NET path support
- `install.sh` - Linux/macOS Bash installer with timedatectl integration
- Both wizards create PAI directory structure, CORE skill, and MCP configuration

**Documentation:**
- `OpenCode/README.md` - Complete OpenCode setup and usage guide
- `OpenCode/PACK_CONVERSION_GUIDE.md` - Detailed hook-to-MCP conversion patterns
- `OpenCode/examples/README.md` - MCP server development guide

**Example MCP Servers:**
- `context-server.ts` - Auto-generated by installers, loads CORE skill at session start
- `history-server-example.ts` - Example implementation for conversation history tracking

**Windows Support:**
- First-class Windows compatibility with PowerShell scripts
- USERPROFILE path resolution
- Windows timezone to IANA mapping
- Cross-platform TypeScript MCP servers

**README Updates:**
- Added OpenCode quick start section
- Updated platform compatibility table with full OpenCode support
- Added links to OpenCode installation documentation

**Key Features:**
- MCP server architecture replaces Claude Code hooks
- Cross-platform support (Windows, Linux, macOS)
- Full compatibility with PAI skills and workflows
- Conversion patterns for all major hook types (SessionStart, PreToolUse, PostToolUse)

This enables PAI users to run the same personal AI infrastructure on OpenCode
with minimal adaptation, expanding PAI's reach to Windows users and the growing
OpenCode ecosystem.
Synchronized with danielmiessler/Personal_AI_Infrastructure upstream:
- Confirmed branch is up-to-date with upstream/main
- Updated pack naming from kai- to pai- in conversion guide
- Removed duplicate heading from README (leftover from earlier edit)

Changes:
- OpenCode/PACK_CONVERSION_GUIDE.md: Updated example from kai-history-system to pai-history-system
- README.md: Removed duplicate "Option 1: Install the Complete Kai Bundle" heading

No functional changes - documentation alignment only.
The file 'Releases/v2.3/.claude/skills/Browser/Tools/https:/danielmiessler.com/...'
contains a colon (:) in its path which is invalid on Windows and some filesystems.
This prevents successful git clone operations.

Removed the problematic file to restore cross-platform compatibility.

Error: 'error: invalid path' during git clone checkout on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants