@tonbo/cli 0.3.1 → 0.3.3
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 +5 -1
- package/dist/bin/tonbo.js +1249 -1166
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -206,7 +206,9 @@ Node.js 22 or newer is required. Human OAuth tokens are stored at `${XDG_CONFIG_
|
|
|
206
206
|
Machines belong to an Account independently of Agents. Allocate in `us-east-1`, bind an available Machine from Agent detail or the CLI, inspect measured metrics, and release it when no longer needed. Allocation starts no compute. The platform handles idle pause/resume automatically; there are no customer power controls or arbitrary Machine command/upload APIs.
|
|
207
207
|
|
|
208
208
|
```console
|
|
209
|
-
tonbo --json
|
|
209
|
+
tonbo --json region list
|
|
210
|
+
tonbo --json machine allocate --account <account-uuid> --region us-east-1 --request-id <request-uuid>
|
|
211
|
+
tonbo --json machine allocation <request-uuid> --account <account-uuid>
|
|
210
212
|
tonbo --json machine list --account <account-uuid>
|
|
211
213
|
tonbo --json machine bind <machine-uuid> --agent <agent-uuid>
|
|
212
214
|
tonbo --json machine show <machine-uuid>
|
|
@@ -218,3 +220,5 @@ tonbo --json machine release <machine-uuid>
|
|
|
218
220
|
Only one active Agent binding per Machine and one Machine per Agent are currently supported. Unbinding drains execution and completes physical deletion, final usage settlement and storage credential revocation before the Machine becomes available. Wait for `available: true` in `machine show` before rebinding. Cross-Agent reassignment resets rootfs; the destination mounts its own Agent Workspace and Sessions. Hidden pause/resume within the same Agent retains rootfs and process state. Release also drains an existing binding automatically; it does not delete Agent files or Sessions.
|
|
219
221
|
|
|
220
222
|
`tonbo agent list` lists accessible Agents without requiring a local `.tonbo` file. JSON command output uses `agent` for one Agent and `agents` for the list; there is no duplicate `agent` output alias.
|
|
223
|
+
|
|
224
|
+
Persist the allocation request UUID before sending when automating. Reuse it with the same account and region after a lost response; lookup returns the original Machine even after release. Omitting `--request-id` generates one, included in the success output or retry error.
|