Rewrite: scaffold workspace and core agent test - #2
Merged
Conversation
Add ContextStore trait, SharedContext alias, SQLite-backed store, and integration tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Owner
Author
|
Added ContextStore trait plus in-memory and SQLite-backed implementations in coder-core. Included unit and integration tests; all coder-core tests pass locally. Pushed to branch rewrite/rust-from-scratch (commit 3012516). Next steps: extract Context into a shared crate, add provider adapters, and expand the tool registry. Please review the changes in the draft PR and advise reviewers or priority for next work. |
Move ContextStore and SqliteContext into new crate coder-context; update coder-core to depend on coder-context. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e coder-core to use coder-ai Provider Add OpenAIProvider skeleton and re-export Provider from coder-core. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…nses; return mock when no API key Add ChatCompletion request/response handling and error mapping; keep tests mock-friendly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e invalid workspace features Add features to coder-ai and ensure workspace resolver set; this fixes CI feature parsing and clippy/test runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Owner
Author
|
CI failures observed in the workflow. Pushed fixes:
|
…s, ToolRegistry Default; reorder core tests\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
… add toml and tempfile deps\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…tests; wire dependency\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ntegration test; wire CLI to use Provider; update deps\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
hzt818
marked this pull request as ready for review
May 31, 2026 01:03
…de.js deprecation failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This draft PR introduces a new
rewrite/workspace scaffold for a clean Rust rewrite. Includes minimal crates (core, cli, tui, ai, tools, storage) and a unit test for a SimpleAgent.Work so far:
This PR is a draft while the rewrite progresses.