← 返回列表
D

dsh-notion-connector

v0.1.1 · 2 天前发布

Notion connector for DeepSeek Harness: Integration Token config (~/.dsh/notion.json, 0600), agent tools (notion_search / notion_read_page / notion_query_database / notion_create_page / notion_update_page / notion_append_blocks), and a Web GUI settings pag

dshdsh-pluginnotionknowledge-basenotes

README

dsh-notion-connector

English | 中文

DeepSeek Harness 的 Notion 连接插件。配置一次 Integration Token 后,agent 与 Web GUI 设置页都可以操作你的 Notion 工作区。

功能

  • Agent 工具(配置后自动可用):

  • - notion_search — 搜索页面/数据库
    - notion_read_page — 读取页面标题、属性、内容块(嵌套递归,最多 200 块)
    - notion_query_database — 查询数据库条目(filter / sorts / 翻页)
    - notion_create_page — 创建页面(页面或数据库下)
    - notion_update_page — 更新属性 / 归档
    - notion_append_blocks — 追加内容块
  • Web 设置页:设置 → Notion — 连接状态、Token 粘贴(保存时自动校验并读取工作区名)、清除配置、三步指引

  • 存储:Token 存 ~/.dsh/notion.json(权限 0600);通过 loopback-only 的 /api/dsh-notion-connector/* 与浏览器半交互;API 调用走 Node 原生 fetch,无 shell 依赖
  • 安装

    bash
    dsh plugin --profile web add github:zhengjy01/dsh-notion-connector

    重启 dsh web 后生效。

    使用

    1. 打开 <https://www.notion.so/my-integ

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-notion-connector
    Repo
    git+https://github.com/zhengjy01/dsh-notion-connector.git
    Engines
    {"node":"^22.19.0 || >=24.0.0"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web"}}