coherence-cli 0.1.0 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +184 -0
  2. package/package.json +25 -5
package/README.md ADDED
@@ -0,0 +1,184 @@
1
+ # coherence-cli
2
+
3
+ **Every idea deserves a trail. Every contributor deserves credit.**
4
+
5
+ `cc` is the command-line interface for [Coherence Network](https://coherencycoin.com) — an open intelligence platform that traces every idea from inception to payout, with fair attribution, coherence scoring, and federated trust.
6
+
7
+ ```
8
+ npm i -g coherence-cli
9
+ cc status
10
+ ```
11
+
12
+ That's it. You're connected to the live network. No account, no signup, no API key needed for reading.
13
+
14
+ ---
15
+
16
+ ## Why this exists
17
+
18
+ Most ideas die in the gap between "great thought" and "shipped thing." The people who research, prototype, review, document, and maintain rarely see proportional credit.
19
+
20
+ Coherence Network changes that. It tracks the full lifecycle:
21
+
22
+ ```
23
+ Idea → Research → Spec → Implementation → Review → Usage → Payout
24
+ ↑ ↓
25
+ └────────── coherence scores at every stage ─────────┘
26
+ ```
27
+
28
+ Every stage is scored for **coherence** (0.0–1.0) — measuring test coverage, documentation quality, and implementation simplicity. Contributors are paid proportionally to the energy they invested and the coherence they achieved.
29
+
30
+ `cc` gives you direct access to all of it from your terminal.
31
+
32
+ ---
33
+
34
+ ## Quick start
35
+
36
+ ### See what's happening
37
+
38
+ ```bash
39
+ cc ideas # Browse the portfolio ranked by ROI
40
+ cc resonance # What's alive right now
41
+ cc status # Network health, node count, your identity
42
+ ```
43
+
44
+ ### Go deeper
45
+
46
+ ```bash
47
+ cc idea <id> # Full scores, open questions, value gaps
48
+ cc specs # Feature specs with ROI metrics
49
+ cc spec <id> # Implementation summary, pseudocode, cost
50
+ ```
51
+
52
+ ### Contribute
53
+
54
+ ```bash
55
+ cc share # Submit a new idea (interactive)
56
+ cc stake <id> 10 # Stake 10 CC on an idea you believe in
57
+ cc fork <id> # Fork an idea and take it a new direction
58
+ cc contribute # Record any contribution (code, docs, review, design, community)
59
+ ```
60
+
61
+ ### Identity — bring your own
62
+
63
+ Link any identity you already have. No new accounts. 37 providers across 6 categories.
64
+
65
+ ```bash
66
+ cc identity setup # Guided onboarding (first time)
67
+ cc identity link github alice-dev # Link your GitHub
68
+ cc identity link ethereum 0xabc... # Link your wallet
69
+ cc identity link discord user#1234 # Link Discord
70
+ cc identity # See all your linked accounts
71
+ cc identity lookup github alice-dev # Find anyone by their handle
72
+ ```
73
+
74
+ **Supported providers:**
75
+
76
+ | Category | Providers |
77
+ |----------|-----------|
78
+ | **Social** | X, Discord, Telegram, Mastodon, Bluesky, Reddit, YouTube, Twitch, Instagram, TikTok, Fediverse |
79
+ | **Developer** | GitHub, GitLab, Bitbucket, npm, crates.io, PyPI, Hacker News, Stack Overflow |
80
+ | **Crypto / Web3** | Ethereum, Bitcoin, Solana, Cosmos, Nostr, ENS, Lens |
81
+ | **Professional** | LinkedIn, ORCID |
82
+ | **Identity** | Email, Google, Apple, Microsoft, DID, Keybase, PGP |
83
+ | **Platform** | OpenClaw |
84
+
85
+ You don't need to register anywhere. Just link a provider and start contributing — your work is attributed to your identity across the entire network.
86
+
87
+ ---
88
+
89
+ ## How coherence scoring works
90
+
91
+ Every contribution and every idea is scored on a 0.0–1.0 scale:
92
+
93
+ - **1.0** — Tests pass, docs are clear, implementation is simple, value is proven
94
+ - **0.5** — Partial coverage, some gaps, work in progress
95
+ - **0.0** — No tests, no docs, no evidence of value
96
+
97
+ The score isn't a grade — it's a signal. It tells you and the network how much energy has been invested and how much trust the work has earned. Payouts are weighted by coherence, so higher-quality contributions earn proportionally more.
98
+
99
+ ---
100
+
101
+ ## The five pillars
102
+
103
+ | Pillar | In practice |
104
+ |--------|-------------|
105
+ | **Traceability** | `cc idea <id>` traces from spark to payout. Nothing is lost. |
106
+ | **Trust** | Coherence scores replace subjective judgement with measurable quality. |
107
+ | **Freedom** | Fork any idea. Run your own node. Vote on governance. No gatekeepers. |
108
+ | **Uniqueness** | Every idea, spec, and contribution is uniquely identified and ranked. |
109
+ | **Collaboration** | Multi-contributor attribution with coherence-weighted payouts. Fair by design. |
110
+
111
+ ---
112
+
113
+ ## The Coherence Network ecosystem
114
+
115
+ Every part of the network links to every other. Jump in wherever makes sense for you.
116
+
117
+ | Surface | What it is | Link |
118
+ |---------|-----------|------|
119
+ | **Web** | The main site — browse ideas, specs, and contributors visually | [coherencycoin.com](https://coherencycoin.com) |
120
+ | **API** | 100+ endpoints, full OpenAPI docs, the engine behind everything | [api.coherencycoin.com/docs](https://api.coherencycoin.com/docs) |
121
+ | **CLI** | This package — terminal-first access to the full network | [npm: coherence-cli](https://www.npmjs.com/package/coherence-cli) |
122
+ | **MCP Server** | 20 typed tools for AI agents (Claude, Cursor, Windsurf, etc.) | [npm: coherence-mcp-server](https://www.npmjs.com/package/coherence-mcp-server) |
123
+ | **OpenClaw Skill** | Auto-triggers in any OpenClaw instance when you mention ideas, specs, or coherence | [ClawHub: coherence-network](https://clawhub.com/skills/coherence-network) |
124
+ | **GitHub** | Source code, specs, issues, and contribution tracking | [github.com/seeker71/Coherence-Network](https://github.com/seeker71/Coherence-Network) |
125
+
126
+ ---
127
+
128
+ ## Configuration
129
+
130
+ By default, `cc` talks to the public API at `https://api.coherencycoin.com`. Override with environment variables:
131
+
132
+ ```bash
133
+ # Point to a local node
134
+ export COHERENCE_API_URL=http://localhost:8000
135
+
136
+ # Enable write operations
137
+ export COHERENCE_API_KEY=your-key
138
+ ```
139
+
140
+ Config is stored in `~/.coherence-network/config.json`.
141
+
142
+ ---
143
+
144
+ ## All commands
145
+
146
+ ```
147
+ cc help Show all commands
148
+ cc ideas [limit] Browse ideas by ROI
149
+ cc idea <id> View idea detail with scores
150
+ cc specs [limit] List feature specs
151
+ cc spec <id> View spec detail
152
+ cc share Submit a new idea
153
+ cc stake <id> <cc> Stake CC on an idea
154
+ cc fork <id> Fork an idea
155
+ cc contribute Record any contribution
156
+ cc resonance What's alive right now
157
+ cc status Network health + node info
158
+ cc identity Show linked accounts
159
+ cc identity setup Guided identity onboarding
160
+ cc identity link <provider> <id> Link a provider identity
161
+ cc identity unlink <provider> Unlink a provider
162
+ cc identity lookup <provider> <id> Find contributor by identity
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Get involved
168
+
169
+ Coherence Network is open source. Every contribution is tracked and attributed — yours will be too.
170
+
171
+ The simplest way to start:
172
+
173
+ ```bash
174
+ cc ideas # find something interesting
175
+ cc contribute # record what you did
176
+ ```
177
+
178
+ Or explore any part of the ecosystem from the table above. Every surface leads to every other.
179
+
180
+ ---
181
+
182
+ ## License
183
+
184
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "coherence-cli",
3
- "version": "0.1.0",
4
- "description": "Coherence Network CLI — identity-first contributions, idea staking, and value traceability",
3
+ "version": "0.2.0",
4
+ "description": "Coherence Network CLI — 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": {
7
7
  "cc": "bin/cc.mjs"
@@ -11,18 +11,38 @@
11
11
  },
12
12
  "files": [
13
13
  "bin/",
14
- "lib/"
14
+ "lib/",
15
+ "README.md"
15
16
  ],
16
17
  "keywords": [
17
18
  "coherence",
19
+ "coherence-network",
18
20
  "contribution",
19
21
  "attribution",
20
22
  "identity",
21
- "cli"
23
+ "cli",
24
+ "ideas",
25
+ "specs",
26
+ "roi",
27
+ "open-source",
28
+ "fair-attribution",
29
+ "value-chain",
30
+ "traceability",
31
+ "staking",
32
+ "federation",
33
+ "governance",
34
+ "mcp",
35
+ "ai-agent",
36
+ "openclaw"
22
37
  ],
23
38
  "license": "MIT",
39
+ "homepage": "https://coherencycoin.com",
24
40
  "repository": {
25
41
  "type": "git",
26
42
  "url": "git+https://github.com/seeker71/Coherence-Network.git"
27
- }
43
+ },
44
+ "bugs": {
45
+ "url": "https://github.com/seeker71/Coherence-Network/issues"
46
+ },
47
+ "author": "Coherence Network Contributors"
28
48
  }