@tsplc/agent 0.2.20 → 0.3.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/README.md +2 -2
- package/dist/cli.js +367 -152
- package/dist/cli.js.map +16 -15
- package/dist/client.js +121 -20
- package/dist/client.js.map +6 -5
- package/dist/index.js +352 -144
- package/dist/index.js.map +14 -13
- package/package.json +16 -6
- package/src/agent.ts +94 -54
- package/src/cli.ts +12 -5
- package/src/client.ts +114 -23
- package/src/codesys.ts +23 -24
- package/src/debugging.ts +8 -2
- package/src/deploy.ts +141 -125
- package/src/index.ts +4 -4
- package/src/login.ts +8 -5
- package/src/operations.ts +11 -6
- package/src/protocol.ts +91 -4
- package/src/releases.ts +219 -11
- package/src/secrets.ts +3 -2
- package/src/server-process.ts +1 -1
- package/src/transfer.ts +94 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Part of [tsPLC](https://github.com/rip-technologies/tsplc).
|
|
4
4
|
|
|
5
|
-
The plant agent behind `tsplc deploy`. It runs on a PC in the controller's network, reached over Tailscale: it receives a release,
|
|
5
|
+
The plant agent behind `tsplc deploy`. It runs on a PC in the controller's network, reached over Tailscale: it receives a release, downloads or online-changes the controller through CODESYS in Docker, then starts the release's server, and holds an engineering login for `tsplc read`, `write`, `force` and `unforce`.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
bun add --global @tsplc/agent
|
|
@@ -10,4 +10,4 @@ tsplc-agent setup
|
|
|
10
10
|
TSPLC_AGENT_TOKEN=… tsplc-agent serve --listen 100.101.102.103:4850
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
See the [plant agent guide](https://github.com/rip-technologies/tsplc/tree/
|
|
13
|
+
See the [plant agent guide](https://github.com/rip-technologies/tsplc/tree/master/docs/guides/plant.md). MIT licensed.
|