New:Socket for Asana Is Now Available.Learn more
Get Started

sigrank

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sigrank - npm Package Compare versions

Comparing version
1.0.10
to
1.0.11
+11
-5
adapters/tokenpull.mjs

@@ -120,2 +120,3 @@ /**

platform: "claude",
globalMessageIdDedup: true,
defaultRoot: () => join(homedir(), ".claude", "projects"),

@@ -170,6 +171,7 @@ async *messages(root) {

// Dedup by (session_id, message_id), keeping the FINAL snapshot — matches
// token-dashboard: Claude Code writes 2-3 partial→final lines per response with
// the same message.id; only the final tally matches billing. No-id records each
// get a unique synthetic key so they always count.
// Dedup by message ID for adapters whose logs can copy one API message into
// forked sessions; otherwise use (session_id, message_id) to preserve the
// adapter's native session semantics. Keep the FINAL snapshot: Claude Code
// writes 2-3 partial→final lines per response with the same message.id, and
// only the final tally matches billing. No-id records each get a unique key.
const seen = new Map();

@@ -180,3 +182,7 @@ const files = new Set();

const key =
msg.sid && msg.id ? `${msg.sid}|${msg.id}` : msg.id || `__noid_${noId++}`;
msg.id && adapter.globalMessageIdDedup
? msg.id
: msg.sid && msg.id
? `${msg.sid}|${msg.id}`
: msg.id || `__noid_${noId++}`;
seen.set(key, msg); // keep-last (final snapshot wins)

@@ -183,0 +189,0 @@ if (msg.file) files.add(msg.file);

@@ -5,3 +5,3 @@ {

"name": "sigrank",
"version": "1.0.9",
"version": "1.0.10",
"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.",

@@ -8,0 +8,0 @@ "author": {

{
"name": "sigrank",
"version": "1.0.10",
"version": "1.0.11",
"author": "SunrisesIllNeverSee (https://github.com/SunrisesIllNeverSee)",

@@ -5,0 +5,0 @@ "description": "Upsilon measurement engine distributed through the sigrank CLI/MCP compatibility package, with SigRank public leaderboard tools.",