refactor(go): rename module and package from 'cortexa' to 'contexa'
Swadhin Biswas committed 7 months ago
f61779d
1 parent b478e8e
commit f61779d
6 files changed
+13 -13
Showing 6 changed files+13-13
▼GO/README.md
+7-7
| @@ -1,4 +1,4 @@ | ||
1 | -# cortexa | |
1 | +# contexa | |
2 | 2 | |
3 | 3 | [](https://pkg.go.dev/github.com/swadhinbiswas/Cortexa/GO) |
4 | 4 | [](LICENSE) |
| @@ -6,7 +6,7 @@ | ||
6 | 6 | |
7 | 7 | **Git-inspired context management for LLM agents.** COMMIT, BRANCH, MERGE, and CONTEXT operations over a persistent versioned memory workspace. |
8 | 8 | |
9 | -Go implementation of the **cortexa** framework. | |
9 | +Go implementation of the **contexa** framework. | |
10 | 10 | |
11 | 11 | Based on: [arXiv:2508.00031](https://arxiv.org/abs/2508.00031) -- *"Git Context Controller: Manage the Context of LLM-based Agents like Git"* (Junde Wu et al., 2025) |
12 | 12 | |
| @@ -15,7 +15,7 @@ Based on: [arXiv:2508.00031](https://arxiv.org/abs/2508.00031) -- *"Git Context | ||
15 | 15 | ## Installation |
16 | 16 | |
17 | 17 | ```bash |
18 | -go get github.com/swadhinbiswas/Cortexa/GO/cortexa | |
18 | +go get github.com/swadhinbiswas/Cortexa/GO/contexa | |
19 | 19 | ``` |
20 | 20 | |
21 | 21 | --- |
| @@ -27,11 +27,11 @@ package main | ||
27 | 27 | |
28 | 28 | import ( |
29 | 29 | "fmt" |
30 | - "github.com/swadhinbiswas/Cortexa/GO/cortexa" | |
30 | + "github.com/swadhinbiswas/Cortexa/GO/contexa" | |
31 | 31 | ) |
32 | 32 | |
33 | 33 | func main() { |
34 | - ws := cortexa.New("/path/to/project") | |
34 | + ws := contexa.New("/path/to/project") | |
35 | 35 | if err := ws.Init("Build a REST API service with user auth"); err != nil { |
36 | 36 | panic(err) |
37 | 37 | } |
| @@ -176,8 +176,8 @@ All data is stored as **human-readable Markdown and YAML**. | ||
176 | 176 | |
177 | 177 | ```bash |
178 | 178 | git clone https://github.com/swadhinbiswas/Cortexa.git |
179 | -cd cortexa/GO | |
180 | -go test -v ./cortexa/ | |
179 | +cd contexa/GO | |
180 | +go test -v ./contexa/ | |
181 | 181 | ``` |
182 | 182 | |
183 | 183 | 20 tests cover all GCC commands: init, OTA logging, commit, branch, merge, context, switch, list, and model serialization. |
184 | 184 | |
▼GO/cortexa/interop_test.go → GO/contexa/interop_test.go
+1-1
| @@ -1,4 +1,4 @@ | ||
1 | -package cortexa | |
1 | +package contexa | |
2 | 2 | |
3 | 3 | // interop_test.go — Cross-language interoperability tests. |
4 | 4 | // |
5 | 5 | |
▼GO/cortexa/models.go → GO/contexa/models.go
+2-2
| @@ -1,4 +1,4 @@ | ||
1 | -// Package cortexa implements cortexa — Git-inspired context management | |
1 | +// Package contexa implements contexa — Git-inspired context management | |
2 | 2 | // for LLM agents. COMMIT, BRANCH, MERGE, and CONTEXT over versioned memory. |
3 | 3 | // |
4 | 4 | // Paper: "Git Context Controller: Manage the Context of LLM-based Agents like Git" |
| @@ -6,7 +6,7 @@ | ||
6 | 6 | // |
7 | 7 | // Author: Swadhin Biswas (@swadhinbiswas) |
8 | 8 | |
9 | -package cortexa | |
9 | +package contexa | |
10 | 10 | |
11 | 11 | import ( |
12 | 12 | "fmt" |
13 | 13 | |
▼GO/cortexa/workspace.go → GO/contexa/workspace.go
+1-1
| @@ -1,4 +1,4 @@ | ||
1 | -package cortexa | |
1 | +package contexa | |
2 | 2 | |
3 | 3 | import ( |
4 | 4 | "crypto/rand" |
5 | 5 | |
▼GO/cortexa/workspace_test.go → GO/contexa/workspace_test.go
+1-1
| @@ -1,4 +1,4 @@ | ||
1 | -package cortexa | |
1 | +package contexa | |
2 | 2 | |
3 | 3 | import ( |
4 | 4 | "os" |
5 | 5 | |
▼GO/go.mod
+1-1
| @@ -1,4 +1,4 @@ | ||
1 | -module github.com/swadhinbiswas/Cortexa/GO | |
1 | +module github.com/swadhinbiswas/Contexa/GO | |
2 | 2 | |
3 | 3 | go 1.21 |
4 | 4 | |
5 | 5 | |