@celilo/core 0.9.0 → 0.9.1
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/package.json +1 -1
- package/src/command-registry.ts +45 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celilo/core",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Lightweight shared core for Celilo CLI tools — command registry, NDJSON API protocol, and remote SSH client. No Ink/React/drizzle/aws-sdk transitive deps, so an MCP server can reach the transport without installing the full CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
package/src/command-registry.ts
CHANGED
|
@@ -684,8 +684,21 @@ export const COMMANDS: CommandDef[] = [
|
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
686
|
name: 'verify',
|
|
687
|
-
description: 'Verify module integrity
|
|
687
|
+
description: 'Verify module integrity across the installed, generated and host planes',
|
|
688
688
|
args: [{ name: 'id', description: 'Module ID', completion: 'module_ids' }],
|
|
689
|
+
flags: [
|
|
690
|
+
{
|
|
691
|
+
name: 'deep',
|
|
692
|
+
description:
|
|
693
|
+
"Also ask each of the module's systems whether what is running is what celilo generated (one SSH per system)",
|
|
694
|
+
takesValue: false,
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
name: 'json',
|
|
698
|
+
description: 'Emit per-file class, expected and observed digests, and per-host results',
|
|
699
|
+
takesValue: false,
|
|
700
|
+
},
|
|
701
|
+
],
|
|
689
702
|
},
|
|
690
703
|
{
|
|
691
704
|
// Deprecation alias for `module verify`. Removed after one
|
|
@@ -693,6 +706,10 @@ export const COMMANDS: CommandDef[] = [
|
|
|
693
706
|
name: 'audit',
|
|
694
707
|
description: 'DEPRECATED — use `module verify` instead',
|
|
695
708
|
args: [{ name: 'id', description: 'Module ID', completion: 'module_ids' }],
|
|
709
|
+
flags: [
|
|
710
|
+
{ name: 'deep', description: 'See `module verify --deep`', takesValue: false },
|
|
711
|
+
{ name: 'json', description: 'See `module verify --json`', takesValue: false },
|
|
712
|
+
],
|
|
696
713
|
},
|
|
697
714
|
{
|
|
698
715
|
name: 'config',
|
|
@@ -1058,6 +1075,33 @@ export const COMMANDS: CommandDef[] = [
|
|
|
1058
1075
|
description: 'Re-verify a container service connection',
|
|
1059
1076
|
args: [{ name: 'service-id', description: 'Service ID', completion: 'service_ids' }],
|
|
1060
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
name: 'set-credentials',
|
|
1080
|
+
description: 'Update a provider endpoint or API credential',
|
|
1081
|
+
args: [{ name: 'service-id', description: 'Service ID', completion: 'service_ids' }],
|
|
1082
|
+
flags: [
|
|
1083
|
+
{
|
|
1084
|
+
name: 'api-url',
|
|
1085
|
+
description: 'Proxmox API URL (or $PROXMOX_API_URL)',
|
|
1086
|
+
takesValue: true,
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
name: 'api-token-id',
|
|
1090
|
+
description: 'Proxmox API token ID (or $PROXMOX_API_TOKEN_ID)',
|
|
1091
|
+
takesValue: true,
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
name: 'api-token-secret',
|
|
1095
|
+
description: 'Proxmox API token secret (or $PROXMOX_API_TOKEN_SECRET)',
|
|
1096
|
+
takesValue: true,
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
name: 'api-token',
|
|
1100
|
+
description: 'DigitalOcean API token (or $DIGITALOCEAN_API_TOKEN)',
|
|
1101
|
+
takesValue: true,
|
|
1102
|
+
},
|
|
1103
|
+
],
|
|
1104
|
+
},
|
|
1061
1105
|
{
|
|
1062
1106
|
name: 'remove',
|
|
1063
1107
|
description: 'Remove a container service',
|