@gethmy/mcp 2.9.8 → 2.9.9

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.js CHANGED
@@ -1928,6 +1928,9 @@ class HarmonyApiClient {
1928
1928
  async getActivityLog(cardId, sessionId) {
1929
1929
  return this.request("GET", `/cards/${cardId}/agent-activity-log?sessionId=${sessionId}`);
1930
1930
  }
1931
+ async getPendingUserMessages(cardId, sessionId, sinceSeq) {
1932
+ return this.request("GET", `/cards/${cardId}/agent-messages?sessionId=${sessionId}&sinceSeq=${sinceSeq}`);
1933
+ }
1931
1934
  async getAgentSession(cardId, options) {
1932
1935
  const params = new URLSearchParams;
1933
1936
  if (options?.includeEnded)
package/dist/index.js CHANGED
@@ -1923,6 +1923,9 @@ class HarmonyApiClient {
1923
1923
  async getActivityLog(cardId, sessionId) {
1924
1924
  return this.request("GET", `/cards/${cardId}/agent-activity-log?sessionId=${sessionId}`);
1925
1925
  }
1926
+ async getPendingUserMessages(cardId, sessionId, sinceSeq) {
1927
+ return this.request("GET", `/cards/${cardId}/agent-messages?sessionId=${sessionId}&sinceSeq=${sinceSeq}`);
1928
+ }
1926
1929
  async getAgentSession(cardId, options) {
1927
1930
  const params = new URLSearchParams;
1928
1931
  if (options?.includeEnded)
@@ -1376,6 +1376,9 @@ class HarmonyApiClient {
1376
1376
  async getActivityLog(cardId, sessionId) {
1377
1377
  return this.request("GET", `/cards/${cardId}/agent-activity-log?sessionId=${sessionId}`);
1378
1378
  }
1379
+ async getPendingUserMessages(cardId, sessionId, sinceSeq) {
1380
+ return this.request("GET", `/cards/${cardId}/agent-messages?sessionId=${sessionId}&sinceSeq=${sinceSeq}`);
1381
+ }
1379
1382
  async getAgentSession(cardId, options) {
1380
1383
  const params = new URLSearchParams;
1381
1384
  if (options?.includeEnded)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethmy/mcp",
3
- "version": "2.9.8",
3
+ "version": "2.9.9",
4
4
  "description": "MCP server for Harmony Kanban board - enables AI coding agents to manage your boards",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/src/api-client.ts CHANGED
@@ -933,6 +933,31 @@ export class HarmonyApiClient {
933
933
  );
934
934
  }
935
935
 
936
+ /**
937
+ * Drain queued chat-steering messages for a run (card #417). Returns `user_message`
938
+ * events with `seq` greater than `sinceSeq`, oldest first, so the daemon can continue
939
+ * the run via `claude --resume` at a turn boundary.
940
+ */
941
+ async getPendingUserMessages(
942
+ cardId: string,
943
+ sessionId: string,
944
+ sinceSeq: number,
945
+ ): Promise<{
946
+ messages: {
947
+ id: string;
948
+ seq: number;
949
+ text: string;
950
+ authorName?: string;
951
+ authorUserId?: string;
952
+ createdAt: string;
953
+ }[];
954
+ }> {
955
+ return this.request(
956
+ "GET",
957
+ `/cards/${cardId}/agent-messages?sessionId=${sessionId}&sinceSeq=${sinceSeq}`,
958
+ );
959
+ }
960
+
936
961
  async getAgentSession(
937
962
  cardId: string,
938
963
  options?: { includeEnded?: boolean },