frinus-mcp 3.4.1 → 3.5.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.
package/dist/index.js CHANGED
@@ -64,7 +64,7 @@ async function main() {
64
64
  }
65
65
  const server = new Server({
66
66
  name: "frinus",
67
- version: "3.1.0",
67
+ version: "3.5.0",
68
68
  }, {
69
69
  capabilities: {
70
70
  tools: {},
@@ -834,7 +834,9 @@ Memories created by the agent are NOT deleted.`,
834
834
  name: "agent_bootstrap",
835
835
  description: `Bootstrap completo do agente — chame no início da sessão para carregar identidade, system prompt e contexto runtime. O agente thin-client chama isto como regra única de boot.
836
836
 
837
- Retorna identity, system_prompt, runtime (working_memory, recent_memories, skills, delegate_targets) e persona_version em uma única chamada.`,
837
+ Retorna identity, system_prompt, runtime (working_memory, recent_memories, skills, delegate_digest) e persona_version em uma única chamada.
838
+
839
+ O roster de especialistas NÃO vem no bootstrap — apenas um resumo (quantos e em quais universos). Use \`agent_list\` no momento da delegação para obter nomes e IDs.`,
838
840
  inputSchema: {
839
841
  type: "object",
840
842
  properties: {
@@ -1229,13 +1229,14 @@ const handlers = {
1229
1229
  formatted += `- ${name}${s.permission ? ` (${s.permission})` : ""}\n`;
1230
1230
  });
1231
1231
  }
1232
- const delegateTargets = runtime.delegate_targets || [];
1233
- if (delegateTargets.length > 0) {
1234
- formatted += `\n### Delegate Targets (${delegateTargets.length})\n`;
1235
- delegateTargets.forEach((t) => {
1236
- const name = t.name || t.agent_name || t.id || t;
1237
- formatted += `- ${name}${t.specialization ? ` — ${t.specialization}` : ""}${t.id && t.name ? ` (${t.id})` : ""}\n`;
1238
- });
1232
+ // The roster itself is deliberately NOT inlined — it costs thousands of
1233
+ // tokens on a mid-size org and carries no agent IDs. Boot only needs to
1234
+ // know a team exists and how big it is; `agent_list` serves the rest.
1235
+ // The summary is composed server-side, already in the agent's own
1236
+ // language — do not build prose here.
1237
+ const delegateDigest = runtime.delegate_digest;
1238
+ if (delegateDigest && delegateDigest.count > 0 && delegateDigest.summary) {
1239
+ formatted += `\n### Delegate Targets\n${delegateDigest.summary}\n`;
1239
1240
  }
1240
1241
  return { content: [{ type: "text", text: formatted }] };
1241
1242
  }
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "frinus",
4
4
  "display_name": "Frinus — Memória Cognitiva",
5
- "version": "3.4.1",
5
+ "version": "3.5.0",
6
6
  "description": "Memória cognitiva de longo prazo para o Claude (φρήν + νοῦς). 80 ferramentas de memória, sessões, agentes e conhecimento.",
7
7
  "long_description": "O Frinus dá ao Claude memória de longo prazo, identidade e inteligência persistente entre conversas. Conecta o Claude Desktop à plataforma Frinus (Memory Engine, Control Plane e Agent Service) via MCP. Basta colar sua chave de API pessoal — nada para instalar ou compilar.",
8
8
  "author": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frinus-mcp",
3
- "version": "3.4.1",
3
+ "version": "3.5.0",
4
4
  "description": "Frinus - MCP Server for Cognitive Memory (φρήν + νοῦς). Long-term memory, sessions, agents and knowledge for Claude and any MCP client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",