Repository navigation
[pull] main from Tencent:main - #10
Merged
Merged
Conversation
`teamai push` diffs against the team repo's default branch, where a resource waiting in an unmerged PR is absent — so every run flagged it as new and opened another PR, and the timestamped branch names kept git-level deduplication from kicking in. Push now records each branch, PR URL and its resources in the machine-local state, and splits the selection into one branch/PR per group: - Resources already in an open PR force-push that branch, updating the PR in place and reusing its original namespace. An unchanged tree is not pushed, so a repeated push is a no-op. - Everything else still gets its own new PR, so unrelated resources are never pulled into someone else's review. A partially selected PR also goes to a new PR, with a warning. - Records are pruned once the branch is gone from origin or its resources reach the default branch, and kept when the remote is unreachable. The listing marks these resources with `awaiting review: <url>`. Co-authored-by: JasonRUAN <[email protected]> Co-authored-by: Cursor <[email protected]>
…353) * fix(hooks): resolve Cursor SessionStart project via workspace_roots Cursor sessionStart sends workspace_roots instead of cwd and runs the hook from ~/.cursor, so project-scope seed/pull never found the repo. Co-authored-by: Cursor <[email protected]> * refactor(hooks): drop redundant event?.cwd fallback in reportAndSyncFromHook parseHookEvent already resolves cwd through resolveHookCwd, so event?.cwd is identical to resolveHookCwd(stdin) here. Resolve once and fall back straight to process.cwd(). Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Cursor <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
The public Codex (the OpenAI / ChatGPT Codex app, tool id `codex`) gates non-managed hooks behind an explicit user trust step: even after teamai writes ~/.codex/hooks.json (or the project copy), Codex may skip a newly added or changed hook until the user reviews/trusts it in /hooks or Settings → Hooks. teamai never edits Codex's [hooks.state] to auto-trust — this is a UX reminder only. Scoped to the public `codex` only. The internal variants (codex-internal / tcodex) share the hooks.json format but have no trust gate, so no reminder is shown for them. - hooks.ts: export isCodexTrustGatedTool / codexTrustReminder / hasInstalledCodexTrustGatedTool - hooks-cmd.ts: after `hooks inject`, warn when the public Codex received hooks; suppressed under --silent - doctor.ts: note the same when public-Codex hooks are installed (read-only; never inspects or writes hooks.state) - tests + bilingual usage-guide docs Co-authored-by: Claude Fable 5 <[email protected]>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )