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.887

  • Codex provider config now matches the selected model: the provider-owned config.toml under ~/.codeai-hub/providers/codex/home/ now updates both model = ... and model_reasoning_summary = ..., eliminating the stale gpt-5.4 drift when shared settings already target gpt-5.3-codex.
  • Codex display-sync now reaches the provider runtime: Reasoning in dialog is now threaded through Core applied turn config into the Codex session runtime state instead of stopping at the shared settings snapshot boundary.
  • Codex visible thinking is restored from provider-native progress events: intermediate completed agent_message items now surface as Thinking only when later events prove the turn continued, while the final completed agent_message still stays the normal assistant reply.
  • Codex native gpt-5.4 reasoning path is regression-guarded: the messaging tests now explicitly lock the additive contract where native reasoning remains visible for gpt-5.4 while the agent_message fallback continues serving gpt-5.3-codex.
  • Settings save no longer shows an intrusive stub overlay: the stale global Settings saved (stub implementation). notification has been removed, so the Settings footer and Save Changes button stay unobstructed during provider-setting saves.

Previous releases (summary): 1.1.800–1.1.886 — four-category localization release, localization packaging hotfixes, host-hydrated browser localization runtime, searchable localization controls, shared Project Manager localization consumption, persistent localization foundation, thinking display sync, public CI bootstrap, staged core restart UX, Claude auth façade closure, Gemini final-answer deduplication, post-tool terminal-leg fix, adaptive post-tool watchdog, history-visible recoverable failure, architecture gate 500 lines, session-scoped Stop, provider rebind after Stop, provider-neutral applied turn config, PM label sync hardening, provider failure recovery, Gemini SDK 0.35.0 compatibility, detachable diagram window, layout/collision work, glossary-file editing, localization closeout, persistent localization bootstrap, Claude long-thinking translation chunking, Claude same-message thinking continuity, dialog auto-scroll continuity, CI workspace build-order parity, 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:knip, and npm run compile.
  • The root compile gate now builds @codeai-hub/translation, @codeai-hub/localization, and @codeai-hub/core-supervisor before browser/root type-check, so clean GitHub runners do not depend on pre-existing workspace dist/ folders.
  • 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