Skip to content

[pull] main from Tencent:main - #10

Merged
pull[bot] merged 3 commits into
Walternater:mainfrom
Tencent:main
Aug 28, 2026
Merged

pull[bot] merged 3 commits into
Walternater:mainfrom
Tencent:main

Conversation

@pull

@pull pull Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

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 : )

rzexin and others added 3 commits August 28, 2026 11:11
`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]>
@pull pull Bot locked and limited conversation to collaborators Aug 28, 2026
@pull pull Bot added the ⤵️ pull label Aug 28, 2026
@pull
pull Bot merged commit 300fcf2 into Walternater:main Aug 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants