@agentistics/mcp 1.7.8 → 1.8.0

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.
@@ -100,6 +100,204 @@ var DEFAULT_TEAM = Object.freeze({
100
100
  connections: Object.freeze([])
101
101
  });
102
102
  var SHARE_SOURCE_TYPES = new Set(["repo", "project", "none"]);
103
+ // ../core/src/plan-catalog.ts
104
+ var CLAUDE_PRICING = "https://claude.com/pricing";
105
+ var COPILOT_PRICING = "https://github.com/features/copilot/plans";
106
+ var CHATGPT_PRICING = "https://openai.com/chatgpt/pricing/";
107
+ var CHECKED = "2026-08-12";
108
+ var PLAN_CATALOG = [
109
+ {
110
+ id: "anthropic-pro",
111
+ provider: "anthropic",
112
+ label: "Claude Pro",
113
+ mode: "subscription",
114
+ suggestedHarnesses: ["claude"],
115
+ monthly: { amount: 20, currency: "USD", verifiedAt: CHECKED, source: CLAUDE_PRICING },
116
+ noteEn: "USD 20/month billed monthly; USD 17/month billed annually.",
117
+ notePt: "USD 20/mês na cobrança mensal; USD 17/mês na anual."
118
+ },
119
+ {
120
+ id: "anthropic-max-5x",
121
+ provider: "anthropic",
122
+ label: "Claude Max 5x",
123
+ mode: "subscription",
124
+ suggestedHarnesses: ["claude"],
125
+ monthly: { amount: 100, currency: "USD", verifiedAt: CHECKED, source: CLAUDE_PRICING },
126
+ noteEn: 'The pricing page quotes "From $100 per month" for Max; 5x is the entry tier. Confirm against your invoice.',
127
+ notePt: 'A página de preços diz "a partir de $100 por mês" para o Max; 5x é o nível de entrada. Confirme na sua fatura.'
128
+ },
129
+ {
130
+ id: "anthropic-max-20x",
131
+ provider: "anthropic",
132
+ label: "Claude Max 20x",
133
+ mode: "subscription",
134
+ suggestedHarnesses: ["claude"],
135
+ noteEn: "The pricing page does not state the 20x price separately — enter the amount from your invoice.",
136
+ notePt: "A página de preços não informa o valor do 20x separadamente — digite o valor da sua fatura."
137
+ },
138
+ {
139
+ id: "anthropic-team",
140
+ provider: "anthropic",
141
+ label: "Claude Team",
142
+ mode: "subscription",
143
+ suggestedHarnesses: ["claude"],
144
+ monthly: { amount: 25, currency: "USD", verifiedAt: CHECKED, source: CLAUDE_PRICING },
145
+ noteEn: "Standard seat, billed monthly (USD 20/seat annually). The premium seat is USD 125/month.",
146
+ notePt: "Assento padrão, cobrança mensal (USD 20/assento na anual). O assento premium é USD 125/mês."
147
+ },
148
+ {
149
+ id: "openai-go",
150
+ provider: "openai",
151
+ label: "ChatGPT Go",
152
+ mode: "subscription",
153
+ suggestedHarnesses: ["codex"],
154
+ monthly: { amount: 8, currency: "USD", verifiedAt: CHECKED, source: CHATGPT_PRICING },
155
+ noteEn: "US price. Go is priced regionally and differs in other countries.",
156
+ notePt: "Preço nos EUA. O Go tem preço regional e varia em outros países."
157
+ },
158
+ {
159
+ id: "openai-plus",
160
+ provider: "openai",
161
+ label: "ChatGPT Plus",
162
+ mode: "subscription",
163
+ suggestedHarnesses: ["codex"],
164
+ monthly: { amount: 20, currency: "USD", verifiedAt: CHECKED, source: CHATGPT_PRICING }
165
+ },
166
+ {
167
+ id: "openai-pro",
168
+ provider: "openai",
169
+ label: "ChatGPT Pro",
170
+ mode: "subscription",
171
+ suggestedHarnesses: ["codex"],
172
+ monthly: { amount: 200, currency: "USD", verifiedAt: CHECKED, source: CHATGPT_PRICING },
173
+ noteEn: "Pro has two tiers — a USD 100/month tier with lower allowances and this USD 200/month one.",
174
+ notePt: "O Pro tem dois níveis — um de USD 100/mês com limites menores e este de USD 200/mês."
175
+ },
176
+ {
177
+ id: "openai-business",
178
+ provider: "openai",
179
+ label: "ChatGPT Business",
180
+ mode: "subscription",
181
+ suggestedHarnesses: ["codex"],
182
+ noteEn: "Per-seat price is not published on a public page — enter the amount from your invoice.",
183
+ notePt: "O valor por assento não está numa página pública — digite o valor da sua fatura."
184
+ },
185
+ {
186
+ id: "copilot-pro",
187
+ provider: "github",
188
+ label: "GitHub Copilot Pro",
189
+ mode: "subscription",
190
+ suggestedHarnesses: ["copilot"],
191
+ monthly: { amount: 10, currency: "USD", verifiedAt: CHECKED, source: COPILOT_PRICING }
192
+ },
193
+ {
194
+ id: "copilot-pro-plus",
195
+ provider: "github",
196
+ label: "GitHub Copilot Pro+",
197
+ mode: "subscription",
198
+ suggestedHarnesses: ["copilot"],
199
+ monthly: { amount: 39, currency: "USD", verifiedAt: CHECKED, source: COPILOT_PRICING }
200
+ },
201
+ {
202
+ id: "copilot-max",
203
+ provider: "github",
204
+ label: "GitHub Copilot Max",
205
+ mode: "subscription",
206
+ suggestedHarnesses: ["copilot"],
207
+ monthly: { amount: 100, currency: "USD", verifiedAt: CHECKED, source: COPILOT_PRICING }
208
+ },
209
+ {
210
+ id: "copilot-business",
211
+ provider: "github",
212
+ label: "GitHub Copilot Business",
213
+ mode: "subscription",
214
+ suggestedHarnesses: ["copilot"],
215
+ noteEn: "The plans page does not state the organization price — enter the amount from your invoice.",
216
+ notePt: "A página de planos não informa o valor para organizações — digite o valor da sua fatura."
217
+ },
218
+ {
219
+ id: "copilot-enterprise",
220
+ provider: "github",
221
+ label: "GitHub Copilot Enterprise",
222
+ mode: "subscription",
223
+ suggestedHarnesses: ["copilot"],
224
+ noteEn: "The plans page does not state the organization price — enter the amount from your invoice.",
225
+ notePt: "A página de planos não informa o valor para organizações — digite o valor da sua fatura."
226
+ },
227
+ {
228
+ id: "google-ai-plus",
229
+ provider: "google",
230
+ label: "Google AI Plus",
231
+ mode: "subscription",
232
+ suggestedHarnesses: ["gemini", "antigravity"],
233
+ noteEn: "Google prices this per region — enter the amount your account is charged.",
234
+ notePt: "O Google cobra por região — digite o valor cobrado na sua conta."
235
+ },
236
+ {
237
+ id: "google-ai-pro",
238
+ provider: "google",
239
+ label: "Google AI Pro",
240
+ mode: "subscription",
241
+ suggestedHarnesses: ["gemini", "antigravity"],
242
+ noteEn: "Google prices this per region — enter the amount your account is charged.",
243
+ notePt: "O Google cobra por região — digite o valor cobrado na sua conta."
244
+ },
245
+ {
246
+ id: "google-ai-ultra",
247
+ provider: "google",
248
+ label: "Google AI Ultra",
249
+ mode: "subscription",
250
+ suggestedHarnesses: ["gemini", "antigravity"],
251
+ noteEn: "Google prices this per region — enter the amount your account is charged.",
252
+ notePt: "O Google cobra por região — digite o valor cobrado na sua conta."
253
+ },
254
+ {
255
+ id: "cursor-pro",
256
+ provider: "cursor",
257
+ label: "Cursor Pro",
258
+ mode: "subscription",
259
+ suggestedHarnesses: [],
260
+ noteEn: "Not verified against a vendor page — enter the amount from your invoice.",
261
+ notePt: "Não verificado numa página do fornecedor — digite o valor da sua fatura."
262
+ },
263
+ {
264
+ id: "windsurf-pro",
265
+ provider: "windsurf",
266
+ label: "Windsurf Pro",
267
+ mode: "subscription",
268
+ suggestedHarnesses: [],
269
+ noteEn: "Not verified against a vendor page — enter the amount from your invoice.",
270
+ notePt: "Não verificado numa página do fornecedor — digite o valor da sua fatura."
271
+ },
272
+ {
273
+ id: "kimi-plus",
274
+ provider: "moonshot",
275
+ label: "Kimi subscription",
276
+ mode: "subscription",
277
+ suggestedHarnesses: ["kimi"],
278
+ noteEn: "Not verified against a vendor page — enter the amount from your invoice.",
279
+ notePt: "Não verificado numa página do fornecedor — digite o valor da sua fatura."
280
+ },
281
+ {
282
+ id: "api-payg",
283
+ provider: "generic",
284
+ label: "API — pay as you go",
285
+ mode: "api",
286
+ suggestedHarnesses: [],
287
+ noteEn: "No monthly price: on these days the API estimate IS the bill, so cost is reported as-is.",
288
+ notePt: "Sem valor mensal: nesses dias a estimativa de API É a fatura, então o custo vai como está."
289
+ },
290
+ {
291
+ id: "other",
292
+ provider: "generic",
293
+ label: "Other plan",
294
+ mode: "subscription",
295
+ suggestedHarnesses: [],
296
+ noteEn: "Name it and enter what you pay per month.",
297
+ notePt: "Dê um nome e informe quanto você paga por mês."
298
+ }
299
+ ];
300
+ var BY_ID = new Map(PLAN_CATALOG.map((entry) => [entry.id, entry]));
103
301
  // agentistics-mcp.ts
104
302
  var API = process.env.AGENTISTICS_API ?? "http://localhost:47291";
105
303
  function calcCostUSD(input, output, cacheRead, cacheWrite, model) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentistics/mcp",
3
- "version": "1.7.8",
3
+ "version": "1.8.0",
4
4
  "description": "Agentistics MCP server — Claude Code analytics for Claude Desktop and Claude Code",
5
5
  "type": "module",
6
6
  "main": "./dist/agentistics-mcp.js",