tokens-for-good 0.4.24 → 0.4.25
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 +1 -2
- package/package.json +1 -1
- package/pipeline/01-research/PROMPT.md +1 -1
- package/src/mcp-server.js +1 -1
- package/src/platform.js +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,6 @@ Once installed, these are available to your AI via the MCP server:
|
|
|
48
48
|
|
|
49
49
|
| Tool | Purpose |
|
|
50
50
|
|---|---|
|
|
51
|
-
| `next_action` | Tells you whether to validate, consolidate, or research next |
|
|
52
51
|
| `claim_org` | Reserves the next available nonprofit (up to 2 researchers per org under v3) |
|
|
53
52
|
| `get_methodology` | Fetches research / verify / humanize / validate / consolidate instructions |
|
|
54
53
|
| `submit_report` | Submits a finished report (or a merged consolidation report with `disagreement_rows`) |
|
|
@@ -58,7 +57,7 @@ Once installed, these are available to your AI via the MCP server:
|
|
|
58
57
|
| `set_role_preference` | Prefer the low-fetch roles (validation/consolidation); best for local models |
|
|
59
58
|
| `create_agent` / `list_agents` / `rotate_agent_key` / `revoke_agent` | Run several harnesses at once: each agent gets its own key + research slot |
|
|
60
59
|
| `setup_automation` | Emits `/schedule` prompt (normally called by `/tfg-schedule` skill) |
|
|
61
|
-
| `my_impact` / `research_status`
|
|
60
|
+
| `my_impact` / `research_status` | Your stats + the project leaderboard |
|
|
62
61
|
| `snooze` | Quiet the session-start prompt for N days |
|
|
63
62
|
|
|
64
63
|
## Non-Claude-Code platforms
|
package/package.json
CHANGED
|
@@ -183,7 +183,7 @@ Run these checks before submitting. They are not optional.
|
|
|
183
183
|
- [ ] EVIDENCE TABLE quotes appear verbatim on the cited pages (substring-checked at submit time)
|
|
184
184
|
|
|
185
185
|
**Writing style:**
|
|
186
|
-
- [ ] No em dashes
|
|
186
|
+
- [ ] No em dashes. Replace with periods, commas, semicolons, or parentheses.
|
|
187
187
|
- [ ] No filler adjectives: seamless, robust, comprehensive, innovative, cutting-edge, holistic, game-changing
|
|
188
188
|
- [ ] No AI transitions: "It's worth noting", "Here's the thing", "Let's dive in", "Simply put"
|
|
189
189
|
- [ ] Replace "leverage" with "use", "utilize" with "use"
|
package/src/mcp-server.js
CHANGED
|
@@ -112,7 +112,7 @@ server.tool('claim_org', 'Claim the next available nonprofit org to research.',
|
|
|
112
112
|
try {
|
|
113
113
|
const result = await client.claimOrg(plat || platform);
|
|
114
114
|
return {
|
|
115
|
-
content: [{ type: 'text', text: `Claimed: ${result.org.name} (${result.org.url})\nclaim_id: ${result.claim_id}\nexpires: ${result.expires_at}\nNext: get_methodology step="research", then submit_report
|
|
115
|
+
content: [{ type: 'text', text: `Claimed: ${result.org.name} (${result.org.url})\nclaim_id: ${result.claim_id}\nexpires: ${result.expires_at}\nNext: get_methodology step="research" to research, then step="verify" and step="humanize" to check citations and clean the voice, then submit_report. (The /tfg skill walks all four.)` }],
|
|
116
116
|
};
|
|
117
117
|
} catch (err) {
|
|
118
118
|
// 409 means you already have an active claim; usually an auto-assigned
|
package/src/platform.js
CHANGED
|
@@ -33,7 +33,7 @@ API Base: ${base}
|
|
|
33
33
|
Your API key: ${apiKey}
|
|
34
34
|
|
|
35
35
|
## Calling the API; read first
|
|
36
|
-
Use the **Bash tool with \`curl\`** for every authenticated ${base}/* call (next-action, claim, submit, consolidate). **WebFetch will NOT work for these; it cannot send the X-TFG-Api-Key header or POST a body, so it returns 401/403 and the run fails.** Always include \`-H "X-TFG-Api-Key: ${apiKey}"\`. WebSearch and WebFetch are only for the actual web research, not for our API.
|
|
36
|
+
Use the **Bash tool with \`curl\`** for every authenticated ${base}/* call (next-action, claim, submit, validate, consolidate). **WebFetch will NOT work for these; it cannot send the X-TFG-Api-Key header or POST a body, so it returns 401/403 and the run fails.** Always include \`-H "X-TFG-Api-Key: ${apiKey}"\`. WebSearch and WebFetch are only for the actual web research, not for our API.
|
|
37
37
|
|
|
38
38
|
## Instructions
|
|
39
39
|
1. Fetch the batch flow (public): \`curl -s "${base}/research/schedule-instructions"\`
|