sigrank 1.0.49 → 1.0.50
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/adapters/index.mjs +2 -0
- package/lib/constants.mjs +4 -1
- package/manifest.json +1 -1
- package/package.json +2 -2
- package/submit/index.mjs +2 -2
- package/tools/discover-peers.mjs +2 -2
- package/tools/submit-verified.mjs +2 -2
- package/tools/watch-tokenpull.mjs +1 -1
package/adapters/index.mjs
CHANGED
|
@@ -1199,6 +1199,7 @@ function makeCcusageAdapter(platform) {
|
|
|
1199
1199
|
export const antigravityAdapter = makeCcusageAdapter("antigravity");
|
|
1200
1200
|
export const grokAdapter = makeCcusageAdapter("grok");
|
|
1201
1201
|
export const zcodeAdapter = makeCcusageAdapter("zcode");
|
|
1202
|
+
export const clineAdapter = makeCcusageAdapter("cline");
|
|
1202
1203
|
|
|
1203
1204
|
// ── Registry ──────────────────────────────────────────────────────────────────
|
|
1204
1205
|
/** All non-Claude, non-Codex adapters keyed by platform ID. */
|
|
@@ -1223,6 +1224,7 @@ export const ADAPTERS = {
|
|
|
1223
1224
|
antigravity: antigravityAdapter,
|
|
1224
1225
|
grok: grokAdapter,
|
|
1225
1226
|
zcode: zcodeAdapter,
|
|
1227
|
+
cline: clineAdapter,
|
|
1226
1228
|
};
|
|
1227
1229
|
|
|
1228
1230
|
export const ALL_PLATFORMS = Object.keys(ADAPTERS).concat(["claude", "codex"]);
|
package/lib/constants.mjs
CHANGED
|
@@ -75,7 +75,7 @@ export const TOKSCALE_CLIENT_MAP = {
|
|
|
75
75
|
kiro: "other",
|
|
76
76
|
trae: "other",
|
|
77
77
|
warp: "other",
|
|
78
|
-
cline: "
|
|
78
|
+
cline: "cline",
|
|
79
79
|
"9router": "other",
|
|
80
80
|
gjc: "other",
|
|
81
81
|
grok: "grok",
|
|
@@ -105,6 +105,9 @@ export const TOKSCALE_CLIENT_MAP = {
|
|
|
105
105
|
aside: "other",
|
|
106
106
|
proma: "other",
|
|
107
107
|
vibe: "other",
|
|
108
|
+
bb: "other",
|
|
109
|
+
qoder: "other",
|
|
110
|
+
capy: "other",
|
|
108
111
|
synthetic: null,
|
|
109
112
|
};
|
|
110
113
|
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/anthropics/mcpb/main/schemas/mcpb-manifest-v0.4.schema.json",
|
|
3
3
|
"manifest_version": "0.4",
|
|
4
4
|
"name": "sigrank",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.50",
|
|
6
6
|
"description": "Ranks AI coding operators by token cascade efficiency (Yield = cache_read \u00d7 output / input\u00b2). 25 tools including SigRank Standard record, yield calculation, local token usage pulls, signed submission, and tokscale-powered analytics (market share, developer profiles, model trends, cost analysis, device profiles, MCP usage, competitive intelligence). Privacy-first: runs locally, only four token counts leave the machine.",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "SunrisesIllNeverSee",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sigrank",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"author": "SunrisesIllNeverSee (https://github.com/SunrisesIllNeverSee)",
|
|
5
5
|
"description": "Upsilon measurement engine distributed through the sigrank CLI/MCP compatibility package, with SigRank public leaderboard tools.",
|
|
6
6
|
"mcpName": "io.github.SunrisesIllNeverSee/sigrank-mcp",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
],
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"token-cascade": "0.2.1",
|
|
85
|
-
"ccusage": "20.0.
|
|
85
|
+
"ccusage": "20.0.51",
|
|
86
86
|
"tokscale": "4.18.0",
|
|
87
87
|
"@modelcontextprotocol/server": "2.3.0"
|
|
88
88
|
},
|
package/submit/index.mjs
CHANGED
|
@@ -188,14 +188,14 @@ export async function submitSignedWindow(
|
|
|
188
188
|
return {
|
|
189
189
|
status: "not_enrolled",
|
|
190
190
|
reason: "not_enrolled",
|
|
191
|
-
detail: "Run `npx sigrank
|
|
191
|
+
detail: "Run `npx sigrank enroll` to bind this device first.",
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
if (!identity?.private_key_pkcs8_b64) {
|
|
195
195
|
return {
|
|
196
196
|
status: "error",
|
|
197
197
|
reason: "no_key",
|
|
198
|
-
detail: "No local signing key — re-run `npx sigrank
|
|
198
|
+
detail: "No local signing key — re-run `npx sigrank enroll`.",
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
201
|
|
package/tools/discover-peers.mjs
CHANGED
|
@@ -33,7 +33,7 @@ import { LEADERBOARD_METRIC } from "../lib/constants.mjs";
|
|
|
33
33
|
export const TOOL_DEF = {
|
|
34
34
|
name: "discover_peers",
|
|
35
35
|
description:
|
|
36
|
-
"Discovers mentors, peers, and complementary operators for YOUR operator on the SigRank leaderboard. Uses your enrolled device identity — no codename needed. Finds operators you should learn from: (1) Mentors — 1-2 class tiers above you with similar cascade shapes, including the specific pillar delta that explains the yield gap (e.g. '12× your cache reads'). (2) Peers — same class tier, ranked by yield proximity. (3) Complementary — operators whose strength is your weakness. Use this after submit_verified to find who to learn from, then chain into self_improve with the mentor's pillar deltas as context. Requires enrollment (npx sigrank
|
|
36
|
+
"Discovers mentors, peers, and complementary operators for YOUR operator on the SigRank leaderboard. Uses your enrolled device identity — no codename needed. Finds operators you should learn from: (1) Mentors — 1-2 class tiers above you with similar cascade shapes, including the specific pillar delta that explains the yield gap (e.g. '12× your cache reads'). (2) Peers — same class tier, ranked by yield proximity. (3) Complementary — operators whose strength is your weakness. Use this after submit_verified to find who to learn from, then chain into self_improve with the mentor's pillar deltas as context. Requires enrollment (npx sigrank enroll). Intent: DISCOVER_PEERS.",
|
|
37
37
|
annotations: {
|
|
38
38
|
title: "Discover peers and mentors",
|
|
39
39
|
...ANNOTATIONS.readOnlyHint,
|
|
@@ -99,7 +99,7 @@ export async function handleDiscoverPeers(args, ctx) {
|
|
|
99
99
|
return {
|
|
100
100
|
status: "not_enrolled",
|
|
101
101
|
detail:
|
|
102
|
-
"Run `npx sigrank
|
|
102
|
+
"Run `npx sigrank enroll` to bind this device first, then submit_verified to appear on the board.",
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -13,7 +13,7 @@ import { _computeReportBlock } from "./_report.mjs";
|
|
|
13
13
|
export const TOOL_DEF = {
|
|
14
14
|
name: "submit_verified",
|
|
15
15
|
description:
|
|
16
|
-
"Publish your LOCAL token runs to the SigRank board as a VERIFIED operator — the enrolled, signed path. Reads your pillars (tokenpull), builds the canonical Schema 1.0 snapshot per window, ed25519-signs it with your device key, and POSTs to /api/v1/snapshots. Requires `npx sigrank
|
|
16
|
+
"Publish your LOCAL token runs to the SigRank board as a VERIFIED operator — the enrolled, signed path. Reads your pillars (tokenpull), builds the canonical Schema 1.0 snapshot per window, ed25519-signs it with your device key, and POSTs to /api/v1/snapshots. Requires `npx sigrank enroll` first (a bound device). Only signed submissions from a trusted device rank on the board. Token-only; the private key never leaves your machine. Publishing requires `confirm: true` (ask the user first); pass dry_run:true to inspect the exact signed payload without publishing and without confirm.",
|
|
17
17
|
annotations: {
|
|
18
18
|
title: "Submit verified score",
|
|
19
19
|
...ANNOTATIONS.destructiveHint,
|
|
@@ -55,7 +55,7 @@ export async function handleSubmitVerified(args, ctx) {
|
|
|
55
55
|
if (!id.codename || !id.operator_id) {
|
|
56
56
|
return {
|
|
57
57
|
status: "not_enrolled",
|
|
58
|
-
detail: "Run `npx sigrank
|
|
58
|
+
detail: "Run `npx sigrank enroll` to bind this device first.",
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
if (!args?.dry_run && args?.confirm !== true) {
|
|
@@ -126,7 +126,7 @@ export async function handleWatchTokenpull(args, ctx) {
|
|
|
126
126
|
} else {
|
|
127
127
|
auth_submit = {
|
|
128
128
|
status: "not_enrolled",
|
|
129
|
-
detail: "Run `npx sigrank
|
|
129
|
+
detail: "Run `npx sigrank enroll` to auto-submit verified runs.",
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
}
|