sigrank 1.0.49 → 1.0.51

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.
@@ -1199,6 +1199,8 @@ 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");
1203
+ export const dshAdapter = makeCcusageAdapter("dsh");
1202
1204
 
1203
1205
  // ── Registry ──────────────────────────────────────────────────────────────────
1204
1206
  /** All non-Claude, non-Codex adapters keyed by platform ID. */
@@ -1223,6 +1225,8 @@ export const ADAPTERS = {
1223
1225
  antigravity: antigravityAdapter,
1224
1226
  grok: grokAdapter,
1225
1227
  zcode: zcodeAdapter,
1228
+ cline: clineAdapter,
1229
+ dsh: dshAdapter,
1226
1230
  };
1227
1231
 
1228
1232
  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: "other",
78
+ cline: "cline",
79
79
  "9router": "other",
80
80
  gjc: "other",
81
81
  grok: "grok",
@@ -94,7 +94,7 @@ export const TOKSCALE_CLIENT_MAP = {
94
94
  "prime-agent": "other",
95
95
  freebuff: "other",
96
96
  cherrystudio: "other",
97
- dsh: "other",
97
+ dsh: "dsh",
98
98
  mcode: "other",
99
99
  fx: "other",
100
100
  lmstudio: "other",
@@ -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.49",
5
+ "version": "1.0.51",
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,8 +1,8 @@
1
1
  {
2
2
  "name": "sigrank",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "author": "SunrisesIllNeverSee (https://github.com/SunrisesIllNeverSee)",
5
- "description": "Upsilon measurement engine distributed through the sigrank CLI/MCP compatibility package, with SigRank public leaderboard tools.",
5
+ "description": "SigRank measures observable AI-operator token-cascade efficiency: Yield, Leverage, Velocity, 10xDEV.",
6
6
  "mcpName": "io.github.SunrisesIllNeverSee/sigrank-mcp",
7
7
  "type": "module",
8
8
  "license": "MIT",
@@ -82,7 +82,7 @@
82
82
  ],
83
83
  "dependencies": {
84
84
  "token-cascade": "0.2.1",
85
- "ccusage": "20.0.30",
85
+ "ccusage": "20.1.2",
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-mcp enroll` to bind this device first.",
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-mcp enroll`.",
198
+ detail: "No local signing key — re-run `npx sigrank enroll`.",
199
199
  };
200
200
  }
201
201
 
@@ -108,7 +108,7 @@ const CLIENT_LABELS = {
108
108
  antigravity: "Antigravity", "antigravity-cli": "Antigravity CLI",
109
109
  zed: "Zed", kiro: "Kiro", trae: "Trae", warp: "Warp", cline: "Cline",
110
110
  gjc: "GJC", grok: "Grok", jcode: "JCode", commandcode: "Command Code",
111
- micode: "MiCode", junie: "Junie", zcode: "ZCode",
111
+ micode: "MiCode", junie: "Junie", zcode: "ZCode", dsh: "DeepSeek Harness",
112
112
  opencodereview: "OpenCode Review", codebuddy: "CodeBuddy",
113
113
  workbuddy: "WorkBuddy",
114
114
  };
@@ -29,7 +29,6 @@ export const DEFAULT_API_BASE =
29
29
  /** Allowed API hosts — prevents SSRF via SIGRANK_API_BASE override. */
30
30
  const ALLOWED_API_HOSTS = new Set([
31
31
  "signalaf.com",
32
- "sigeconomy.com",
33
32
  "localhost",
34
33
  "127.0.0.1",
35
34
  "::1",
@@ -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-mcp enroll). Intent: DISCOVER_PEERS.",
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-mcp enroll` to bind this device first, then submit_verified to appear on the board.",
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-mcp 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.",
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-mcp enroll` to bind this device first.",
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-mcp enroll` to auto-submit verified runs.",
129
+ detail: "Run `npx sigrank enroll` to auto-submit verified runs.",
130
130
  };
131
131
  }
132
132
  }