tabby-bianbu-mcp 0.3.1 → 0.4.0
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/CHANGELOG.md +19 -0
- package/LICENSE +21 -21
- package/README.md +108 -82
- package/assets/bianbu_agent_proxy.meta.json +9 -0
- package/assets/bianbu_agent_proxy.sh +1696 -0
- package/dist/commands.d.ts +7 -0
- package/dist/configProvider.d.ts +20 -0
- package/dist/filesTab.component.d.ts +95 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1692
- package/dist/index.js.map +1 -1
- package/dist/mcp.service.d.ts +50 -0
- package/dist/profileProvider.d.ts +16 -0
- package/dist/remoteRelease.d.ts +36 -0
- package/dist/settingsTab.component.d.ts +28 -0
- package/dist/settingsTabProvider.d.ts +8 -0
- package/dist/shellSession.d.ts +28 -0
- package/dist/shellTab.component.d.ts +15 -0
- package/package.json +67 -45
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `tabby-bianbu-mcp` will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.4.0] - 2026-03-19
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- release asset sync pipeline for the remote installer script
|
|
9
|
+
- remote diagnostics and push-upgrade workflow from the settings page
|
|
10
|
+
- persistent MCP shell session support with fallback for older servers
|
|
11
|
+
- packaged remote installer metadata for version comparison and release verification
|
|
12
|
+
- node-based release tests and verification scripts
|
|
13
|
+
- remote backup restore command via `restore-latest`
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- file rename now prefers remote atomic rename support when available
|
|
17
|
+
- build pipeline now emits declaration files into `dist/`
|
|
18
|
+
- README expanded with release and remote maintenance guidance
|
|
19
|
+
- remote installer upgraded with richer health/version metadata, hash verification, safer backup behavior, and a secure default for passwordless sudo
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 niver2002
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,82 +1,108 @@
|
|
|
1
|
-
# tabby-bianbu-mcp
|
|
2
|
-
|
|
3
|
-
A Tabby plugin
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
- `
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
##
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
npm
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
# tabby-bianbu-mcp
|
|
2
|
+
|
|
3
|
+
A Tabby plugin for Bianbu Cloud remote shell and file operations over MCP.
|
|
4
|
+
|
|
5
|
+
It adds a dedicated Bianbu MCP settings page, a shell-like terminal tab, a file manager tab, remote health diagnostics, and a bundled installer push-upgrade flow for the matching Bianbu Cloud MCP server.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Bianbu MCP settings page inside Tabby
|
|
10
|
+
- Bianbu Cloud Shell and Bianbu Cloud Files profiles
|
|
11
|
+
- shell experience backed by MCP `run_command` and logical shell sessions
|
|
12
|
+
- file explorer backed by MCP file tools
|
|
13
|
+
- remote diagnostics: health, versions, capabilities, FILE_ROOT, transport mode
|
|
14
|
+
- packaged remote installer asset with SHA-256 metadata and integrity verification
|
|
15
|
+
- push latest installer to the remote host and trigger `up` or `repair`
|
|
16
|
+
- chunked upload and download support for larger files
|
|
17
|
+
- atomic rename support through MCP `rename_path`
|
|
18
|
+
- remote backup and `restore-latest` recovery support in the installer
|
|
19
|
+
|
|
20
|
+
## What this plugin is not
|
|
21
|
+
|
|
22
|
+
- not native SSH
|
|
23
|
+
- not native SFTP
|
|
24
|
+
- not a replacement for the upstream Bianbu Cloud gateway authentication layer
|
|
25
|
+
|
|
26
|
+
The plugin talks to a Bianbu Cloud MCP endpoint such as:
|
|
27
|
+
|
|
28
|
+
`https://<domain>/mcp`
|
|
29
|
+
|
|
30
|
+
Authentication relies on the existing upstream `X-API-KEY` layer. The plugin does not add a second proxy token layer.
|
|
31
|
+
|
|
32
|
+
## Settings
|
|
33
|
+
|
|
34
|
+
The plugin stores these main settings under `bianbuMcp`:
|
|
35
|
+
|
|
36
|
+
- `enabled`
|
|
37
|
+
- `name`
|
|
38
|
+
- `url`
|
|
39
|
+
- `apiKey`
|
|
40
|
+
- `minIntervalMs`
|
|
41
|
+
- `maxRetries`
|
|
42
|
+
- `retryBaseMs`
|
|
43
|
+
- `notes`
|
|
44
|
+
- `installerRemotePath`
|
|
45
|
+
- `maintenanceAsRoot`
|
|
46
|
+
- `reconnectPollMs`
|
|
47
|
+
- `upgradeHealthTimeoutMs`
|
|
48
|
+
|
|
49
|
+
## Remote maintenance flow
|
|
50
|
+
|
|
51
|
+
The plugin package contains a bundled copy of `bianbu_agent_proxy.sh` plus release metadata.
|
|
52
|
+
|
|
53
|
+
When you click `Push latest installer + upgrade`:
|
|
54
|
+
|
|
55
|
+
1. the plugin uploads the bundled installer to `installerRemotePath`
|
|
56
|
+
2. it makes the script executable remotely
|
|
57
|
+
3. it starts the installer in the background with `up` or `repair`
|
|
58
|
+
4. it polls the MCP endpoint until health returns
|
|
59
|
+
5. it shows the reported remote script version and server version
|
|
60
|
+
|
|
61
|
+
This is the intended commercial-release upgrade path because the client and remote installer ship together.
|
|
62
|
+
|
|
63
|
+
The remote installer now defaults `ENABLE_PASSWORDLESS_SUDO=false`. If you want unattended `as_root=true` maintenance through MCP, opt in explicitly and understand the security trade-off.
|
|
64
|
+
|
|
65
|
+
## Build
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm install
|
|
69
|
+
npm run build
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Test
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm test
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Release verification
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
npm run sync:remote-assets
|
|
82
|
+
npm test
|
|
83
|
+
npm run build
|
|
84
|
+
npm pack --dry-run
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Publish
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
npm publish --access public
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Files included in the package
|
|
94
|
+
|
|
95
|
+
- `dist/`
|
|
96
|
+
- `assets/bianbu_agent_proxy.sh`
|
|
97
|
+
- `assets/bianbu_agent_proxy.meta.json`
|
|
98
|
+
- `README.md`
|
|
99
|
+
- `LICENSE`
|
|
100
|
+
- `CHANGELOG.md`
|
|
101
|
+
|
|
102
|
+
## Source repository
|
|
103
|
+
|
|
104
|
+
https://github.com/niver2002/tabby-bianbu-mcp
|
|
105
|
+
|
|
106
|
+
## License
|
|
107
|
+
|
|
108
|
+
MIT
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileName": "bianbu_agent_proxy.sh",
|
|
3
|
+
"sourceFile": "bianbu_agent_proxy.sh",
|
|
4
|
+
"scriptVersion": "1.2.0",
|
|
5
|
+
"serverVersion": "1.2.0",
|
|
6
|
+
"sha256": "d4f21b824acf3f73356977706da8c5917ec7832903ba1d2312322cead4f8c69f",
|
|
7
|
+
"bytes": 56914,
|
|
8
|
+
"generatedAt": "2026-03-19T06:19:56.738Z"
|
|
9
|
+
}
|