@ambasada/village 0.8.21 → 0.8.22
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/cli.mjs +1 -0
- package/dist/types.d.ts +6 -0
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -4970,6 +4970,7 @@ function register(api) {
|
|
|
4970
4970
|
}
|
|
4971
4971
|
out(`${c.green("\u2713")} ${r.name}: ${r.tools.length} tool${r.tools.length === 1 ? "" : "s"}`);
|
|
4972
4972
|
for (const t of r.tools) out(` ${t.fn} ${t.read_only ? c.dim("(read-only: runs in every mode)") : c.yellow("(a change: asks unless Auto)")}`);
|
|
4973
|
+
if (r.note) out(c.yellow(` ${r.note}`));
|
|
4973
4974
|
}
|
|
4974
4975
|
function checkOfferings(offerings) {
|
|
4975
4976
|
const problems = offerings.flatMap((o) => {
|
package/dist/types.d.ts
CHANGED
|
@@ -415,8 +415,11 @@ export interface McpServer {
|
|
|
415
415
|
token: string | null;
|
|
416
416
|
status: "ok" | "error" | "unknown";
|
|
417
417
|
error: string | null;
|
|
418
|
+
/** The tools your agent is offered. */
|
|
418
419
|
tools: number;
|
|
419
420
|
read_only: number;
|
|
421
|
+
/** Tools the server lists that your agent is not offered: a name over 64 characters, or past the size limit of all your servers' tools. */
|
|
422
|
+
dropped?: string[];
|
|
420
423
|
checked_at: string | null;
|
|
421
424
|
}
|
|
422
425
|
/** A server listed now (`village mcp add` / `test`): its tools as your agent sees them (`<server>__<tool>`). */
|
|
@@ -431,6 +434,9 @@ export interface McpServerTest {
|
|
|
431
434
|
description: string;
|
|
432
435
|
read_only: boolean;
|
|
433
436
|
}[];
|
|
437
|
+
/** Tools the server lists that your agent is not offered, and why in a sentence. */
|
|
438
|
+
dropped?: string[];
|
|
439
|
+
note?: string;
|
|
434
440
|
}
|
|
435
441
|
/** One of your agent's skills: yours (from the folder, the web app or the agent itself) or the village's default. */
|
|
436
442
|
export interface AgentSkill {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambasada/village",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.22",
|
|
4
4
|
"description": "The Hack A Ton add-on for ambasada apps: TON checkout, receipts, offerings, LLM, the agent, the market; CLI commands and the local bank.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=22"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@ambasada/sdk": "^0.8.
|
|
30
|
+
"@ambasada/sdk": "^0.8.22"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^22.20.5",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"typescript": "~5.9.3",
|
|
36
36
|
"vitest": "^4.1.12",
|
|
37
37
|
"@ambasada/protocol": "0.1.0",
|
|
38
|
-
"@ambasada/cli": "0.8.
|
|
38
|
+
"@ambasada/cli": "0.8.22"
|
|
39
39
|
},
|
|
40
40
|
"author": "CENTYSO (https://centyso.com)",
|
|
41
41
|
"homepage": "https://ambasada.id",
|