dsh-connect-loomy: Connect Local Loomy Models to the DSH Model Selector

Preface

In DeepSeek Harness (DSH), when developing agents, model sources are typically concentrated on built-in or configured providers. If you are already using iFlytek Office Assistant Loomy on your computer and have completed logging in on the desktop, those models and credits originally only appear within the Loomy client and cannot be directly selected in the DSH chat interface. What dsh-connect-loomy does is register the chat models from the local logged-in Loomy into DSH’s model selector and provide a read-only credit overview on the interface, so there is no need to configure a set of Loomy account credentials again in DSH.

What is this

dsh-connect-loomy (npm package name same, display name DSH Connect Loomy) is released by maintainer diudiu62, licensed under MIT, with the current version number in the documentation being 0.1.1. The plugin positioning is described in the official description: it connects locally logged-in Loomy (iFlytek Office Assistant) models to the DeepSeek Harness model selector and provides a settings card with a read-only credit overview.

The plugin only reads the existing login status of the local Loomy client, does not provide accounts, does not share credentials, and does not bypass billing; the credits consumed in each conversation are deducted from your own Loomy account. Community directory page: https://www.skillhub.cn/plugins/diudiu62/dsh-connect-loomy; Source code and description: https://github.com/diudiu62/dsh-connect-loomy. SkillHub is the community plugin directory and has no official affiliation with DeepSeek / High-Flyer.

Core Features

Based on the README and package.json, the verifiable capabilities are as follows.

  1. Model Access: The Loomy group and specific models appear in the DSH model selector; once selected, you can chat like with any other model.
  2. Login State Detection: Settings → Loomy displays whether you are logged in (including phone number); supports Re-detect, which is linked with the Loomy desktop login state.
  3. Credit Display: When selecting a Loomy model, a capsule (e.g., Loomy · 40,500 Credits) appears next to the input box, and details can be viewed; the balance has a caching strategy (the info mentions using Refresh inside the drawer to force a re-read after switching accounts; normally cached for about 60 seconds).
  4. Multi-account: In settings, you can Add Account (SMS verification code) or Import accounts exported from other machines; click the capsule in the chat to switch accounts; supports a Randomly pick a healthy account per call switch.
  5. Account Migration: You can Export / Import login credential content within the settings card for changing machines (exported content is equivalent to a password and needs to be kept by yourself).
  6. Diagnosis & CLI: The diagnosis page in the settings card supports Copy Diagnosis (without credentials, phone number, or user ID); CLI commands node lib/bin.js status --json and node lib/bin.js doctor --json are used for status and troubleshooting.
  7. Explicitly Not Supported (listed in README): Automatic daily check-in, automatic account rotation by model, credit transfer.

Preparation Before Installation

The official requirements require confirming two things first:

  1. The computer has Loomy Desktop installed and has logged in at least once (the plugin reads the saved login state; there is no need to keep Loomy running for a long time).
  2. The computer has DSH, version 0.2.2-rc.1 or higher (consistent with the package.json peer dependency range).

The build environment needs to satisfy engines.node: ^22.19.0 || >=24.0.0, and the build uses pnpm.

Installation and Enablement

Execute the following three steps as per the README; installation commands follow the original documentation.

Step 1: Download and Build

Execute the following segments in the terminal:

cd ~/Documents
git clone https://github.com/diudiu62/dsh-connect-loomy.git
cd dsh-connect-loomy
pnpm install
pnpm build

This step pulls the source code, installs dependencies, and generates build artifacts like lib/.

Step 2: Install into DSH

Still execute in the plugin directory:

dsh plugin --profile web add link:$PWD

You must use the link: prefix; do not use file:. file: will copy the plugin into DSH, and local code updates will not take effect.

Step 3: Restart DSH

Open it after completely exiting DSH. Verification methods:

  • Settings → Loomy shows the settings card, indicating the plugin has loaded;
  • Model Selector shows the Loomy group, indicating the provider has been attached.

If you are unsure if the installation was successful, you can run dsh plugin --profile web list to check the list.

Uninstall (if needed):

dsh plugin --profile web remove dsh-connect-loomy

Then restart DSH.

Cache duration, API addresses, etc., can be adjusted in the DSH profile configuration; details can be found in the Installation and Configuration Guide (the plugin contract document in the provided info).

Typical Usage

Confirm Login

Open Settings → Loomy; the top should display Logged in and your phone number. If you are not logged in: first complete the login in the Loomy desktop, then return to the settings page and click Re-detect.

Select Model to Chat

In the Model Selector below the dialog box, select Loomy, then select the specific model, and you can send messages normally. Credits are deducted from the currently used account during the conversation.

View Credits and Switch Account

The credit capsule next to the input box only appears when a Loomy model is selected for the current session; switching to other models will hide it.

For multiple accounts: after adding or importing accounts in Settings → Loomy, click the capsule in the chat to select an account. If Randomly pick a healthy account per call in the drawer is turned on, every conversation automatically picks a healthy account that still has credits; if turned off, it uses the account you selected.

Export and Import

Click Export on the account line in the settings card to copy the content; on a new machine, click Import and paste to avoid receiving the verification code again. Do not send exported content to group chats or submit it to a public repository.

Suitable Scenarios and Notes

Who is it for: Developers or daily users who already have an account and credits in the Loomy desktop and wish to unify model selection and view balances in DSH on the same machine.

Permissions and Security: The plugin runs locally with the current DSH process and will read the Loomy client-side configuration and login state. Before installing, you should browse the source code and the MIT license yourself to confirm that you accept its read/write scope; exported/imported credentials need to be kept at a password level.

Common Issues (excerpted from README):

  • Cannot see the Loomy settings card: Restart DSH (not just refresh the browser), and check dsh plugin --profile web list.
  • Model selector has no Loomy: Mostly because you are not logged in; log in on the desktop and click Re-detect.
  • “No available Loomy app config found”: Loomy desktop is not installed or the installation path is unusual; install it and click Re-detect.
  • “Login state has expired”: Re-login in the Loomy desktop and click Re-detect.
  • Credits show “Unavailable”: The account login has expired; re-login to fix.

When you get stuck, you can ask in the QQ group 537149884 or GitHub Issues; it is recommended to click Copy Diagnosis in the settings card and attach it.

Conclusion

dsh-connect-loomy connects locally logged-in Loomy models to the DSH selector and provides credits and multi-account management on the same interface, making it suitable for the “DSH main interface + Loomy existing account” usage pattern. To understand technical details further, you can refer to the plugin contract, upstream interface testing, and verification report documents in the repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye