@sjawhar/pi-legion-envoy 0.36.1 → 0.36.2

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/envoy.js CHANGED
@@ -31892,10 +31892,7 @@ async function executeDispatchTool(input) {
31892
31892
  text: marks.length === 0 ? document.markdown : `${document.markdown}
31893
31893
 
31894
31894
  Open anchored asks/comments: ${marks.join(", ")}`,
31895
- details: {
31896
- issue: resolved.issue.key,
31897
- topic: dispatchIssueSubject(resolved.issue.key, ">")
31898
- }
31895
+ details: { issue: resolved.issue.key }
31899
31896
  };
31900
31897
  }
31901
31898
  case "dispatch_artifact": {
@@ -31928,38 +31925,32 @@ Open anchored asks/comments: ${marks.join(", ")}`,
31928
31925
  const askRead = await client.getAsk(issueArguments.ref.id);
31929
31926
  return {
31930
31927
  text: askSummary(askRead),
31931
- details: {
31932
- issue: askRead.ask.issue_key,
31933
- topic: dispatchIssueSubject(askRead.ask.issue_key, ">")
31934
- }
31928
+ details: { issue: askRead.ask.issue_key }
31935
31929
  };
31936
31930
  }
31937
31931
  if (issueArguments.ref?.kind === "comment") {
31938
31932
  const comment = await client.getComment(issueArguments.ref.id);
31939
31933
  return {
31940
31934
  text: commentSummary(comment),
31941
- details: {
31942
- issue: comment.comment.issue_key,
31943
- topic: dispatchIssueSubject(comment.comment.issue_key, ">")
31944
- }
31935
+ details: { issue: comment.comment.issue_key }
31945
31936
  };
31946
31937
  }
31947
31938
  const read = await client.read(issue());
31948
31939
  if (issueArguments.ref?.kind === "log") {
31949
31940
  return {
31950
31941
  text: logSummary(read.issue, read.events),
31951
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
31942
+ details: { issue: read.issue.key }
31952
31943
  };
31953
31944
  }
31954
31945
  if (issueArguments.ref?.kind === "children") {
31955
31946
  return {
31956
31947
  text: childrenSummary(read.issue),
31957
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
31948
+ details: { issue: read.issue.key }
31958
31949
  };
31959
31950
  }
31960
31951
  return {
31961
31952
  text: issueSummary(read.issue, read.events),
31962
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
31953
+ details: { issue: read.issue.key }
31963
31954
  };
31964
31955
  }
31965
31956
  default:
package/dist/legion.js CHANGED
@@ -32331,10 +32331,7 @@ async function executeDispatchTool(input) {
32331
32331
  text: marks.length === 0 ? document.markdown : `${document.markdown}
32332
32332
 
32333
32333
  Open anchored asks/comments: ${marks.join(", ")}`,
32334
- details: {
32335
- issue: resolved.issue.key,
32336
- topic: dispatchIssueSubject(resolved.issue.key, ">")
32337
- }
32334
+ details: { issue: resolved.issue.key }
32338
32335
  };
32339
32336
  }
32340
32337
  case "dispatch_artifact": {
@@ -32367,38 +32364,32 @@ Open anchored asks/comments: ${marks.join(", ")}`,
32367
32364
  const askRead = await client.getAsk(issueArguments.ref.id);
32368
32365
  return {
32369
32366
  text: askSummary(askRead),
32370
- details: {
32371
- issue: askRead.ask.issue_key,
32372
- topic: dispatchIssueSubject(askRead.ask.issue_key, ">")
32373
- }
32367
+ details: { issue: askRead.ask.issue_key }
32374
32368
  };
32375
32369
  }
32376
32370
  if (issueArguments.ref?.kind === "comment") {
32377
32371
  const comment = await client.getComment(issueArguments.ref.id);
32378
32372
  return {
32379
32373
  text: commentSummary(comment),
32380
- details: {
32381
- issue: comment.comment.issue_key,
32382
- topic: dispatchIssueSubject(comment.comment.issue_key, ">")
32383
- }
32374
+ details: { issue: comment.comment.issue_key }
32384
32375
  };
32385
32376
  }
32386
32377
  const read = await client.read(issue());
32387
32378
  if (issueArguments.ref?.kind === "log") {
32388
32379
  return {
32389
32380
  text: logSummary(read.issue, read.events),
32390
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
32381
+ details: { issue: read.issue.key }
32391
32382
  };
32392
32383
  }
32393
32384
  if (issueArguments.ref?.kind === "children") {
32394
32385
  return {
32395
32386
  text: childrenSummary(read.issue),
32396
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
32387
+ details: { issue: read.issue.key }
32397
32388
  };
32398
32389
  }
32399
32390
  return {
32400
32391
  text: issueSummary(read.issue, read.events),
32401
- details: { issue: read.issue.key, topic: dispatchIssueSubject(read.issue.key, ">") }
32392
+ details: { issue: read.issue.key }
32402
32393
  };
32403
32394
  }
32404
32395
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjawhar/pi-legion-envoy",
3
- "version": "0.36.1",
3
+ "version": "0.36.2",
4
4
  "type": "module",
5
5
  "omp": {
6
6
  "extensions": [