@musdrop/ds-harness-remote 0.6.11 → 0.6.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -1778,7 +1778,7 @@ Minimum version required to store current data is: ` + bestVersion + `.
1778
1778
 
1779
1779
  // packages/plugin/src/client-locale.ts
1780
1780
  init_page_globals();
1781
- var localeNamespace = "@musdrop/ds-harness-remote", en = {
1781
+ var localeNamespace = "ds-harness-remote", en = {
1782
1782
  uploadTooLarge: "The file exceeds the current upload limit of {size}.",
1783
1783
  relayUploadTooLarge: "The file exceeds the current upload limit of {size}. Relay and TURN allow 20 MiB per file, or 100 MiB on connections with member upload support.",
1784
1784
  serverSavedLive: "Server address saved and applied.",
@@ -8787,7 +8787,9 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
8787
8787
  })
8788
8788
  }, RemoteWorkspaceAction)), ctx.slots.inject("plugins.row.config", () => ctx.slots.register({
8789
8789
  name: "plugins.row.config",
8790
- key: "ds-harness-remote#ds-harness-remote",
8790
+ // [model-sharing] The key must match the installed package name; the
8791
+ // host resolves slot ownership by it.
8792
+ key: `${clientModuleId}#ds-harness-remote`,
8791
8793
  locale: localeNamespace,
8792
8794
  inject: () => ({
8793
8795
  control,
@@ -8798,7 +8800,7 @@ DSH Go \u626B\u7801\u6682\u4E0D\u652F\u6301\u591A\u53F0\u8BBE\u5907\u63A7\u5236\
8798
8800
  })
8799
8801
  }, RemotePluginOptions)), ctx.slots.inject("plugins.bundle.config", () => ctx.slots.register({
8800
8802
  name: "plugins.bundle.config",
8801
- key: "ds-harness-remote",
8803
+ key: clientModuleId,
8802
8804
  locale: localeNamespace,
8803
8805
  inject: () => ({
8804
8806
  control,
package/dist/index.js CHANGED
@@ -75383,7 +75383,7 @@ function parseIpv6(value) {
75383
75383
  }
75384
75384
 
75385
75385
  // packages/plugin/src/version.ts
75386
- var PLUGIN_VERSION = "0.6.11";
75386
+ var PLUGIN_VERSION = "0.6.12";
75387
75387
 
75388
75388
  // packages/plugin/src/server-api.ts
75389
75389
  var TERMINAL_CONTROL_CHARACTERS = /[\u0000-\u001f\u007f-\u009f]/u;
@@ -128275,7 +128275,7 @@ var AcpGateway = class {
128275
128275
  };
128276
128276
 
128277
128277
  // packages/plugin/src/index.ts
128278
- var name = "ds-harness-remote";
128278
+ var name = "@musdrop/ds-harness-remote";
128279
128279
  var legacyLoaderModuleNames = /* @__PURE__ */ new Set(["@dsh-remote/plugin"]);
128280
128280
  var pluginSettingsNamespace = "ds-harness-remote";
128281
128281
  var DEFAULT_ENTRY_ID = "ds-harness-remote";
package/dsh-plugin.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://dsh.community/schemas/dsh-plugin-0.15.json",
3
3
  "id": "com.r2049.ds-harness-remote",
4
4
  "name": "@musdrop/ds-harness-remote",
5
- "version": "0.6.11",
5
+ "version": "0.6.12",
6
6
  "manifestVersion": "0.15",
7
7
  "facets": {
8
8
  "host": {
@@ -1,3 +1,19 @@
1
+ > [!IMPORTANT]
2
+ > ## This is a fork, not the original
3
+ >
4
+ > This plugin (`@musdrop/ds-harness-remote`) is a fork of [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) adding **cross-device model lending/borrowing** on top of everything below:
5
+ >
6
+ > - **Lend**: share this machine's configured models with other devices. Requests are re-driven locally with this machine's own credentials — the borrower never sees any secret, but every call spends this machine's quota.
7
+ > - **Borrow**: use models another device lends; they appear in the local model picker under that device's **name** as the provider.
8
+ > - **Two-sided grants**: the lender picks providers/devices and models; the borrower opts in per device. Only models allowed on both sides show up.
9
+ > - Configuration lives in this plugin's detail page, in the new **"Model sharing" section**.
10
+ >
11
+ > **⚠️ Not coinstallable with the original**: the plugin shares the original's id (`com.r2049.ds-harness-remote`), so a profile can hold only one of the two. The shared id also means this fork **replaces** the original seamlessly — existing Remote configuration and sign-in carry over. Model-sharing policy is stored in a separate `model-share.json`.
12
+ >
13
+ > The original feature tour follows.
14
+
15
+ ---
16
+
1
17
  # DS Harness Remote
2
18
 
3
19
  [Website](https://dsh.r2049.cn/) · [Web client](https://dsh.r2049.cn/app) · [iOS beta](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android download](https://github.com/liguobao/ds-harness-remote/releases/latest)
@@ -1,3 +1,19 @@
1
+ > [!IMPORTANT]
2
+ > ## これはフォーク版です(原版ではありません)
3
+ >
4
+ > 本プラグイン(`@musdrop/ds-harness-remote`)は [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) のフォークで、既存の全機能に加えて**デバイス間モデル貸借**を追加しています:
5
+ >
6
+ > - **貸出(Lend)**:このマシンが設定済みのモデルを他デバイスに貸し出します。リクエストはこのマシンが自身の資格情報で代行し、相手に秘密情報は渡りませんが、消費されるのはこのマシンのクォータです。
7
+ > - **借用(Borrow)**:他デバイスが貸し出したモデルを利用でき、選択器には相手の**デバイス名**をプロバイダーとして表示されます。
8
+ > - **双方向の許可**:貸し手はプロバイダー/デバイス/モデルを指定し、借り手はデバイスごとに有効化します。双方が許可したモデルのみ表示されます。
9
+ > - 設定は本プラグインの詳細ページにある**「モデル共有」セクション**で行います。
10
+ >
11
+ > **⚠️ 原版との併用不可**:原版 `ds-harness-remote` と同じプラグイン ID を持つため、同一 profile にはどちらか一方のみ。同 ID であるため、このフォークは原版をシームレスに**置き換え**でき、既存の Remote 設定とサインイン状態はそのまま引き継がれます。
12
+ >
13
+ > 以下は原版の機能紹介です。
14
+
15
+ ---
16
+
1
17
  # DS Harness Remote
2
18
 
3
19
  [公式サイト](https://dsh.r2049.cn/) · [Web クライアント](https://dsh.r2049.cn/app) · [iOS ベータ](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android ダウンロード](https://github.com/liguobao/ds-harness-remote/releases/latest)
@@ -1,3 +1,19 @@
1
+ > [!IMPORTANT]
2
+ > ## Это форк, а не оригинал
3
+ >
4
+ > Этот плагин (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), добавляющий **предоставление и заимствование моделей между устройствами** поверх всех функций ниже:
5
+ >
6
+ > - **Предоставление**: этот компьютер отдаёт свои настроенные модели другим устройствам. Запросы выполняются локально с собственными учётными данными — заёмщик не видит секретов, но расходуется квота этого компьютера.
7
+ > - **Заимствование**: модели, предоставленные другими устройствами, появляются в локальном выборе моделей под **именем устройства** как провайдером.
8
+ > - **Двусторонние правила**: владелец задаёт провайдеров/устройства и модели, заёмщик включают по устройствам. Показываются только модели, разрешённые с обеих сторон.
9
+ > - Настройки — в карточке этого плагина, в новом разделе **«Обмен моделями»**.
10
+ >
11
+ > **⚠️ Нельзя устанавливать вместе с оригиналом**: у плагина тот же идентификатор, что у `ds-harness-remote`, поэтому в профиле может стоять только один из них. Общий идентификатор также означает, что форк **заменяет** оригинал без потерь — существующие настройки Remote и вход в аккаунт сохраняются.
12
+ >
13
+ > Ниже — описание оригинальных функций.
14
+
15
+ ---
16
+
1
17
  # DS Harness Remote
2
18
 
3
19
  [Сайт](https://dsh.r2049.cn/) · [Веб-клиент](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Скачать для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
@@ -1,3 +1,19 @@
1
+ > [!IMPORTANT]
2
+ > ## Це форк, а не оригінал
3
+ >
4
+ > Цей плагін (`@musdrop/ds-harness-remote`) — форк [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote), що додає **надання та позичання моделей між пристроями** поверх усіх функцій нижче:
5
+ >
6
+ > - **Надання**: цей комп'ютер віддає свої налаштовані моделі іншим пристроям. Запити виконуються локально з власними обліковими даними — позичальник не бачить секретів, але витрачається квота цього комп'ютера.
7
+ > - **Позичання**: моделі, надані іншими пристроями, з'являються в локальному виборі моделей під **іменем пристрою** як провайдером.
8
+ > - **Двосторонні правила**: власник задає провайдерів/пристрої та моделі, позичальник вмикає за пристроями. Показуються лише моделі, дозволені з обох боків.
9
+ > - Налаштування — в картці цього плагіна, в новому розділі **«Модельний обмін»**.
10
+ >
11
+ > **⚠️ Не можна встановлювати разом з оригіналом**: у плагіна той самий ідентифікатор, що й у `ds-harness-remote`, тож у профілі може бути лише один з них. Спільний ідентифікатор також означає, що форк **замінює** оригінал без втрат — наявні налаштування Remote та вхід в акаунт зберігаються.
12
+ >
13
+ > Нижче — опис оригінальних функцій.
14
+
15
+ ---
16
+
1
17
  # DS Harness Remote
2
18
 
3
19
  [Сайт](https://dsh.r2049.cn/) · [Вебклієнт](https://dsh.r2049.cn/app) · [Бета для iOS](https://github.com/liguobao/ds-harness-remote/issues/20) · [Завантажити для Android](https://github.com/liguobao/ds-harness-remote/releases/latest)
@@ -1,3 +1,19 @@
1
+ > [!IMPORTANT]
2
+ > ## 这是一个 fork,不是原版
3
+ >
4
+ > 本插件(`@musdrop/ds-harness-remote`)是 [`liguobao/ds-harness-remote`](https://github.com/liguobao/ds-harness-remote) 的 fork,在原有全部功能之上新增了**跨设备模型借出/借用**:
5
+ >
6
+ > - **借出**:把本机已配置的模型借给其它设备。请求由本机代发、使用本机自己的凭据——对方拿不到任何密钥,但每次调用消耗的是本机账号的额度。
7
+ > - **借用**:借用其它设备借出的模型,借到的模型以对方**设备名**作为提供商出现在本机模型选择器中。
8
+ > - **双向授权**:借出方按提供商/设备配置允许借出的模型,借用方按设备决定是否启用;两边都同意的模型才会出现。
9
+ > - 配置入口:本插件详情页下方新增的**「模型共享」区块**。
10
+ >
11
+ > **⚠️ 与原版不能同时安装**:本插件与原版 `ds-harness-remote` 使用相同插件 ID,同一 profile 只能装其一。同 ID 也意味着本插件可直接**替换**原版,原有 Remote 配置与登录状态无缝继承。模型共享的授权配置存在独立的 `model-share.json`,不影响原版配置字段。
12
+ >
13
+ > 以下为原版功能介绍。
14
+
15
+ ---
16
+
1
17
  # DS Harness Remote
2
18
 
3
19
  [官方网站](https://dsh.r2049.cn/) · [Web 客户端](https://dsh.r2049.cn/app) · [iOS 内测](https://github.com/liguobao/ds-harness-remote/issues/20) · [Android 下载](https://github.com/liguobao/ds-harness-remote/releases/latest)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musdrop/ds-harness-remote",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "description": "P2P-based, end-to-end encrypted remote access to DeepSeek Harness, CodeX, Claude Code, Pi, and other workspaces from web and mobile clients. Fork adding cross-device model lending/borrowing.",
5
5
  "keywords": [
6
6
  "deepseek",