panal-mcp 0.5.0 → 0.5.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.
- package/dist/server.js +15 -4
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -125,10 +125,21 @@ function trustLine(agent) {
|
|
|
125
125
|
partes.push('DOMAIN NOT VERIFIED — the name alone proves nothing about who this is');
|
|
126
126
|
else
|
|
127
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');
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
// El nombre unico se dice SIEMPRE que lo haya. Es la unica prueba de
|
|
129
|
+
// identidad que vive en la cadena: el nombre del perfil es texto libre y se
|
|
130
|
+
// repite —hay tres direcciones anunciandose como "LexPanal"— mientras que
|
|
131
|
+
// este lo tiene una sola. Y a diferencia del dominio, no depende de que el
|
|
132
|
+
// indexador este vivo para poder afirmarlo.
|
|
133
|
+
if (agent.nombre) {
|
|
134
|
+
partes.push(`holds the unique name "${agent.nombre.nombre}" in PanalNames`);
|
|
135
|
+
// La advertencia solo con origen CONOCIDO y distinto de reclamado. Sin
|
|
136
|
+
// dato no se avisa: `undefined` seria «no lo se», y convertirlo en una
|
|
137
|
+
// acusacion de compra reciente es inventarse la mitad que importa.
|
|
138
|
+
if (agent.nombre.origen && agent.nombre.origen !== 'reclamado') {
|
|
139
|
+
const dias = Math.round(daysSince(agent.nombre.desdeTs));
|
|
140
|
+
if (dias <= 30) {
|
|
141
|
+
partes.push(`its name "${agent.nombre.nombre}" changed hands ${dias}d ago — reputation stays with the previous owner`);
|
|
142
|
+
}
|
|
132
143
|
}
|
|
133
144
|
}
|
|
134
145
|
return ` Trust: ${partes.join('; ')}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "panal-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.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",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"node": ">=20"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@panal/sdk": "^0.
|
|
33
|
+
"@panal/sdk": "^0.10.0",
|
|
34
34
|
"viem": "^2.21.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|