Repository navigation
v1.2.0
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.tsfor streaming and generating text with OpenAI models. MarkdownIndexService.tsfor indexing and searching Markdown files within the team docs folder.ChatSessionService.tsfor managing multiple chat sessions.- AI tools in
AiTools.tsincluding 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.tsandUIManager.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,zodinpackage.json. - Styles for chatbot elements in
styles.css.
- AI integration via
-
Changed:
- Bumped version to
1.2.0inmanifest.json,package.json, andversion.json. - Updated
.gitignoreto ignoredistand.DS_Store. - Enhanced file modification handling in
FileHandlers.tswith additional reservation syncs. - Registered chatbot view in
main.ts. - Improved reservation management in
EditReservationManager.tswithgit add -Aand retries for push/fetch. - Added
openChatbotmethod toUIManager.ts. - Changed activity feed refresh to 30 seconds in
TeamActivityFeed.ts. - Updated git commands in
GitService.tswith retry wrapper for transient errors.
- Bumped version to
-
Fixed:
- Improved reliability of reservation syncing with retries in
EditReservationManager.ts.
- Improved reliability of reservation syncing with retries in
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