feat: enhance adt_gitpull to support pulling from different branches#65
Merged
Conversation
… checkout - Add optional branch field to AdtGitPullOptions interface - Auto-detect branch via git rev-parse when not explicitly provided - Always pass explicit refs/heads/<branch> to gitPullRepo API - Add branch parameter to OpenCode tool schema - Update skill documentation with new parameter table Closes #63
Adds 'npm run typecheck' script that runs tsc --noEmit against scripts/*.ts and .opencode/tools/*.ts. Included in 'npm test' so CI catches TypeScript errors in tooling code.
All tests use either the ABAP transpiler runner or Node's built-in test runner (node --test). Jest was never used.
- Remove redundant 'npm run lint && npm test' (lint runs twice) - Add typecheck script to the test table - Simplify to just 'npm test' everywhere
The pullRepo API alone does not change the active branch on SAP. Use switchRepoBranch first when the target branch differs from the repo's current configured branch.
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.
Closes #63
Changes
branchparameter toadtGitPullcore functiongitPullRepoAPIbranchparameterDesign Decisions
git rev-parse --abbrev-ref HEAD, formatted asrefs/heads/<name>mainsince workflow checks outmain)