Skip to content

Commit cd17180

Browse files
committed
Add code-agent-sdk crate and implement code tool subcommands
- Added code-agent-sdk crate with workspace dependencies - Created internal ApiSymbolKind enum to replace lsp_types in public API - Added RenameResult type with edit counts for clean API - Implemented SearchSymbols, FindReferences, GotoDefinition, RenameSymbol, FormatCode - Updated MCP server and CLI to use internal types - All compilation successful, 25/45 Phase 12 tasks complete
1 parent 9c571bd commit cd17180

Some content is hidden

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

70 files changed

+11996
-9
lines changed

Cargo.lock

Lines changed: 160 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "3"
3-
members = ["crates/amzn-codewhisperer-client", "crates/amzn-codewhisperer-streaming-client", "crates/amzn-consolas-client", "crates/amzn-qdeveloper-streaming-client", "crates/amzn-toolkit-telemetry-client", "crates/aws-toolkit-telemetry-definitions", "crates/chat-cli", "crates/semantic-search-client"]
3+
members = ["crates/amzn-codewhisperer-client", "crates/amzn-codewhisperer-streaming-client", "crates/amzn-consolas-client", "crates/amzn-qdeveloper-streaming-client", "crates/amzn-toolkit-telemetry-client", "crates/aws-toolkit-telemetry-definitions", "crates/chat-cli", "crates/code-agent-sdk", "crates/semantic-search-client"]
44
default-members = ["crates/chat-cli"]
55

66
[workspace.package]

crates/chat-cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ chrono.workspace = true
4343
clap.workspace = true
4444
clap_complete.workspace = true
4545
clap_complete_fig.workspace = true
46+
code-agent-sdk = { path = "../code-agent-sdk" }
4647
color-eyre.workspace = true
4748
color-print.workspace = true
4849
convert_case.workspace = true

0 commit comments

Comments
 (0)