Skip to content

features/llm-understandings - VS Code extension, REST API, core value types and refactors - #79

Merged
Allann merged 4 commits into
masterfrom
features/llm-understandings
May 14, 2026
Merged

features/llm-understandings - VS Code extension, REST API, core value types and refactors#79
Allann merged 4 commits into
masterfrom
features/llm-understandings

Conversation

@Allann

@Allann Allann commented May 14, 2026

Copy link
Copy Markdown
Collaborator

Description

New Feature: VS Code Extension (ai-dev-vscode)

  • Added a new TypeScript/React VS Code extension with panel providers for Agents, Decisions, and Messages webviews.
  • Implemented BackendProcessManager to launch and manage the backend process from within VS Code.
  • Added StudioApiClient (REST) and StudioSignalRClient (real-time) for communicating with the backend API.
  • Added WorkspaceDetector to identify the active project workspace from within the editor.
  • Bundled backend binaries via scripts/bundle-backend.mjs; includes esbuild config and full test suite.

New Feature: REST API & SignalR Hub (ai-dev.api)

  • Introduced a new ai-dev.api project with Minimal API routes for Agents, Messages, and Decisions (list, start/stop, process, resolve).
  • Added ProjectStateHub (SignalR) and ProjectStateRelayService to broadcast real-time project state changes to connected clients.
  • Wired up in Program.cs with CORS, SignalR, and route registration.

Core: Value Types, XML Docs, and Refactors (ai-dev.core)

  • Added strongly-typed value objects: SessionStatus, SessionSizeRating, TaskClassification, TestOutcome, AgentStatus, MessageItem, DecisionItem, AgentActivityItem, AgentFailure, AgentFailover.
  • Each new type ships with a dedicated JsonConverter and full unit test coverage.
  • Refactored AgentInfo to an immutable record; updated all dependent services and view models.
  • Replaced inline JSON converters with dedicated converter files across all existing value types.
  • Adopted [LoggerMessage] source-generated logging across core services; replaced string.Format log calls.
  • Split monolithic Converters.cs in WinUI into individual converter files.
  • Added XML doc comments to all public APIs.

Docs & Tooling

  • Added UBIQUITOUS_LANGUAGE.md and VS Code extension publishing guide to docs/.
  • Added .vscode/launch.json, tasks.json, and settings.json for local dev workflow.
  • Added nuget.config and Directory.Build.props for solution-wide build configuration.

Files changed: 250 | Insertions: +16443 | Deletions: -1211

- Implemented a new React component for the messages webview that displays messages with priority and allows marking them as processed.
- Created shared protocol types for communication between the extension host and webview.
- Added a VSCode API wrapper for acquiring the VSCode API in the webview.
- Configured TypeScript settings for the webview project.

feat: implement SignalR hub for project state changes

- Added ProjectStateHub to broadcast project state changes to connected clients.
- Implemented ProjectStateRelayService to forward project state notifications to SignalR clients.

feat: create API routes for agents, messages, and decisions

- Developed RESTful API routes for managing agents, messages, and decisions within a project.
- Implemented logic for listing, starting, stopping agents, processing messages, and resolving decisions.

chore: setup project configuration and launch settings

- Created launch settings for development environment.
- Added project configuration files for managing workspace settings.

docs: add Ubiquitous Language and VS Code Extension publishing guide

- Documented the ubiquitous language used in the project for clarity and consistency.
- Provided a guide for building and publishing the VS Code extension, including prerequisites and steps for sideloading and publishing to the Marketplace.
@Allann
Allann requested a review from auleewilliams May 14, 2026 02:44
Allann added 2 commits May 14, 2026 14:16
- Introduced ActiveWorkspaceHolder to manage the active project's workspace paths.
- Updated ProjectDetail model to remove the CodebasePath property.
- Modified PromptEnhancerService to derive codebase path from workspace paths.
- Refactored WorkspacePaths to resolve paths based on the active project.
- Adjusted App.xaml.cs to activate the last-used project before service configuration.
- Simplified CodebaseViewModel by removing unnecessary properties and methods related to codebase initialization.
- Updated ProjectSettingsViewModel to remove codebase path handling.
- Enhanced NewProjectDialog to clarify codebase directory input.
- Removed unused UI elements and bindings related to codebase initialization in CodebasePage.
- Added CLAUDE.md for developer guidance and project architecture overview.
- Implemented unit tests for ActiveWorkspaceHolder to ensure correct behavior.
- Created GlobalPaths to manage global application data paths.
@Allann
Allann merged commit 978645f into master May 14, 2026
1 check passed
@Allann
Allann deleted the features/llm-understandings branch May 14, 2026 04:20
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