@syntrologie/runtime-sdk 2.8.0-canary.71 → 2.8.0-canary.72

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.
@@ -20679,7 +20679,7 @@ Please report this to https://github.com/markedjs/marked.`, e2) {
20679
20679
  }
20680
20680
 
20681
20681
  // src/version.ts
20682
- var SDK_VERSION = "2.8.0-canary.71";
20682
+ var SDK_VERSION = "2.8.0-canary.72";
20683
20683
 
20684
20684
  // src/types.ts
20685
20685
  var SDK_SCHEMA_VERSION = "2.0";
@@ -38423,15 +38423,30 @@ ${cssRules}
38423
38423
  const handles = [];
38424
38424
  const appliedHandles = [];
38425
38425
  try {
38426
- for (const action of actions) {
38427
- const handle = await apply(action);
38428
- handles.push(handle);
38429
- appliedHandles.push(handle);
38426
+ const results = await Promise.allSettled(actions.map((action) => apply(action)));
38427
+ const errors = [];
38428
+ for (const result of results) {
38429
+ if (result.status === "fulfilled") {
38430
+ handles.push(result.value);
38431
+ appliedHandles.push(result.value);
38432
+ } else {
38433
+ errors.push(
38434
+ result.reason instanceof Error ? result.reason : new Error(String(result.reason))
38435
+ );
38436
+ }
38437
+ }
38438
+ if (errors.length > 0 && appliedHandles.length === 0) {
38439
+ throw errors[0];
38440
+ }
38441
+ if (errors.length > 0) {
38442
+ console.warn(
38443
+ `[ActionEngine] ${errors.length}/${actions.length} action(s) failed in batch:`,
38444
+ errors.map((e2) => e2.message).join("; ")
38445
+ );
38430
38446
  }
38431
38447
  } catch (error2) {
38432
38448
  console.error(
38433
- `[ActionEngine] Batch apply FAILED at action ${appliedHandles.length + 1}/${actions.length}.`,
38434
- `Successfully applied: ${appliedHandles.length}. Rolling back...`,
38449
+ `[ActionEngine] Batch apply FAILED. Successfully applied: ${appliedHandles.length}. Rolling back...`,
38435
38450
  error2
38436
38451
  );
38437
38452
  for (const handle of appliedHandles) {
@@ -42173,7 +42188,7 @@ ${cssRules}
42173
42188
  }
42174
42189
 
42175
42190
  // src/index.ts
42176
- var RUNTIME_SDK_BUILD = true ? `${"2026-04-14T05:46:14.257Z"} (${"dfc6ecd483b"})` : "dev";
42191
+ var RUNTIME_SDK_BUILD = true ? `${"2026-04-14T20:05:22.929Z"} (${"38cc99cc325"})` : "dev";
42177
42192
  if (typeof window !== "undefined") {
42178
42193
  console.log(`[Syntro Runtime] Build: ${RUNTIME_SDK_BUILD}`);
42179
42194
  const existing = window.SynOS;