@celilo/core 0.7.0 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celilo/core",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
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",
@@ -715,6 +715,14 @@ export const COMMANDS: CommandDef[] = [
715
715
  { name: 'key', description: 'Config key', completion: 'config_keys' },
716
716
  ],
717
717
  },
718
+ {
719
+ name: 'unset',
720
+ description: "Remove an override so the key follows the module's manifest again",
721
+ args: [
722
+ { name: 'id', description: 'Module ID', completion: 'module_ids' },
723
+ { name: 'key', description: 'Config key', completion: 'config_keys' },
724
+ ],
725
+ },
718
726
  ],
719
727
  },
720
728
  {
@@ -1086,6 +1094,29 @@ export const COMMANDS: CommandDef[] = [
1086
1094
  },
1087
1095
  ],
1088
1096
  },
1097
+ {
1098
+ name: 'firewall',
1099
+ description: "Inspect a firewall's interfaces",
1100
+ subcommands: [
1101
+ {
1102
+ name: 'interface',
1103
+ description: 'Interface classification for a firewall',
1104
+ subcommands: [
1105
+ {
1106
+ name: 'list',
1107
+ description:
1108
+ 'Show how celilo classifies each interface (zone, external, or unaccounted for)',
1109
+ args: [
1110
+ {
1111
+ name: 'hostname',
1112
+ description: 'Firewall hostname (default: every machine celilo calls a router)',
1113
+ },
1114
+ ],
1115
+ },
1116
+ ],
1117
+ },
1118
+ ],
1119
+ },
1089
1120
  {
1090
1121
  name: 'machine',
1091
1122
  description: 'Manage existing machines (Raspberry Pi, VPS, bare metal)',
@@ -1672,15 +1703,24 @@ export const COMMANDS: CommandDef[] = [
1672
1703
  description: 'Run a monitor now',
1673
1704
  args: [{ name: 'target', description: 'Module id or built-in check name' }],
1674
1705
  },
1706
+ {
1707
+ name: 'set-interval',
1708
+ description:
1709
+ "Change a built-in check's cadence (a module's comes from `module config set <m> health_check_interval`)",
1710
+ args: [
1711
+ { name: 'check', description: 'Built-in check name' },
1712
+ { name: 'cadence', description: 'Cadence, e.g. 15m, 1h, daily' },
1713
+ ],
1714
+ },
1675
1715
  {
1676
1716
  name: 'enable',
1677
- description: 'Enable a monitor',
1678
- args: [{ name: 'target', description: 'Module id or built-in check name' }],
1717
+ description: 'Enable a built-in check monitor',
1718
+ args: [{ name: 'target', description: 'Built-in check name' }],
1679
1719
  },
1680
1720
  {
1681
1721
  name: 'disable',
1682
- description: 'Disable a monitor and resolve its alerts',
1683
- args: [{ name: 'target', description: 'Module id or built-in check name' }],
1722
+ description: 'Disable a built-in check monitor and resolve its alerts',
1723
+ args: [{ name: 'target', description: 'Built-in check name' }],
1684
1724
  },
1685
1725
  ],
1686
1726
  },