LJH-snow/dsh-tool-microsoft-365 ↗★ 0

@libai168/dsh-tool-microsoft-365

Read-only Microsoft 365 tools for DeepSeek Harness using Microsoft Graph v1.0 适合需要通过Microsoft Graph只读读取M365数据的任务。

パッケージ
@libai168/dsh-tool-microsoft-365
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/06

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Authentication and configuration

Provide a delegated Microsoft Graph OAuth access token through the host configuration. The token must be kept outside source control and is never returned by a tool.

- name: '@libai168/dsh-tool-microsoft-365'
  config:
    accessToken: 'replace-with-a-short-lived-delegated-graph-token'
    # timeoutMs: 15000

See examples/cordis.yml. The client accepts only the production https://graph.microsoft.com/v1.0 endpoint. This prevents a Bearer token from being sent to an arbitrary configured host. OAuth acquisition and refresh belong in the host application.

Recommended delegated permissions are the smallest set needed by the tools you enable:

CapabilityMicrosoft Graph delegated permission
ms_auth_test, ms_get_profileUser.Read
ms_search_messagesMail.Read
ms_list_calendar_events, ms_list_calendar_viewCalendars.Read
ms_search_drive_items, ms_get_drive_itemFiles.Read
ms_search_chat_messagesChat.Read

Microsoft Entra consent and Conditional Access policies can require administrator approval. A token with fewer permissions returns the Graph status and a sanitized error code.