@jclvsh/iris 0.18.0 → 0.19.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.
@@ -56,7 +56,10 @@ export function registerMessageTools(server, client) {
56
56
  }
57
57
  });
58
58
  server.tool("mark_message_sent", "mark a pending manual-channel draft (tiktok, or instagram cold first-touch) as sent outside the platform. API-sendable drafts must use approve_message instead. requires write scope.", {
59
- id: z.string().uuid().describe("approval queue item ID"),
59
+ id: z
60
+ .string()
61
+ .uuid()
62
+ .describe("approval queue item ID, or the message ID for drafts created via create_message (they have no approval item)"),
60
63
  }, async ({ id }) => {
61
64
  try {
62
65
  const result = await client.post(`/messages/${id}/mark-sent`);
@@ -13,4 +13,13 @@ export function registerUsageTools(server, client) {
13
13
  return formatMcpError(error);
14
14
  }
15
15
  });
16
+ server.tool("get_changelog", "machine-readable release history (public) - version, date, type, summary, migration notes on breaking entries. the X-Notice header's structured backstory.", {}, async () => {
17
+ try {
18
+ const result = await client.get("/changelog");
19
+ return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
20
+ }
21
+ catch (error) {
22
+ return formatMcpError(error);
23
+ }
24
+ });
16
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jclvsh/iris",
3
- "version": "0.18.0",
3
+ "version": "0.19.1",
4
4
  "description": "MCP server for the Iris API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",