@agentistics/mcp 2.10.0 → 2.11.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.
@@ -323,6 +323,54 @@ var PLAN_CATALOG = [
323
323
  }
324
324
  ];
325
325
  var BY_ID = new Map(PLAN_CATALOG.map((entry) => [entry.id, entry]));
326
+ // ../core/src/accessibility.ts
327
+ var DEFAULT_LENS_STYLE = {
328
+ shape: "rect",
329
+ width: 360,
330
+ height: 240,
331
+ zoom: 2.5,
332
+ borderWidth: 3,
333
+ cornerRadius: 12
334
+ };
335
+ var DEFAULT_ACCESSIBILITY_PREFS = {
336
+ enabled: false,
337
+ followLens: { ...DEFAULT_LENS_STYLE, shape: "circle", width: 260, height: 260 },
338
+ newLensDefaults: { ...DEFAULT_LENS_STYLE },
339
+ lensesByPage: {},
340
+ globalLenses: []
341
+ };
342
+ // ../core/src/harnessModels.ts
343
+ var HARNESS_MODELS = {
344
+ claude: [
345
+ { id: "fable", label: "Fable 5.1", verifiedAt: "2026-09-04", source: 'claude -p "/model fable" → Set model to `Fable 5.1` (Claude Code 2.1.261)' },
346
+ { id: "opus", label: "Opus 5", verifiedAt: "2026-09-04", source: 'claude -p "/model opus" → Set model to `Opus 5` (Claude Code 2.1.261)' },
347
+ { id: "sonnet", label: "Sonnet 5", verifiedAt: "2026-09-04", source: 'claude -p "/model sonnet" → Set model to `Sonnet 5` (Claude Code 2.1.261)' },
348
+ { id: "haiku", label: "Haiku 4.5", verifiedAt: "2026-09-04", source: 'claude -p "/model haiku" → Set model to `Haiku 4.5` (Claude Code 2.1.261)' }
349
+ ],
350
+ codex: [],
351
+ gemini: [],
352
+ copilot: [
353
+ { id: "auto", label: "Auto", verifiedAt: "2026-09-04", source: `copilot --help (1.0.82): "use 'auto' to let Copilot pick automatically"; the only id accepted when driven` }
354
+ ],
355
+ antigravity: [
356
+ { id: "gemini-3.8-flash-high", label: "Gemini 3.8 Flash (High)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
357
+ { id: "gemini-3.8-flash-medium", label: "Gemini 3.8 Flash (Medium)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
358
+ { id: "gemini-3.8-flash-low", label: "Gemini 3.8 Flash (Low)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
359
+ { id: "gemini-3.7-flash-high", label: "Gemini 3.7 Flash (High)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
360
+ { id: "gemini-3.7-flash-medium", label: "Gemini 3.7 Flash (Medium)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
361
+ { id: "gemini-3.7-flash-low", label: "Gemini 3.7 Flash (Low)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
362
+ { id: "gemini-3.6-flash-high", label: "Gemini 3.6 Flash (High)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
363
+ { id: "gemini-3.6-flash-medium", label: "Gemini 3.6 Flash (Medium)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
364
+ { id: "gemini-3.6-flash-low", label: "Gemini 3.6 Flash (Low)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
365
+ { id: "gemini-3.5-flash-high", label: "Gemini 3.5 Flash (High)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
366
+ { id: "gemini-3.5-flash-medium", label: "Gemini 3.5 Flash (Medium)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
367
+ { id: "gemini-3.5-flash-low", label: "Gemini 3.5 Flash (Low)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
368
+ { id: "gemini-3.1-pro-low", label: "Gemini 3.1 Pro (Low)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" },
369
+ { id: "gemini-3.1-pro-high", label: "Gemini 3.1 Pro (High)", verifiedAt: "2026-09-04", source: "agy models (agy 1.1.25)" }
370
+ ],
371
+ kimi: []
372
+ };
373
+ var SPAWN_SPECS_MODEL_IDS = Object.fromEntries(Object.entries(HARNESS_MODELS).map(([h, opts]) => [h, opts.map((o) => o.id)]));
326
374
  // session-tokens.ts
327
375
  function sessionHarness(s) {
328
376
  return s.harness ?? "claude";
@@ -817,7 +865,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
817
865
  const data = await apiGet("/api/data");
818
866
  if (!harness || harness === "all" || harness === "claude") {
819
867
  const usage = data.statsCache?.modelUsage ?? {};
820
- const breakdown2 = Object.entries(usage).map(([model, u]) => ({
868
+ const breakdown = Object.entries(usage).map(([model, u]) => ({
821
869
  model,
822
870
  inputTokens: u.inputTokens ?? 0,
823
871
  outputTokens: u.outputTokens ?? 0,
@@ -826,7 +874,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
826
874
  totalTokens: u.totalTokens ?? 0,
827
875
  estimatedCostUSD: u.costUSD ?? 0
828
876
  })).sort((a, b) => b.totalTokens - a.totalTokens);
829
- return { content: [{ type: "text", text: JSON.stringify(breakdown2, null, 2) }] };
877
+ return { content: [{ type: "text", text: JSON.stringify(breakdown, null, 2) }] };
830
878
  }
831
879
  const byModel = {};
832
880
  for (const s of filterSessions(data.sessions ?? [], harness)) {
@@ -1120,9 +1168,9 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
1120
1168
  }
1121
1169
  case "agentistics_team_status": {
1122
1170
  const prefs = await getPrefs();
1123
- const team2 = prefs.team;
1124
- const mode = team2?.mode ?? "solo";
1125
- const connections = (team2?.connections ?? []).map((c) => ({
1171
+ const team = prefs.team;
1172
+ const mode = team?.mode ?? "solo";
1173
+ const connections = (team?.connections ?? []).map((c) => ({
1126
1174
  id: c.id,
1127
1175
  label: c.label ?? null,
1128
1176
  endpoint: c.endpoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentistics/mcp",
3
- "version": "2.10.0",
3
+ "version": "2.11.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",