dsh-session-span 1.0.1 → 1.0.2
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/README.en.md +13 -2
- package/README.md +13 -2
- package/package.json +8 -2
package/README.en.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | **English**
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-session-span)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
5
8
|
## Introduction
|
|
6
9
|
|
|
7
10
|
When work is organized as one task per session, two questions come up regularly: how much time this task has taken so far, and when it began. The current sidebar shows only the time since the most recent message, so neither question can be answered from it. This plugin therefore adds only the start time and the total elapsed time of the session, and nothing else.
|
|
@@ -24,9 +27,11 @@ First message 2026-11-19 10:57 This plugin: when it began
|
|
|
24
27
|
|
|
25
28
|
## Installation
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
The plugin is published on npm: [dsh-session-span](https://www.npmjs.com/package/dsh-session-span).
|
|
31
|
+
|
|
32
|
+
**In the application (recommended)**: open **Settings → Plugins → Add plugin**, enter `dsh-session-span`, and enable the **Session elapsed time** bundle. The application installs the latest version from npm.
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
**From a shell**, for a `web` or other profile managed from the command line:
|
|
30
35
|
|
|
31
36
|
```sh
|
|
32
37
|
dsh plugin --profile web add dsh-session-span
|
|
@@ -58,6 +63,12 @@ The package is published as is, with no build step: the Host side is a plain ESM
|
|
|
58
63
|
dsh plugin --profile web add /absolute/path/to/this/directory
|
|
59
64
|
```
|
|
60
65
|
|
|
66
|
+
## Links
|
|
67
|
+
|
|
68
|
+
- npm: [dsh-session-span](https://www.npmjs.com/package/dsh-session-span)
|
|
69
|
+
- Repository: [github.com/aNoWhale/dsh-session-span](https://github.com/aNoWhale/dsh-session-span)
|
|
70
|
+
- Issues: [github.com/aNoWhale/dsh-session-span/issues](https://github.com/aNoWhale/dsh-session-span/issues)
|
|
71
|
+
|
|
61
72
|
## License
|
|
62
73
|
|
|
63
74
|
MIT
|
package/README.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**简体中文** | [English](README.en.md)
|
|
4
4
|
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-session-span)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
5
8
|
## 引言
|
|
6
9
|
|
|
7
10
|
按“一个任务对应一个会话”的方式工作时,往往会关心两件事:这项任务已经投入了多少时间,以及它是从什么时候开始的。当前版本的侧边栏只显示最近一条消息距今的时间,无法回答这两个问题。为此,本插件只补充会话的起始时间与总用时,不涉及其他功能。
|
|
@@ -24,9 +27,11 @@ C:\Users\Administrator
|
|
|
24
27
|
|
|
25
28
|
## 安装
|
|
26
29
|
|
|
27
|
-
|
|
30
|
+
本插件发布在 npm:[dsh-session-span](https://www.npmjs.com/package/dsh-session-span)。
|
|
31
|
+
|
|
32
|
+
**在应用内安装(推荐)**:打开「设置 → 插件 → 添加插件」,填写 `dsh-session-span`,然后启用「会话历时」插件包。应用会从 npm 安装最新版本。
|
|
28
33
|
|
|
29
|
-
|
|
34
|
+
**在命令行安装**,用于 `web` 等由命令行管理的配置:
|
|
30
35
|
|
|
31
36
|
```sh
|
|
32
37
|
dsh plugin --profile web add dsh-session-span
|
|
@@ -58,6 +63,12 @@ dsh plugin --profile web add dsh-session-span
|
|
|
58
63
|
dsh plugin --profile web add /absolute/path/to/this/directory
|
|
59
64
|
```
|
|
60
65
|
|
|
66
|
+
## 链接
|
|
67
|
+
|
|
68
|
+
- npm:[dsh-session-span](https://www.npmjs.com/package/dsh-session-span)
|
|
69
|
+
- 仓库:[github.com/aNoWhale/dsh-session-span](https://github.com/aNoWhale/dsh-session-span)
|
|
70
|
+
- 问题反馈:[Issues](https://github.com/aNoWhale/dsh-session-span/issues)
|
|
71
|
+
|
|
61
72
|
## 许可
|
|
62
73
|
|
|
63
74
|
MIT
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-span",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "在侧边栏会话行的悬停卡片中显示会话的已用时长与起始时间 / Session elapsed time and start time in the sidebar hover card.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author":
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "aNoWhale",
|
|
9
|
+
"url": "https://github.com/aNoWhale"
|
|
10
|
+
},
|
|
8
11
|
"keywords": [
|
|
9
12
|
"dsh-plugin",
|
|
10
13
|
"deepseek-harness",
|
|
@@ -21,6 +24,9 @@
|
|
|
21
24
|
"bugs": {
|
|
22
25
|
"url": "https://github.com/aNoWhale/dsh-session-span/issues"
|
|
23
26
|
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
24
30
|
"engines": {
|
|
25
31
|
"node": ">=22.6",
|
|
26
32
|
"dsh": ">=0.2.2-rc.3"
|