@cueframe/kernel 0.2.24 → 0.2.26

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 (33) hide show
  1. package/dist/_members/authoring/scene/validate.d.ts +7 -1
  2. package/dist/_members/errors/registry.d.ts +6 -0
  3. package/dist/authoring/scene.js +1 -1
  4. package/dist/authoring.js +3 -3
  5. package/dist/{chunk-EDDIDBI6.js → chunk-2RVANTUG.js} +1 -1
  6. package/dist/{chunk-QWXUYVHX.js → chunk-ABJBQCW2.js} +1 -0
  7. package/dist/{chunk-PNJ7DACK.js → chunk-F5B6OM73.js} +41 -34
  8. package/dist/{chunk-EVUXHHQY.js → chunk-JEJKLW2N.js} +1 -1
  9. package/dist/{chunk-NXEJASGI.js → chunk-JGXJEY77.js} +2 -2
  10. package/dist/{chunk-MMZMS3S4.js → chunk-JTVHOHT6.js} +1 -1
  11. package/dist/{chunk-B2SS3H6Y.js → chunk-PMBPLTKU.js} +1 -1
  12. package/dist/{chunk-K4VE64CR.js → chunk-QAALM5BW.js} +1 -1
  13. package/dist/{chunk-MNPKGS7X.js → chunk-QSQFZAZV.js} +1 -1
  14. package/dist/{chunk-JCQTSVZQ.js → chunk-USAXWI4T.js} +26 -2
  15. package/dist/{chunk-JNQKX4OI.js → chunk-XT3SK7HR.js} +2 -2
  16. package/dist/compose.js +1 -1
  17. package/dist/composition/projection.js +2 -2
  18. package/dist/composition-ops.js +3 -3
  19. package/dist/composition.js +2 -2
  20. package/dist/core/render.js +3 -3
  21. package/dist/core/select.js +2 -2
  22. package/dist/core.js +3 -3
  23. package/dist/director/ai-sdk.js +3 -3
  24. package/dist/director/domain.js +2 -2
  25. package/dist/director.js +3 -3
  26. package/dist/errors.js +1 -1
  27. package/dist/mcp/adapter.js +2 -2
  28. package/dist/mcp/core.js +1 -1
  29. package/dist/mcp/server.js +3 -3
  30. package/dist/mcp.js +3 -3
  31. package/dist/render-harness/cardAssetAdmission.js +2 -2
  32. package/dist/render-harness.js +4 -4
  33. package/package.json +13 -13
@@ -15,7 +15,13 @@ export { SCENE_TRANSITION_KINDS, collectSceneClipIssues, isSceneShotClip, isScen
15
15
  export type { SceneClipIssue, SceneShotClip, SceneSourceDeclaration, SceneSourceResolver, } from '../../composition/scene/index.js';
16
16
  /** The authoring context is the clip rules' context; nothing extra is needed to validate a request. */
17
17
  export type SceneAuthoringContext = SceneClipRuleContext;
18
- export type SceneAuthoringErrorCode = SceneClipIssueCode;
18
+ /**
19
+ * `SceneClipIssueCode` covers what VALIDATION can say about a spec. The error
20
+ * class carries one more: `scene_materialization_failed`, raised when a spec
21
+ * validates and then cannot be compiled into a component. It is not an issue
22
+ * code because validation never produces it.
23
+ */
24
+ export type SceneAuthoringErrorCode = SceneClipIssueCode | 'scene_materialization_failed';
19
25
  /** One rejection: a path into the request (or clip) and an actionable message. */
20
26
  export declare class SceneAuthoringError extends Error {
21
27
  readonly code: SceneAuthoringErrorCode;
@@ -397,6 +397,12 @@ export declare const ERROR_CODES: {
397
397
  readonly retryable: false;
398
398
  readonly httpStatus: 422;
399
399
  };
400
+ readonly scene_materialization_failed: {
401
+ readonly stage: "validate";
402
+ readonly category: "authoring";
403
+ readonly retryable: false;
404
+ readonly httpStatus: 422;
405
+ };
400
406
  readonly component_deadline_exceeded: {
401
407
  readonly stage: "render";
402
408
  readonly category: "transient";
@@ -13,7 +13,7 @@ import {
13
13
  sceneTrackIdFor,
14
14
  validateSceneAdd,
15
15
  validateSceneUpdate
16
- } from "../chunk-JCQTSVZQ.js";
16
+ } from "../chunk-USAXWI4T.js";
17
17
  import {
18
18
  SCENE_TRANSITION_KINDS,
19
19
  collectSceneClipIssues,
package/dist/authoring.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  hasSceneOp,
5
5
  isSceneOp,
6
6
  materializeSceneOpsCore
7
- } from "./chunk-JCQTSVZQ.js";
7
+ } from "./chunk-USAXWI4T.js";
8
8
  import {
9
9
  ZERO_USAGE,
10
10
  buildDirectorTools,
@@ -48,7 +48,7 @@ import {
48
48
  formatPlanSteps,
49
49
  initCodeGenPrompts
50
50
  } from "./chunk-Y4HPN4BC.js";
51
- import "./chunk-MNPKGS7X.js";
51
+ import "./chunk-QSQFZAZV.js";
52
52
  import {
53
53
  cssLayoutVars
54
54
  } from "./chunk-W5W3FDDI.js";
@@ -62,7 +62,7 @@ import "./chunk-WPZKOVYF.js";
62
62
  import "./chunk-B7J5UUUV.js";
63
63
  import "./chunk-KYRDKK2D.js";
64
64
  import "./chunk-WREYUH2E.js";
65
- import "./chunk-QWXUYVHX.js";
65
+ import "./chunk-ABJBQCW2.js";
66
66
  import "./chunk-7PA7FGLD.js";
67
67
  import {
68
68
  collectSceneClipIssues,
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  decodeError,
11
11
  scrubSensitive
12
- } from "./chunk-QWXUYVHX.js";
12
+ } from "./chunk-ABJBQCW2.js";
13
13
 
14
14
  // ../director/src/domain/chat.ts
15
15
  import { z } from "zod";
@@ -65,6 +65,7 @@ var ERROR_CODES = {
65
65
  component_does_not_compile: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
66
66
  component_runtime_error: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
67
67
  component_source_unavailable: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
68
+ scene_materialization_failed: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
68
69
  component_deadline_exceeded: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
69
70
  component_resource_exhausted: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
70
71
  component_asset_undeclared: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },