agents-relay 1.0.60 → 1.0.61

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/markers.js +6 -2
  2. package/package.json +1 -1
package/dist/markers.js CHANGED
@@ -33,7 +33,11 @@ export function renderJobComment(job) {
33
33
  ${objective}`;
34
34
  }
35
35
  export function renderTaskComment(task) {
36
- const body = task.result?.summary ?? task.input;
36
+ const result = task.result?.summary?.trim() ? `
37
+
38
+ ### Result
39
+
40
+ ${task.result.summary.trim()}` : '';
37
41
  return `${marker(TASK_MARKER, task)}
38
42
  ## Task: ${task.id}
39
43
 
@@ -42,7 +46,7 @@ export function renderTaskComment(task) {
42
46
 
43
47
  ### Work
44
48
 
45
- ${body}`;
49
+ ${task.input}${result}`;
46
50
  }
47
51
  export function parseJob(body) {
48
52
  const job = parseMarker(body, JOB_MARKER);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-relay",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "description": "Durable async agent jobs coordinated through GitHub pull requests",
5
5
  "type": "module",
6
6
  "bin": {