Skip to content

Commit 6dbb37c

Browse files
committed
chore: update all repository references from codeindex to codei
Bulk replace all instances of the old repository name across all package READMEs, package.json configs, and the root LAUNCH.md file.
1 parent 4c28aba commit 6dbb37c

74 files changed

Lines changed: 349 additions & 376 deletions

Some content is hidden

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

LAUNCH.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Mỗi ngày bạn paste code vào ChatGPT, bạn đang đốt tiền cho những context không liên quan.**
44

5-
> Ghi chú thương hiệu: `codei` là tên mới của `Codeindex`. Chữ `i` đại diện cho cả `index``intelligent`. CLI dùng tên `codei`, còn npm package scope vẫn`@codeindex/*` để giữ tương thích.
5+
> Ghi chú thương hiệu: `codei` là tên mới của `Codeindex`. Chữ `i` đại diện cho cả `index``intelligent`. Lệnh CLI `codei`, gói npm để cài CLI`@codei/cli`, còn core/adapters vẫn giữ dưới `@codei/*`.
66
77
***
88

@@ -76,7 +76,7 @@ After: Paste 3 files (2KB) → Cùng câu trả lời
7676

7777
```bash
7878
# 1. Cài đặt
79-
npm install -g @codeindex/cli
79+
npm install -g @codei/cli
8080

8181
# 2. Setup (một lần)
8282
codei setup
@@ -103,7 +103,7 @@ codei query "Authentication hoạt động thế nào?"
103103
104104
105105
┌─────────────────────────────────────────────────────────────┐
106-
codeindex Index │
106+
codei Index
107107
│ │
108108
│ Project │
109109
│ └── src/ │
@@ -155,9 +155,9 @@ TypeScript • Python • Go • Rust • Java • C# • C++ • PHP • Swift
155155

156156
MIT License — Sử dụng tự do, kể cả trong dự án thương mại.
157157

158-
**GitHub:** <https://github.com/zorrong/codeindex>
158+
**GitHub:** <https://github.com/zorrong/codei>
159159

160-
**Website:** <https://zorrong.github.io/codeindex>\
160+
**Website:** <https://zorrong.github.io/codei>\
161161
Vercel: 
162162

163163
**ủng hộ:** <https://paypal.me/zorrong>
@@ -166,11 +166,11 @@ Vercel: 
166166

167167
## Kết luận
168168

169-
`codeindex` giúp bạn:
169+
`codei` giúp bạn:
170170

171171
1. **Tiết kiệm 95% tokens** cho mỗi query
172172
2. **Không cần external services** — chạy 100% local
173173
3. **Tích hợp mọi IDE** — VSCode, JetBrains, Neovim, Claude, Cursor
174174
4. **Hỗ trợ 9 ngôn ngữ** phổ biến
175175

176-
**Ngừng trả tiền cho context không cần thiết. Bắt đầu dùng codeindex.**
176+
**Ngừng trả tiền cho context không cần thiết. Bắt đầu dùng codei.**

README-Vietnamese.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Thay vì dump toàn bộ codebase vào prompt (50k+ tokens), `codei` build một hierarchical tree index và dùng LLM reasoning để tìm đúng context — giảm từ **50,000+ token xuống còn ~1,000-3,000 token** per query.
66

7-
> Ghi chú thương hiệu: `codei` là tên mới của `Codeindex`. Chữ `i` mang hai ý nghĩa: `index``intelligent`. Tên CLI là `codei`, còn npm package scope vẫn`@codeindex/*` để giữ tương thích.
7+
> Ghi chú thương hiệu: `codei` là tên mới của `Codeindex`. Chữ `i` mang hai ý nghĩa: `index``intelligent`. Lệnh CLI là `codei`, gói npm để cài CLI`@codei/cli`, còn core/adapters vẫn giữ dưới `@codei/*`.
88
99
Inspired by [PageIndex](https://github.com/VectifyAI/PageIndex), adapted cho codebase TypeScript.
1010

@@ -282,7 +282,7 @@ const DEFAULT_IGNORE = [
282282
Implement `LanguageAdapter` interface:
283283

284284
```typescript
285-
import type { LanguageAdapter } from "@codeindex/core"
285+
import type { LanguageAdapter } from "@codei/core"
286286

287287
export class PythonAdapter implements LanguageAdapter {
288288
readonly language = "python"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
> Every time you paste your codebase to ChatGPT or Claude, you're burning tokens. `codei` gives AI exactly the context it needs — nothing more.
66
7-
> Brand note: `codei` is the new product name for `Codeindex`. The `i` stands for both `index` and `intelligent` context retrieval. The CLI is `codei`, while the npm package scope remains `@codeindex/*` for compatibility.
7+
> Brand note: `codei` is the new product name for `Codeindex`. The `i` stands for both `index` and `intelligent` context retrieval. The CLI command is `codei`, the npm package is `@codei/cli`, and the core/adapter packages remain under `@codei/*`.
88
99
![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)
1010
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=flat\&logo=typescript\&logoColor=white)
@@ -70,7 +70,7 @@ After: Paste 3 files (2KB) → Same answer
7070

7171
```bash
7272
# 1. Install
73-
pnpm install -g @codeindex/cli
73+
pnpm install -g @codei/cli
7474

7575
# 2. Setup once globally
7676
codei setup
@@ -91,7 +91,7 @@ For NVIDIA, a minimal global env looks like:
9191

9292
```env
9393
NVIDIA_API_KEY=nvapi-...
94-
CODEINDEX_BASE_URL=https://integrate.api.nvidia.com/v1
94+
CODEI_BASE_URL=https://integrate.api.nvidia.com/v1
9595
```
9696

9797
**That's it.** Run setup once, then `codei index` works across projects.

ROADMAP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# codeindex — Strategic Roadmap 🚀
1+
# codei — Strategic Roadmap 🚀
22

3-
This roadmap outlines the long-term vision to scale `codeindex` into a professional AI context retrieval engine.
3+
This roadmap outlines the long-term vision to scale `codei` into a professional AI context retrieval engine.
44

55
---
66

@@ -15,7 +15,7 @@ This roadmap outlines the long-term vision to scale `codeindex` into a professio
1515

1616
## 🟡 Phase 2: Ecosystem & Better Integration (The Connectivity Phase)
1717

18-
- [ ] **Native MCP (Model Context Protocol) Support**: Build an official MCP server for `codeindex` to enable "plug-and-play" integration with Claude Desktop, Cursor, and Windsurf without needing custom scripts.
18+
- [ ] **Native MCP (Model Context Protocol) Support**: Build an official MCP server for `codei` to enable "plug-and-play" integration with Claude Desktop, Cursor, and Windsurf without needing custom scripts.
1919
- [ ] **Official VS Code Extension**: A sidebar to visualize the index tree and a status bar to monitor the local server.
2020
- [ ] **CI/CD Integration**: Official GitHub Action and GitLab Runner scripts for auto-indexing on merge.
2121

benchmarks/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Benchmarks
22

3-
Bộ benchmark tối thiểu để đo `codeindex` trên repo thực.
3+
Bộ benchmark tối thiểu để đo `codei` trên repo thực.
44

55
## Mục tiêu
66

77
Đo 4 thứ:
8-
- token output của `codeindex query`
8+
- token output của `codei query`
99
- latency query
1010
- file/symbol hit rate cơ bản
1111
- so sánh sơ bộ với full source dump
1212

1313
## Chuẩn bị repo cần benchmark
1414

1515
Trong repo mục tiêu, cần có:
16-
- `.codeindex.json`
17-
- `.index/` đã được build bằng `codeindex index`
16+
- `.codei.json`
17+
- `.index/` đã được build bằng `codei index`
1818

1919
## Tạo file queries
2020

@@ -57,7 +57,7 @@ Script sẽ tạo:
5757

5858
## Chỉ số hiện có
5959

60-
### 1. codeindex tokens
60+
### 1. codei tokens
6161
Ước lượng bằng ký tự/4 để có số tương đối, đủ dùng để so sánh.
6262

6363
### 2. full dump tokens
@@ -67,7 +67,7 @@ Script sẽ tạo:
6767
Thời gian chạy một query.
6868

6969
### 4. fileHitRate / symbolHitRate
70-
Tỷ lệ expected items xuất hiện trong output JSON của `codeindex query --format json`.
70+
Tỷ lệ expected items xuất hiện trong output JSON của `codei query --format json`.
7171

7272
## Ghi chú
7373

docs/ADAPTERS.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ interface LanguageAdapter {
2424

2525
| Adapter | Language | File Extensions | Parser |
2626
|---------|----------|-----------------|--------|
27-
| `@codeindex/adapter-typescript` | TypeScript | `.ts`, `.tsx` | ts-morph |
28-
| `@codeindex/adapter-python` | Python | `.py` | Regex |
29-
| `@codeindex/adapter-go` | Go | `.go` | Regex |
30-
| `@codeindex/adapter-rust` | Rust | `.rs` | Regex |
31-
| `@codeindex/adapter-java` | Java | `.java` | Regex |
32-
| `@codeindex/adapter-csharp` | C# | `.cs` | Regex |
33-
| `@codeindex/adapter-cpp` | C/C++ | `.cpp`, `.cc`, `.hpp`, `.h` | Regex |
34-
| `@codeindex/adapter-php` | PHP | `.php` | Regex |
35-
| `@codeindex/adapter-swift` | Swift | `.swift` | Regex |
27+
| `@codei/adapter-typescript` | TypeScript | `.ts`, `.tsx` | ts-morph |
28+
| `@codei/adapter-python` | Python | `.py` | Regex |
29+
| `@codei/adapter-go` | Go | `.go` | Regex |
30+
| `@codei/adapter-rust` | Rust | `.rs` | Regex |
31+
| `@codei/adapter-java` | Java | `.java` | Regex |
32+
| `@codei/adapter-csharp` | C# | `.cs` | Regex |
33+
| `@codei/adapter-cpp` | C/C++ | `.cpp`, `.cc`, `.hpp`, `.h` | Regex |
34+
| `@codei/adapter-php` | PHP | `.php` | Regex |
35+
| `@codei/adapter-swift` | Swift | `.swift` | Regex |
3636

3737
---
3838

3939
## TypeScript Adapter
4040

41-
**Package**: `@codeindex/adapter-typescript`
41+
**Package**: `@codei/adapter-typescript`
4242
**Parser**: ts-morph (full AST)
4343

4444
### Features
@@ -54,7 +54,7 @@ interface LanguageAdapter {
5454

5555
## Python Adapter
5656

57-
**Package**: `@codeindex/adapter-python`
57+
**Package**: `@codei/adapter-python`
5858
**Parser**: Regex-based
5959

6060
### Features
@@ -77,7 +77,7 @@ from collections import defaultdict as dd
7777

7878
## Go Adapter
7979

80-
**Package**: `@codeindex/adapter-go`
80+
**Package**: `@codei/adapter-go`
8181
**Parser**: Regex-based
8282

8383
### Features
@@ -102,7 +102,7 @@ import (
102102

103103
## Rust Adapter
104104

105-
**Package**: `@codeindex/adapter-rust`
105+
**Package**: `@codei/adapter-rust`
106106
**Parser**: Regex-based
107107

108108
### Features
@@ -124,7 +124,7 @@ use crate::module::Item;
124124

125125
## Java Adapter
126126

127-
**Package**: `@codeindex/adapter-java`
127+
**Package**: `@codei/adapter-java`
128128
**Parser**: Regex-based
129129

130130
### Features
@@ -146,7 +146,7 @@ import com.example.MyClass;
146146

147147
## C# Adapter
148148

149-
**Package**: `@codeindex/adapter-csharp`
149+
**Package**: `@codei/adapter-csharp`
150150
**Parser**: Regex-based
151151

152152
### Features
@@ -169,7 +169,7 @@ using MyNamespace.MyClass;
169169

170170
## C++ Adapter
171171

172-
**Package**: `@codeindex/adapter-cpp`
172+
**Package**: `@codei/adapter-cpp`
173173
**Parser**: Regex-based
174174

175175
### Features
@@ -191,7 +191,7 @@ using MyNamespace.MyClass;
191191

192192
## PHP Adapter
193193

194-
**Package**: `@codeindex/adapter-php`
194+
**Package**: `@codei/adapter-php`
195195
**Parser**: Regex-based
196196

197197
### Features
@@ -213,7 +213,7 @@ use App\Models\User;
213213

214214
## Swift Adapter
215215

216-
**Package**: `@codeindex/adapter-swift`
216+
**Package**: `@codei/adapter-swift`
217217
**Parser**: Regex-based
218218

219219
### Features
@@ -246,7 +246,7 @@ mkdir -p packages/adapter-newlang/src
246246

247247
```json
248248
{
249-
"name": "@codeindex/adapter-newlang",
249+
"name": "@codei/adapter-newlang",
250250
"version": "0.1.0",
251251
"type": "module",
252252
"main": "./dist/index.js",
@@ -261,7 +261,7 @@ mkdir -p packages/adapter-newlang/src
261261
"build": "tsc"
262262
},
263263
"dependencies": {
264-
"@codeindex/core": "workspace:*"
264+
"@codei/core": "workspace:*"
265265
}
266266
}
267267
```
@@ -270,7 +270,7 @@ mkdir -p packages/adapter-newlang/src
270270

271271
```typescript
272272
// src/NewlangAdapter.ts
273-
import type { LanguageAdapter, ParsedFile } from "@codeindex/core"
273+
import type { LanguageAdapter, ParsedFile } from "@codei/core"
274274

275275
export class NewlangAdapter implements LanguageAdapter {
276276
readonly language = "newlang" as const

docs/API.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# API Reference
22

3-
> Brand note: `codei` is the new product and CLI name for `Codeindex`. The `i` stands for both `index` and `intelligent` context retrieval. The npm package scope remains `@codeindex/*` for compatibility.
3+
> Brand note: `codei` is the new product and CLI name for `Codeindex`. The `i` stands for both `index` and `intelligent` context retrieval. The published CLI package is `@codei/cli`, while the core and adapter packages remain under `@codei/*`.
44
55
## HTTP Server
66

@@ -202,10 +202,10 @@ Optional per-project override configuration.
202202

203203
```env
204204
NVIDIA_API_KEY=nvapi-...
205-
CODEINDEX_BASE_URL=https://integrate.api.nvidia.com/v1
205+
CODEI_BASE_URL=https://integrate.api.nvidia.com/v1
206206
# Optional:
207-
# CODEINDEX_PROVIDER=nvidia
208-
# CODEINDEX_MODEL=minimaxai/minimax-m3
207+
# CODEI_PROVIDER=nvidia
208+
# CODEI_MODEL=minimaxai/minimax-m3
209209
```
210210

211211
If `NVIDIA_API_KEY` or the NVIDIA base URL is present, `codei` can infer the NVIDIA provider automatically.
@@ -215,10 +215,10 @@ If `NVIDIA_API_KEY` or the NVIDIA base URL is present, `codei` can infer the NVI
215215
Recommended global runtime configuration when you want to run `codei setup` once and reuse it across all projects.
216216

217217
```env
218-
CODEINDEX_PROVIDER=nvidia
219-
CODEINDEX_API_KEY=nvapi-...
220-
CODEINDEX_MODEL=minimaxai/minimax-m3
221-
CODEINDEX_BASE_URL=https://integrate.api.nvidia.com/v1
218+
CODEI_PROVIDER=nvidia
219+
CODEI_API_KEY=nvapi-...
220+
CODEI_MODEL=minimaxai/minimax-m3
221+
CODEI_BASE_URL=https://integrate.api.nvidia.com/v1
222222
```
223223

224224
### `~/.codei/config.json`
@@ -244,10 +244,10 @@ Backward-compatible global configuration (also created by `codei setup`).
244244
| `ANTHROPIC_API_KEY` | Anthropic API key |
245245
| `GOOGLE_API_KEY` | Google AI API key |
246246
| `NVIDIA_API_KEY` | NVIDIA API key |
247-
| `CODEINDEX_PROVIDER` | Override default provider |
248-
| `CODEINDEX_MODEL` | Override default model |
249-
| `CODEINDEX_BASE_URL` | Override API base URL |
250-
| `CODEINDEX_API_KEY` | Override API key |
247+
| `CODEI_PROVIDER` | Override default provider |
248+
| `CODEI_MODEL` | Override default model |
249+
| `CODEI_BASE_URL` | Override API base URL |
250+
| `CODEI_API_KEY` | Override API key |
251251

252252
## Index Output Files
253253

@@ -267,7 +267,7 @@ When indexing, `codei` writes:
267267
### IndexManager
268268

269269
```typescript
270-
import { IndexManager } from "@codeindex/core"
270+
import { IndexManager } from "@codei/core"
271271

272272
const manager = new IndexManager({
273273
projectRoot: "/path/to/project",
@@ -294,7 +294,7 @@ manager.watch({
294294
### TreeTraversal
295295

296296
```typescript
297-
import { TreeTraversal } from "@codeindex/core"
297+
import { TreeTraversal } from "@codei/core"
298298

299299
const traversal = new TreeTraversal({
300300
tree,

docs/ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
## Overview
44

5-
`codeindex` is a vectorless, reasoning-based code index system. Instead of using vector embeddings for similarity search, it builds a hierarchical tree index and uses LLM reasoning to traverse and retrieve relevant context.
5+
`codei` is a vectorless, reasoning-based code index system. Instead of using vector embeddings for similarity search, it builds a hierarchical tree index and uses LLM reasoning to traverse and retrieve relevant context.
66

77
## Why Vectorless?
88

99
| Approach | Pros | Cons |
1010
|----------|------|------|
1111
| Vector Embeddings | Fast similarity search | Requires external storage, token overhead for indexing, embedding drift over time |
12-
| **LLM Reasoning (codeindex)** | **Deterministic**, no external storage, always up-to-date | Slightly slower queries |
12+
| **LLM Reasoning (codei)** | **Deterministic**, no external storage, always up-to-date | Slightly slower queries |
1313

1414
## Core Principles
1515

0 commit comments

Comments
 (0)