@abelxiaoxing/cadence 1.0.9 → 1.0.10

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/runtime.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abelxiaoxing/cadence",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Prompts, skills, and a private orchestration extension exposing the Abel four-stage workflow (/abel-init, /abel-design, /abel-implement, /abel-diagnose) with package-owned professional Agents.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/runtime.ts CHANGED
@@ -1848,7 +1848,8 @@ export class Runtime {
1848
1848
  envelope.stage === "abel-design" &&
1849
1849
  !first.ok &&
1850
1850
  first.failure?.kind === "artifact" &&
1851
- first.failure.code === "invalid-structural-result";
1851
+ (first.failure.code === "invalid-structural-result" ||
1852
+ first.failure.code === "child-no-structural-submit");
1852
1853
  if (!retryInvalidDesignResult) return this.withUsage(context, first);
1853
1854
 
1854
1855
  const second = await this.dispatchChild(agent, envelope, ctx, signal);