@tsplc/agent 0.4.3 → 0.5.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 CHANGED
@@ -7,7 +7,11 @@ The plant agent behind `tsplc deploy`. It runs on a PC in the controller's netwo
7
7
  ```sh
8
8
  bun add --global @tsplc/agent
9
9
  tsplc-agent setup
10
- TSPLC_AGENT_TOKEN=… tsplc-agent serve --listen 100.101.102.103:4850
10
+ tsplc-agent secrets set TSPLC_AGENT_TOKEN
11
+ # In a PowerShell opened as administrator: runs the agent at boot and restarts it if it exits
12
+ tsplc-agent service install --listen 100.101.102.103:4850 --server-health http://127.0.0.1:4841/health
13
+ # Later, to update it without stopping the line's server
14
+ tsplc-agent upgrade
11
15
  ```
12
16
 
13
17
  See the [plant agent guide](https://github.com/rip-technologies/tsplc/tree/master/docs/guides/plant.md). MIT licensed.