Repository navigation
feat: support folder-scoped git status - #4527
Draft
liruifengv wants to merge 8 commits into
Draft
liruifengv wants to merge 8 commits into
liruifengv wants to merge 8 commits into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
🦋 Changeset detectedLatest commit: ef0b51d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…panels # Conflicts: # packages/agent-core-v2/src/app/git/gitService.ts # packages/kap-server/src/routes/fs.ts # packages/kap-server/test/fs.test.ts
…o feat/session-context-panels
This branch has not been deployed
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.
Requirement or Bug
Allow desktop session information to query Git status independently for every folder in a multi-root workspace.
Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
The request schema now accepts an optional
root. Existing callers that omit it retain the current primary-workspace semantics and file filters.Behavior Changes and Affected Users
rootrootrootto retain repository-wide primary statusisDraftis trueVerification
pnpm --filter @moonshot-ai/agent-core-v2 exec vitest run test/app/git/gitService.test.ts test/app/git/gitParsers.test.ts test/workspace/workspaceFs/fsService.test.ts— 130 tests passed.pnpm --filter @moonshot-ai/kap-server exec vitest run test/fs.test.ts— 67 tests passed, including a real REST request for an additional root.pnpm --filter @moonshot-ai/agent-core-v2 run typecheck— passed.pnpm --filter @moonshot-ai/kap-server run typecheck— passed.Checklist
gen-changesets: no changeset is needed because this is an internal protocol capability with no direct CLI-user-visible behavior change.