Skip to content

v1.2.0

Choose a tag to compare

@lutefd lutefd released this 12 Aug 21:11
· 161 commits to main since this release
7dd3808

Release Notes — AI Chatbot Integration

Version: v1.2.0
Date: 2025-08-12

Highlights

  • AI Chatbot: Introduced AI-powered chatbot for querying and editing team docs using OpenAI, with chat and write modes.
  • New Services and Tools: Added AI service, Markdown indexing, chat session management, and AI tools for searching, reading, proposing edits, and creating documents.
  • UI Enhancements: New views and modals for chatbot interface, session management, diff reviews, and edit target selection.
  • Git Reliability: Added retry logic with exponential backoff for git commands to handle transient network issues.
  • Settings: New OpenAI configuration options in plugin settings.

Changes

  • Added:

    • AI integration via AiService.ts for streaming and generating text with OpenAI models.
    • MarkdownIndexService.ts for indexing and searching Markdown files within the team docs folder.
    • ChatSessionService.ts for managing multiple chat sessions.
    • AI tools in AiTools.ts including search_docs, read_doc, propose_edit, and create_doc.
    • New UI components: ChatbotView.ts, ChatSessionsModal.ts, DiffModal.ts, EditTargetModal.ts.
    • Ribbon icon and command for opening the chatbot in CommandManager.ts and UIManager.ts.
    • OpenAI settings (API key, model, temperature, max tokens) in SettingsTab.ts.
    • Streaming support for AI responses and sources panel in chatbot UI.
    • Proposal review and application logic with reservation checks in write mode.
    • Dependencies: @ai-sdk/openai, ai, zod in package.json.
    • Styles for chatbot elements in styles.css.
  • Changed:

    • Bumped version to 1.2.0 in manifest.json, package.json, and version.json.
    • Updated .gitignore to ignore dist and .DS_Store.
    • Enhanced file modification handling in FileHandlers.ts with additional reservation syncs.
    • Registered chatbot view in main.ts.
    • Improved reservation management in EditReservationManager.ts with git add -A and retries for push/fetch.
    • Added openChatbot method to UIManager.ts.
    • Changed activity feed refresh to 30 seconds in TeamActivityFeed.ts.
    • Updated git commands in GitService.ts with retry wrapper for transient errors.
  • Fixed:

    • Improved reliability of reservation syncing with retries in EditReservationManager.ts.

Tests

  • No new tests added in this release; existing tests remain unchanged.

Notes

  • The AI features require a valid OpenAI API key configured in settings.
  • Edits are restricted to the team docs folder and require user review/confirmation.
  • Behavior focuses on safe, minimal changes with grounding in document content.

Potential follow-ups

  • Add unit/integration tests for AI services, tools, and chatbot interactions.
  • Implement persistent storage for chat sessions.
  • Support additional AI providers beyond OpenAI.
  • Enhance error handling and user feedback for AI failures or invalid proposals.

Full Changelog: v1.1.1...v1.2.0
Full Changelog: v1.1.1...v1.2.0