Repository navigation
feat(coding-agent): connect terminal sessions to Lark with mirrored approvals - #260
Open
xuxujo97-coder wants to merge 3 commits into
Open
xuxujo97-coder wants to merge 3 commits into
xuxujo97-coder wants to merge 3 commits into
Conversation
xuxujo97-coder
requested review from
MelodyVAR,
Uking-xxx,
ZouR-Ma and
liuedcson
as code owners
October 19, 2026 05:05
Settle transport startup on readiness, initial failure, timeout or close instead of trusting the SDK start return. Retain message IDs throughout their eligibility window and bound future clock skew without evicting live IDs. Cover startup cleanup, retries, late success, installed SDK behavior and redelivery boundaries with offline regressions.
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.
Problem
An interactive terminal session cannot currently receive Lark messages or present its pending tool approvals in the same chat. Users must return to the terminal to continue work or approve a tool.
Changes
/connect,/connect lark, and/connect offthrough a built-in CLI extension, with device authorization, a complete QR/link fallback, and a separate connection status row.@step-harness/lark-adapter. Pin the Lark SDK and QR dependencies.Behavior and compatibility
card.action.triggerthrough the official launcher. Connecting does not prove callbacks are configured./connect offrevokes remote access while leaving a pending local approval available.Validation
pnpm install --frozen-lockfile --ignore-scripts: passed with the committed lockfile.npm run check: passed; no formatter changes. Type, dependency, UI-layer, workspace, public-source, and secret-boundary checks passed.TMPDIR=/tmp ./test.sh: passed on macOS / Node.js 24.18.0, including the automatic offline workspace build, script tests, TUI tests, adapter tests (35), coding-agent tests (4760 passed, 58 skipped), and CLI tests (725).git diff --cached --check: passed.Limitations
TMPDIRmakes an existingtsxsubprocess socket fail withEINVAL; the passing isolated run usedTMPDIR=/tmpwithout weakening tests.