@tsplc/agent 0.2.16 → 0.2.18
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 +936 -550
- package/dist/cli.js.map +20 -10
- package/dist/client.js +46 -20
- package/dist/client.js.map +4 -4
- package/dist/index.js +879 -538
- package/dist/index.js.map +18 -9
- package/package.json +50 -49
- package/src/agent.ts +175 -642
- package/src/cli.ts +95 -47
- package/src/client.ts +148 -112
- package/src/codesys.ts +117 -0
- package/src/debugging.ts +134 -0
- package/src/deploy.ts +193 -0
- package/src/discovery.ts +61 -53
- package/src/errors.ts +17 -0
- package/src/index.ts +30 -1
- package/src/login.ts +238 -0
- package/src/logs.ts +36 -26
- package/src/operations.ts +87 -0
- package/src/protocol.ts +108 -69
- package/src/releases.ts +89 -57
- package/src/secrets.ts +118 -0
- package/src/server-process.ts +98 -77
- package/src/state.ts +71 -0
- package/src/terminal.ts +57 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @tsplc/agent
|
|
2
2
|
|
|
3
|
-
Part of [tsPLC](https://github.com/
|
|
3
|
+
Part of [tsPLC](https://github.com/rip-technologies/tsplc).
|
|
4
4
|
|
|
5
5
|
The plant agent behind `tsplc deploy`. It runs on a PC in the controller's network, reached over Tailscale: it receives a release, starts its server, downloads or online-changes the controller through CODESYS in Docker, and holds an engineering login for `tsplc read`, `write`, `force` and `unforce`.
|
|
6
6
|
|
|
@@ -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/
|
|
13
|
+
See the [plant agent guide](https://github.com/rip-technologies/tsplc/tree/main/docs/guides/plant.md). MIT licensed.
|