@celilo/core 0.3.1 → 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 +2 -2
- package/src/command-registry.ts +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celilo/core",
|
|
3
|
-
"version": "0.3.
|
|
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.
|
|
27
|
+
"@celilo/cli-display": "^0.1.10",
|
|
28
28
|
"@clack/prompts": "^1.1.0",
|
|
29
29
|
"zod": "^3.24.1"
|
|
30
30
|
}
|
package/src/command-registry.ts
CHANGED
|
@@ -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
|
-
{
|
|
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',
|