@celilo/core 0.3.0 → 0.3.2

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.3.0",
3
+ "version": "0.3.2",
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",
@@ -24,7 +24,7 @@
24
24
  "directory": "packages/core"
25
25
  },
26
26
  "dependencies": {
27
- "@celilo/cli-display": "^0.1.9",
27
+ "@celilo/cli-display": "^0.1.10",
28
28
  "@clack/prompts": "^1.1.0",
29
29
  "zod": "^3.24.1"
30
30
  }
@@ -743,9 +743,24 @@ export const COMMANDS: CommandDef[] = [
743
743
  description: 'With clear: also release operations that still look alive',
744
744
  takesValue: false,
745
745
  },
746
+ {
747
+ name: 'abandoned',
748
+ description: 'With list: also show abandoned rows (hidden by default)',
749
+ takesValue: false,
750
+ },
746
751
  ],
747
752
  subcommands: [
748
- { name: 'list', description: 'Show operations currently holding the lock' },
753
+ {
754
+ name: 'list',
755
+ description: 'Show operations currently holding the lock',
756
+ flags: [
757
+ {
758
+ name: 'abandoned',
759
+ description: 'Also show abandoned rows the hourly sweep will clear',
760
+ takesValue: false,
761
+ },
762
+ ],
763
+ },
749
764
  {
750
765
  name: 'clear',
751
766
  description: 'Release abandoned operations so backups can run again',
@@ -781,7 +796,11 @@ export const COMMANDS: CommandDef[] = [
781
796
  },
782
797
  { name: 'lines', description: 'Lines to return (default 100)', takesValue: true },
783
798
  { name: 'since', description: "Time window, e.g. '30 min ago'", takesValue: true },
784
- { name: 'grep', description: 'Only lines containing this fixed string', takesValue: true },
799
+ {
800
+ name: 'grep',
801
+ description: 'Only lines containing this fixed string',
802
+ takesValue: true,
803
+ },
785
804
  { name: 'json', description: 'Machine-readable JSON output', takesValue: false },
786
805
  ],
787
806
  },
@@ -1681,6 +1700,21 @@ export const COMMANDS: CommandDef[] = [
1681
1700
  description: 'Set the default storage destination',
1682
1701
  args: [{ name: 'storage-id', description: 'Storage ID', completion: 'storage_ids' }],
1683
1702
  },
1703
+ {
1704
+ name: 'set-path',
1705
+ description: 'Relocate a local storage destination to a new directory',
1706
+ args: [
1707
+ { name: 'storage-id', description: 'Storage ID', completion: 'storage_ids' },
1708
+ { name: 'new-path', description: 'New storage directory path' },
1709
+ ],
1710
+ flags: [
1711
+ {
1712
+ name: 'no-migrate',
1713
+ description: 'Change the path without moving existing archives',
1714
+ takesValue: false,
1715
+ },
1716
+ ],
1717
+ },
1684
1718
  ],
1685
1719
  },
1686
1720
  {