Files
puaros/packages/ipuaro/TODO.md
imfozilbek 0f2ed5b301 feat(ipuaro): add session management (v0.10.0)
- Add ISessionStorage interface and RedisSessionStorage implementation
- Add ContextManager for token budget and compression
- Add StartSession, HandleMessage, UndoChange use cases
- Update CHANGELOG and TODO documentation
- 88 new tests (1174 total), 97.73% coverage
2025-12-01 12:27:22 +05:00

2.6 KiB

ipuaro TODO

Completed

Version 0.1.0 - Foundation

  • Project setup (package.json, tsconfig, vitest)
  • Domain entities (Session, Project)
  • Domain value objects (FileData, FileAST, FileMeta, ChatMessage, etc.)
  • Domain service interfaces (IStorage, ILLMClient, ITool, IIndexer)
  • Shared config loader with Zod validation
  • IpuaroError class

Version 0.2.0 - Redis Storage

  • RedisClient with AOF config
  • Redis schema implementation
  • RedisStorage class

Version 0.3.0 - Indexer

  • FileScanner with gitignore support
  • ASTParser with tree-sitter
  • MetaAnalyzer for complexity
  • IndexBuilder for symbols
  • Watchdog for file changes

Version 0.4.0 - LLM Integration

  • OllamaClient implementation
  • System prompt design
  • Tool definitions (18 tools)
  • Response parser (XML format)

Version 0.5.0 - Read Tools

  • ToolRegistry implementation
  • get_lines tool
  • get_function tool
  • get_class tool
  • get_structure tool

Version 0.6.0 - Edit Tools

  • edit_lines tool
  • create_file tool
  • delete_file tool

Version 0.7.0 - Search Tools

  • find_references tool
  • find_definition tool

Version 0.8.0 - Analysis Tools

  • get_dependencies tool
  • get_dependents tool
  • get_complexity tool
  • get_todos tool

Version 0.9.0 - Git & Run Tools

  • git_status tool
  • git_diff tool
  • git_commit tool
  • CommandSecurity (blacklist/whitelist)
  • run_command tool
  • run_tests tool

Version 0.10.0 - Session Management

  • ISessionStorage interface
  • RedisSessionStorage implementation
  • ContextManager use case
  • StartSession use case
  • HandleMessage use case
  • UndoChange use case

In Progress

Version 0.11.0 - TUI Basic

  • App shell (Ink/React)
  • StatusBar component
  • Chat component
  • Input component

Planned

Version 0.12.0 - TUI Advanced

  • DiffView component
  • ConfirmDialog component
  • ErrorDialog component
  • Progress component

Version 0.13.0+ - Commands & Polish

  • Slash commands (/help, /clear, /undo, /sessions, /status)
  • Hotkeys (Ctrl+C, Ctrl+D, Ctrl+Z)
  • Auto-compression at 80% context

Version 0.14.0 - CLI Entry Point

  • Full CLI commands (start, init, index)
  • Onboarding flow (Redis check, Ollama check, model pull)

Technical Debt

None at this time.

Ideas for Future

  • Plugin system for custom tools
  • Multiple LLM providers (OpenAI, Anthropic)
  • IDE integration (LSP)
  • Web UI option
  • Parallel AST parsing
  • Response caching

Last Updated: 2025-12-01