@xiaoqiong0v0/opencode-ssh-tool 0.7.0 → 0.7.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.md +2 -2
- package/dist/constants.d.ts +2 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/i18n.d.ts +10 -10
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +9 -9
- package/dist/i18n.js.map +1 -1
- package/dist/web/app.js +4 -4
- package/dist/web/index.html +2 -2
- package/package.json +56 -56
package/dist/web/index.html
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
<label class="tgl"><input type="checkbox" id="showTime" onchange="onShowTimeChange()"> {{web_time}}</label>
|
|
16
16
|
<label class="tgl" id="rawToggle"><input type="checkbox" id="debugMode" onchange="onDebugModeChange()"> {{web_raw}}</label>
|
|
17
17
|
<span id="meta"></span>
|
|
18
|
-
<button id="transferToggle" class="transfer-toggle" type="button" aria-expanded="
|
|
18
|
+
<button id="transferToggle" class="transfer-toggle" type="button" aria-expanded="false" aria-controls="transferPanel" onclick="toggleTransferPanel()">
|
|
19
19
|
<span>{{web_transfers}}</span>
|
|
20
20
|
<span id="transferCount" class="transfer-count">0</span>
|
|
21
21
|
</button>
|
|
22
22
|
<button id="toBottom" class="to-bottom-btn" onclick="scrollToNewest()">{{web_new_messages}}</button>
|
|
23
23
|
</header>
|
|
24
|
-
<aside id="transferPanel" class="transfer-panel" aria-label="{{web_transfers}}">
|
|
24
|
+
<aside id="transferPanel" class="transfer-panel" aria-label="{{web_transfers}}" hidden>
|
|
25
25
|
<div class="transfer-panel-head">
|
|
26
26
|
<span class="transfer-title">{{web_transfers}}</span>
|
|
27
27
|
<button id="transferClose" class="transfer-close" type="button" aria-label="{{web_close}}" title="{{web_close}}" onclick="toggleTransferPanel()">×</button>
|
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xiaoqiong0v0/opencode-ssh-tool",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "长驻交互式 SSH 会话工具插件,远程命令受 opencode 权限管控",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist",
|
|
8
|
-
"README.md"
|
|
9
|
-
],
|
|
10
|
-
"main": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": "./dist/index.js"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"build": "tsc && node web/build.mjs",
|
|
17
|
-
"test": "npm run build && node --test test/cli-args.test.mjs test/payload.test.mjs test/transfer.test.mjs test/transfer-events.test.mjs test/server-transfer.test.mjs",
|
|
18
|
-
"prepublishOnly": "npm run build"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/xiaoqiong0v0/opencode-ssh-tool.git"
|
|
23
|
-
},
|
|
24
|
-
"homepage": "https://github.com/xiaoqiong0v0/opencode-ssh-tool#readme",
|
|
25
|
-
"bugs": {
|
|
26
|
-
"url": "https://github.com/xiaoqiong0v0/opencode-ssh-tool/issues"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"opencode",
|
|
30
|
-
"plugin",
|
|
31
|
-
"ssh",
|
|
32
|
-
"sftp",
|
|
33
|
-
"terminal"
|
|
34
|
-
],
|
|
35
|
-
"license": "MIT",
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"@xiaoqiong0v0/opencode-plugin-logger": "^1.0.6",
|
|
41
|
-
"@xterm/headless": "^5.5.0",
|
|
42
|
-
"@xterm/xterm": "^5.5.0",
|
|
43
|
-
"ssh2": "^1.16.0",
|
|
44
|
-
"ws": "^8.21.3"
|
|
45
|
-
},
|
|
46
|
-
"peerDependencies": {
|
|
47
|
-
"@opencode-ai/plugin": "^1.18.4"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@types/node": "^26.1.1",
|
|
51
|
-
"@types/ssh2": "^1.15.4",
|
|
52
|
-
"@types/ws": "^8.18.1",
|
|
53
|
-
"esbuild": "^0.28.2",
|
|
54
|
-
"typescript": "^7.0.2"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xiaoqiong0v0/opencode-ssh-tool",
|
|
3
|
+
"version": "0.7.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "长驻交互式 SSH 会话工具插件,远程命令受 opencode 权限管控",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"README.md"
|
|
9
|
+
],
|
|
10
|
+
"main": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsc && node web/build.mjs",
|
|
17
|
+
"test": "npm run build && node --test test/cli-args.test.mjs test/payload.test.mjs test/transfer.test.mjs test/transfer-events.test.mjs test/server-transfer.test.mjs",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/xiaoqiong0v0/opencode-ssh-tool.git"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/xiaoqiong0v0/opencode-ssh-tool#readme",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/xiaoqiong0v0/opencode-ssh-tool/issues"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"opencode",
|
|
30
|
+
"plugin",
|
|
31
|
+
"ssh",
|
|
32
|
+
"sftp",
|
|
33
|
+
"terminal"
|
|
34
|
+
],
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@xiaoqiong0v0/opencode-plugin-logger": "^1.0.6",
|
|
41
|
+
"@xterm/headless": "^5.5.0",
|
|
42
|
+
"@xterm/xterm": "^5.5.0",
|
|
43
|
+
"ssh2": "^1.16.0",
|
|
44
|
+
"ws": "^8.21.3"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@opencode-ai/plugin": "^1.18.4"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^26.1.1",
|
|
51
|
+
"@types/ssh2": "^1.15.4",
|
|
52
|
+
"@types/ws": "^8.18.1",
|
|
53
|
+
"esbuild": "^0.28.2",
|
|
54
|
+
"typescript": "^7.0.2"
|
|
55
|
+
}
|
|
56
|
+
}
|