dsh-gostc 0.0.0-stage → 1.4.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PonChunhui
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/NOTICE ADDED
@@ -0,0 +1,18 @@
1
+ dsh-gostc
2
+ Copyright (c) 2026 PonChunhui
3
+
4
+ This product is a DeepSeek Harness plugin that manages the gostc
5
+ intranet-penetration client. It does not include gostc's source code or
6
+ binaries; the gostc command-line client is downloaded at runtime from the
7
+ user's own gostc platform.
8
+
9
+ gostc / gostc-open
10
+ Copyright (c) SianHH and contributors
11
+ Licensed under the Apache License, Version 2.0
12
+ https://github.com/SianHH/gostc-open
13
+ https://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ DeepSeek Harness
16
+ Copyright (c) DeepSeek
17
+ Licensed under the MIT License
18
+ https://github.com/deepseek-ai/deepseek-harness
package/README.md CHANGED
@@ -1,3 +1,63 @@
1
- # Temporary Holding Version
1
+ # dsh-gostc
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) plugin that
4
+ brings the **gostc** intranet-penetration client into the Harness web client.
5
+
6
+ gostc ([SianHH/gostc-open](https://github.com/SianHH/gostc-open), Apache-2.0) is an
7
+ frp-based intranet-penetration management platform. This plugin adds a global
8
+ **Gostc** panel to the Harness sidebar and lets the plugin provision and run the
9
+ gostc command-line client for you.
10
+
11
+ ## Features
12
+
13
+ - **Management panel** for gostc client connections, private tunnels and P2P
14
+ links: create / edit / delete / start / stop, plus runtime logs.
15
+ - **Automatic client provisioning**: detects the host **OS and CPU architecture**
16
+ (Windows / Linux / macOS / FreeBSD, Windows WoW64 aware) and downloads the
17
+ matching command-line installer from your own gostc platform's public download
18
+ API, validating the executable magic (PE / ELF / Mach-O) before an atomic write.
19
+ - **Process lifecycle**: reuses an already-healthy backend, otherwise launches a
20
+ plugin-managed child process with bounded auto-restart; a **Backend** tab offers
21
+ start / stop / restart, client download / update, and Windows-service
22
+ install / uninstall (UAC).
23
+ - **Same-origin proxy**: the Host half forwards gostc webui API calls server-side,
24
+ so no CORS support or rebuild of gostc is required.
25
+
26
+ The actual tunneling is performed by the gostc process; this plugin manages it
27
+ through the gostc webui HTTP API and controls the process lifecycle. The gostc
28
+ binary is downloaded at runtime from your platform — it is **not** bundled.
29
+
30
+ ## Install
31
+
32
+ From the Harness plugin market, or:
33
+
34
+ ```sh
35
+ dsh plugin add dsh-gostc
36
+ ```
37
+
38
+ ## Configuration
39
+
40
+ Edit the plugin row's `config` (Plugins config page or `cordis.patch.yml`):
41
+
42
+ | Key | Default | Meaning |
43
+ | --- | --- | --- |
44
+ | `backend` | `http://127.0.0.1:18080` | gostc webui backend to probe / proxy. |
45
+ | `username` / `password` | `` | Optional backend HTTP Basic auth. |
46
+ | `platformUrl` | `` | Your gostc platform base URL used to download the CLI installer. Empty disables auto-download. |
47
+ | `clientPackage` | `` | Exact installer filename; empty auto-picks the package matching your OS/arch. |
48
+ | `dataDir` | `` | Install / data directory; empty defaults to `%LOCALAPPDATA%/dsh-gostc`. |
49
+ | `webAddr` | `127.0.0.1:18080` | webui listen address used when launching the client. |
50
+ | `webUser` / `webPwd` | `` | Optional webui Basic auth set on the launched client. |
51
+ | `autoStart` | `true` | Auto-provision and launch on host activation (or reuse a healthy backend). |
52
+
53
+ See [docs/DETAIL.md](docs/DETAIL.md) for the provisioning flow and full details.
54
+
55
+ ## Screenshots
56
+
57
+ <!-- Add real panel captures to assets/ and list them in screenshots.json. -->
58
+ Screenshots are declared in `screenshots.json` (see `screenshots.example.json`).
59
+
60
+ ## License
61
+
62
+ MIT — see [LICENSE](LICENSE). gostc itself is Apache-2.0 (see [NOTICE](NOTICE));
63
+ this plugin does not include gostc's code.
Binary file