Skip to content

Repository files navigation

DROS Doctrinal Copilot

Bilingual Obsidian plugin for doctrinal anchoring, retrieval, and synthesis.

雙語 Obsidian 外掛,用於義理錨定、檢索、綜述與筆記回寫。


English

What it does

DROS Doctrinal Copilot helps you:

  • anchor selected text or notes to a doctrinal context
  • query a local DROS backend or direct LLM endpoint
  • generate structured doctrinal summaries
  • save results back into your vault as pavilion notes
  • switch between Chinese and English output modes

Install

  1. Open Obsidian -> Settings -> Community plugins.
  2. Turn off Restricted Mode, click Browse, and search for DROS Doctrinal Copilot.
  3. Click Install and then Enable.
  4. Open the plugin settings and configure your engine mode (Direct / Custom / Proxy) and API keys.

Start the backend

If you are using the DROS backend mode, start the local injector service first. For this workspace, that is usually the DROS launcher or injector script used by your setup.

Usage

  • Open the command palette and run DROS Doctrinal Copilot commands.
  • Use the chat view to ask doctrinal questions or synthesize a passage.
  • Use the save button to store generated content as a pavilion note.
  • Use the anchor command to connect a selection to its doctrinal context.

Settings

Common settings include:

  • Language mode: auto / zh / en
  • Engine mode: direct / proxy / custom
  • Prompt injection: contract, nodes, runtime mode
  • Custom prompt path and insertion position
  • Model and API fields for direct or custom endpoints

Compatibility

  • Version: 1.0.6
  • Minimum Obsidian version: 1.8.7

Release notes for v1.0.6

  • refreshed the README into a clean bilingual format
  • updated the release metadata to version 1.0.6
  • kept minAppVersion aligned with the plugin's compatibility requirements
  • removed the default hotkey to reduce shortcut conflicts
  • switched language detection to Obsidian's getLanguage() helper
  • replaced newer workspace usage with a compatible leaf-opening flow

繁體中文

功能說明

DROS Doctrinal Copilot 可協助你:

  • 將選取文字或筆記錨定到義理脈絡
  • 連線本機 DROS 後端或直接呼叫 LLM 端點
  • 產生結構化的義理綜述
  • 將結果回寫到 Vault,形成 pavilion note
  • 在中文與英文輸出模式之間切換

安裝

  1. 開啟 Obsidian -> 設定 (Settings) -> 社群外掛程式 (Community plugins)
  2. 關閉限制模式 (Restricted Mode),點擊 瀏覽 (Browse),搜尋 DROS Doctrinal Copilot
  3. 點擊 安裝 (Install) 並點擊 啟用 (Enable)
  4. 開啟外掛設定頁面,設定引擎模式 (Direct 直連 / Custom 自訂 / Proxy 本地代理) 與 API 金鑰即可開始使用。

啟動後端

若你使用 DROS backend 模式,請先啟動本機 injector / backend service。 依照目前工作區慣例,通常是你的 DROS 啟動器或 injector 腳本。

使用方式

  • 從 command palette 執行 DROS Doctrinal Copilot 相關指令。
  • 在 chat 視圖中詢問義理問題或整理段落。
  • 按下儲存按鈕,將結果存成 pavilion note。
  • 使用 anchor 指令,把選取內容連結到其義理脈絡。

設定項目

常見設定包含:

  • 語言模式: auto / zh / en
  • 引擎模式: direct / proxy / custom
  • Prompt 注入: contract, nodes, runtime mode
  • 自訂 prompt 路徑與插入位置
  • 模型與 API 欄位: 供 direct 或 custom endpoint 使用

相容性

  • 版本: 1.0.6
  • 最低 Obsidian 版本: 1.8.7

v1.0.6 更新說明

  • 將 README 整理為乾淨的中英文雙語版
  • 更新發佈中繼資料與版本至 1.0.6
  • 維持 minAppVersion 與外掛相容性需求一致
  • 移除預設 hotkey,降低快捷鍵衝突
  • 改用 Obsidian 的 getLanguage() 進行語言偵測
  • 將較新的 workspace 用法改成相容的 leaf 開啟流程

Development

npm install
npm run build

After building, copy main.js into your vault plugin folder if needed.

開發

npm install
npm run build

完成 build 後,如需要請將 main.js 複製到 Vault 的外掛資料夾。

About

DROS Doctrinal Copilot Obsidian Plugin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages