coherence-cli 0.8.1 → 0.8.3

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/README.md CHANGED
@@ -242,17 +242,111 @@ cc task seed <idea-id> spec # Create a task for an idea
242
242
  ### Contributors and identity
243
243
 
244
244
  ```bash
245
+ cc contributors # List all contributors
246
+ cc contributor <id> # View contributor detail
247
+ cc contributor <id> contributions # View contributor's contributions
245
248
  cc identity # Your linked accounts and CC balance
246
249
  cc identity lookup github <handle> # Find any contributor by provider identity
247
250
  ```
248
251
 
252
+ ### Assets
253
+
254
+ ```bash
255
+ cc assets # List all tracked assets
256
+ cc asset <id> # View asset detail
257
+ cc asset create <type> <desc> # Create a new asset (infrastructure, software, identity)
258
+ ```
259
+
260
+ ### News
261
+
262
+ ```bash
263
+ cc news # Latest news items
264
+ cc news trending # Trending news
265
+ cc news sources # List configured news sources
266
+ cc news source add <url> <name> # Add a news source
267
+ cc news resonance [contributor] # News resonance, optionally per contributor
268
+ ```
269
+
270
+ ### Treasury
271
+
272
+ ```bash
273
+ cc treasury # Treasury overview (balances, deposits, CC conversion)
274
+ cc treasury deposits [contributor] # View deposits, optionally per contributor
275
+ cc treasury deposit <amount> <asset> # Record a deposit
276
+ ```
277
+
278
+ ### Value lineage
279
+
280
+ ```bash
281
+ cc lineage # List lineage chains (idea → spec → impl → payout)
282
+ cc lineage <id> # View lineage detail
283
+ cc lineage <id> valuation # Measured value, cost, ROI for a chain
284
+ cc lineage <id> payout <amount> # Preview payout distribution
285
+ ```
286
+
287
+ ### Governance
288
+
289
+ ```bash
290
+ cc governance # List governance proposals
291
+ cc governance <id> # View proposal detail
292
+ cc governance vote <id> <yes|no> # Vote on a proposal
293
+ cc governance propose <title> <desc> # Submit a new proposal
294
+ ```
295
+
249
296
  ### Nodes and federation
250
297
 
251
298
  ```bash
252
299
  cc nodes # All nodes: status, SHA, providers, last seen
253
300
  cc inbox # Messages from other nodes
254
301
  cc msg <node> <text> # Send a message
255
- cc cmd <node> status # Remote diagnostics
302
+ cc cmd <node> update # Tell a node to git pull
303
+ cc cmd <node> status # Get CPU, RAM, disk, providers
304
+ cc cmd <node> diagnose # Get git status, recent errors
305
+ cc cmd <node> restart # Restart the runner
306
+ cc cmd <node> ping # Liveness check
307
+ ```
308
+
309
+ ### Services
310
+
311
+ ```bash
312
+ cc services # List all registered services
313
+ cc service <id> # View service detail
314
+ cc services health # Health check across services
315
+ cc services deps # Service dependency map
316
+ ```
317
+
318
+ ### Friction
319
+
320
+ ```bash
321
+ cc friction # Friction report summary
322
+ cc friction events # Recent friction events
323
+ cc friction categories # Friction categories breakdown
324
+ ```
325
+
326
+ ### Providers
327
+
328
+ ```bash
329
+ cc providers # List available providers
330
+ cc providers stats # Provider success rates and usage
331
+ ```
332
+
333
+ ### Traceability
334
+
335
+ ```bash
336
+ cc trace # Traceability overview
337
+ cc trace coverage # Coverage metrics
338
+ cc trace idea <id> # Trace an idea through its lifecycle
339
+ cc trace spec <id> # Trace a spec through its lifecycle
340
+ ```
341
+
342
+ ### Diagnostics
343
+
344
+ ```bash
345
+ cc diag # Diagnostic overview (effectiveness + pipeline)
346
+ cc diag health # Collective health check
347
+ cc diag issues # Known issues and warnings
348
+ cc diag runners # Runner status across nodes
349
+ cc diag visibility # Observability status
256
350
  ```
257
351
 
258
352
  ### Searching and filtering
@@ -12,7 +12,7 @@ function truncate(str, len) {
12
12
  export async function listAssets(args) {
13
13
  const limit = parseInt(args[0]) || 20;
14
14
  const raw = await get("/api/assets", { limit });
15
- const data = Array.isArray(raw) ? raw : raw?.assets;
15
+ const data = Array.isArray(raw) ? raw : (raw?.items || raw?.assets);
16
16
  if (!data || !Array.isArray(data)) {
17
17
  console.log("Could not fetch assets.");
18
18
  return;
@@ -12,7 +12,7 @@ function truncate(str, len) {
12
12
  export async function listContributors(args) {
13
13
  const limit = parseInt(args[0]) || 20;
14
14
  const raw = await get("/api/contributors", { limit });
15
- const data = Array.isArray(raw) ? raw : raw?.contributors;
15
+ const data = Array.isArray(raw) ? raw : (raw?.items || raw?.contributors);
16
16
  if (!data || !Array.isArray(data)) {
17
17
  console.log("Could not fetch contributors.");
18
18
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coherence-cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "Coherence Network CLI \u2014 trace ideas from inception to payout, with fair attribution, coherence scoring, and 37 identity providers. No signup needed.",
5
5
  "type": "module",
6
6
  "bin": {