@gethmy/agent 1.16.0 → 1.16.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/cli.js CHANGED
@@ -496,6 +496,7 @@ import {
496
496
  getApiUrl,
497
497
  getUserEmail
498
498
  } from "@gethmy/mcp/src/config.js";
499
+ import { refreshOAuthToken } from "@gethmy/mcp/src/oauth-refresh.js";
499
500
  function getRepoRoot() {
500
501
  return execSync("git rev-parse --show-toplevel", {
501
502
  encoding: "utf-8"
@@ -602,7 +603,11 @@ async function fetchRealtimeCredentials(client) {
602
603
  return result;
603
604
  }
604
605
  function createApiClient(config) {
605
- return new HarmonyApiClient({ apiKey: config.apiKey, apiUrl: config.apiUrl });
606
+ return new HarmonyApiClient({
607
+ apiKey: config.apiKey,
608
+ apiUrl: config.apiUrl,
609
+ refreshCredential: refreshOAuthToken
610
+ });
606
611
  }
607
612
  var init_config = __esm(() => {
608
613
  init_types();
@@ -1289,6 +1294,8 @@ function serializeCommentThread(comments, options = {}) {
1289
1294
  const tags = [];
1290
1295
  if (c.edited_at)
1291
1296
  tags.push("edited");
1297
+ if (c.reply_to_id)
1298
+ tags.push(`reply to ${ref(c.reply_to_id)}`);
1292
1299
  if (c.supersedes_id)
1293
1300
  tags.push(`supersedes ${ref(c.supersedes_id)}`);
1294
1301
  if (c.confirms_id)
package/dist/index.js CHANGED
@@ -495,6 +495,7 @@ import {
495
495
  getApiUrl,
496
496
  getUserEmail
497
497
  } from "@gethmy/mcp/src/config.js";
498
+ import { refreshOAuthToken } from "@gethmy/mcp/src/oauth-refresh.js";
498
499
  function getRepoRoot() {
499
500
  return execSync("git rev-parse --show-toplevel", {
500
501
  encoding: "utf-8"
@@ -601,7 +602,11 @@ async function fetchRealtimeCredentials(client) {
601
602
  return result;
602
603
  }
603
604
  function createApiClient(config) {
604
- return new HarmonyApiClient({ apiKey: config.apiKey, apiUrl: config.apiUrl });
605
+ return new HarmonyApiClient({
606
+ apiKey: config.apiKey,
607
+ apiUrl: config.apiUrl,
608
+ refreshCredential: refreshOAuthToken
609
+ });
605
610
  }
606
611
  var init_config = __esm(() => {
607
612
  init_types();
@@ -1288,6 +1293,8 @@ function serializeCommentThread(comments, options = {}) {
1288
1293
  const tags = [];
1289
1294
  if (c.edited_at)
1290
1295
  tags.push("edited");
1296
+ if (c.reply_to_id)
1297
+ tags.push(`reply to ${ref(c.reply_to_id)}`);
1291
1298
  if (c.supersedes_id)
1292
1299
  tags.push(`supersedes ${ref(c.supersedes_id)}`);
1293
1300
  if (c.confirms_id)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gethmy/agent",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "description": "Push-based agent daemon for Harmony — watches board assignments and spawns Claude CLI workers",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@anthropic-ai/claude-agent-sdk": "^0.3.178",
48
48
  "@supabase/supabase-js": "2.95.3",
49
- "@gethmy/mcp": "2.11.1"
49
+ "@gethmy/mcp": "^2.14.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@harmony/shared": "workspace:*",