@bitsocial/bitsocial-cli 0.19.45 → 0.19.47

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.
@@ -72,7 +72,10 @@
72
72
  "bitsocial logs -n 50",
73
73
  "bitsocial logs --since 5m",
74
74
  "bitsocial logs --since 2026-01-02T13:23:37Z --until 2026-01-02T14:00:00Z",
75
- "bitsocial logs --since 1h -f"
75
+ "bitsocial logs --since 1h -f",
76
+ "bitsocial logs --stdout",
77
+ "bitsocial logs --stderr",
78
+ "bitsocial logs --stdout -f"
76
79
  ],
77
80
  "flags": {
78
81
  "follow": {
@@ -114,6 +117,24 @@
114
117
  "hasDynamicHelp": false,
115
118
  "multiple": false,
116
119
  "type": "option"
120
+ },
121
+ "stdout": {
122
+ "description": "Show only stdout log entries",
123
+ "exclusive": [
124
+ "stderr"
125
+ ],
126
+ "name": "stdout",
127
+ "allowNo": false,
128
+ "type": "boolean"
129
+ },
130
+ "stderr": {
131
+ "description": "Show only stderr log entries (output of pkc-logger library)",
132
+ "exclusive": [
133
+ "stdout"
134
+ ],
135
+ "name": "stderr",
136
+ "allowNo": false,
137
+ "type": "boolean"
117
138
  }
118
139
  },
119
140
  "hasDynamicHelp": false,
@@ -267,6 +288,10 @@
267
288
  {
268
289
  "description": "Create a community with title 'Hello Plebs' and description 'Welcome'",
269
290
  "command": "<%= config.bin %> <%= command.id %> --title 'Hello Plebs' --description 'Welcome'"
291
+ },
292
+ {
293
+ "description": "Create a community using options from a JSON/JSONC file",
294
+ "command": "<%= config.bin %> <%= command.id %> --jsonFile ./create-options.json"
270
295
  }
271
296
  ],
272
297
  "flags": {
@@ -285,6 +310,14 @@
285
310
  "hasDynamicHelp": false,
286
311
  "multiple": false,
287
312
  "type": "option"
313
+ },
314
+ "jsonFile": {
315
+ "char": "f",
316
+ "description": "Path to a JSON/JSONC file containing create options (supports comments)",
317
+ "name": "jsonFile",
318
+ "hasDynamicHelp": false,
319
+ "multiple": false,
320
+ "type": "option"
288
321
  }
289
322
  },
290
323
  "hasDynamicHelp": false,
@@ -355,11 +388,11 @@
355
388
  "required": true
356
389
  }
357
390
  },
358
- "description": "Edit a community's properties. For a list of properties, visit https://github.com/pkcprotocol/pkc-js",
391
+ "description": "Edit a community's properties. For a list of properties, visit https://github.com/pkcprotocol/pkc-js\n\nMerge behavior with CLI flags:\n - Objects are merged with the community's current state (new keys are added, existing keys are overwritten).\n - Arrays are extended: new values are prepended to the existing array.\n - Setting a value to null removes it (e.g. --roles['mod.bso'] null).\n\nMerge behavior with --jsonFile:\n - Objects are merged the same way as CLI flags.\n - Arrays are replaced entirely (RFC 7396 JSON Merge Patch semantics).\n - When both --jsonFile and CLI flags are provided, CLI flags take priority.\n\nFor modifying complex settings like challenges, consider using a web UI instead: https://bitsocial.net/apps",
359
392
  "examples": [
360
393
  {
361
- "description": "Change the address of the community to a new domain address",
362
- "command": "bitsocial community edit 12D3KooWG3XbzoVyAE6Y9vHZKF64Yuuu4TjdgQKedk14iYmTEPWu --address newAddress.bso"
394
+ "description": "Change the name of the community",
395
+ "command": "bitsocial community edit 12D3KooWG3XbzoVyAE6Y9vHZKF64Yuuu4TjdgQKedk14iYmTEPWu --name newName.bso"
363
396
  },
364
397
  {
365
398
  "description": "Add the author address 'esteban.bso' as an admin on the community",
@@ -386,7 +419,7 @@
386
419
  "command": "bitsocial community edit bitsocial.bso --settings.fetchThumbnailUrls=false"
387
420
  },
388
421
  {
389
- "description": "Edit a community using options from a JSON file",
422
+ "description": "Edit a community using options from a JSON/JSONC file",
390
423
  "command": "bitsocial community edit bitsocial.bso --jsonFile ./edit-options.json"
391
424
  }
392
425
  ],
@@ -402,7 +435,7 @@
402
435
  },
403
436
  "jsonFile": {
404
437
  "char": "f",
405
- "description": "Path to a JSON file containing edit options",
438
+ "description": "Path to a JSON/JSONC file containing edit options (supports comments)",
406
439
  "name": "jsonFile",
407
440
  "hasDynamicHelp": false,
408
441
  "multiple": false,
@@ -543,6 +576,10 @@
543
576
  {
544
577
  "description": "Start all communities in your data path",
545
578
  "command": "bitsocial community start $(bitsocial community list -q)"
579
+ },
580
+ {
581
+ "description": "Start communities sequentially (no concurrency)",
582
+ "command": "bitsocial community start $(bitsocial community list -q) --concurrency 1"
546
583
  }
547
584
  ],
548
585
  "flags": {
@@ -554,6 +591,14 @@
554
591
  "hasDynamicHelp": false,
555
592
  "multiple": false,
556
593
  "type": "option"
594
+ },
595
+ "concurrency": {
596
+ "description": "Number of communities to start in parallel",
597
+ "name": "concurrency",
598
+ "default": 5,
599
+ "hasDynamicHelp": false,
600
+ "multiple": false,
601
+ "type": "option"
557
602
  }
558
603
  },
559
604
  "hasDynamicHelp": false,
@@ -725,5 +770,5 @@
725
770
  ]
726
771
  }
727
772
  },
728
- "version": "0.19.45"
773
+ "version": "0.19.47"
729
774
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitsocial/bitsocial-cli",
3
- "version": "0.19.45",
3
+ "version": "0.19.47",
4
4
  "description": "Command line interface to Bitsocial API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "homepage": "https://github.com/bitsocialnet/bitsocial-cli",
@@ -118,13 +118,15 @@
118
118
  "@oclif/plugin-help": "6.2.36",
119
119
  "@oclif/plugin-not-found": "3.2.73",
120
120
  "@oclif/table": "0.5.1",
121
- "@pkcprotocol/pkc-js": "0.0.17",
121
+ "@pkcprotocol/pkc-js": "0.0.19",
122
122
  "dataobject-parser": "1.2.22",
123
123
  "decompress": "4.2.1",
124
124
  "env-paths": "2.2.1",
125
125
  "exit-hook": "4.0.0",
126
126
  "express": "4.19.2",
127
127
  "kubo": "0.40.1",
128
+ "p-limit": "7.3.0",
129
+ "strip-json-comments": "5.0.3",
128
130
  "tcp-port-used": "1.0.2",
129
131
  "tslib": "2.6.2",
130
132
  "typescript": "5.9.3"