finch-session-board 0.1.1 → 0.1.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/dist/canvas.js +1 -1
- package/dist/index.js +5 -5
- package/finch.json +16 -7
- package/i18n/zh-CN.json +8 -0
- package/package.json +3 -8
package/dist/canvas.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { appendFileSync, mkdirSync, rmSync } from "node:fs";
|
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
// finchapp/shared/utils/env.js
|
|
5
|
-
/** 开发档为 "yes"(
|
|
5
|
+
/** 开发档为 "yes"(build.js --dev 与 dev.js 注入),正式档为 "no";字符串而非布尔,注入缺失时能一眼看出没钉上。 */
|
|
6
6
|
function isDev() {
|
|
7
7
|
return false;
|
|
8
8
|
}
|
|
@@ -1024,7 +1024,7 @@ function activate(ctx) {
|
|
|
1024
1024
|
{
|
|
1025
1025
|
id: "__summary__",
|
|
1026
1026
|
label: ctx.i18n.t("menu.summary", { count: snapshot.total }),
|
|
1027
|
-
iconName: "ext:
|
|
1027
|
+
iconName: "ext:board",
|
|
1028
1028
|
disabled: true
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
@@ -1035,19 +1035,19 @@ function activate(ctx) {
|
|
|
1035
1035
|
{
|
|
1036
1036
|
id: "toggle-visible",
|
|
1037
1037
|
label: visible ? ctx.i18n.t("menu.hide") : ctx.i18n.t("menu.show"),
|
|
1038
|
-
iconName: visible ? "ext:
|
|
1038
|
+
iconName: visible ? "ext:hide" : "ext:show",
|
|
1039
1039
|
checked: visible
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
1042
|
id: "toggle-preview",
|
|
1043
1043
|
label: ctx.i18n.t("menu.preview"),
|
|
1044
|
-
iconName: "ext:
|
|
1044
|
+
iconName: "ext:board",
|
|
1045
1045
|
checked: preview
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
id: "clear-finished",
|
|
1049
1049
|
label: ctx.i18n.t("menu.clearFinished"),
|
|
1050
|
-
iconName: "ext:
|
|
1050
|
+
iconName: "ext:clear",
|
|
1051
1051
|
disabled: !snapshot.cells.some((cell) => cell.endedAt)
|
|
1052
1052
|
}
|
|
1053
1053
|
];
|
package/finch.json
CHANGED
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifestVersion": 1,
|
|
3
3
|
"minVersion": "1.6.1",
|
|
4
|
-
"name": "
|
|
5
|
-
"description": "
|
|
6
|
-
"miniToolType": "
|
|
4
|
+
"name": "Session Board",
|
|
5
|
+
"description": "List every running session and its state on a floating board that stays on top of your desktop.",
|
|
6
|
+
"miniToolType": "community",
|
|
7
|
+
"categories": ["productivity", "sessions"],
|
|
7
8
|
"main": "dist/index.js",
|
|
8
9
|
"activationEvents": ["onStartup"],
|
|
9
|
-
"systemPrompt": "
|
|
10
|
+
"systemPrompt": "Point the user to the session board when they ask what sessions are running.",
|
|
11
|
+
"promptGuides": [
|
|
12
|
+
{
|
|
13
|
+
"id": "running",
|
|
14
|
+
"title": "See what is running",
|
|
15
|
+
"description": "Open the session board and read which sessions are busy or waiting.",
|
|
16
|
+
"prompt": "Open the session board and tell me which sessions are still running and which are waiting for my confirmation."
|
|
17
|
+
}
|
|
18
|
+
],
|
|
10
19
|
"contributes": {
|
|
11
20
|
"composerActions": [
|
|
12
21
|
{
|
|
13
22
|
"id": "session-board",
|
|
14
|
-
"icon": "ext:
|
|
15
|
-
"tooltip": "
|
|
23
|
+
"icon": "ext:board",
|
|
24
|
+
"tooltip": "Session Board"
|
|
16
25
|
}
|
|
17
26
|
],
|
|
18
27
|
"iconPacks": [
|
|
19
28
|
{
|
|
20
29
|
"id": "session-board",
|
|
21
|
-
"label": "
|
|
30
|
+
"label": "Session Board Icons"
|
|
22
31
|
}
|
|
23
32
|
]
|
|
24
33
|
},
|
package/i18n/zh-CN.json
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "会话看板",
|
|
3
3
|
"description": "把当前所有活跃会话列成常驻桌面的列表浮窗",
|
|
4
|
+
"systemPrompt": "用户问起当前有几个会话在跑、各自什么状态时,提示他打开会话看板浮窗。",
|
|
5
|
+
"promptGuides": {
|
|
6
|
+
"running": {
|
|
7
|
+
"title": "看看在跑什么",
|
|
8
|
+
"description": "打开看板,读出哪些会话在忙、哪些在等确认。",
|
|
9
|
+
"prompt": "打开会话看板,告诉我还有哪些会话在跑、哪些在等我确认。"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
4
12
|
"composerActions": {
|
|
5
13
|
"session-board": {
|
|
6
14
|
"tooltip": "会话看板"
|
package/package.json
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "finch-session-board",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "会话看板小程序",
|
|
5
|
-
"homepage": "https://
|
|
5
|
+
"homepage": "https://yicode.tech",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "陈随易 <bimostyle@qq.com>
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/chenbimo/yicode-tech.git",
|
|
11
|
-
"directory": "finchapp/sessionBoard"
|
|
12
|
-
},
|
|
7
|
+
"author": "陈随易 <bimostyle@qq.com>",
|
|
13
8
|
"files": [
|
|
14
9
|
"finch.json",
|
|
15
10
|
"dist/",
|