@celilo/core 0.2.0 → 0.3.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.2.0",
3
+ "version": "0.3.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",
@@ -768,6 +768,23 @@ export const COMMANDS: CommandDef[] = [
768
768
  { name: 'last', description: 'Show only the most recent deploy run', takesValue: false },
769
769
  ],
770
770
  },
771
+ {
772
+ name: 'journal',
773
+ description:
774
+ "Read-only: tail a deployed module's runtime daemon journal on its host (no SSH)",
775
+ args: [{ name: 'id', description: 'Module ID', completion: 'module_ids' }],
776
+ flags: [
777
+ {
778
+ name: 'unit',
779
+ description: 'systemd unit or glob (default: <module-id>*)',
780
+ takesValue: true,
781
+ },
782
+ { name: 'lines', description: 'Lines to return (default 100)', takesValue: true },
783
+ { name: 'since', description: "Time window, e.g. '30 min ago'", takesValue: true },
784
+ { name: 'grep', description: 'Only lines containing this fixed string', takesValue: true },
785
+ { name: 'json', description: 'Machine-readable JSON output', takesValue: false },
786
+ ],
787
+ },
771
788
  {
772
789
  name: 'health',
773
790
  description: 'Run health checks on deployed modules',