@@ -135,11 +135,11 @@ For each change in the reference implementation diff, determine:
135135
136136| reference implementation (.NET) | Java SDK Equivalent |
137137| ------------------------------------| --------------------------------------------------------|
138- | ` dotnet/src/Client.cs ` | ` src/main/java/com/github/copilot/sdk/ CopilotClient.java ` |
139- | ` dotnet/src/Session.cs ` | ` src/main/java/com/github/copilot/sdk/ CopilotSession.java ` |
140- | ` dotnet/src/Types.cs ` | ` src/main/java/com/github/copilot/sdk/ types/*.java ` |
138+ | ` dotnet/src/Client.cs ` | ` src/main/java/com/github/copilot/CopilotClient.java ` |
139+ | ` dotnet/src/Session.cs ` | ` src/main/java/com/github/copilot/CopilotSession.java ` |
140+ | ` dotnet/src/Types.cs ` | ` src/main/java/com/github/copilot/types/*.java ` |
141141| ` dotnet/src/Generated/*.cs ` | ❌ ** DO NOT TOUCH** ` src/generated/java/** ` — see top of this file |
142- | ` dotnet/test/*.cs ` | ` src/test/java/com/github/copilot/sdk/ *Test.java ` |
142+ | ` dotnet/test/*.cs ` | ` src/test/java/com/github/copilot/*Test.java ` |
143143| ` docs/getting-started.md ` | ` README.md ` and ` src/site/markdown/*.md ` |
144144| ` docs/*.md ` (new files) | ` src/site/markdown/*.md ` + update ` src/site/site.xml ` |
145145| ` sdk-protocol-version.json ` | (embedded in Java code or resource file) |
@@ -209,7 +209,7 @@ This creates a clear history of changes that can be reviewed in the Pull Request
209209Follow the existing Java SDK patterns:
210210- Use Jackson for JSON serialization (` ObjectMapper ` )
211211- Use Java records for DTOs where appropriate
212- - Follow the existing package structure under ` com.github.copilot.sdk `
212+ - Follow the existing package structure under ` com.github.copilot `
213213- Maintain backward compatibility when possible
214214- ** Match the style of surrounding code** - Consistency with existing code is more important than reference implementation patterns
215215- ** Prefer existing abstractions** - If the Java SDK already solves a problem differently than .NET, keep the Java approach
@@ -230,7 +230,7 @@ git diff "$LAST_REFERENCE_IMPL_COMMIT"..origin/main --stat -- test/snapshots/
230230
231231For each new or modified test file in ` dotnet/test/ ` :
232232
233- 1 . ** Create corresponding Java test class** in ` src/test/java/com/github/copilot/sdk/ `
233+ 1 . ** Create corresponding Java test class** in ` src/test/java/com/github/copilot/ `
2342342 . ** Follow existing test patterns** - Look at existing tests like ` PermissionsTest.java ` for structure
2352353 . ** Use the E2ETestContext** infrastructure for tests that need the test harness
2362364 . ** Match snapshot directory names** - Test snapshots in ` test/snapshots/ ` must match the directory name used in ` ctx.configureForTest() `
@@ -239,10 +239,10 @@ For each new or modified test file in `dotnet/test/`:
239239
240240| reference implementation Test (.NET) | Java SDK Test |
241241| -----------------------------| --------------------------------------------------------|
242- | ` dotnet/test/AskUserTests.cs ` | ` src/test/java/com/github/copilot/sdk/ AskUserTest.java ` |
243- | ` dotnet/test/HooksTests.cs ` | ` src/test/java/com/github/copilot/sdk/ HooksTest.java ` |
244- | ` dotnet/test/ClientTests.cs ` | ` src/test/java/com/github/copilot/sdk/ CopilotClientTest.java ` |
245- | ` dotnet/test/*Tests.cs ` | ` src/test/java/com/github/copilot/sdk/ *Test.java ` |
242+ | ` dotnet/test/AskUserTests.cs ` | ` src/test/java/com/github/copilot/AskUserTest.java ` |
243+ | ` dotnet/test/HooksTests.cs ` | ` src/test/java/com/github/copilot/HooksTest.java ` |
244+ | ` dotnet/test/ClientTests.cs ` | ` src/test/java/com/github/copilot/CopilotClientTest.java ` |
245+ | ` dotnet/test/*Tests.cs ` | ` src/test/java/com/github/copilot/*Test.java ` |
246246
247247### Test Snapshot Compatibility
248248
@@ -353,7 +353,7 @@ var session = client.createSession(
353353
354354Explain the request/response objects and their properties.
355355
356- See [ FeatureHandler] ( apidocs/com/github/copilot/sdk/json /FeatureHandler.html ) Javadoc for more details.
356+ See [ FeatureHandler] ( apidocs/com/github/copilot/rpc /FeatureHandler.html ) Javadoc for more details.
357357```
358358
359359### Verify Documentation Consistency
0 commit comments