@cold777/dsh-takeover 0.1.0 → 0.2.0

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/assets/icon.svg CHANGED
@@ -1,22 +1,22 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
- <defs>
3
- <linearGradient id="bt-bg" x1="0" y1="0" x2="1" y2="1">
4
- <stop offset="0" stop-color="#6366F1"/>
5
- <stop offset="1" stop-color="#8B5CF6"/>
6
- </linearGradient>
7
- <linearGradient id="bt-sheen" x1="0" y1="0" x2="0" y2="1">
8
- <stop offset="0" stop-color="#ffffff" stop-opacity=".26"/>
9
- <stop offset=".55" stop-color="#ffffff" stop-opacity="0"/>
10
- </linearGradient>
11
- </defs>
12
- <!-- 圆角方底:应用图标衬底,深/浅底上都有自带对比 -->
13
- <rect x="2" y="2" width="60" height="60" rx="15" fill="url(#bt-bg)"/>
14
- <rect x="2" y="2" width="60" height="60" rx="15" fill="url(#bt-sheen)"/>
15
- <rect x="2.75" y="2.75" width="58.5" height="58.5" rx="14.25" fill="none" stroke="#ffffff" stroke-opacity=".22" stroke-width="1.5"/>
16
- <!-- 接管:双箭头 » 进格 |,读作"接管席位"——别的 agent 干到一半,你进来接着掌控 -->
17
- <g fill="none" stroke="#ffffff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">
18
- <path d="M15 19 L27 32 L15 45"/>
19
- <path d="M29 19 L41 32 L29 45"/>
20
- </g>
21
- <rect x="46.5" y="17" width="6" height="30" rx="3" fill="#ffffff" opacity=".9"/>
22
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2
+ <defs>
3
+ <linearGradient id="bt-bg" x1="0" y1="0" x2="1" y2="1">
4
+ <stop offset="0" stop-color="#6366F1"/>
5
+ <stop offset="1" stop-color="#8B5CF6"/>
6
+ </linearGradient>
7
+ <linearGradient id="bt-sheen" x1="0" y1="0" x2="0" y2="1">
8
+ <stop offset="0" stop-color="#ffffff" stop-opacity=".26"/>
9
+ <stop offset=".55" stop-color="#ffffff" stop-opacity="0"/>
10
+ </linearGradient>
11
+ </defs>
12
+ <!-- 圆角方底:应用图标衬底,深/浅底上都有自带对比 -->
13
+ <rect x="2" y="2" width="60" height="60" rx="15" fill="url(#bt-bg)"/>
14
+ <rect x="2" y="2" width="60" height="60" rx="15" fill="url(#bt-sheen)"/>
15
+ <rect x="2.75" y="2.75" width="58.5" height="58.5" rx="14.25" fill="none" stroke="#ffffff" stroke-opacity=".22" stroke-width="1.5"/>
16
+ <!-- 接管:双箭头 » 进格 |,读作"接管席位"——别的 agent 干到一半,你进来接着掌控 -->
17
+ <g fill="none" stroke="#ffffff" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">
18
+ <path d="M15 19 L27 32 L15 45"/>
19
+ <path d="M29 19 L41 32 L29 45"/>
20
+ </g>
21
+ <rect x="46.5" y="17" width="6" height="30" rx="3" fill="#ffffff" opacity=".9"/>
22
+ </svg>
package/cordis.patch.yml CHANGED
@@ -1,9 +1,9 @@
1
- # 官方 bundle 层:`dsh plugin add` 把它合入 profile。
2
- # 行按包名解析,安装进 profile 的副本就是启动副本。
3
- # host 半:工具 handoff_push / handoff_inbox / foreign_session_read + slash
4
- # /handoff /inbox /resume-*×8 + webServer 路由 /dsh-takeover/*(设置卡 JSON API)。
5
- # 浏览器半(设置页「dsh-takeover」卡)由 package.json 的 dsh.client 声明 +
6
- # exports["./client"] 提供,不进本 patch。
7
- - insert:
8
- - id: dsh-takeover
9
- name: dsh-takeover
1
+ # 官方 bundle 层:`dsh plugin add` 把它合入 profile。
2
+ # 行按包名解析,安装进 profile 的副本就是启动副本。
3
+ # host 半:工具 handoff_push / handoff_inbox / foreign_session_read + slash
4
+ # /handoff /inbox /resume-*×8 + webServer 路由 /dsh-takeover/*(设置卡 JSON API)。
5
+ # 浏览器半(设置页「dsh-takeover」卡)由 package.json 的 dsh.client 声明 +
6
+ # exports["./client"] 提供,不进本 patch。
7
+ - insert:
8
+ - id: dsh-takeover
9
+ name: dsh-takeover
package/cordis.yml CHANGED
@@ -1,5 +1,5 @@
1
- # portable overlay:仅相对包名。--patch 相对 profile 目录解析,
2
- # 而不是相对本 checkout 裸跑 `pnpm dsh`。
3
- - insert:
4
- - id: dsh-takeover
5
- name: './lib/index.js'
1
+ # portable overlay:仅相对包名。--patch 相对 profile 目录解析,
2
+ # 而不是相对本 checkout 裸跑 `pnpm dsh`。
3
+ - insert:
4
+ - id: dsh-takeover
5
+ name: './lib/index.js'