@neta-art/cohub-cli 1.17.2 → 1.17.4

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.
@@ -1356,12 +1356,17 @@ function registerCheckpoints(spacesCmd) {
1356
1356
  .command("ls")
1357
1357
  .alias("list")
1358
1358
  .description("List checkpoints")
1359
+ .option("--limit <n>", "Maximum checkpoints to return", (value) => Number(value))
1360
+ .option("--cursor <cursor>", "Pagination cursor")
1359
1361
  .option("--json", "Output as JSON")
1360
1362
  .action(async (opts) => {
1361
1363
  const spaceId = resolveSpace(spacesCmd);
1362
1364
  const client = createClient();
1363
1365
  try {
1364
- const result = await client.space(spaceId).checkpoints.list();
1366
+ const result = await client.space(spaceId).checkpoints.list({
1367
+ limit: opts.limit,
1368
+ cursor: opts.cursor,
1369
+ });
1365
1370
  if (jsonRequested(opts))
1366
1371
  return outJson(result);
1367
1372
  if (result.checkpoints.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neta-art/cohub-cli",
3
- "version": "1.17.2",
3
+ "version": "1.17.4",
4
4
  "description": "CLI for Cohub — spaces, sessions, and agent collaboration.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -16,7 +16,7 @@
16
16
  "@neta-art/generation": "^0.1.5",
17
17
  "commander": "^14.0.3",
18
18
  "sharp": "^0.34.5",
19
- "@neta-art/cohub": "1.27.1"
19
+ "@neta-art/cohub": "1.28.1"
20
20
  },
21
21
  "publishConfig": {
22
22
  "access": "public"