agents-relay 1.0.61 → 1.0.62

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 +1 -1
  2. package/package.json +1 -1
package/dist/markers.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const JOB_MARKER = 'agents-relay:job:v1';
2
2
  export const TASK_MARKER = 'agents-relay:task:v1';
3
3
  export const AGENT_MARKER = 'agents-relay:agent:v1';
4
- export function marker(label, value) { return `<!-- ${label} ${JSON.stringify(value)} -->`; }
4
+ export function marker(label, value) { return `<!-- ${label} ${JSON.stringify(value).replace(/>/g, '\\u003e')} -->`; }
5
5
  export function parseMarker(body, label) {
6
6
  const escaped = label.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
7
7
  const startMatch = body.match(new RegExp(`<!--\\s*${escaped}\\s+`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agents-relay",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "Durable async agent jobs coordinated through GitHub pull requests",
5
5
  "type": "module",
6
6
  "bin": {