@sjawhar/opencode-legion-envoy 1.41.0 → 1.42.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.
Files changed (2) hide show
  1. package/dist/src/server.js +11 -2
  2. package/package.json +1 -1
@@ -13659,13 +13659,20 @@ var CommentEventPayloadSchema = object({
13659
13659
  ask_state: _enum2(["open", "answered", "resolved"]).optional(),
13660
13660
  ask_waiting_on: _enum2(ASK_TURNS).optional(),
13661
13661
  turn: _enum2(ASK_TURNS).nullish(),
13662
- anchor: object({ block_id: string2().nullable().optional(), quote: string2().optional() }).nullish(),
13662
+ anchor: object({
13663
+ artifact_id: string2().optional(),
13664
+ block_id: string2().nullable().optional(),
13665
+ mark_id: string2().optional(),
13666
+ orphaned: boolean2().optional(),
13667
+ quote: string2().optional(),
13668
+ version: number2().int().optional()
13669
+ }).nullish(),
13663
13670
  suggestion: object({ replace_with: string2().optional() }).nullish(),
13664
13671
  author: object({ kind: string2(), id: string2() }).optional(),
13665
13672
  created_at: string2().optional(),
13666
13673
  mentions: array(CommentMentionSchema).optional(),
13667
13674
  deliveries: array(CommentDeliverySchema).optional()
13668
- });
13675
+ }).passthrough();
13669
13676
  var MessageEventPayloadSchema = object({
13670
13677
  id: string2().optional(),
13671
13678
  body: string2().optional(),
@@ -16012,12 +16019,14 @@ function logSummary(issue, events) {
16012
16019
  function eventHead(event) {
16013
16020
  switch (event.type) {
16014
16021
  case "ask.opened":
16022
+ case "ask.anchor_refreshed":
16015
16023
  case "ask.edited":
16016
16024
  case "ask.resolved":
16017
16025
  return textHead(event.payload.question);
16018
16026
  case "ask.answered":
16019
16027
  return `${textHead(event.payload.question)} -> ${textHead(askAnswerText(event.payload.answer))}`;
16020
16028
  case "comment.created":
16029
+ case "comment.anchor_refreshed":
16021
16030
  case "comment.edited":
16022
16031
  case "comment.resolved":
16023
16032
  case "comment.reopened":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/opencode-legion-envoy",
3
- "version": "1.41.0",
3
+ "version": "1.42.1",
4
4
  "type": "module",
5
5
  "main": "dist/src/server.js",
6
6
  "exports": {