# NousResearch/hermes-agent · Feishu document tools unavailable in DM sessions

## Open now

- 0 issues, 3 PRs open on GitHub.
- PR #29770: fix(feishu): enable document tools in DM sessions
- PR #96371: fix(feishu): build doc/drive tool client from env credentials outside comment context
- PR #96950: fix(feishu): enable doc/drive tools in DM sessions via shared client fallback

These items address a bug where Feishu/Lark document and drive tools could not be used in direct message or DM agent contexts. The proposed fix involves sharing the gateway Lark client across document and drive tools to enable access in those sessions.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 3 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.40`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #29760: Feishu 文档工具在私聊/DM 场景下不可用（Feishu client not available）

## Prior & competing PRs

- **#30048: fix(feishu): share gateway lark client with doc/drive tools for DM agents**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#29770`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#29770: fix(feishu): enable document tools in DM sessions**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `5600105478ffde29d7566b45421b100eaa29c4ef`
  - files: `gateway/platforms/feishu.py`, `tests/gateway/test_feishu_tool_client_binding.py`, `tests/tools/test_feishu_tools.py`, `tools/feishu_doc_tool.py`, `tools/feishu_drive_tool.py`
- **#96371: fix(feishu): build doc/drive tool client from env credentials outside comment context**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`
  - files: `tests/gateway/test_feishu_doc_env_fallback.py`, `tools/feishu_client_factory.py`, `tools/feishu_doc_tool.py`, `tools/feishu_drive_tool.py`
- **#96950: fix(feishu): enable doc/drive tools in DM sessions via shared client fallback**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `0c0467639059091c7e89d520a438aed3d93480c2`, `fef0e16fe19b79ded929209f87c7434270b03825`, `8c098e9e819169879a7b2f74990e83b5d39696c8`, `c3c0734567faaf8f0fd5bc10a8f5cef8ca0aa017`, `#29760`, `#29770`, `#73779`, `#96809`, `#18131`, `#96371`, `#96950`
  - files: `contributors/emails/[redacted:email]`, `plugins/platforms/feishu/adapter.py`, `tests/gateway/test_feishu_profile_scope_hops.py`, `tests/gateway/test_feishu_tool_client_binding.py`, `tests/tools/test_feishu_client_binding.py`, `tools/feishu_client_binding.py`, `tools/feishu_doc_tool.py`, `tools/feishu_lark.py`, `website/docs/reference/tools-reference.md`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
