dsh-cloudq 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +47 -45
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,67 +1,69 @@
1
1
  # dsh-cloudq
2
2
 
3
- 面向 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的 CloudQ 集成插件。插件为 Web Profile 提供 CloudQ 模式,内置 `cloudq` Skill,并提供 CloudQ 用量、架构视图、本地凭证配置和插件管理能力。
3
+ English | [简体中文](README-zh.md)
4
4
 
5
- ## 截图
5
+ CloudQ integration for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). It adds a CloudQ mode to the Web profile, bundles the `cloudq` skill, and provides CloudQ usage and architecture views, local credential setup, and plugin management.
6
6
 
7
- ![CloudQ 风险分析对话](assets/screenshots/chat-risk-analysis.png)
7
+ ## Screenshots
8
8
 
9
- ![CloudQ 设置与插件管理](assets/screenshots/settings.png)
9
+ ![CloudQ risk analysis conversation](assets/screenshots/chat-risk-analysis.png)
10
10
 
11
- ## 环境要求
11
+ ![CloudQ settings and plugin management](assets/screenshots/settings.png)
12
+
13
+ ## Requirements
12
14
 
13
15
  - Node.js `>=22.19.0`
14
- - DeepSeek Harness `0.1.1-rc.2` 或兼容的更高 `0.1.x` 版本
15
- - `dsh plugin` 命令可调用 `pnpm`
16
- - 可通过 `python3` 命令运行 Python 3
17
- - macOS Linux
16
+ - DeepSeek Harness `0.1.1-rc.2` or a compatible newer `0.1.x` release
17
+ - `pnpm` available to the `dsh plugin` command
18
+ - Python 3 available as `python3`
19
+ - macOS or Linux
18
20
 
19
- ## 安装
21
+ ## Install
20
22
 
21
23
  ```sh
22
24
  dsh plugin --profile web add dsh-cloudq
23
25
  ```
24
26
 
25
- 安装完成后重启 Web Profile:
27
+ Restart the Web profile after installation:
26
28
 
27
29
  ```sh
28
30
  dsh --profile web
29
31
  ```
30
32
 
31
- 打开 DSH 输出的访问地址,即可在对话输入区和侧边栏看到 CloudQ 入口。也可以通过 `/cloudq` 显式调用内置 Skill。
33
+ Open the URL printed by DSH. The conversation input area and sidebar will expose the CloudQ entry. You can also invoke the bundled skill explicitly with `/cloudq`.
32
34
 
33
- ## 升级与卸载
35
+ ## Upgrade and remove
34
36
 
35
37
  ```sh
36
38
  dsh plugin --profile web update dsh-cloudq
37
39
  dsh plugin --profile web remove dsh-cloudq
38
40
  ```
39
41
 
40
- 修改已安装的插件后,需要重启 Web Profile。
42
+ Restart the Web profile after changing the installed package set.
41
43
 
42
- ## 凭证配置
44
+ ## Credentials
43
45
 
44
- 设置卡片支持配置腾讯云 `SecretId` `SecretKey` 凭证。
46
+ The settings card accepts a Tencent Cloud `SecretId`/`SecretKey` pair.
45
47
 
46
- - 凭证保存在本机 `~/.tencent-cloudq/credential.json`,文件权限仅允许当前用户访问。
47
- - 敏感凭证通过标准输入传递给 Python 辅助脚本,不会放入命令行参数。
48
- - 浏览器接口仅返回凭证状态和脱敏标识,不返回凭证内容或本地凭证路径。
49
- - 可通过退出登录操作删除本地凭证。
48
+ - Credentials are stored locally at `~/.tencent-cloudq/credential.json` with owner-only permissions.
49
+ - Secret values are sent to Python helpers through standard input, never command-line arguments.
50
+ - Browser APIs return only credential state and masked identifiers; local credential paths and secret values are not returned.
51
+ - Use the logout action to remove the stored credential.
50
52
 
51
- 请遵循最小权限原则,只授予 CloudQ 操作所需的权限。内置 Skill 可以调用云管理的读写操作,请在批准前检查每项操作的具体内容。
53
+ Follow least-privilege: grant only the permissions required for the CloudQ operations you intend to run. The bundled skill can invoke read and write cloud-management operations; review each action before approving it.
52
54
 
