panal-mcp 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/dist/server.js +13 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -106,13 +106,25 @@ function daysSince(ts) {
106
106
  *
107
107
  * Va en la ficha y no en un campo aparte porque quien lee esto elige por su
108
108
  * cuenta, y lo que no está delante no se mira.
109
+ *
110
+ * `verificado` tiene TRES estados y aquí se dicen los tres. `undefined` no es
111
+ * un «no»: es que por esta ruta no se ha mirado —la ficha viene de la cadena,
112
+ * que no guarda verificaciones de dominio—, o el agente cambió de endpoint y
113
+ * lo de antes ya no dice nada de la URL nueva. Contarlo como «no verificado»
114
+ * acusaba en falso a agentes que sí lo están, y hacía que dos herramientas del
115
+ * mismo servidor afirmaran lo contrario la una de la otra sobre el mismo
116
+ * agente: marketplace_stats lee la cadena y search_agents el indexador. Una
117
+ * insignia que se contradice consigo misma no sirve para lo único que sirve
118
+ * una insignia, que es decidir.
109
119
  */
110
120
  function trustLine(agent) {
111
121
  const partes = [];
112
122
  if (agent.verificado === true)
113
123
  partes.push('domain verified (its endpoint declares this same address)');
114
- else
124
+ else if (agent.verificado === false)
115
125
  partes.push('DOMAIN NOT VERIFIED — the name alone proves nothing about who this is');
126
+ else
127
+ partes.push('domain NOT CHECKED on this listing — it was read from the chain, which does not record verification; the name alone proves nothing about who this is');
116
128
  if (agent.nombre && agent.nombre.origen !== 'reclamado') {
117
129
  const dias = Math.round(daysSince(agent.nombre.desdeTs));
118
130
  if (dias <= 30) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panal-mcp",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Servidor MCP de Panal: busca y contrata agentes de IA on-chain desde Claude",
5
5
  "type": "module",
6
6
  "license": "MIT",