Skip to content

fix(pull): sync newly available agent targets - #343

Merged
jeff-r2026 merged 2 commits into
mainfrom
fix/issue-342-target-aware-pull
Aug 26, 2026
Merged

jeff-r2026 merged 2 commits into
mainfrom
fix/issue-342-target-aware-pull

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

Summary

  • track installed resource targets alongside each pull revision
  • bypass the same-revision fast-path when a newly available Agent target has not received team resources
  • add real CLI coverage for sequential Claude/Cursor cold starts while preserving fast-path and uninstalled/disabled target behavior

Closes #342

Test plan

  • npm run typecheck
  • npm test (165 files, 2252 tests)
  • npm run build
  • npm run test:e2e (16 files passed, 72 tests passed; 2 live-test files skipped)
  • Real dist CLI regression: Claude first pull, Cursor same-revision pull, then unchanged fast-path pull

Made with Cursor

jeff-r2026 and others added 2 commits August 26, 2026 19:07
Track resource targets alongside pull revisions so an unchanged team repo cannot skip first-time deployment to a newly created agent directory.

Co-authored-by: Cursor <[email protected]>
Refresh the cached target marker when tools disappear so a recreated Agent directory cannot inherit a stale synced state.

Co-authored-by: Cursor <[email protected]>
@jeff-r2026
jeff-r2026 merged commit 22902f1 into main Aug 26, 2026
7 checks passed
@jeff-r2026
jeff-r2026 deleted the fix/issue-342-target-aware-pull branch August 26, 2026 11:27
Walternater pushed a commit to Walternater/teamai-cli that referenced this pull request Nov 2, 2026
* fix(pull): sync newly available agent targets

Track resource targets alongside pull revisions so an unchanged team repo cannot skip first-time deployment to a newly created agent directory.

Co-authored-by: Cursor <[email protected]>

* fix(pull): compare exact resource target set

Refresh the cached target marker when tools disappear so a recreated Agent directory cannot inherit a stale synced state.

Co-authored-by: Cursor <[email protected]>

---------

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] project-scope cold start skips team resources for agents started after the first pull

1 participant