@treeseed/sdk 0.13.0-rc.63 → 0.13.0-rc.64
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"completedAt":"2026-08-
|
|
1
|
+
{"completedAt":"2026-08-31T12:10:08.221Z"}
|
|
@@ -79,6 +79,7 @@ const operationBindings = {
|
|
|
79
79
|
"host bootstrap status": local("local.host.bootstrap.status"),
|
|
80
80
|
"host bootstrap enroll": local("local.host.bootstrap.enroll"),
|
|
81
81
|
"host reset": local("local.host.reset"),
|
|
82
|
+
"host uninstall": local("local.host.uninstall"),
|
|
82
83
|
"dev session start": local("local.dev.session.start"),
|
|
83
84
|
"dev session stop": local("local.dev.session.stop"),
|
|
84
85
|
"dev use": local("local.dev.use"),
|
|
@@ -203,6 +204,19 @@ function hostReset() {
|
|
|
203
204
|
value.options = [...value.options ?? [], { name: "--confirm", description: "Confirm deletion of all manager-owned component data and receipts.", type: "boolean" }];
|
|
204
205
|
return value;
|
|
205
206
|
}
|
|
207
|
+
function hostUninstall() {
|
|
208
|
+
const value = leaf("uninstall", "mutation", void 0, "irreversible");
|
|
209
|
+
if (value.nodeType !== "leaf") throw new Error("Host uninstall must be a leaf command.");
|
|
210
|
+
value.description = "Plan or remove every inventoried TreeSeed-owned host resource while preserving unrelated infrastructure and source repositories.";
|
|
211
|
+
value.options = [
|
|
212
|
+
...value.options ?? [],
|
|
213
|
+
{ name: "--confirm", description: "Confirm removal of the reviewed TreeSeed resource inventory.", type: "boolean" },
|
|
214
|
+
{ name: "--purge-security", description: "Separately select destruction of encrypted state, credentials, users, and groups.", type: "boolean" },
|
|
215
|
+
{ name: "--yes", description: "Confirm non-interactive execution after reviewing the plan.", type: "boolean" }
|
|
216
|
+
];
|
|
217
|
+
value.resultSchemaId = "treeseed.host-uninstall-result/v1";
|
|
218
|
+
return value;
|
|
219
|
+
}
|
|
206
220
|
function hostSecurityInitialize() {
|
|
207
221
|
const value = leaf("initialize", "mutation", void 0, "credential");
|
|
208
222
|
if (value.nodeType !== "leaf") throw new Error("Host security initialization must be a leaf command.");
|
|
@@ -380,7 +394,8 @@ const commandTree = {
|
|
|
380
394
|
branch("aliases", [leaf("list")]),
|
|
381
395
|
branch("recovery", [leaf("status"), leaf("retry", "mutation", void 0, "authority"), leaf("restore", "mutation", "generation", "destructive")]),
|
|
382
396
|
branch("bootstrap", [leaf("status"), leaf("enroll", "mutation", void 0, "credential")]),
|
|
383
|
-
hostReset()
|
|
397
|
+
hostReset(),
|
|
398
|
+
hostUninstall()
|
|
384
399
|
]),
|
|
385
400
|
branch("agents", [
|
|
386
401
|
leaf("list"),
|