@fro.bot/systematic 3.6.1 → 3.6.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -10734,6 +10734,7 @@ function createWorkflowGuard(options) {
10734
10734
  var MARKER_OPEN = "<SYSTEMATIC_WORKFLOW_GUARD>";
10735
10735
  var MARKER_CLOSE = "</SYSTEMATIC_WORKFLOW_GUARD>";
10736
10736
  var MARKER_PROTOCOL_VERSION = 2;
10737
+ var LEGACY_MARKER_PROTOCOL_VERSION = 1;
10737
10738
  var MAX_MARKER_LENGTH = 4096;
10738
10739
  var MAX_MARKER_SOURCES = 8;
10739
10740
  var MAX_CALL_ID_LENGTH = 256;
@@ -11384,8 +11385,9 @@ function parseMarkerBody(body2) {
11384
11385
  return;
11385
11386
  try {
11386
11387
  const parsed = JSON.parse(body2);
11387
- if (parsed.protocolVersion !== MARKER_PROTOCOL_VERSION)
11388
+ if (parsed.protocolVersion !== MARKER_PROTOCOL_VERSION && parsed.protocolVersion !== LEGACY_MARKER_PROTOCOL_VERSION) {
11388
11389
  return;
11390
+ }
11389
11391
  if (!Array.isArray(parsed.sources) || parsed.sources.length > MAX_MARKER_SOURCES) {
11390
11392
  return;
11391
11393
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fro.bot/systematic",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "description": "Compound-engineering loops for OpenCode, Pi, and Claude Code",
5
5
  "type": "module",
6
6
  "homepage": "https://fro.bot/systematic",