dsh-ops-kit 0.4.0 → 0.4.1
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.zh-CN.md +1 -1
- package/client.js +3 -3
- package/locale/zh.json +1 -1
- package/package.json +2 -2
package/README.zh-CN.md
CHANGED
package/client.js
CHANGED
|
@@ -18,10 +18,10 @@ window.__ModuleLoader__.load({
|
|
|
18
18
|
const h = React.createElement
|
|
19
19
|
const PANEL = 'ops-kit'
|
|
20
20
|
|
|
21
|
-
const LABEL = { zh: 'OPC
|
|
21
|
+
const LABEL = { zh: 'OPC-运维工作台', en: 'OPC Ops' }
|
|
22
22
|
const zh = (typeof navigator !== 'undefined' && String(navigator.language || '').toLowerCase().startsWith('zh'))
|
|
23
23
|
const T = zh ? {
|
|
24
|
-
title: 'OPC
|
|
24
|
+
title: 'OPC-运维工作台', sub: '看状态、看图表、看配置、管应用 —— 不用敲命令。',
|
|
25
25
|
tabs: ['概览', '监控', '配置', '应用', '排查', '日志', '文件', '终端', '助手', '设置'],
|
|
26
26
|
refresh: '刷新', add: '添加服务器', save: '保存', cancel: '取消',
|
|
27
27
|
name: '名称', host: '地址', user: '用户', key: '私钥(可空)', password: '密码(可空)',
|
|
@@ -3716,7 +3716,7 @@ const termKey = (event) => {
|
|
|
3716
3716
|
render() {
|
|
3717
3717
|
if (this.state.error) {
|
|
3718
3718
|
return h('div', { style: { padding: '20px', color: 'var(--dsw-alias-danger,#ff6b6b)', fontSize: '13px', lineHeight: 1.7 } },
|
|
3719
|
-
h('div', { style: { fontWeight: 600, marginBottom: '6px' } }, 'OPC
|
|
3719
|
+
h('div', { style: { fontWeight: 600, marginBottom: '6px' } }, 'OPC-运维工作台 渲染失败'),
|
|
3720
3720
|
h('pre', { style: { whiteSpace: 'pre-wrap', fontFamily: 'ui-monospace,Menlo,monospace', fontSize: '12px' } },
|
|
3721
3721
|
String(this.state.error?.stack || this.state.error?.message || this.state.error)))
|
|
3722
3722
|
}
|
package/locale/zh.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-ops-kit",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "OPC
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"description": "OPC-运维工作台 (dsh-ops-kit) — Server operations kit for DeepSeek Harness: server cards, health charts, config browser, app manager and plain-language AI diagnosis — over SSH, no agent install.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|