Skip to content

Commit eb090f8

Browse files
author
Vitor Castro
committed
Rebrand to CodeForge and consolidate the agent into the VS Code extension.
Move AI runtime into extensions/codeforge, add Cursor-inspired context/tool UX with anti-explore guards, and ship Windows packaging/installer scripts.
1 parent 8172601 commit eb090f8

152 files changed

Lines changed: 17169 additions & 14942 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/release.yml‎

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,50 @@ on:
66
- 'v*'
77

88
jobs:
9-
release:
10-
runs-on: ${{ matrix.os }}
11-
12-
strategy:
13-
matrix:
14-
include:
15-
- os: ubuntu-latest
16-
platform: linux
17-
- os: windows-latest
18-
platform: win
19-
- os: macos-latest
20-
platform: mac
21-
9+
windows:
10+
runs-on: windows-latest
2211
steps:
23-
- name: Checkout
24-
uses: actions/checkout@v4
12+
- uses: actions/checkout@v4
2513

26-
- name: Setup Node.js
27-
uses: actions/setup-node@v4
14+
- uses: actions/setup-node@v4
2815
with:
29-
node-version: 20.x
16+
node-version: '24'
3017
cache: 'npm'
3118

3219
- name: Install dependencies
3320
run: npm ci
3421

35-
- name: Build
36-
run: npm run build
22+
- name: Install Inno Setup
23+
run: winget install -e --id JRSoftware.InnoSetup --accept-package-agreements --accept-source-agreements
3724

38-
- name: Package
39-
run: npm run package:${{ matrix.platform }}
40-
env:
41-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
- name: Setup Code-OSS
26+
run: npm run vscode:setup
27+
28+
- name: Build extensions
29+
run: npm run build:extensions
30+
31+
- name: Package Windows (portable + installer)
32+
run: npm run vscode:package:win
4233

43-
- name: Upload artifacts
34+
- name: Upload Windows artifacts
4435
uses: actions/upload-artifact@v4
4536
with:
46-
name: release-${{ matrix.platform }}
47-
path: dist/*
37+
name: codeforge-windows
38+
path: |
39+
dist/codeforge-win32-x64/*.exe
40+
dist/codeforge-win32-x64/*.zip
41+
dist/codeforge-win32-x64/*.txt
4842
4943
publish:
50-
needs: release
44+
needs: [windows]
5145
runs-on: ubuntu-latest
52-
5346
steps:
54-
- name: Download all artifacts
47+
- name: Download artifacts
5548
uses: actions/download-artifact@v4
5649
with:
5750
path: artifacts
5851

59-
- name: Create Release
52+
- name: Create GitHub Release
6053
uses: softprops/action-gh-release@v1
6154
with:
6255
files: artifacts/**/*

‎.gitignore‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ node_modules/
77
out/
88
dist/
99
*.tsbuildinfo
10+
compile-out.txt
11+
test-results/
12+
playwright-report/
13+
14+
# Packaged Code-OSS / portable app (large; generate via package scripts)
15+
VSCode-win32-x64/
16+
VSCode-darwin-*/
17+
VSCode-linux-*/
1018

1119
# IDE and editor
1220
.vscode/
@@ -55,6 +63,7 @@ release/
5563

5664
# Local development
5765
.opencodeide/
66+
.CodeForge/
5867

5968
# Secrets
6069
*.key

‎CONTRIBUTING.md‎

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,43 @@
1-
# Contributing to OpenCodeIDE
1+
# Contributing to CodeForge
22

3-
Thank you for your interest in contributing to OpenCodeIDE! This document provides guidelines for contributing.
3+
Thank you for your interest in contributing to CodeForge! This document provides guidelines for contributing.
44

55
## Getting Started
66

77
### Prerequisites
88

9-
- Node.js >= 20.0.0
10-
- npm >= 10.0.0
9+
- Node.js matching `vscode/.nvmrc` for full IDE builds (Node 20+ for extension-only work)
10+
- npm
1111
- Git
12+
- On Windows (full IDE): Visual Studio C++ workload + Spectre-mitigated libs
1213

1314
### Development Setup
1415

1516
```bash
16-
# Clone the repository
17-
git clone https://github.com/Kortexio/OpenCodeIDE.git
18-
cd OpenCodeIDE
19-
20-
# Install dependencies
17+
git clone https://github.com/Kortexio/CodeForge.git
18+
cd CodeForge
2119
npm install
20+
npm run build:extensions
21+
npm test
22+
```
2223

23-
# Build
24-
npm run build
24+
Full IDE:
2525

26-
# Run tests
27-
npm test
26+
```bash
27+
npm run vscode:setup
28+
npm run vscode:compile
29+
npm run vscode:dev
2830
```
2931

3032
## Development Workflow
3133

3234
1. Fork the repository
3335
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
34-
3. Make your changes
36+
3. Make your changes **in `extensions/codeforge/`** (source of truth)
3537
4. Run tests (`npm test`)
3638
5. Run linting (`npm run lint`)
37-
6. Commit your changes (`git commit -m 'Add amazing feature'`)
38-
7. Push to the branch (`git push origin feature/amazing-feature`)
39-
8. Open a Pull Request
39+
6. Commit your changes
40+
7. Push and open a Pull Request
4041

4142
## Code Style
4243

@@ -49,27 +50,23 @@ npm test
4950
## Project Structure
5051

5152
```
52-
src/
53-
├── ai/ # AI Platform
54-
│ ├── agent/ # Agent runtime
55-
│ ├── context/ # Context engine
56-
│ ├── memory/ # Memory engine
57-
│ ├── tools/ # Native tools
58-
│ ├── mcp/ # MCP runtime
59-
│ ├── skills/ # Skills engine
60-
│ ├── rules/ # Rules engine
61-
│ ├── policy/ # Policy engine
62-
│ ├── sandbox/ # Sandbox runtime
63-
│ ├── artifacts/ # Artifact store
64-
│ ├── subagents/ # Subagent orchestration
65-
│ ├── models/ # Model router
66-
│ └── trace/ # Trace service
67-
├── code-intelligence/ # Code understanding
68-
├── git-intelligence/ # Git integration
69-
├── browser/ # Browser automation
70-
└── terminal/ # Terminal integration
53+
extensions/codeforge/ # Shipped AI platform (ONLY product surface)
54+
├── src/agent/ # Agent loop, context packet, state machine
55+
├── src/memory/ # Session + project wiki + temporal facts
56+
├── src/storage/ # ~/.CodeForge paths, sessions, artifacts, traces
57+
├── src/context/ # Context budget / ranking
58+
├── src/sandbox/ # Shell isolation
59+
├── src/intelligence/ # Index, embeddings, LSP, git
60+
├── src/browser/ # Browser agent (Playwright optional)
61+
├── src/mcp/ # Inbound + outbound MCP
62+
└── src/governance/ # Skills, rules, guardrails, HITL
63+
docs/
64+
tests/
65+
scripts/ # Code-OSS setup / package
7166
```
7267

68+
Do **not** add features under a legacy `src/` tree — it was removed.
69+
7370
## Testing
7471

7572
- **Unit Tests**: `npm run test:unit`
@@ -87,4 +84,4 @@ Please use the GitHub issue tracker to report bugs or request features. Include:
8784

8885
## License
8986

90-
By contributing to OpenCodeIDE, you agree that your contributions will be licensed under the MIT License.
87+
By contributing to CodeForge, you agree that your contributions will be licensed under the MIT License.

0 commit comments

Comments
 (0)