@rig-c/review 1.2.0 → 1.2.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/package.json +1 -1
  2. package/src/rebuild.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rig-c/review",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Local human rig inspection and structured feedback export",
6
6
  "license": "MIT",
package/src/rebuild.ts CHANGED
@@ -79,8 +79,11 @@ export async function verifyHandoffReadiness(p: ReviewPackage, starts: readonly
79
79
  }
80
80
  const resolved = resolveProducer(starts);
81
81
  if (!resolved.ok) return resolved.error;
82
+ // A config with no contour mesh is a loadable handoff: only the mesh rebuild has nothing to target, and its panel
83
+ // says so (REBUILD_INPUTS_UNAVAILABLE). Refusing the open for it locked a review of a rig with no contour part out of
84
+ // the page entirely. A config that does not parse is still a load failure.
82
85
  try {
83
- if (!contourParts(inputs.configText).length) return 'REBUILD_INPUTS_UNAVAILABLE: the config states no contour mesh';
86
+ contourParts(inputs.configText);
84
87
  } catch (e) {
85
88
  return e instanceof Error ? e.message : String(e);
86
89
  }