7 Commits

Author SHA1 Message Date
CrazyBoyM
994579fadc feat: Add comprehensive documentation and update README with Bun installation
- Add CLAUDE.md with development guidelines and architecture overview
- Add AGENTS.md for Claude Code compatibility with subagent system details
- Update README.md and README.zh-CN.md with recommended Bun installation method
- Remove bundledDependencies from package.json to fix npm publish hard link issues
- Add .npmignore for proper package distribution
- Remove obsolete CONTEXT.md and next_todo.md files
- Update .gitignore to include AGENTS.md and CLAUDE.md in version control

Key documentation improvements:
- Complete development workflow commands and build system details
- Multi-model architecture explanation with 3-layer design
- Agent system with 5-tier priority configuration loading
- Tool architecture patterns and service layer documentation
- Critical implementation details like async tool descriptions
- Development patterns for adding tools, commands, models, and agents

Installation improvements:
- Bun installation now recommended as fastest method
- Fallback to npm for compatibility
- Clear step-by-step installation instructions in both languages
2025-08-24 05:48:46 +08:00
Xinlu Lai
20a7cb34fc
Merge pull request #34 from luojiyin1987/feat/security-secure-file-service
Feat/security secure file service
2025-08-24 04:45:54 +08:00
luojiyin
b4ebe8df2e
devDependencies add @types/jest 2025-08-21 20:02:37 +08:00
CrazyBoyM
926df2cfaf feat: Ultra-redesign completion system with @mention integration
- Complete architectural overhaul of useUnifiedCompletion hook
- Unified state management: 8 separate states → single CompletionState interface
- Simplified core logic: getWordAtCursor 194 lines → 42 lines (78% reduction)
- Fixed infinite React update loops with ref-based input tracking
- Smart triggering mechanism replacing aggressive auto-completion
- Integrated @agent and @file mention system with system reminders
- Added comprehensive agent loading and mention processing
- Enhanced Tab/Arrow/Enter key handling with clean event management
- Maintained 100% functional compatibility across all completion types

Key improvements:
• File path completion (relative, absolute, ~expansion, @references)
• Slash command completion (/help, /model, etc.)
• Agent completion (@agent-xxx with intelligent descriptions)
• System command completion (PATH scanning with fallback)
• Terminal-style Tab cycling, Enter confirmation, Escape cancellation
• Preview mode with boundary calculation
• History navigation compatibility
• Empty directory handling with user feedback

Architecture: Event-driven @mention detection → system reminder injection → LLM tool usage
Performance: Eliminated 7-layer nested conditionals, reduced state synchronization issues
Reliability: Fixed maximum update depth exceeded warnings, stable state management
2025-08-21 01:21:12 +08:00
CrazyBoyM
69a258fbf2 fix package build 2025-08-11 22:23:13 +08:00
CrazyBoyM
7a3c4a7baa Refactor project structure and update documentation
- Update project branding from claude-cli to Kode
- Reorganize documentation with new development guides
- Add CONTRIBUTING.md and Chinese README
- Remove worktree_merge command and relocate system-design.md
- Update dependencies and package configuration
- Improve custom commands service with better error handling
- Clean up storage utilities and debug logging
2025-08-11 21:31:18 +08:00
CrazyBoyM
11a0e46ecc kode with agent-unix-system v1.0.0 2025-08-10 19:57:17 +08:00