You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(readme): add Codebuddy provider and console documentation
Update README with Codebuddy provider usage examples, console commands, execution options, and real CLI test instructions. Add Codebuddy.Console project to solution.
Co-Authored-By: Hagicode <noreply@hagicode.com>
Copy file name to clipboardExpand all lines: README.md
+43-3Lines changed: 43 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
## Projects
6
6
7
7
-`src/HagiCode.Libs.Core` - transport, process management, executable discovery, and runtime environment resolution.
8
-
-`src/HagiCode.Libs.Providers` - provider abstractions, the Claude Code/Codex providers, and optional DI registration.
8
+
-`src/HagiCode.Libs.Providers` - provider abstractions, the Claude Code/Codex/CodeBuddy providers, and optional DI registration.
9
9
-`src/HagiCode.Libs.Exploration` - Git repository discovery and state inspection.
10
10
-`tests/*` - xUnit coverage for each project.
11
11
@@ -19,7 +19,7 @@ dotnet test HagiCode.Libs.sln
19
19
20
20
## Dedicated provider console
21
21
22
-
`src/HagiCode.Libs.ClaudeCode.Console`and `src/HagiCode.Libs.Codex.Console` are dedicated provider consoles built on the shared `HagiCode.Libs.ConsoleTesting` harness.
22
+
`src/HagiCode.Libs.ClaudeCode.Console`, `src/HagiCode.Libs.Codex.Console`, and `src/HagiCode.Libs.Codebuddy.Console` are dedicated provider consoles built on the shared `HagiCode.Libs.ConsoleTesting` harness.
23
23
24
24
From `repos/Hagicode.Libs`, you can use:
25
25
@@ -35,6 +35,12 @@ dotnet run --project src/HagiCode.Libs.Codex.Console
35
35
dotnet run --project src/HagiCode.Libs.Codex.Console -- --test-provider codex-cli
36
36
dotnet run --project src/HagiCode.Libs.Codex.Console -- --test-provider-full --sandbox workspace-write --repo .
37
37
dotnet run --project src/HagiCode.Libs.Codex.Console -- --test-all codex
38
+
39
+
dotnet run --project src/HagiCode.Libs.Codebuddy.Console -- --help
40
+
dotnet run --project src/HagiCode.Libs.Codebuddy.Console
41
+
dotnet run --project src/HagiCode.Libs.Codebuddy.Console -- --test-provider codebuddy-cli
42
+
dotnet run --project src/HagiCode.Libs.Codebuddy.Console -- --test-provider-full --repo .
43
+
dotnet run --project src/HagiCode.Libs.Codebuddy.Console -- --test-all codebuddy
Codex execution options cover the common CLI settings without forcing raw command lines:
70
101
71
102
```csharp
@@ -110,6 +141,15 @@ HAGICODE_REAL_CLI_TESTS=1 dotnet test tests/HagiCode.Libs.ConsoleTesting.Tests/H
110
141
111
142
These Codex checks intentionally stay at the auth-free `codex --version` / `--test-provider` layer. Prompt execution remains covered by fake-provider integration tests so the default CI path stays deterministic.
112
143
144
+
CodeBuddy follows the same opt-in pattern. If `codebuddy` is installed and available on `PATH`, you can run:
145
+
146
+
```bash
147
+
HAGICODE_REAL_CLI_TESTS=1 dotnet test tests/HagiCode.Libs.Providers.Tests/HagiCode.Libs.Providers.Tests.csproj --filter "FullyQualifiedName~Codebuddy"
148
+
HAGICODE_REAL_CLI_TESTS=1 dotnet test tests/HagiCode.Libs.ConsoleTesting.Tests/HagiCode.Libs.ConsoleTesting.Tests.csproj --filter "FullyQualifiedName~Codebuddy"
149
+
```
150
+
151
+
These CodeBuddy checks validate the ACP bootstrap ping path (`codebuddy --acp` initialize) and the dedicated `--test-provider` console flow without requiring the default deterministic suite to talk to a real external CLI.
152
+
113
153
## Design goals
114
154
115
155
- Zero heavy framework dependencies in the reusable libraries.
0 commit comments