sigrank 0.15.3 → 0.15.4
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/README.md +0 -1
- package/package.json +1 -1
- package/tools.mjs +16 -9
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
For all builders, burners and 10xers.
|
|
12
12
|
|
|
13
13
|
[](https://www.npmjs.com/package/sigrank)
|
|
14
|
-
[](https://www.npmjs.com/package/sigrank)
|
|
15
14
|
[](https://github.com/SunrisesIllNeverSee/sigrank-mcp/actions/workflows/ci.yml)
|
|
16
15
|
[](./LICENSE)
|
|
17
16
|
[](https://nodejs.org)
|
package/package.json
CHANGED
package/tools.mjs
CHANGED
|
@@ -169,56 +169,63 @@ export const TOOLS = [
|
|
|
169
169
|
{
|
|
170
170
|
name: 'rank_paste',
|
|
171
171
|
description:
|
|
172
|
-
'
|
|
172
|
+
'Computes the SigRank yield cascade from a paste of token counts. Parses the input, runs the full cascade math locally (no network calls), and returns: Υ Yield (the headline efficiency metric, Υ = Cache Reads × Output / Input²), SNR (signal-to-noise ratio), Leverage ratio (Cr/I = cache reads divided by input), Velocity (O/I = output divided by input), 10xDEV score, operator class tier (Burner / Builder / 10xer), and a deterministic prose "card" summarizing the result in plain English. Accepts two input formats: (1) JSON object {"input":N,"output":N,"cacheCreate":N,"cacheRead":N} or (2) four whitespace-separated numbers in order: input output cacheCreate cacheRead. Returns an error if the input is malformed or has negative values. Use this for a quick one-off ranking without submitting to the board. Do NOT use this to submit your score — use submit_paste instead, which both ranks and publishes. Do NOT use this if you want to rank all four time windows at once — use rank_windows for that. After calling this, use submit_paste to publish the result if you want to appear on the leaderboard.',
|
|
173
173
|
inputSchema: {
|
|
174
174
|
type: 'object',
|
|
175
175
|
properties: {
|
|
176
176
|
text: {
|
|
177
177
|
type: 'string',
|
|
178
|
-
description: 'Token counts to rank. Two formats accepted: (1) JSON object {"input":N,"output":N,"cacheCreate":N,"cacheRead":N} or (2) four whitespace-separated numbers in order: input output cacheCreate cacheRead. Get these from `ccusage` output, the Claude Max dashboard, or any token reader.',
|
|
178
|
+
description: 'Token counts to rank. Two formats accepted: (1) JSON object {"input":N,"output":N,"cacheCreate":N,"cacheRead":N} where all values are non-negative integers, or (2) four whitespace-separated numbers in order: input output cacheCreate cacheRead. Get these from `ccusage` output, the Claude Max usage dashboard, tokscale, or any token reader. Example valid input: {"input":1000000,"output":500000,"cacheCreate":50000,"cacheRead":800000}',
|
|
179
179
|
},
|
|
180
180
|
},
|
|
181
181
|
required: ['text'],
|
|
182
|
+
description: 'Requires the token counts as a string. No other parameters are accepted.',
|
|
182
183
|
},
|
|
183
184
|
},
|
|
184
185
|
{
|
|
185
186
|
name: 'get_leaderboard',
|
|
186
187
|
description:
|
|
187
|
-
"
|
|
188
|
-
inputSchema: {
|
|
188
|
+
"Fetches the live public SigRank leaderboard from signalaf.com. Reads all ranked operators sorted by yield (Υ = Cache Reads × Output / Input²) and returns an array of operator summaries. Each entry contains: codename (public display name), yield (Υ, the headline efficiency metric), leverage ratio (Cr/I = cache reads divided by input), velocity (O/I = output divided by input), class tier (Burner / Builder / 10xer), and rank position (integer, 1-based). Returns an empty array if no operators have submitted yet. Use this to see where operators stand overall, to find specific codenames for get_operator lookups, or to display the current rankings. Do NOT use this to check your own rank if you already know your codename — use get_operator instead for a single-operator profile with per-window breakdowns. After calling this, follow up with get_operator to get detailed metrics for any operator of interest.",
|
|
189
|
+
inputSchema: {
|
|
190
|
+
type: 'object',
|
|
191
|
+
properties: {},
|
|
192
|
+
description: 'This tool takes no parameters. It always fetches the full public leaderboard.',
|
|
193
|
+
},
|
|
189
194
|
},
|
|
190
195
|
{
|
|
191
196
|
name: 'get_operator',
|
|
192
197
|
description:
|
|
193
|
-
"
|
|
198
|
+
"Fetches one operator's live profile from the SigRank board by their codename. Reads the operator's current submission data from signalaf.com and returns their detailed metrics: yield (Υ), leverage ratio (Cr/I), velocity (O/I), class tier (Burner / Builder / 10xer), rank position (integer, 1-based), and per-window breakdowns for each time range (7d, 30d, 90d, all-time) with the four canonical pillars (input, output, cacheCreate, cacheRead) per window. Returns an error if the codename is not found on the board. Use this to look up any operator who has submitted to the board — codenames are public and visible on the leaderboard. Do NOT use this to browse all operators — use get_leaderboard for that. After calling this, you can use simulate_change to model what would happen if the operator adjusted their token mix.",
|
|
194
199
|
inputSchema: {
|
|
195
200
|
type: 'object',
|
|
196
201
|
properties: {
|
|
197
202
|
codename: {
|
|
198
203
|
type: 'string',
|
|
199
|
-
description: 'The operator\'s public codename as shown on the SigRank leaderboard
|
|
204
|
+
description: 'The operator\'s public codename as shown on the SigRank leaderboard. Case-insensitive — "Ghost Falcon" and "ghost falcon" are equivalent. Must match a codename that exists on the board; returns an error if not found. To discover valid codenames, call get_leaderboard first.',
|
|
200
205
|
},
|
|
201
206
|
},
|
|
202
207
|
required: ['codename'],
|
|
208
|
+
description: 'Requires the operator\'s codename. No other parameters are accepted.',
|
|
203
209
|
},
|
|
204
210
|
},
|
|
205
211
|
{
|
|
206
212
|
name: 'submit_paste',
|
|
207
213
|
description:
|
|
208
|
-
'
|
|
214
|
+
'Ranks a paste of token counts AND publishes it to the live SigRank board at signalaf.com in one call. First computes the cascade locally for an instant preview (yield, leverage, velocity, class, card), then submits the raw paste to the board\'s web-paste endpoint, which re-parses and re-scores it server-side. The server score is authoritative — it may differ from the local preview if the board applies additional validation. Returns both the local preview and the server response (including the operator\'s new rank if accepted). A codename is required to publish — omit it for a local preview only (no board submission). Token-only, no auth required. Use this when you have token counts from ccusage or a dashboard and want to both see your score and publish it. Do NOT use this if you want to pull your local usage automatically — use tokenpull_submit for the zero-paste flow. Do NOT use this for multi-window dashboard pastes — use rank_windows to rank them first, then submit each window. After calling this, use get_operator with your codename to verify your submission appeared on the board.',
|
|
209
215
|
inputSchema: {
|
|
210
216
|
type: 'object',
|
|
211
217
|
properties: {
|
|
212
218
|
text: {
|
|
213
219
|
type: 'string',
|
|
214
|
-
description: 'Token counts to rank and submit. Two formats: (1) JSON {"input":N,"output":N,"cacheCreate":N,"cacheRead":N} from ccusage, or (2) four whitespace-separated numbers: input output cacheCreate cacheRead.',
|
|
220
|
+
description: 'Token counts to rank and submit. Two formats: (1) JSON {"input":N,"output":N,"cacheCreate":N,"cacheRead":N} from ccusage (preferred — the board parses this reliably), or (2) four whitespace-separated numbers: input output cacheCreate cacheRead. The 4-number form ranks locally but the board may reject it. Example: {"input":1000000,"output":500000,"cacheCreate":50000,"cacheRead":800000}',
|
|
215
221
|
},
|
|
216
222
|
codename: {
|
|
217
223
|
type: 'string',
|
|
218
|
-
description: 'Operator codename to publish under on the leaderboard (e.g. "Ghost Falcon"). Required to submit — omit for local preview only (no board submission).',
|
|
224
|
+
description: 'Operator codename to publish under on the leaderboard (e.g. "Ghost Falcon"). Required to submit — omit for local preview only (no board submission, just returns the local cascade result). Must be a non-empty string.',
|
|
219
225
|
},
|
|
220
226
|
},
|
|
221
227
|
required: ['text'],
|
|
228
|
+
description: 'Requires token counts (text). Codename is optional but required for board submission — omit it for preview-only mode.',
|
|
222
229
|
},
|
|
223
230
|
},
|
|
224
231
|
{
|