ework-web 0.10.113 → 0.10.114

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/webhooks.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-web",
3
- "version": "0.10.113",
3
+ "version": "0.10.114",
4
4
  "type": "module",
5
5
  "description": "ework-web — standalone multi-project issue tracker. Local SQLite-backed, no external API dependency. Bun + TypeScript + SSR HTML.",
6
6
  "license": "MIT",
package/src/webhooks.ts CHANGED
@@ -307,6 +307,9 @@ interface PayloadComment {
307
307
  updated_at: string;
308
308
  user: PayloadUser;
309
309
  author_kind?: string;
310
+ /** Model that produced this comment (daemon writes it per-reply); mirrors
311
+ * surface it in the agent badge so upstream readers see which model ran. */
312
+ model?: string | null;
310
313
  /** Set when this comment was imported from an upstream tracker — receivers
311
314
  * must skip echoing it back (defense beyond the body marker). */
312
315
  upstream_comment_id?: number | null;
@@ -471,6 +474,7 @@ function buildComment(
471
474
  created_at: comment.created_at,
472
475
  updated_at: comment.updated_at,
473
476
  upstream_comment_id: comment.upstream_comment_id ?? null,
477
+ model: comment.model ?? null,
474
478
  user: buildUser(comment.author, origin),
475
479
  };
476
480
  }