@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.
- package/dist/_members/authoring/scene/validate.d.ts +7 -1
- package/dist/_members/errors/registry.d.ts +6 -0
- package/dist/authoring/scene.js +1 -1
- package/dist/authoring.js +3 -3
- package/dist/{chunk-EDDIDBI6.js → chunk-2RVANTUG.js} +1 -1
- package/dist/{chunk-QWXUYVHX.js → chunk-ABJBQCW2.js} +1 -0
- package/dist/{chunk-PNJ7DACK.js → chunk-F5B6OM73.js} +41 -34
- package/dist/{chunk-EVUXHHQY.js → chunk-JEJKLW2N.js} +1 -1
- package/dist/{chunk-NXEJASGI.js → chunk-JGXJEY77.js} +2 -2
- package/dist/{chunk-MMZMS3S4.js → chunk-JTVHOHT6.js} +1 -1
- package/dist/{chunk-B2SS3H6Y.js → chunk-PMBPLTKU.js} +1 -1
- package/dist/{chunk-K4VE64CR.js → chunk-QAALM5BW.js} +1 -1
- package/dist/{chunk-MNPKGS7X.js → chunk-QSQFZAZV.js} +1 -1
- package/dist/{chunk-JCQTSVZQ.js → chunk-USAXWI4T.js} +26 -2
- package/dist/{chunk-JNQKX4OI.js → chunk-XT3SK7HR.js} +2 -2
- package/dist/compose.js +1 -1
- package/dist/composition/projection.js +2 -2
- package/dist/composition-ops.js +3 -3
- package/dist/composition.js +2 -2
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +2 -2
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/server.js +3 -3
- package/dist/mcp.js +3 -3
- package/dist/render-harness/cardAssetAdmission.js +2 -2
- package/dist/render-harness.js +4 -4
- 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
|
-
|
|
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";
|
package/dist/authoring/scene.js
CHANGED
package/dist/authoring.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
hasSceneOp,
|
|
5
5
|
isSceneOp,
|
|
6
6
|
materializeSceneOpsCore
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
65
|
+
import "./chunk-ABJBQCW2.js";
|
|
66
66
|
import "./chunk-7PA7FGLD.js";
|
|
67
67
|
import {
|
|
68
68
|
collectSceneClipIssues,
|
|
@@ -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 },
|