tokengolf 1.0.1 → 1.0.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/.claude-plugin/marketplace.json +1 -1
- package/CLAUDE.md +3 -2
- package/README.md +3 -2
- package/docs/design-preview.html +5 -4
- package/docs/index.html +4 -3
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"name": "tokengolf",
|
|
12
12
|
"source": "./plugin",
|
|
13
13
|
"description": "Gamify your Claude Code sessions — track token efficiency, earn achievements, level up your prompting.",
|
|
14
|
-
"version": "1.0.
|
|
14
|
+
"version": "1.0.2",
|
|
15
15
|
"homepage": "https://josheche.github.io/tokengolf/",
|
|
16
16
|
"license": "MIT"
|
|
17
17
|
}
|
package/CLAUDE.md
CHANGED
|
@@ -14,9 +14,10 @@ Every Claude Code session is automatically tracked. No wizard, no upfront budget
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
**Plugin (recommended)** —
|
|
17
|
+
**Plugin (recommended)** — auto-updates:
|
|
18
18
|
```
|
|
19
|
-
claude plugin
|
|
19
|
+
claude plugin marketplace add josheche/tokengolf
|
|
20
|
+
claude plugin install tokengolf@tokengolf
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
**npm (alternative)** — requires manual hook setup:
|
package/README.md
CHANGED
|
@@ -36,10 +36,11 @@ Turn Claude Code token efficiency into a game. Every session is automatically tr
|
|
|
36
36
|
|
|
37
37
|
## Quick Start
|
|
38
38
|
|
|
39
|
-
**Claude Code Plugin** (recommended —
|
|
39
|
+
**Claude Code Plugin** (recommended — auto-updates)
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
claude plugin
|
|
42
|
+
claude plugin marketplace add josheche/tokengolf
|
|
43
|
+
claude plugin install tokengolf@tokengolf
|
|
43
44
|
```
|
|
44
45
|
|
|
45
46
|
**npm** (alternative — requires hook setup)
|
package/docs/design-preview.html
CHANGED
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
</div>
|
|
701
701
|
<div class="type-scale-row">
|
|
702
702
|
<div class="type-scale-label">Monospace<br>0.78rem</div>
|
|
703
|
-
<div class="type-scale-sample" style="font-family:var(--font-mono); font-size:0.78rem; color:var(--green);">claude plugin
|
|
703
|
+
<div class="type-scale-sample" style="font-family:var(--font-mono); font-size:0.78rem; color:var(--green);">claude plugin marketplace add josheche/tokengolf</div>
|
|
704
704
|
</div>
|
|
705
705
|
</div>
|
|
706
706
|
|
|
@@ -822,7 +822,8 @@
|
|
|
822
822
|
<div class="term-header">terminal</div>
|
|
823
823
|
<pre>
|
|
824
824
|
<span class="comment"># Install (pick one)</span>
|
|
825
|
-
<span class="dollar">$</span> <span class="cmd">claude plugin
|
|
825
|
+
<span class="dollar">$</span> <span class="cmd">claude plugin marketplace add josheche/tokengolf</span>
|
|
826
|
+
<span class="dollar">$</span> <span class="cmd">claude plugin install tokengolf@tokengolf</span> <span class="comment"># recommended</span>
|
|
826
827
|
<span class="dollar">$</span> <span class="cmd">npm install -g tokengolf</span>
|
|
827
828
|
|
|
828
829
|
<span class="dollar">$</span> <span class="cmd">tokengolf scorecard</span> <span class="comment"># show last run's results</span>
|
|
@@ -1021,13 +1022,13 @@
|
|
|
1021
1022
|
|
|
1022
1023
|
<div class="install-demo">
|
|
1023
1024
|
<div class="install-tabs">
|
|
1024
|
-
<button class="install-tab active" data-cmd="claude plugin install tokengolf" onclick="switchTab(this)">plugin</button>
|
|
1025
|
+
<button class="install-tab active" data-cmd="claude plugin marketplace add josheche/tokengolf && claude plugin install tokengolf@tokengolf" onclick="switchTab(this)">plugin</button>
|
|
1025
1026
|
<button class="install-tab" data-cmd="npm install -g tokengolf" onclick="switchTab(this)">npm</button>
|
|
1026
1027
|
<button class="install-tab" data-cmd="brew tap josheche/tokengolf && brew install tokengolf" onclick="switchTab(this)">brew</button>
|
|
1027
1028
|
<button class="install-tab" data-cmd="curl -fsSL https://raw.githubusercontent.com/josheche/tokengolf/main/install.sh | bash" onclick="switchTab(this)">curl</button>
|
|
1028
1029
|
</div>
|
|
1029
1030
|
<div class="install-box">
|
|
1030
|
-
<code class="install-cmd" id="install-cmd">claude plugin install tokengolf</code>
|
|
1031
|
+
<code class="install-cmd" id="install-cmd">claude plugin marketplace add josheche/tokengolf && claude plugin install tokengolf@tokengolf</code>
|
|
1031
1032
|
<button class="copy-btn" id="copy-btn" onclick="copyCmd()">Copy</button>
|
|
1032
1033
|
</div>
|
|
1033
1034
|
</div>
|
package/docs/index.html
CHANGED
|
@@ -1150,13 +1150,13 @@
|
|
|
1150
1150
|
<p class="hero-tagline">Every token matters</p>
|
|
1151
1151
|
|
|
1152
1152
|
<div class="install-tabs">
|
|
1153
|
-
<button class="install-tab active" data-cmd="claude plugin install tokengolf" onclick="switchInstall(this)">plugin</button>
|
|
1153
|
+
<button class="install-tab active" data-cmd="claude plugin marketplace add josheche/tokengolf && claude plugin install tokengolf@tokengolf" onclick="switchInstall(this)">plugin</button>
|
|
1154
1154
|
<button class="install-tab" data-cmd="npm install -g tokengolf" onclick="switchInstall(this)">npm</button>
|
|
1155
1155
|
<button class="install-tab" data-cmd="brew tap josheche/tokengolf && brew install tokengolf" onclick="switchInstall(this)">brew</button>
|
|
1156
1156
|
<button class="install-tab" data-cmd="curl -fsSL https://raw.githubusercontent.com/josheche/tokengolf/main/install.sh | bash" onclick="switchInstall(this)">curl</button>
|
|
1157
1157
|
</div>
|
|
1158
1158
|
<div class="install-box">
|
|
1159
|
-
<code class="install-cmd" id="install-cmd">claude plugin install tokengolf</code>
|
|
1159
|
+
<code class="install-cmd" id="install-cmd">claude plugin marketplace add josheche/tokengolf && claude plugin install tokengolf@tokengolf</code>
|
|
1160
1160
|
<button class="copy-btn" id="copy-btn" onclick="copyInstall()">
|
|
1161
1161
|
Copy
|
|
1162
1162
|
</button>
|
|
@@ -2027,7 +2027,8 @@
|
|
|
2027
2027
|
<div class="term-header">terminal</div>
|
|
2028
2028
|
<pre>
|
|
2029
2029
|
<span class="comment"># Install (pick one)</span>
|
|
2030
|
-
<span class="dollar">$</span> <span class="cmd">claude plugin
|
|
2030
|
+
<span class="dollar">$</span> <span class="cmd">claude plugin marketplace add josheche/tokengolf</span>
|
|
2031
|
+
<span class="dollar">$</span> <span class="cmd">claude plugin install tokengolf@tokengolf</span> <span class="comment"># recommended — auto-updates</span>
|
|
2031
2032
|
<span class="dollar">$</span> <span class="cmd">npm install -g tokengolf</span>
|
|
2032
2033
|
<span class="dollar">$</span> <span class="cmd">brew tap josheche/tokengolf && brew install tokengolf</span>
|
|
2033
2034
|
<span class="dollar">$</span> <span class="cmd">curl -fsSL https://raw.githubusercontent.com/josheche/tokengolf/main/install.sh | bash</span>
|
package/package.json
CHANGED