53
- ## 安全机制
55
+ ## Security model
54
56
 
55
- - Host API 只接受来自回环地址的同源请求。
56
- - JSON 请求体大小限制为 64 KiB
57
- - Python 辅助脚本的输出大小受到限制,非预期的内部错误不会返回到浏览器。
58
- - 远程数据通过 DOM 文本节点渲染,不使用 HTML 注入。
59
- - 下载链接必须使用 HTTPS
60
- - npm 包不包含凭证、Token 或本地环境文件。
57
+ - Host APIs accept only loopback, same-origin requests.
58
+ - JSON request bodies are limited to 64 KiB.
59
+ - Python helper output is bounded, and unexpected internal errors are not returned to the browser.
60
+ - Remote values are inserted with DOM text nodes rather than HTML injection.
61
+ - Download links require HTTPS.
62
+ - No credentials, tokens, or local environment files are included in the npm package.
61
63
 
62
- 如需报告安全问题,请通过 [GitHub Issues](https://github.com/TencentCloud/cloudq-for-dsh/issues) 提交,且不要附带真实凭证。
64
+ Report security issues through [GitHub Issues](https://github.com/TencentCloud/cloudq-for-dsh/issues) without including live credentials.
63
65
 
64
- ## 本地开发
66
+ ## Development
65
67
 
66
68
  ```sh
67
69
  pnpm install
@@ -73,28 +75,28 @@ pnpm run check:client
73
75
  npm pack --dry-run --registry=https://registry.npmjs.org/
74
76
  ```
75
77
 
76
- npm 包内包含预构建的 Host Web Client 产物、Bundle Patch、CloudQ 运行时图标以及内置 Skill。用户从 Registry 安装时不需要执行构建脚本。
78
+ The npm package ships prebuilt Host and Web client artifacts, the bundle patch, the runtime logo, and the bundled skill. Registry installation runs no build scripts.
77
79
 
78
- ## 目录结构
80
+ ## Repository layout
79
81
 
80
82
  ```text
81
- src/ Host Web Client 源码
82
- skills/cloudq/ 内置 CloudQ Skill Python 辅助脚本
83
- assets/cloudq.png Host 提供的运行时图标
84
- scripts/ 构建和发布检查脚本
85
- tests/ 单元测试、集成测试与包契约测试
86
- cordis.patch.yml DSH Bundle 配置层
83
+ src/ Host and Web client source
84
+ skills/cloudq/ Bundled CloudQ skill and Python helpers
85
+ assets/cloudq.png Runtime logo served by the Host
86
+ scripts/ Build and release checks
87
+ tests/ Unit, integration, and package-contract tests
88
+ cordis.patch.yml DSH bundle layer
87
89
  ```
88
90
 
89
- ## 发布
91
+ ## Release
90
92
 
91
- 源码在 [TencentCloud/cloudq-for-dsh](https://github.com/TencentCloud/cloudq-for-dsh) 完成评审和版本管理。只有仓库检查与安装包冒烟测试全部通过后,才可将 npm 版本发布到官方 Registry。
93
+ Source is reviewed and versioned in [TencentCloud/cloudq-for-dsh](https://github.com/TencentCloud/cloudq-for-dsh). An npm version is published to the official registry only after the repository checks and the package-install smoke test pass.
92
94
 
93
- ## 更多文档
95
+ ## More documentation
94
96
 
95
- - 更新日志:[`CHANGELOG.md`](CHANGELOG.md)
96
- - 开发与维护指南:[`DEVELOPMENT.md`](DEVELOPMENT.md)
97
+ - Changelog: [`CHANGELOG.md`](CHANGELOG.md)
98
+ - Development & maintenance guide: [`DEVELOPMENT.md`](DEVELOPMENT.md)
97
99
 
98
- ## 许可证
100
+ ## License
99
101
 
100
- 本项目采用 MIT 许可证,详情请参阅 [`LICENSE`](LICENSE)
102
+ MIT. See [`LICENSE`](LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cloudq",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "CloudQ integration for DeepSeek Harness with secure credential, workspace, and plugin-management surfaces",
5
5
  "license": "MIT",
6
6
  "type": "module",