Skip to content

OleynikAleksandr/CodeAI-Hub

Repository files navigation

CodeAI Hub

CodeAI Hub is a Visual Studio Code extension + standalone Project Manager (CEF) that unifies multiple AI providers behind a single, type-safe orchestration layer.

  • SolidWorks-WorkFlow docs index: doc/SolidWorks-WorkFlow/Docs_Index.md
  • System SSOT: doc/SolidWorks-WorkFlow/System/SystemArchitecture.md
  • Session input lock SSOT: doc/SolidWorks-WorkFlow/Contracts/SessionInputLock_SSOT_StateMachine.md
  • Bug registry: doc/BugRegistry.md

Current Release — v1.1.864

  • GitHub Actions bootstrap restored: the repository ships a root .nvmrc, so actions/setup-node can resolve the intended Node version instead of failing before npm ci.
  • CI compile dependency order fixed: the root compile pipeline now builds @codeai-hub/core-supervisor before running the extension TypeScript compile, so GitHub Actions no longer fails on missing supervisor declarations.
  • Public CI reaches real gates end-to-end: Repository CI now has the required Node version file and compile prerequisites to execute the actual install, lint, knip, and compile stages.

Previous releases (summary): 1.1.800–1.1.853 — Claude auth façade closure, Gemini final-answer deduplication, post-tool terminal-leg fix, adaptive post-tool watchdog, thinking-only terminal-answer fix, history-visible recoverable failure, test-debt elimination, architecture gate 500 lines, provider-feedback observability rollback, session-scoped Stop, provider rebind after Stop, Gemini stalled-turn recovery, provider-neutral applied turn config, Codex/Gemini/Claude next-turn parity, PM label sync hardening, provider failure recovery, Gemini SDK 0.35.0 compatibility, detachable diagram window, layout/collision work, and earlier workflow/parser stabilization.

Features

  • Unified provider orchestration: launch Claude, Codex, or Gemini sessions from an identical picker; the dialog surfaces connection state, enforces one-provider selection, and reminds you to install/authenticate matching CLIs.
  • Description-first workflow: the first guided workflow step is Description, producing questionnaire.md and Final_Description.md as the canonical entry into Virtual Simulation.
  • Persistent standalone UI: the macOS launcher (CEF) stores window position and size in real time, so Project Manager reopens exactly where you left it—even across monitor changes.
  • Offline-first packaging: manifests point to the local ~/.codeai-hub/releases/ cache, build scripts publish fresh tarballs for core, launcher, and provider modules without relying on GitHub downloads, and the shipped VSIX excludes repository-only Husky hook helpers.
  • Quality guardrails: Ultracite architecture rules, jscpd duplication scans, knip dead-code detection, and Biome formatting are orchestrated through Husky pre-commit/pre-push hooks.

Getting Started

git clone https://github.com/OleynikAleksandr/CodeAI-Hub.git
cd CodeAI-Hub
nvm use
npm install

Before starting, read doc/SolidWorks-WorkFlow/Docs_Index.md and follow the SSOT contracts in doc/SolidWorks-WorkFlow/Contracts/ (especially Contracts/Workflow_CLI.md) to configure provider CLIs and SDKs.

Development Workflow

  1. Install dependencies
    npm install
    npm run setup:hooks    # installs Husky git hooks
  2. Implement changes in src/ and packages/** (micro-classes + facades; keep files under 500 lines).
  3. Run quality checks before committing:
    npm run quality        # architecture gate + Ultracite lint
    npm run check:knip     # detect unused files/exports
    npm run compile        # ensure TypeScript builds cleanly

Public CI

  • GitHub Actions now runs a minimal public CI baseline on every push to main and on every pull request.
  • The workflow enforces the same root quality gates used as the local baseline: npm run check:architecture, npm run lint, npm run check:tsprune, and npm run compile.
  • Local Husky hooks remain the fastest feedback path; CI is the public verification surface, not a replacement for the local release ritual.

Building a Release

./scripts/build-all.sh
./scripts/build-release.sh --use-current-version

Repository Layout

media/                       Bundled webview assets (CSS + JS) shipped with the extension.
media/react-chat.js          React bundle generated by the webview build script.
src/core/webview-module/     HTML scaffold that injects the webview assets.
src/extension-module/        Extension host micro-classes.
src/extension.ts             Entry point registering the webview provider.
scripts/                     Quality and release automation.
doc/                         Architecture and knowledge base.

License

This repository is currently distributed as UNLICENSED. Source is visible for audit and development collaboration, but redistribution requires explicit permission from the repository owner.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors