dsh-sideby-note 0.0.0-stage → 0.1.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/CHANGELOG.md +331 -0
- package/LICENSE +21 -0
- package/README.en.md +302 -0
- package/README.md +301 -2
- package/client/client.js +4425 -0
- package/cordis.patch.yml +6 -0
- package/docs/assets/features/actions-dark.png +0 -0
- package/docs/assets/features/actions.png +0 -0
- package/docs/assets/features/clear-dark.png +0 -0
- package/docs/assets/features/clear.png +0 -0
- package/docs/assets/features/empty-dark.png +0 -0
- package/docs/assets/features/empty.png +0 -0
- package/docs/assets/features/panel-dark.png +0 -0
- package/docs/assets/features/panel.png +0 -0
- package/docs/assets/features/settings-dark.png +0 -0
- package/docs/assets/features/settings.png +0 -0
- package/docs/assets/preview-badge-dark.png +0 -0
- package/docs/assets/preview-badge.png +0 -0
- package/docs/assets/preview-right-dark.png +0 -0
- package/docs/assets/preview-right.png +0 -0
- package/docs/assets/storefront-icon.svg +22 -0
- package/docs/panel-ui-rules.md +77 -0
- package/host/apply-update.js +204 -0
- package/host/exec.js +68 -0
- package/host/profile.js +99 -0
- package/host/route.js +360 -0
- package/host/versions.js +92 -0
- package/icon.svg +12 -0
- package/index.js +28 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +94 -4
- package/scripts/install.mjs +281 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The 1.0.0–2.0.1 iterations were development builds of the same plugin; the 2.x line was withdrawn from npm before it became public and the changelog was consolidated at 0.9.10, the first public release under the `dsh-aside-note` name. The public line resumes here at 1.0.0, the first stable release.
|
|
4
|
+
|
|
5
|
+
`dsh-sideby-note` starts its own public line at 0.1.0, the first release of this fork under the new name. Older sections below it — the `dsh-aside-note` releases from 0.9.10 onward — are inherited history kept for reference.
|
|
6
|
+
|
|
7
|
+
This file records user-visible changes only. Screenshots, marketplace listing material, documentation structure and the release pipeline are tracked in [CHANGELOG-OPS.md](./CHANGELOG-OPS.md), so the notes the panel shows never carry build or operations chores.
|
|
8
|
+
|
|
9
|
+
## next-released
|
|
10
|
+
|
|
11
|
+
## 0.1.0
|
|
12
|
+
|
|
13
|
+
<!-- app-update-notes:en:start -->
|
|
14
|
+
### Added
|
|
15
|
+
- **First release under the new name:** `dsh-sideby-note` 0.1.0 is the first published version of this fork, branded 边记部 / Sideby Note; notes and settings already stored under the shared `dsh.aside-note.*` keys are read as-is.
|
|
16
|
+
- **All official DSH languages:** the panel, the note-entry tooltips and the plugin listing now follow every language the DSH client ships — Chinese, English, Japanese, Spanish, French, German, Russian and Brazilian Portuguese — and switch immediately with the DSH language setting.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- **One editor for note text:** a note can now be edited only in the top composer. Each row's inline editor and delete button are gone; **Rewind** (↺) moves the text back into the composer and removes the row, submitting adds it back, and clearing the composer removes the note. An existing draft is never overwritten.
|
|
20
|
+
|
|
21
|
+
### Removed
|
|
22
|
+
- **Anonymous feature statistics:** the panel no longer reports usage events. The Settings › Privacy switch, the bundled analytics SDK and the anonymous visitor id are gone, so no analytics data leaves the browser.
|
|
23
|
+
<!-- app-update-notes:en:end -->
|
|
24
|
+
|
|
25
|
+
<!-- app-update-notes:zh:start -->
|
|
26
|
+
### 新增
|
|
27
|
+
- **新名称的首个版本:** `dsh-sideby-note` 0.1.0 是本次改版的首个公开版本(边记部 / Sideby Note);沿用 `dsh.aside-note.*` 键的既有便笺与设置会原样读取。
|
|
28
|
+
- **支持全部 DSH 官方语言:** 面板、入口提示与插件列表现在跟随 DSH 客户端提供的全部语言——中文、英语、日语、西班牙语、法语、德语、俄语和巴西葡萄牙语,并随 DSH 语言设置即时切换。
|
|
29
|
+
|
|
30
|
+
### 变更
|
|
31
|
+
- **便笺正文只保留一个编辑区:** 行内编辑器与行尾「删除」按钮已移除,改为「退回」(↺)——把正文放回顶部输入框并从清单移除,改完提交后重新加入;清空输入框即删除该条。录入框已有内容时不会覆盖。
|
|
32
|
+
|
|
33
|
+
### 移除
|
|
34
|
+
- **匿名功能统计:** 面板不再上报使用事件。设置 › 隐私开关、内置统计 SDK 与匿名访客 ID 均已移除,不会有统计数据的请求离开浏览器。
|
|
35
|
+
<!-- app-update-notes:zh:end -->
|
|
36
|
+
|
|
37
|
+
## 1.1.3
|
|
38
|
+
|
|
39
|
+
<!-- app-update-notes:en:start -->
|
|
40
|
+
### Added
|
|
41
|
+
- **New-session entry:** a blank new session now shows the notes button at the top right, beside the right-sidebar control. Until the first message it reads the workspace list and hides the session option; once the session starts, the entry moves into the conversation header and the switch becomes available.
|
|
42
|
+
- **Scope tooltips:** hovering or focusing the Workspace / Session switch explains what each list is for; a blank new session says the workspace list is the only one until the session starts.
|
|
43
|
+
<!-- app-update-notes:en:end -->
|
|
44
|
+
|
|
45
|
+
<!-- app-update-notes:zh:start -->
|
|
46
|
+
### 新增
|
|
47
|
+
- **新会话入口:** 空白新会话右上角也会出现旁边记按钮,位于右侧栏按钮左侧。发出第一条消息前只读取工作区清单,不显示「会话」选项;会话开始后入口回到对话头部,切换随之可用。
|
|
48
|
+
- **范围提示:** 悬停或聚焦「工作区 / 会话」切换时,会说明两种清单各自的用途;空白新会话则提示当前只能记到工作区,会话开始后才可切换。
|
|
49
|
+
<!-- app-update-notes:zh:end -->
|
|
50
|
+
|
|
51
|
+
## 1.1.2
|
|
52
|
+
|
|
53
|
+
<!-- app-update-notes:en:start -->
|
|
54
|
+
### Added
|
|
55
|
+
- **Anonymous feature statistics:** the panel reports a small set of anonymous events to the Tencent Cloud Observability Platform — panel opened, note created/completed/edited/deleted/forwarded, scope switched, update checked — to see which features are used and where people get stuck. Events carry the action and outcome, the plugin version, an anonymous visitor ID and basic environment details such as network, region and device type; note text, conversations and account details are never read. Only custom events are sent: page performance, web vitals, JS errors, API and asset speed are off, and Do Not Track drops reports.
|
|
56
|
+
- **Privacy switch:** Settings › Privacy now has an “Anonymous feature statistics” switch, on by default. Turning it off stops reporting immediately; the final event only records that choice, and the preference stays in this browser.
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
- **In-app updates now run through the host:** the plugin no longer uses the plugin market. The host installs over the running copy and verifies the version on disk; prerelease builds also read the `next` dist-tag, while stable builds keep reading `latest` only.
|
|
60
|
+
- **Failed updates stay actionable:** a failed update states its cause. When the host has no update route or refuses an in-place install, the card hands over a command pinned to the offered version; prereleases also pin the npmjs registry, and the installer retries npmjs when the configured mirror has not caught up.
|
|
61
|
+
- **No more waiting on unrelated work:** updates no longer queue behind the plugin market or wait for an unrelated agent to finish.
|
|
62
|
+
- **No “Restart DSH” button:** after an update the card offers a page refresh and says the new version lands at the next start.
|
|
63
|
+
- **One neutral footer line:** both the workspace and session scopes now read “Notes are saved only on this device”; the switch under the title shows which list is visible.
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
- **Settings card scrolling:** in a short window the settings card now scrolls inside the panel instead of being cut off below its bottom edge, while a tall panel still shows the whole card.
|
|
67
|
+
- **Manual update command:** when an older host sends a fallback command without the offered version, or without the npmjs pin for a prerelease, the card replaces it with its own pinned command so it cannot install the stable line.
|
|
68
|
+
<!-- app-update-notes:en:end -->
|
|
69
|
+
|
|
70
|
+
<!-- app-update-notes:zh:start -->
|
|
71
|
+
### 新增
|
|
72
|
+
- **匿名功能统计:** 面板通过腾讯云可观测平台上报少量匿名事件——打开面板、新建/完成/编辑/删除/转发便笺、切换清单、检查更新等,用来判断哪些功能常用、哪里容易卡住。事件带操作类型与结果、插件版本、匿名访客 ID,以及网络、地域、设备类型等基础环境信息;不读取便笺正文、对话或账号信息。只上报自定义事件,页面性能、Web Vitals、JS 报错、接口与资源测速均关闭,浏览器开启 DNT 时丢弃上报。
|
|
73
|
+
- **隐私开关:** 设置 › 隐私新增「匿名功能统计」开关,默认开启。关闭后不再上报,最后一条事件只记录这次选择;开关状态仅保存在本机。
|
|
74
|
+
|
|
75
|
+
### 变更
|
|
76
|
+
- **应用内更新改走宿主:** 不再使用插件市场。宿主就地覆盖安装并回读磁盘版本;预发布版同时读取 `next` 标签,稳定版仍只读 `latest`。
|
|
77
|
+
- **更新失败仍可继续:** 失败时说明原因;宿主没有更新路由或拒绝就地覆盖时,卡片给出固定目标版本的命令。预发布还会固定 npmjs registry,安装器在默认镜像缺版本时也会用 npmjs 重试。
|
|
78
|
+
- **更新不再被无关任务阻塞:** 不再排队等插件市场,也不会因为别的 agent 正在运行而拒绝更新。
|
|
79
|
+
- **不再提供「重启 DSH」按钮:** 更新完成后提供「刷新页面」,并说明新版本在下次启动生效。
|
|
80
|
+
- **页脚统一为一条中性说明:** 工作区与会话都显示「便笺数据仅保存在本地」,当前清单只由标题下方的切换表示。
|
|
81
|
+
|
|
82
|
+
### 修复
|
|
83
|
+
- **设置卡滚动:** 窗口偏矮时设置卡在面板内滚动,不再被面板下沿裁掉;面板够高时仍完整显示。
|
|
84
|
+
- **手动更新命令:** 旧宿主返回的兜底命令如果没带目标版本、或预发布没带 npmjs 固定,卡片会换成自己生成的固定版本命令,避免装回稳定版。
|
|
85
|
+
<!-- app-update-notes:zh:end -->
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## 1.1.2-beta.8
|
|
89
|
+
|
|
90
|
+
<!-- app-update-notes:en:start -->
|
|
91
|
+
### Fixed
|
|
92
|
+
- **Manual update command:** when a host from an older build sends a fallback command without the offered version, or without the npmjs pin for a prerelease, the card now replaces it with its own pinned command instead of handing over one that could install the stable line.
|
|
93
|
+
<!-- app-update-notes:en:end -->
|
|
94
|
+
|
|
95
|
+
<!-- app-update-notes:zh:start -->
|
|
96
|
+
### 修复
|
|
97
|
+
- **手动更新命令:** 旧宿主返回的兜底命令如果没带目标版本、或预发布没带 npmjs 固定,卡片会用自己生成的固定版本命令替换它,避免把用户带回稳定版。
|
|
98
|
+
<!-- app-update-notes:zh:end -->
|
|
99
|
+
|
|
100
|
+
## 1.1.2-beta.7
|
|
101
|
+
|
|
102
|
+
<!-- app-update-notes:en:start -->
|
|
103
|
+
### Changed
|
|
104
|
+
- **Updates:** the plugin no longer probes or calls the plugin market. An update is one request to the host, and when that route is unavailable the card states a command pinned to the offered version; prereleases also pin the npmjs registry. The installer retries a prerelease against npmjs when the configured registry has not caught up.
|
|
105
|
+
<!-- app-update-notes:en:end -->
|
|
106
|
+
|
|
107
|
+
<!-- app-update-notes:zh:start -->
|
|
108
|
+
### 变更
|
|
109
|
+
- **更新:** 插件不再探测或调用插件市场,更新只走宿主一个请求;宿主没有路由时,卡片直接给出带目标版本与 profile 目录的命令,预发布还会固定 npmjs registry;安装器在默认 registry 缺版本时也会用 npmjs 重试一次。
|
|
110
|
+
<!-- app-update-notes:zh:end -->
|
|
111
|
+
|
|
112
|
+
## 1.1.2-beta.6
|
|
113
|
+
|
|
114
|
+
<!-- app-update-notes:en:start -->
|
|
115
|
+
### Changed
|
|
116
|
+
- **Analytics copy:** the settings switch now says the statistics come from the Tencent Cloud Observability Platform and what they are for — seeing which features are used and where people get stuck — and spells out what travels with each event: an anonymous visitor ID plus basic environment details such as network, region and device type. Notes, conversations and account details are never read.
|
|
117
|
+
### Fixed
|
|
118
|
+
- **Settings:** opening Settings in a short window no longer cuts the card off below the panel edge with no scrollbar. The card now scrolls on its own rail, and the note list gives up its height first, so the whole card still fits whenever the panel is tall enough.
|
|
119
|
+
<!-- app-update-notes:en:end -->
|
|
120
|
+
|
|
121
|
+
<!-- app-update-notes:zh:start -->
|
|
122
|
+
### 变更
|
|
123
|
+
- **统计说明:** 设置开关现在写明统计通过腾讯云可观测平台完成,用途是找出常用功能和卡点;同时写明事件会带上匿名访客 ID,以及网络、地域、设备类型等基础环境信息;不读取便笺、对话或账号信息。
|
|
124
|
+
### 修复
|
|
125
|
+
- **设置:** 窗口偏矮时打开设置,设置卡不再被面板下沿裁掉、也没有滚动条。设置卡改为在面板内的轨道里滚动,列表先让出高度,面板够高时整张卡片仍然完整显示。
|
|
126
|
+
<!-- app-update-notes:zh:end -->
|
|
127
|
+
|
|
128
|
+
## 1.1.2-beta.5
|
|
129
|
+
|
|
130
|
+
<!-- app-update-notes:en:start -->
|
|
131
|
+
### Added
|
|
132
|
+
- **Privacy switch:** Settings now has a switch for anonymous usage statistics. Turning it off stops reporting immediately and sends one final event recording the choice; the preference is stored only in this browser.
|
|
133
|
+
<!-- app-update-notes:en:end -->
|
|
134
|
+
|
|
135
|
+
<!-- app-update-notes:zh:start -->
|
|
136
|
+
### 新增
|
|
137
|
+
- **隐私开关:** 设置里新增「匿名使用统计」开关。关闭后立即停止上报,并在关闭这一刻发送最后一条事件记录该选择;开关状态只保存在本机。
|
|
138
|
+
<!-- app-update-notes:zh:end -->
|
|
139
|
+
|
|
140
|
+
## 1.1.2-beta.4
|
|
141
|
+
|
|
142
|
+
<!-- app-update-notes:en:start -->
|
|
143
|
+
### Added
|
|
144
|
+
- **Anonymous usage statistics:** the panel reports a few anonymous events to Tencent Cloud RUM — panel opened (first / repeat), panel closed with a dwell-time bucket, settings opened, update checked (auto / manual + result), update started (host / market / copy-update-prompt + result), note created, completed/uncompleted, edited, deleted, forwarded, scope switched, and how many completed notes a clear removed. Events carry the scope kind and a `done` / `open` status only, plus an anonymous visitor id (`uin`) so the console can count unique users. Only custom events are reported: page performance, web vitals, global JS errors, API and asset speed stay off, the reported page name is a constant, and Do Not Track drops the reports.
|
|
145
|
+
|
|
146
|
+
### Changed
|
|
147
|
+
- **Footer:** the panel footer no longer names the Workspace/Session scope; both scopes now read “Notes are saved only on this device”, and the switch under the title says which list is showing.
|
|
148
|
+
<!-- app-update-notes:en:end -->
|
|
149
|
+
|
|
150
|
+
<!-- app-update-notes:zh:start -->
|
|
151
|
+
### 新增
|
|
152
|
+
- **匿名使用统计:** 面板会向腾讯云 RUM 上报几条匿名事件——打开面板(首次 / 再次)、关闭面板(停留时长按 `<5s` / `5-30s` / `30-120s` / `2-10m` / `>=10m` 分档)、打开设置、检查更新(自动 / 手动 + 结果)、开始更新(宿主 / 应用内市场 / 复制更新提示词 + 结果)、新建、完成/取消完成、编辑、删除、转发便笺,切换清单范围,以及一次清空删掉了多少条已完成。事件只带清单范围(`workspace` / `session`)、`done` / `open` 状态和一个匿名访客 ID(`uin`,用于统计 UV),不含便笺正文、会话 ID 或对话内容;只上报自定义事件,页面性能、web vitals、全局 JS 报错、接口与资源测速都关闭,页面名固定为常量,浏览器开启「请勿追踪」时丢弃上报。
|
|
153
|
+
|
|
154
|
+
### 变更
|
|
155
|
+
- **页脚:** 面板页脚不再区分工作区 / 会话,两种范围都显示「便笺数据仅保存在本地」;当前清单看标题下方的范围切换。
|
|
156
|
+
|
|
157
|
+
## 1.1.2-beta.3
|
|
158
|
+
|
|
159
|
+
<!-- app-update-notes:en:start -->
|
|
160
|
+
### Changed
|
|
161
|
+
- **Updating no longer requires the plugin market:** the card asks the host first and reads the market only when the host has no update route, so a DSH without the market can still update in-app. The terminal command now appears after an attempt finds no path, instead of whenever the market is missing.
|
|
162
|
+
- **No more "Restart DSH" button:** this panel does not own the host's lifecycle. After an update it offers a page reload and says the new version lands at the next start.
|
|
163
|
+
<!-- app-update-notes:en:end -->
|
|
164
|
+
|
|
165
|
+
<!-- app-update-notes:zh:start -->
|
|
166
|
+
### 变更
|
|
167
|
+
- **更新不再依赖插件市场:** 卡片先问宿主,只有宿主没有更新路由时才去读市场,所以没装市场的 DSH 也能在应用内更新。终端命令改为「尝试过、确实无路可走」才出现,而不是一发现市场缺失就出现。
|
|
168
|
+
- **去掉「重启 DSH」按钮:** 宿主生命周期不归这个面板管。更新后提供刷新页面,并说明新版本在下次启动生效。
|
|
169
|
+
<!-- app-update-notes:zh:end -->
|
|
170
|
+
|
|
171
|
+
## 1.1.2-beta.2
|
|
172
|
+
|
|
173
|
+
<!-- app-update-notes:en:start -->
|
|
174
|
+
### Changed
|
|
175
|
+
- **Second beta:** 1.1.2-beta.2 follows the first beta so the in-app update can be exercised between two prerelease builds; nothing outside the update path changed.
|
|
176
|
+
<!-- app-update-notes:en:end -->
|
|
177
|
+
|
|
178
|
+
<!-- app-update-notes:zh:start -->
|
|
179
|
+
### 变更
|
|
180
|
+
- **第二个 beta:** 1.1.2-beta.2 接在首个 beta 之后,用于验证两个预发布版本之间的应用内更新;除更新链路外没有其它行为变化。
|
|
181
|
+
<!-- app-update-notes:zh:end -->
|
|
182
|
+
|
|
183
|
+
## 1.1.2-beta.1
|
|
184
|
+
|
|
185
|
+
<!-- app-update-notes:en:start -->
|
|
186
|
+
### Changed
|
|
187
|
+
- **In-app update works on Desktop:** the panel now installs a newer build from the host instead of only asking the plugin market. The market replaces a package by removing it first, and Desktop refuses to remove a bundle that is in use — which this panel always is while it is open. The host installs over the running copy (DSH's installer, then `dsh plugin add`, then the profile's own package manager) and checks the version on disk before reporting success.
|
|
188
|
+
- **Update failures name their cause:** refusals such as `bundle-in-use`, `already-installed` and `management-required` now say what happened and offer the terminal command, instead of a bare "update failed".
|
|
189
|
+
- **Pre-release builds update themselves:** a build installed from the `next` dist-tag now reads that tag too, so a beta tester is offered the next beta (and its notes). Stable builds keep reading `latest` alone, so a pre-release can never reach a regular user.
|
|
190
|
+
<!-- app-update-notes:en:end -->
|
|
191
|
+
|
|
192
|
+
<!-- app-update-notes:zh:start -->
|
|
193
|
+
### 变更
|
|
194
|
+
- **桌面端可在应用内更新:** 面板现在由宿主安装新版本,不再只依赖插件市场。市场的更新会先移除再安装,而桌面端不允许移除正在使用的插件——面板打开时恰好一直是这个状态。宿主改为就地覆盖(DSH 安装器 → `dsh plugin add` → profile 自带包管理器),并在报告成功前核对磁盘上的版本。
|
|
195
|
+
- **更新失败会说明原因:** `bundle-in-use`、`already-installed`、`management-required` 这类拒绝现在会讲清楚发生了什么,并给出终端命令,而不是只回一句"更新失败"。
|
|
196
|
+
- **预发布版可自我更新:** 从 `next` 标签安装的版本也会读取该标签,beta 测试者能收到下一个 beta 及其说明。稳定版仍只读 `latest`,预发布永远不会推给普通用户。
|
|
197
|
+
<!-- app-update-notes:zh:end -->
|
|
198
|
+
|
|
199
|
+
## 1.1.1
|
|
200
|
+
|
|
201
|
+
<!-- app-update-notes:en:start -->
|
|
202
|
+
### Changed
|
|
203
|
+
- **Update:** when the market refuses an update because an agent is running, the card now names that refusal and hands over the terminal command plus **Copy update prompt**, the same way it already did for a busy or missing market. The command does not go through the market, so it is the way to update while an agent runs.
|
|
204
|
+
- **Update copy:** the card calls the in-app update **automatic update** instead of naming the plugin market — “the market is running another update” read as an internal detail the user cannot act on.
|
|
205
|
+
- **Drafts follow the workspace:** unsaved add and edit drafts are shared by every conversation in a workspace, so switching conversations or the Workspace/Session switch never loses half-typed text; submitting still writes the list selected at that moment. Sessions outside a workspace keep their own draft, and the first workspace open after upgrading folds the current session's old draft into the shared one.
|
|
206
|
+
<!-- app-update-notes:en:end -->
|
|
207
|
+
|
|
208
|
+
<!-- app-update-notes:zh:start -->
|
|
209
|
+
### 变更
|
|
210
|
+
- **更新:** 市场因「有 agent 正在运行」拒绝更新时,卡片现在会说明这一点,并像忙碌/无市场那样给出终端命令与「拷贝更新提示词」。该命令不经过市场,所以 agent 运行期间也能更新。
|
|
211
|
+
- **更新文案:** 卡片把应用内更新称为**自动更新**,不再直呼插件市场——「市场正在执行另一个更新」读起来像用户无法处置的内部细节。
|
|
212
|
+
- **草稿跟随工作区:** 工作区内所有会话共用一份新增/编辑草稿,切换会话或在「工作区 / 会话」之间切换都不会丢字;提交时仍写入当前选中的清单。工作区之外的会话按会话保存草稿,升级后首次打开工作区会把当前会话的旧草稿并入共享草稿。
|
|
213
|
+
<!-- app-update-notes:zh:end -->
|
|
214
|
+
|
|
215
|
+
## 1.1.0
|
|
216
|
+
|
|
217
|
+
<!-- app-update-notes:en:start -->
|
|
218
|
+
### Added
|
|
219
|
+
- **Workspace-shared notes:** sessions in one workspace now read and write a single list, so switching conversations keeps the same tasks in view. Notes already recorded per session are folded in once on first open; sessions outside a workspace keep their own list.
|
|
220
|
+
- **Forward to the open conversation:** forwarding a shared note appends it to the composer of the conversation currently on screen, not the one the panel was opened from.
|
|
221
|
+
- **Workspace / session switch:** the panel header switches between the workspace list and the current session's list; the choice is remembered across panel openings.
|
|
222
|
+
- **Separate storage keys:** session notes stay under `dsh.aside-note` with their original shape, while workspace notes live under `dsh.aside-note.workspaces`; adding the workspace list never rewrites existing session data.
|
|
223
|
+
<!-- app-update-notes:en:end -->
|
|
224
|
+
|
|
225
|
+
<!-- app-update-notes:zh:start -->
|
|
226
|
+
### 新增
|
|
227
|
+
- **工作区共享:** 同一工作区的会话现在共用一份清单,切换会话也能接着看同一批事项;首次打开时会把各会话已有的便笺合并一次,工作区之外的会话仍各自独立。
|
|
228
|
+
- **转发到当前会话:** 共享便笺会追加到当前屏幕上打开的会话输入框,而不是面板最初打开时所在的会话。
|
|
229
|
+
- **工作区 / 会话切换:** 面板顶部可在工作区清单与当前会话清单之间切换,选择会被记住,下次打开沿用。
|
|
230
|
+
- **独立存储键:** 会话便笺仍保存在 `dsh.aside-note`,结构不变;工作区清单使用 `dsh.aside-note.workspaces`,新增工作区不会改写原有会话数据。
|
|
231
|
+
<!-- app-update-notes:zh:end -->
|
|
232
|
+
|
|
233
|
+
## 1.0.3
|
|
234
|
+
|
|
235
|
+
<!-- app-update-notes:en:start -->
|
|
236
|
+
### Fixed
|
|
237
|
+
- **Install:** the one-command installer runs `pnpm install` through the node and pnpm DeepSeek Harness ships (it falls back to the pnpm on PATH, and `DSH_RUNTIME_DIR` pins a runtime), so a profile is never written by another pnpm major — which surfaced as `ERR_PNPM_UNEXPECTED_STORE` on the host's next install. When pnpm asks to purge a store left by another major it re-runs once with `CI=true`.
|
|
238
|
+
<!-- app-update-notes:en:end -->
|
|
239
|
+
|
|
240
|
+
<!-- app-update-notes:zh:start -->
|
|
241
|
+
### 修复
|
|
242
|
+
- **安装:** 安装器改用 DeepSeek Harness 自带的 node 与 pnpm 执行 `pnpm install`(找不到运行时回退到 PATH 上的 pnpm,可用 `DSH_RUNTIME_DIR` 指定),避免 profile 被另一个主版本的 pnpm 写入、导致宿主下次安装报 `ERR_PNPM_UNEXPECTED_STORE`;pnpm 要求清空旧 store 时会自动用 `CI=true` 重跑一次。
|
|
243
|
+
<!-- app-update-notes:zh:end -->
|
|
244
|
+
|
|
245
|
+
## 1.0.2
|
|
246
|
+
|
|
247
|
+
<!-- app-update-notes:en:start -->
|
|
248
|
+
### Fixed
|
|
249
|
+
- **Update:** when the market is busy with another operation, “Update now” waits and retries before reporting it. If the market stays busy — or is not installed at all — the card now states the command (`npx -y dsh-aside-note install`, or the Plugins page) and offers **Copy update prompt**, instead of stopping at “another update is already running — try again shortly”.
|
|
250
|
+
<!-- app-update-notes:en:end -->
|
|
251
|
+
|
|
252
|
+
<!-- app-update-notes:zh:start -->
|
|
253
|
+
### 修复
|
|
254
|
+
- **更新:** 市场正在执行别的操作时,「立即更新」会先等待并重试;如果市场一直忙、或根本没有安装市场,卡片不再停在「市场正在执行另一个更新,请稍后再试」,而是直接给出命令(`npx -y dsh-aside-note install`,或到「插件」页更新),并提供「拷贝更新提示词」。
|
|
255
|
+
<!-- app-update-notes:zh:end -->
|
|
256
|
+
|
|
257
|
+
## 1.0.1
|
|
258
|
+
|
|
259
|
+
<!-- app-update-notes:en:start -->
|
|
260
|
+
### Changed
|
|
261
|
+
- **Install:** the installer now closes by telling the user that the 旁边记 entry sits at the top right of the conversation after install — no restart — and, when it is still missing, to refresh the Plugins page and toggle the plugin off and on once, which recomposes the running host.
|
|
262
|
+
<!-- app-update-notes:en:end -->
|
|
263
|
+
|
|
264
|
+
<!-- app-update-notes:zh:start -->
|
|
265
|
+
### 变更
|
|
266
|
+
- **安装:** 安装器结束时不再只说「无需重启」,而是明确告诉用户安装后会话右上角即可看到「旁边记」;入口没出现时,到「插件」页刷新并把插件关闭再开启一次,运行中的 Host 会随之重新组合。
|
|
267
|
+
<!-- app-update-notes:zh:end -->
|
|
268
|
+
|
|
269
|
+
## 1.0.0
|
|
270
|
+
|
|
271
|
+
<!-- app-update-notes:en:start -->
|
|
272
|
+
### Changed
|
|
273
|
+
- **Naming:** the Chinese product name is now **旁边记** (English: AsideNote) with the tagline “让想法留在对话旁边” / “Keep your ideas beside the conversation”. The panel title, empty state and composer placeholder carry the new name, and Settings › About shows the tagline.
|
|
274
|
+
- **Storage:** local storage keys now follow the package name: the notes key is `dsh.aside-note`, with `.drafts`, `.forwarded`, `.sections`, `.panel-width`, `.panel-height`, `.send-shortcut` and `.forward-prefix` beside it. The old `dsh.aside-notes.*.v2` keys and the 1.x `dsh.session-memos.v1` / `dsh.memo.*.v1` keys are not read or migrated; rename your data under `localStorage` after upgrading to keep it.
|
|
275
|
+
- **Install:** the installer defaults to `^1.0.0` now, so a fresh `npx dsh-aside-note install` follows the stable 1.x line instead of pinning the profile to 0.9.x.
|
|
276
|
+
|
|
277
|
+
### Fixed
|
|
278
|
+
- **Update check:** a manual check no longer flashes the running version as a newly available release before settling on “up to date”.
|
|
279
|
+
<!-- app-update-notes:en:end -->
|
|
280
|
+
|
|
281
|
+
<!-- app-update-notes:zh:start -->
|
|
282
|
+
### 变更
|
|
283
|
+
- **命名:** 产品中文名定为**旁边记**(英文名沿用 AsideNote),slogan 为「让想法留在对话旁边」。浮窗标题、空状态与输入占位改用新名字,设置 › 关于展示 slogan。
|
|
284
|
+
- **存储:** 本地存储键统一到包名:便笺键为 `dsh.aside-note`,其余为 `.drafts`、`.forwarded`、`.sections`、`.panel-width`、`.panel-height`、`.send-shortcut` 与 `.forward-prefix`。旧的 `dsh.aside-notes.*.v2` 与 1.x 的 `dsh.session-memos.v1` / `dsh.memo.*.v1` 键不再读取,也不自动迁移;升级后如需保留数据,请在 `localStorage` 中手动改名。
|
|
285
|
+
- **安装:** 安装器默认范围改为 `^1.0.0`,`npx dsh-aside-note install` 会接入稳定的 1.x 线,而不是把 profile 固定在 0.9.x。
|
|
286
|
+
|
|
287
|
+
### 修复
|
|
288
|
+
- **检查更新:** 手动检查不会再先把当前版本短暂显示为新版本,再回到「已是最新版本」。
|
|
289
|
+
<!-- app-update-notes:zh:end -->
|
|
290
|
+
|
|
291
|
+
## 0.9.10
|
|
292
|
+
|
|
293
|
+
<!-- app-update-notes:en:start -->
|
|
294
|
+
### Changed
|
|
295
|
+
- **Identity:** the npm package, plugin id and repository are now `dsh-aside-note`; install with `npx dsh-aside-note install`. Storage keys (`dsh.aside-notes.*.v2`) and CSS prefixes are unchanged, so existing notes and settings carry over.
|
|
296
|
+
- **First public release:** 0.9.9 was withdrawn before it became public; this version starts the name cleanly.
|
|
297
|
+
<!-- app-update-notes:en:end -->
|
|
298
|
+
|
|
299
|
+
<!-- app-update-notes:zh:start -->
|
|
300
|
+
### 变更
|
|
301
|
+
- **命名:** npm 包名、插件 id 与仓库统一为 `dsh-aside-note`;安装命令为 `npx dsh-aside-note install`。存储键(`dsh.aside-notes.*.v2`)与 CSS 前缀保持不变,已有便笺和设置直接沿用。
|
|
302
|
+
- **首个公开版本:** 0.9.9 在公开前已撤回,本版本以新名字重新开始。
|
|
303
|
+
<!-- app-update-notes:zh:end -->
|
|
304
|
+
|
|
305
|
+
## 0.9.9
|
|
306
|
+
|
|
307
|
+
<!-- app-update-notes:en:start -->
|
|
308
|
+
### Added
|
|
309
|
+
- **Panel:** a top-right header entry with an open-count badge opens a floating, resizable right panel; Open and Completed keep their own sticky, collapsible sections, and the panel size, drafts and section state are restored per session.
|
|
310
|
+
- **Notes:** quick add, edit, complete, copy, forward to the composer, delete, and clear completed behind an inline confirmation; the composer and editor grow with wrapped text.
|
|
311
|
+
- **Settings:** a send/newline shortcut (⌘ or Ctrl aware), a one-click forward prefix, the version and author in About, and the full Chinese/English copy from one dictionary.
|
|
312
|
+
- **Update centre:** Settings › About checks npm (npmmirror, then the GitHub Release fallback), lists pending releases newest-first, and updates in place through the plugin market with a refresh hint.
|
|
313
|
+
- **Installer:** `npx dsh-aside-note install` (`scripts/install.mjs`, shipped as the package's `bin`) resolves the DSH profile (`DSH_PROFILE_DIR`, `--profile`, `--profile-dir`), backs up the manifest and lockfile, adds the dependency plus the `dsh.profile.bundles` entry, runs `pnpm install` and verifies the installed `client/client.js`; `--dry-run` and `--no-install` keep it reviewable and re-running is idempotent. `docs/install-prompt.md` carries a shareable agent prompt, and a page reload is enough after install or upgrade.
|
|
314
|
+
|
|
315
|
+
### Changed
|
|
316
|
+
- **Design:** the panel is rebuilt on DSH semantic tokens — a 12/13/14 type scale at weight 500 or less, 0.5px hairlines, shared radii and elevation, the DSH scrollbar skin, and hover styles gated behind `@media (hover:hover)` — with feedback routed through `shell.overlay` toasts.
|
|
317
|
+
- **Identity:** renamed 一点待办 → Memo → Notes → **AsideNote** (`dsh-aside-note`); storage moved to `dsh.aside-notes.*.v2` with a one-time copy of 1.x data, and the old keys are kept so a rollback still works.
|
|
318
|
+
<!-- app-update-notes:en:end -->
|
|
319
|
+
|
|
320
|
+
<!-- app-update-notes:zh:start -->
|
|
321
|
+
### 新增
|
|
322
|
+
- **面板:** 右上角标题栏入口带未完成计数角标,点开是可拖拽缩放的浮动右侧面板;「未完成」「已完成」各自保留可折叠的吸顶分组,面板尺寸、草稿和分组状态按会话恢复。
|
|
323
|
+
- **便笺:** 快速添加、编辑、完成、复制、转发到输入框、删除,以及带内联确认的清空已完成;输入框与编辑器会随换行自动增高。
|
|
324
|
+
- **设置:** 发送/换行快捷键(识别 ⌘ 与 Ctrl)、一键转发前缀、关于区的版本与作者,以及由同一份词典提供的中英文文案。
|
|
325
|
+
- **更新中心:** 设置 › 关于 会检查 npm(失败时回退 npmmirror,再到 GitHub Release),按版本从新到旧列出待更新说明,并通过插件市场就地更新、完成后提示刷新。
|
|
326
|
+
- **安装工具:** `npx dsh-aside-note install`(`scripts/install.mjs`,随包发布为 `bin`)会定位 DSH profile(支持 `DSH_PROFILE_DIR`、`--profile`、`--profile-dir`)、备份清单与 lockfile、写入依赖和 `dsh.profile.bundles` 条目、执行 `pnpm install` 并校验安装后的 `client/client.js`;`--dry-run` 与 `--no-install` 便于先审阅,重复执行是幂等的。`docs/install-prompt.md` 提供可直接交给 agent 的安装提示词;安装或升级后刷新页面即可,无需重启。
|
|
327
|
+
|
|
328
|
+
### 变更
|
|
329
|
+
- **设计:** 面板改用 DSH 语义 token 重建——12/13/14 字号、字重不超过 500、0.5px 描边、统一圆角与投影、DSH 滚动条皮肤,悬停样式只在支持悬停的设备生效,操作反馈统一走 `shell.overlay` toast。
|
|
330
|
+
- **命名:** 一点待办 → Memo → Notes → **AsideNote**(`dsh-aside-note`);存储迁移到 `dsh.aside-notes.*.v2`,首次加载时复制 1.x 数据,旧键保留以便回退。
|
|
331
|
+
<!-- app-update-notes:zh:end -->
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Rayle8
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|