@linxin666/dsh-client-ui-task-board 0.2.6 → 0.2.7
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.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +2 -2
- package/package.json +14 -14
- package/src/index.ts +2 -2
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# node scripts/verify-docs.mjs --write <dir>
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: d65b9b3213fd504715bffb3a00be17074703e8c6
|
|
6
|
+
README.zh.md: 09705ff5ff6cfdc3df7896cd0af6489c35fbe174
|
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ dsh plugin --profile web add link:$(pwd)/packages/dsh-task-board
|
|
|
52
52
|
| Key | Default | Behavior |
|
|
53
53
|
| --- | --- | --- |
|
|
54
54
|
| `enabled` | `true` | Enables the Host service and browser board. |
|
|
55
|
-
| `announceToAgent` | `
|
|
55
|
+
| `announceToAgent` | `false` | Opt-in: when true, adds the task-board guidance section to agent system prompts. |
|
|
56
56
|
| `preventIdleSleep` | `false` | Holds one system idle-sleep assertion while any DSH session runs, any schedule is enabled, or session state is unknown. |
|
|
57
57
|
| `trustedProxyHosts` | `[]` | Canonical `host[:port]` authorities accepted only through the authenticated loopback reverse-proxy path. |
|
|
58
58
|
| `proxyTokenEnv` | `DSH_TASK_BOARD_PROXY_TOKEN` | Environment variable containing the reverse-proxy token; the token itself is never stored in plugin config. |
|
package/README.zh.md
CHANGED
|
@@ -52,7 +52,7 @@ dsh plugin --profile web add link:$(pwd)/packages/dsh-task-board
|
|
|
52
52
|
| 键 | 默认值 | 行为 |
|
|
53
53
|
| --- | --- | --- |
|
|
54
54
|
| `enabled` | `true` | 启用 Host 服务与浏览器看板。 |
|
|
55
|
-
| `announceToAgent` | `
|
|
55
|
+
| `announceToAgent` | `false` | 按需开启:开启后向 agent 系统提示加入任务看板说明。 |
|
|
56
56
|
| `preventIdleSleep` | `false` | 存在运行中的 DSH 会话、已启用计划或未知会话状态时,持有一个系统空闲睡眠断言。 |
|
|
57
57
|
| `trustedProxyHosts` | `[]` | 仅通过已认证 loopback 反向代理路径接受的规范 `host[:port]` authority 白名单。 |
|
|
58
58
|
| `proxyTokenEnv` | `DSH_TASK_BOARD_PROXY_TOKEN` | 保存反向代理 token 的环境变量名;token 本身不会写入插件配置。 |
|
package/lib/index.js
CHANGED
|
@@ -2364,7 +2364,7 @@ const TASK_BOARD_GUIDANCE = "本机已安装 dsh-task-board 插件(DSH Web GUI
|
|
|
2364
2364
|
*/
|
|
2365
2365
|
const TASK_BOARD_SETTINGS_NAMESPACE = settingsNamespace("task-board");
|
|
2366
2366
|
const Config = z.object({
|
|
2367
|
-
announceToAgent: z.boolean().default(
|
|
2367
|
+
announceToAgent: z.boolean().default(false),
|
|
2368
2368
|
enabled: z.boolean().default(true),
|
|
2369
2369
|
preventIdleSleep: z.boolean().default(false),
|
|
2370
2370
|
trustedProxyHosts: z.array(z.string()).default([]),
|
|
@@ -2384,7 +2384,7 @@ function resolveProxyAccess(config, env = process.env) {
|
|
|
2384
2384
|
};
|
|
2385
2385
|
}
|
|
2386
2386
|
/** Schema default, re-read for hand-built test contexts (the loader applies them normally). */
|
|
2387
|
-
const DEFAULT_ANNOUNCE =
|
|
2387
|
+
const DEFAULT_ANNOUNCE = false;
|
|
2388
2388
|
/**
|
|
2389
2389
|
* Register the board's announcement section, gated on the composition entry's
|
|
2390
2390
|
* `announceToAgent` (and the live settings value once the web settings
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-client-ui-task-board",
|
|
3
3
|
"description": "Host-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
39
|
-
"@deepseek-ai/dsh-commands": "^0.1.
|
|
38
|
+
"@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
|
|
39
|
+
"@deepseek-ai/dsh-commands": "^0.1.1-rc.1",
|
|
40
40
|
"react": "^18.2.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
47
|
-
"@deepseek-ai/dsh-agent": "^0.1.
|
|
48
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.
|
|
49
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
50
|
-
"@deepseek-ai/dsh-client-runtime": "^0.1.
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.
|
|
52
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
53
|
-
"@deepseek-ai/dsh-commands": "^0.1.
|
|
54
|
-
"@deepseek-ai/dsh-host-apiproxy": "^0.1.
|
|
55
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.
|
|
56
|
-
"@deepseek-ai/dsh-settings": "^0.1.
|
|
57
|
-
"@deepseek-ai/dsh-system-prompt": "^0.1.
|
|
47
|
+
"@deepseek-ai/dsh-agent": "^0.1.1-rc.1",
|
|
48
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.1-rc.1",
|
|
49
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.1-rc.1",
|
|
50
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.1",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.1",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.1",
|
|
53
|
+
"@deepseek-ai/dsh-commands": "^0.1.1-rc.1",
|
|
54
|
+
"@deepseek-ai/dsh-host-apiproxy": "^0.1.1-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-settings": "^0.1.1-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.1-rc.1",
|
|
58
58
|
"@types/react": "~18.3.1",
|
|
59
59
|
"@types/react-dom": "^18.3.5",
|
|
60
60
|
"@types/node": "^22.20.0",
|
package/src/index.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface Config {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export const Config: z<Config> = z.object({
|
|
58
|
-
announceToAgent: z.boolean().default(
|
|
58
|
+
announceToAgent: z.boolean().default(false),
|
|
59
59
|
enabled: z.boolean().default(true),
|
|
60
60
|
preventIdleSleep: z.boolean().default(false),
|
|
61
61
|
trustedProxyHosts: z.array(z.string()).default([]),
|
|
@@ -76,7 +76,7 @@ export function resolveProxyAccess(config: Config | undefined, env: NodeJS.Proce
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/** Schema default, re-read for hand-built test contexts (the loader applies them normally). */
|
|
79
|
-
const DEFAULT_ANNOUNCE =
|
|
79
|
+
const DEFAULT_ANNOUNCE = false
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Register the board's announcement section, gated on the composition entry's
|