argus-decision-mcp 1.4.1 → 1.4.2
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/tools/index.js +11 -0
- package/package.json +1 -1
package/dist/tools/index.js
CHANGED
|
@@ -24,6 +24,16 @@ export const PUBLIC_TOOLS = [decide, publicSeal, publicCheckIn, publicSettle, hi
|
|
|
24
24
|
/** The semantic vertical slice is deliberately opt-in until the P5 value gate. */
|
|
25
25
|
export const V3_PILOT_TOOLS = [semanticRecord];
|
|
26
26
|
export const TOOL_MAP = new Map([...TOOLS, ...PUBLIC_TOOLS].map((t) => [t.name, t]));
|
|
27
|
+
/** MCP 2025-11-25 tool icons. Clients that implement the optional icon field
|
|
28
|
+
* show the same closing-loop anchor used by the web app; older clients simply
|
|
29
|
+
* ignore the field. The image is deliberately attached only to resolve — the
|
|
30
|
+
* mark means a return to reality was completed, not generic Argus decoration. */
|
|
31
|
+
const PUBLIC_TOOL_ICONS = {
|
|
32
|
+
argus_resolve: [
|
|
33
|
+
{ src: 'https://argus.voyage/images/voyage/closing-anchor-icon-48.png', mimeType: 'image/png', sizes: ['48x48'] },
|
|
34
|
+
{ src: 'https://argus.voyage/images/voyage/closing-anchor-icon-96.png', mimeType: 'image/png', sizes: ['96x96'] },
|
|
35
|
+
],
|
|
36
|
+
};
|
|
27
37
|
/**
|
|
28
38
|
* The exact tool descriptors returned by tools/list — single source shared by
|
|
29
39
|
* the server and the host-surface guard test. inputSchema runs through
|
|
@@ -43,6 +53,7 @@ export function servedPublicTools() {
|
|
|
43
53
|
inputSchema: publicCopy(toolJsonSchema(t.inputSchema)),
|
|
44
54
|
...(t.outputSchema ? { outputSchema: t.outputSchema } : {}),
|
|
45
55
|
...(t.annotations ? { annotations: t.annotations } : {}),
|
|
56
|
+
...(PUBLIC_TOOL_ICONS[t.name] ? { icons: PUBLIC_TOOL_ICONS[t.name] } : {}),
|
|
46
57
|
};
|
|
47
58
|
});
|
|
48
59
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "argus-decision-mcp",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Argus decision-accountability MCP server — clarify a decision, save a falsifiable prediction, and record what reality did. The model never grades you.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|