halfcode-compiler.xnl 0.2.0 → 0.2.2
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/README.md +39 -0
- package/dist/application-assembly.d.ts +2 -2
- package/dist/application-assembly.js +1 -1
- package/dist/index-96qHPZj2.d.ts +126 -0
- package/dist/{index-FdimP_SL.d.ts → index-Cqh9pEBa.d.ts} +10 -1
- package/dist/{index-DKwcVwK6.d.ts → index-D2mpux6L.d.ts} +1 -1
- package/dist/index-DdRHFKSQ.d.ts +192 -0
- package/dist/index.d.ts +8 -3
- package/dist/index.js +12 -3
- package/dist/kind-definition.d.ts +1 -1
- package/dist/resource-core-Byhqyadq.d.ts +20 -0
- package/dist/resource-core.d.ts +3 -2
- package/dist/resource-core.js +432 -2
- package/dist/resource-mapping.d.ts +14 -1
- package/dist/resource-mapping.js +2 -2
- package/dist/resource-projection.d.ts +1 -1
- package/dist/skill-capsule.d.ts +3 -2
- package/dist/skill-capsule.js +2 -2
- package/dist/src-25wZPUyX.js +305 -0
- package/dist/src-D1Bmq7Lo.js +1205 -0
- package/dist/src-DCRih45n.js +947 -0
- package/dist/{src-DJr-I4Kc.js → src-DRIws6tY.js} +43 -3
- package/dist/system-skills/sys-halfcode-resource-dsl.plan.js +267 -0
- package/package.json +2 -2
- package/dist/index-DqYap2u_.d.ts +0 -81
- package/dist/index-wU-iKJnW.d.ts +0 -38
- package/dist/src-B36aAZZE.js +0 -561
- package/dist/src-BlKlpg0J.js +0 -180
- package/dist/src-xibObw5e.js +0 -494
package/README.md
CHANGED
|
@@ -16,4 +16,43 @@ import {
|
|
|
16
16
|
} from "halfcode-compiler.xnl"
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Multi-capsule distribution is an additive plan/apply surface. Planning resolves exact sibling dependencies, captures every output as canonical immutable `contentBase64`, preflights the complete closure, and does not mutate the target. `PlannedSkillFile.content` remains a compatibility byte view, but every read returns a defensive copy; projection, validation, and apply use the canonical string authority. Applying rejects empty or disconnected closures before any live mutation and consumes only that plan plus a caller-selected output root:
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import {
|
|
23
|
+
applySkillCapsuleDistributionPlan,
|
|
24
|
+
planSkillCapsuleDistribution,
|
|
25
|
+
type SkillCapsuleDependency,
|
|
26
|
+
type SkillCapsuleDistributionPlan,
|
|
27
|
+
} from "halfcode-compiler.xnl"
|
|
28
|
+
|
|
29
|
+
const plan: SkillCapsuleDistributionPlan = await planSkillCapsuleDistribution({
|
|
30
|
+
assembly,
|
|
31
|
+
rootSkillFqns: ["example.resource_lifecycle.skill.devops"],
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
await applySkillCapsuleDistributionPlan(plan, { outputRoot })
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Each capsule identity includes the XNL `apiVersion` and `version`. The planner generates exactly one `references/.halfcode/provenance.json` per capsule with the source identity, `halfcode.skill-distribution/v1` generator and every payload file digest. The applier reconstructs and validates this manifest before any target mutation.
|
|
38
|
+
|
|
39
|
+
The legacy `compileSkillCapsule` and `compileResourceSkillCapsule` APIs remain available from both the package root and `halfcode-compiler.xnl/skill-capsule`. The subpath also exports the new plan/apply APIs and `SkillCapsuleDependency` type.
|
|
40
|
+
|
|
19
41
|
Lower-level APIs are available through explicit subpaths such as `halfcode-compiler.xnl/resource-core` and `halfcode-compiler.xnl/authoring-runtime`.
|
|
42
|
+
|
|
43
|
+
The resource-core subpath preserves the single-package loader and adds deterministic, read-only composition APIs:
|
|
44
|
+
|
|
45
|
+
```ts
|
|
46
|
+
import {
|
|
47
|
+
loadResourceTree,
|
|
48
|
+
composeLayeredResourceRegistry,
|
|
49
|
+
resolveEffectiveResourceContentIdentities,
|
|
50
|
+
buildResourceDependencySnapshot,
|
|
51
|
+
} from "halfcode-compiler.xnl/resource-core"
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`loadResourceTree()` returns an additive `LoadedResourceTree` whose content identities come from the same raw-byte read used for fatal UTF-8 decoding and XNL parsing. `resolveEffectiveResourceContentIdentities()` accepts only the canonical registry and exact loaded layers, selects each effective authority identity, and merges only explicit Kind-owned digest contributions.
|
|
55
|
+
|
|
56
|
+
Layer order, tombstones, dependency edges, and digest contributions are explicit caller-owned facts. Resource core does not assign semantics to layer names, infer dependencies from arbitrary strings, or own host installation paths. Structural `ResourceTree` values remain valid for generic layer composition; the new identity projector requires authentic loaded trees.
|
|
57
|
+
|
|
58
|
+
`EffectiveResourceRegistry.compositionRevision` binds ordered identity/presence/layer/shadow/tombstone, selected KindDefinition authority identity/contract, and canonical logical-origin facts, but deliberately excludes descriptor/node/metadata bytes; its `revision` field remains an exact compatibility alias. Snapshot construction accepts only the immutable registry returned by the canonical composer, copies/freeze its own origin facts, and rejects inconsistent structural projections. `ResourceDependencySnapshot.registryRevision` additionally binds the revalidated content digests of every effective resource, while `snapshotRevision` binds the selected roots, reachable closure, and participating typed edges. Duplicate contribution keys fail closed, and all canonical ordering uses fixed UTF-16 code-unit order rather than locale-dependent sorting.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ObjectTargets, B as
|
|
2
|
-
export { type ApplicationAssembly, type ApplicationScope, type AssemblyPort, type AssemblyPortBinding, type AssemblyResource, type AuthoringModuleDescriptor, type BusinessObjectResource, type BusinessObjectSopResource, type CodeBinding, type ContractedCallableResource, type ExecuteObjectOperationRequest, type JsonObject, type JsonPrimitive, type JsonValue, type LoadApplicationAssemblyOptions, type ObjectInvocation, type ObjectInvocationMode, type ObjectOperationBehavior, type ObjectOperationCall, type ObjectOperationCatalog, type ObjectOperationConfig, ObjectOperationContractError, type ObjectOperationDefinition, type ObjectOperationEffect, type ObjectOperationHandler, type ObjectOperationOwnerKind, type ObjectOperationTargetDeclaration, type ObjectTargetKindDefinition, type ObjectTargetRef, type ObjectTargets, type PageObjectResource, type ResolveApplicationAssemblyOptions, type ResolvedAssemblyPortBinding, type ResourceInclude, type ResourceSource, type SkillCapsuleResource, type TextMaterial, type TextResource, applicationAssemblyPackage, assertExecuteObjectOperationRequest, assertObjectOperationCall, assertObjectOperationCatalog, assertObjectOperationDefinition, loadApplicationAssembly, resolveApplicationAssembly, resourceRefToFqn };
|
|
1
|
+
import { A as ObjectTargets, B as applicationAssemblyPackage, C as ObjectOperationDefinition, D as ObjectOperationTargetDeclaration, E as ObjectOperationOwnerKind, F as ResourceSource, G as loadApplicationAssembly, H as assertObjectOperationCall, I as SkillCapsuleDependency, K as resolveApplicationAssembly, L as SkillCapsuleResource, M as ResolveApplicationAssemblyOptions, N as ResolvedAssemblyPortBinding, O as ObjectTargetKindDefinition, P as ResourceInclude, R as TextMaterial, S as ObjectOperationContractError, T as ObjectOperationHandler, U as assertObjectOperationCatalog, V as assertExecuteObjectOperationRequest, W as assertObjectOperationDefinition, _ as ObjectInvocationMode, a as AssemblyResource, b as ObjectOperationCatalog, c as BusinessObjectSopResource, d as ExecuteObjectOperationRequest, f as JsonObject, g as ObjectInvocation, h as LoadApplicationAssemblyOptions, i as AssemblyPortBinding, j as PageObjectResource, k as ObjectTargetRef, l as CodeBinding, m as JsonValue, n as ApplicationScope, o as AuthoringModuleDescriptor, p as JsonPrimitive, q as resourceRefToFqn, r as AssemblyPort, s as BusinessObjectResource, t as ApplicationAssembly, u as ContractedCallableResource, v as ObjectOperationBehavior, w as ObjectOperationEffect, x as ObjectOperationConfig, y as ObjectOperationCall, z as TextResource } from "./index-Cqh9pEBa.js";
|
|
2
|
+
export { type ApplicationAssembly, type ApplicationScope, type AssemblyPort, type AssemblyPortBinding, type AssemblyResource, type AuthoringModuleDescriptor, type BusinessObjectResource, type BusinessObjectSopResource, type CodeBinding, type ContractedCallableResource, type ExecuteObjectOperationRequest, type JsonObject, type JsonPrimitive, type JsonValue, type LoadApplicationAssemblyOptions, type ObjectInvocation, type ObjectInvocationMode, type ObjectOperationBehavior, type ObjectOperationCall, type ObjectOperationCatalog, type ObjectOperationConfig, ObjectOperationContractError, type ObjectOperationDefinition, type ObjectOperationEffect, type ObjectOperationHandler, type ObjectOperationOwnerKind, type ObjectOperationTargetDeclaration, type ObjectTargetKindDefinition, type ObjectTargetRef, type ObjectTargets, type PageObjectResource, type ResolveApplicationAssemblyOptions, type ResolvedAssemblyPortBinding, type ResourceInclude, type ResourceSource, type SkillCapsuleDependency, type SkillCapsuleResource, type TextMaterial, type TextResource, applicationAssemblyPackage, assertExecuteObjectOperationRequest, assertObjectOperationCall, assertObjectOperationCatalog, assertObjectOperationDefinition, loadApplicationAssembly, resolveApplicationAssembly, resourceRefToFqn };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as assertObjectOperationCatalog, c as resolveApplicationAssembly, i as assertObjectOperationCall, l as resourceRefToFqn, n as applicationAssemblyPackage, o as assertObjectOperationDefinition, r as assertExecuteObjectOperationRequest, s as loadApplicationAssembly, t as ObjectOperationContractError } from "./src-
|
|
1
|
+
import { a as assertObjectOperationCatalog, c as resolveApplicationAssembly, i as assertObjectOperationCall, l as resourceRefToFqn, n as applicationAssemblyPackage, o as assertObjectOperationDefinition, r as assertExecuteObjectOperationRequest, s as loadApplicationAssembly, t as ObjectOperationContractError } from "./src-DRIws6tY.js";
|
|
2
2
|
export { ObjectOperationContractError, applicationAssemblyPackage, assertExecuteObjectOperationRequest, assertObjectOperationCall, assertObjectOperationCatalog, assertObjectOperationDefinition, loadApplicationAssembly, resolveApplicationAssembly, resourceRefToFqn };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { t as ApplicationAssembly } from "./index-Cqh9pEBa.js";
|
|
2
|
+
import { t as ResourceRegistry } from "./index-D2mpux6L.js";
|
|
3
|
+
//#region ../compiler-skill/src/index.d.ts
|
|
4
|
+
interface SkillDescriptor {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
instructions?: string;
|
|
8
|
+
}
|
|
9
|
+
interface SkillReference {
|
|
10
|
+
path: string;
|
|
11
|
+
content: string;
|
|
12
|
+
}
|
|
13
|
+
interface CompileSkillCapsuleInput {
|
|
14
|
+
skill: SkillDescriptor;
|
|
15
|
+
registry?: ResourceRegistry;
|
|
16
|
+
references?: readonly SkillReference[];
|
|
17
|
+
outputDir: string;
|
|
18
|
+
}
|
|
19
|
+
interface SkillCapsulePlan {
|
|
20
|
+
skillName: string;
|
|
21
|
+
outputRoot: string;
|
|
22
|
+
files: readonly string[];
|
|
23
|
+
}
|
|
24
|
+
interface CompileResourceSkillCapsuleInput {
|
|
25
|
+
assembly: ApplicationAssembly;
|
|
26
|
+
skillFqn: string;
|
|
27
|
+
outputDir: string;
|
|
28
|
+
schemas?: ReadonlyMap<string, unknown> | Record<string, unknown>;
|
|
29
|
+
}
|
|
30
|
+
interface SkillCapsuleIdentity {
|
|
31
|
+
readonly fqn: string;
|
|
32
|
+
readonly name: string;
|
|
33
|
+
readonly apiVersion: string;
|
|
34
|
+
readonly version: string;
|
|
35
|
+
}
|
|
36
|
+
type SkillCapsuleContentDigest = `sha256:${string}`;
|
|
37
|
+
interface SkillCapsuleProvenanceManifest {
|
|
38
|
+
readonly format: "halfcode.skill-provenance/v1";
|
|
39
|
+
readonly generatedBy: "halfcode.skill-distribution/v1";
|
|
40
|
+
readonly source: {
|
|
41
|
+
readonly fqn: string;
|
|
42
|
+
readonly apiVersion: string;
|
|
43
|
+
readonly version: string;
|
|
44
|
+
};
|
|
45
|
+
readonly payloadFiles: readonly {
|
|
46
|
+
readonly path: string;
|
|
47
|
+
readonly contentDigest: SkillCapsuleContentDigest;
|
|
48
|
+
}[];
|
|
49
|
+
}
|
|
50
|
+
interface PlannedSkillFile {
|
|
51
|
+
readonly skillFqn: string;
|
|
52
|
+
readonly skillApiVersion: string;
|
|
53
|
+
readonly skillVersion: string;
|
|
54
|
+
readonly capsuleRelativePath: string;
|
|
55
|
+
readonly targetRelativePath: string;
|
|
56
|
+
/** Canonical, serializable content authority. */
|
|
57
|
+
readonly contentBase64: string;
|
|
58
|
+
/** Compatibility byte snapshot. Every read returns a defensive copy. */
|
|
59
|
+
readonly content: Uint8Array;
|
|
60
|
+
readonly contentDigest: SkillCapsuleContentDigest;
|
|
61
|
+
}
|
|
62
|
+
interface PlannedSkillCapsule {
|
|
63
|
+
readonly identity: SkillCapsuleIdentity;
|
|
64
|
+
readonly dependencies: readonly SkillCapsuleIdentity[];
|
|
65
|
+
readonly files: readonly PlannedSkillFile[];
|
|
66
|
+
readonly capsuleDigest: string;
|
|
67
|
+
}
|
|
68
|
+
interface SkillCapsuleDistributionPlan {
|
|
69
|
+
readonly format: "halfcode.skill-distribution/v1";
|
|
70
|
+
readonly roots: readonly SkillCapsuleIdentity[];
|
|
71
|
+
readonly topology: readonly string[];
|
|
72
|
+
readonly capsules: readonly PlannedSkillCapsule[];
|
|
73
|
+
readonly files: readonly PlannedSkillFile[];
|
|
74
|
+
readonly closureDigest: string;
|
|
75
|
+
}
|
|
76
|
+
interface PlanSkillCapsuleDistributionInput {
|
|
77
|
+
readonly assembly: ApplicationAssembly;
|
|
78
|
+
readonly rootSkillFqns: readonly string[];
|
|
79
|
+
readonly schemas?: ReadonlyMap<string, unknown> | Record<string, unknown>;
|
|
80
|
+
}
|
|
81
|
+
type SkillCapsuleApplyStep = "after-stage" | "after-readback" | "after-backup" | "before-live-rename";
|
|
82
|
+
interface ApplySkillCapsuleDistributionOptions {
|
|
83
|
+
readonly outputRoot: string;
|
|
84
|
+
readonly onStep?: (step: SkillCapsuleApplyStep) => void | Promise<void>;
|
|
85
|
+
}
|
|
86
|
+
interface SkillCapsuleDistributionReceipt {
|
|
87
|
+
readonly outputRoot: string;
|
|
88
|
+
readonly closureDigest: string;
|
|
89
|
+
readonly installedSkills: readonly SkillCapsuleIdentity[];
|
|
90
|
+
readonly files: readonly string[];
|
|
91
|
+
}
|
|
92
|
+
declare class SkillCapsuleDistributionError extends Error {
|
|
93
|
+
readonly code: string;
|
|
94
|
+
constructor(code: string, message: string);
|
|
95
|
+
}
|
|
96
|
+
declare function compileSkillCapsule(input: CompileSkillCapsuleInput): Promise<SkillCapsulePlan>;
|
|
97
|
+
declare function compileResourceSkillCapsule(input: CompileResourceSkillCapsuleInput): Promise<SkillCapsulePlan>;
|
|
98
|
+
declare function planSkillCapsuleDistribution(input: PlanSkillCapsuleDistributionInput): Promise<SkillCapsuleDistributionPlan>;
|
|
99
|
+
declare function skillCapsuleDistributionProjection(plan: SkillCapsuleDistributionPlan): {
|
|
100
|
+
format: "halfcode.skill-distribution/v1";
|
|
101
|
+
roots: readonly SkillCapsuleIdentity[];
|
|
102
|
+
topology: readonly string[];
|
|
103
|
+
capsules: {
|
|
104
|
+
identity: SkillCapsuleIdentity;
|
|
105
|
+
dependencies: readonly SkillCapsuleIdentity[];
|
|
106
|
+
files: {
|
|
107
|
+
contentBase64: string;
|
|
108
|
+
skillFqn: string;
|
|
109
|
+
skillApiVersion: string;
|
|
110
|
+
skillVersion: string;
|
|
111
|
+
capsuleRelativePath: string;
|
|
112
|
+
targetRelativePath: string;
|
|
113
|
+
contentDigest: `sha256:${string}`;
|
|
114
|
+
}[];
|
|
115
|
+
capsuleDigest: string;
|
|
116
|
+
}[];
|
|
117
|
+
closureDigest: string;
|
|
118
|
+
};
|
|
119
|
+
declare function applySkillCapsuleDistributionPlan(plan: SkillCapsuleDistributionPlan, options: ApplySkillCapsuleDistributionOptions): Promise<SkillCapsuleDistributionReceipt>;
|
|
120
|
+
declare const compilerSkillPackage: {
|
|
121
|
+
readonly role: "framework";
|
|
122
|
+
readonly area: "compiler-skill";
|
|
123
|
+
readonly owns: "standard Skill capsule projection";
|
|
124
|
+
};
|
|
125
|
+
//#endregion
|
|
126
|
+
export { skillCapsuleDistributionProjection as S, applySkillCapsuleDistributionPlan as _, PlannedSkillCapsule as a, compilerSkillPackage as b, SkillCapsuleContentDigest as c, SkillCapsuleDistributionReceipt as d, SkillCapsuleIdentity as f, SkillReference as g, SkillDescriptor as h, PlanSkillCapsuleDistributionInput as i, SkillCapsuleDistributionError as l, SkillCapsuleProvenanceManifest as m, CompileResourceSkillCapsuleInput as n, PlannedSkillFile as o, SkillCapsulePlan as p, CompileSkillCapsuleInput as r, SkillCapsuleApplyStep as s, ApplySkillCapsuleDistributionOptions as t, SkillCapsuleDistributionPlan as u, compileResourceSkillCapsule as v, planSkillCapsuleDistribution as x, compileSkillCapsule as y };
|
|
@@ -169,13 +169,22 @@ interface TextResource {
|
|
|
169
169
|
interface SkillCapsuleResource {
|
|
170
170
|
kind: "SkillCapsule";
|
|
171
171
|
fqn: string;
|
|
172
|
+
name?: string;
|
|
173
|
+
apiVersion: string;
|
|
174
|
+
version: string;
|
|
172
175
|
description: string;
|
|
173
176
|
metadata: Record<string, unknown>;
|
|
174
177
|
template: TextMaterial;
|
|
175
178
|
resourceMappings?: TextMaterial;
|
|
176
179
|
includes: readonly ResourceInclude[];
|
|
180
|
+
dependencies: readonly SkillCapsuleDependency[];
|
|
177
181
|
source: ResourceSource;
|
|
178
182
|
}
|
|
183
|
+
interface SkillCapsuleDependency {
|
|
184
|
+
ref: string;
|
|
185
|
+
fqn: string;
|
|
186
|
+
version: string;
|
|
187
|
+
}
|
|
179
188
|
interface PageObjectResource {
|
|
180
189
|
kind: "PageObject";
|
|
181
190
|
fqn: string;
|
|
@@ -233,4 +242,4 @@ declare const applicationAssemblyPackage: {
|
|
|
233
242
|
readonly owns: "resource registry facts normalized for target-neutral compiler projections";
|
|
234
243
|
};
|
|
235
244
|
//#endregion
|
|
236
|
-
export { ObjectTargets as A,
|
|
245
|
+
export { ObjectTargets as A, applicationAssemblyPackage as B, ObjectOperationDefinition as C, ObjectOperationTargetDeclaration as D, ObjectOperationOwnerKind as E, ResourceSource as F, loadApplicationAssembly as G, assertObjectOperationCall as H, SkillCapsuleDependency as I, resolveApplicationAssembly as K, SkillCapsuleResource as L, ResolveApplicationAssemblyOptions as M, ResolvedAssemblyPortBinding as N, ObjectTargetKindDefinition as O, ResourceInclude as P, TextMaterial as R, ObjectOperationContractError as S, ObjectOperationHandler as T, assertObjectOperationCatalog as U, assertExecuteObjectOperationRequest as V, assertObjectOperationDefinition as W, ObjectInvocationMode as _, AssemblyResource as a, ObjectOperationCatalog as b, BusinessObjectSopResource as c, ExecuteObjectOperationRequest as d, JsonObject as f, ObjectInvocation as g, LoadApplicationAssemblyOptions as h, AssemblyPortBinding as i, PageObjectResource as j, ObjectTargetRef as k, CodeBinding as l, JsonValue as m, ApplicationScope as n, AuthoringModuleDescriptor as o, JsonPrimitive as p, resourceRefToFqn as q, AssemblyPort as r, BusinessObjectResource as s, ApplicationAssembly as t, ContractedCallableResource as u, ObjectOperationBehavior as v, ObjectOperationEffect as w, ObjectOperationConfig as x, ObjectOperationCall as y, TextResource as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ResourceDescriptor } from "./index-DdRHFKSQ.js";
|
|
2
2
|
//#region ../resource-projection/src/index.d.ts
|
|
3
3
|
interface ResourceRegistry {
|
|
4
4
|
readonly byKind: ReadonlyMap<string, readonly ResourceDescriptor[]>;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
//#region ../resource-core/src/canonical.d.ts
|
|
2
|
+
type Sha256Digest = `sha256:${string}`;
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region ../resource-core/src/layered-registry.d.ts
|
|
5
|
+
interface ResourceTombstone {
|
|
6
|
+
readonly resourceId: string;
|
|
7
|
+
readonly expectedKind?: string;
|
|
8
|
+
readonly reason?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ResourceLayerInput {
|
|
11
|
+
readonly id: string;
|
|
12
|
+
readonly tree: ResourceTree;
|
|
13
|
+
readonly tombstones?: readonly ResourceTombstone[];
|
|
14
|
+
}
|
|
15
|
+
interface ResourceLayerDescriptor {
|
|
16
|
+
readonly id: string;
|
|
17
|
+
readonly index: number;
|
|
18
|
+
readonly packageId: string;
|
|
19
|
+
}
|
|
20
|
+
interface ResourceOrigin {
|
|
21
|
+
readonly layerId: string;
|
|
22
|
+
readonly layerIndex: number;
|
|
23
|
+
readonly packageId: string;
|
|
24
|
+
readonly documentUri: string;
|
|
25
|
+
readonly logicalPath?: string;
|
|
26
|
+
}
|
|
27
|
+
interface ResourceTombstoneOrigin extends ResourceTombstone {
|
|
28
|
+
readonly layerId: string;
|
|
29
|
+
readonly layerIndex: number;
|
|
30
|
+
readonly packageId: string;
|
|
31
|
+
}
|
|
32
|
+
interface EffectiveResourceEntry {
|
|
33
|
+
readonly resourceId: string;
|
|
34
|
+
readonly kind: string;
|
|
35
|
+
readonly resource?: ResourceRecord;
|
|
36
|
+
readonly effectiveLayerId?: string;
|
|
37
|
+
readonly effectiveOrigin?: ResourceOrigin;
|
|
38
|
+
readonly shadowed: readonly ResourceOrigin[];
|
|
39
|
+
readonly tombstone?: ResourceTombstoneOrigin;
|
|
40
|
+
readonly tombstones: readonly ResourceTombstoneOrigin[];
|
|
41
|
+
}
|
|
42
|
+
interface EffectiveKindDefinition {
|
|
43
|
+
readonly definition: RegisteredKindDefinition;
|
|
44
|
+
readonly origins: readonly ResourceOrigin[];
|
|
45
|
+
}
|
|
46
|
+
interface EffectiveResourceRegistry {
|
|
47
|
+
readonly byId: ReadonlyMap<string, EffectiveResourceEntry>;
|
|
48
|
+
readonly byKind: ReadonlyMap<string, readonly ResourceRecord[]>;
|
|
49
|
+
readonly kindDefinitions: ReadonlyMap<string, EffectiveKindDefinition>;
|
|
50
|
+
readonly layers: readonly ResourceLayerDescriptor[];
|
|
51
|
+
readonly compositionRevision: string;
|
|
52
|
+
/** Compatibility alias for compositionRevision. */
|
|
53
|
+
readonly revision: string;
|
|
54
|
+
}
|
|
55
|
+
interface ComposeLayeredResourceRegistryInput {
|
|
56
|
+
readonly layers: readonly ResourceLayerInput[];
|
|
57
|
+
}
|
|
58
|
+
declare function composeLayeredResourceRegistry(input: ComposeLayeredResourceRegistryInput): EffectiveResourceRegistry;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region ../resource-core/src/dependency-snapshot.d.ts
|
|
61
|
+
interface ResourceDigestContribution {
|
|
62
|
+
readonly key: string;
|
|
63
|
+
readonly digest: string;
|
|
64
|
+
readonly sourceUri?: string;
|
|
65
|
+
}
|
|
66
|
+
interface CreateResourceContentIdentityInput {
|
|
67
|
+
readonly resourceId: string;
|
|
68
|
+
readonly authorityDigest: string;
|
|
69
|
+
readonly contributions?: readonly ResourceDigestContribution[];
|
|
70
|
+
}
|
|
71
|
+
interface ResourceContentIdentity {
|
|
72
|
+
readonly resourceId: string;
|
|
73
|
+
readonly authorityDigest: string;
|
|
74
|
+
readonly contributions: readonly ResourceDigestContribution[];
|
|
75
|
+
readonly contentDigest: Sha256Digest;
|
|
76
|
+
}
|
|
77
|
+
interface ResourceDependencyEdge {
|
|
78
|
+
readonly fromResourceId: string;
|
|
79
|
+
readonly toResourceId: string;
|
|
80
|
+
readonly relation: string;
|
|
81
|
+
readonly declaredBy: string;
|
|
82
|
+
}
|
|
83
|
+
interface SnapshotResource {
|
|
84
|
+
readonly resourceId: string;
|
|
85
|
+
readonly kind: string;
|
|
86
|
+
readonly contentDigest: string;
|
|
87
|
+
readonly origin: ResourceOrigin;
|
|
88
|
+
}
|
|
89
|
+
interface ResourceDependencySnapshot {
|
|
90
|
+
readonly roots: readonly string[];
|
|
91
|
+
readonly closure: readonly SnapshotResource[];
|
|
92
|
+
readonly edges: readonly ResourceDependencyEdge[];
|
|
93
|
+
readonly registryRevision: string;
|
|
94
|
+
readonly snapshotRevision: Sha256Digest;
|
|
95
|
+
}
|
|
96
|
+
interface BuildResourceDependencySnapshotInput {
|
|
97
|
+
readonly registry: EffectiveResourceRegistry;
|
|
98
|
+
readonly roots: readonly string[];
|
|
99
|
+
readonly edges: readonly ResourceDependencyEdge[];
|
|
100
|
+
readonly contentIdentities: ReadonlyMap<string, ResourceContentIdentity>;
|
|
101
|
+
}
|
|
102
|
+
declare function sha256Digest(value: string | Uint8Array): Sha256Digest;
|
|
103
|
+
declare function createResourceContentIdentity(input: CreateResourceContentIdentityInput): ResourceContentIdentity;
|
|
104
|
+
declare function buildResourceDependencySnapshot(input: BuildResourceDependencySnapshotInput): ResourceDependencySnapshot;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region ../resource-core/src/index.d.ts
|
|
107
|
+
type SourceShape = "single-file" | "directory" | "manifest";
|
|
108
|
+
interface ResourceIdentity {
|
|
109
|
+
kind: string;
|
|
110
|
+
fqn?: string;
|
|
111
|
+
name?: string;
|
|
112
|
+
}
|
|
113
|
+
interface ResourceDescriptor extends ResourceIdentity {
|
|
114
|
+
description?: string;
|
|
115
|
+
}
|
|
116
|
+
interface ResourceMetadata {
|
|
117
|
+
apiVersion: string;
|
|
118
|
+
lifecycle?: string;
|
|
119
|
+
version?: string;
|
|
120
|
+
}
|
|
121
|
+
type ResourceScalar = string | number | boolean | null;
|
|
122
|
+
interface ResourceValueList extends ReadonlyArray<ResourceValue> {}
|
|
123
|
+
interface ResourceValueMap extends Readonly<Record<string, ResourceValue>> {}
|
|
124
|
+
type ResourceValue = ResourceScalar | ResourceNode | ResourceValueList | ResourceValueMap;
|
|
125
|
+
interface ResourceNode {
|
|
126
|
+
readonly tag: string;
|
|
127
|
+
readonly resourceId?: string;
|
|
128
|
+
readonly metadata: Readonly<Record<string, ResourceValue>>;
|
|
129
|
+
readonly properties: Readonly<Record<string, ResourceValue>>;
|
|
130
|
+
readonly body: readonly ResourceValue[];
|
|
131
|
+
readonly subdomains: Readonly<Record<string, ResourceNode>>;
|
|
132
|
+
readonly text?: string;
|
|
133
|
+
}
|
|
134
|
+
interface ResourceRecord extends ResourceDescriptor {
|
|
135
|
+
resourceId: string;
|
|
136
|
+
metadata: ResourceMetadata;
|
|
137
|
+
sourceShape: SourceShape;
|
|
138
|
+
logicalPath: string;
|
|
139
|
+
documentUri: string;
|
|
140
|
+
format: "xnl";
|
|
141
|
+
node: ResourceNode;
|
|
142
|
+
}
|
|
143
|
+
interface ResourceKindContract {
|
|
144
|
+
resourceKind: string;
|
|
145
|
+
sourceShapes: readonly SourceShape[];
|
|
146
|
+
currentApiVersion: string;
|
|
147
|
+
supportedApiVersions: readonly string[];
|
|
148
|
+
documentCardinality?: "one" | "many";
|
|
149
|
+
}
|
|
150
|
+
interface RegisteredKindDefinition extends ResourceKindContract {
|
|
151
|
+
resourceId: string;
|
|
152
|
+
requiredFiles: readonly string[];
|
|
153
|
+
documentCardinality: "one" | "many";
|
|
154
|
+
documentUri: string;
|
|
155
|
+
}
|
|
156
|
+
interface ResourceRegistry {
|
|
157
|
+
readonly byKind: ReadonlyMap<string, readonly ResourceRecord[]>;
|
|
158
|
+
readonly kindDefinitions: ReadonlyMap<string, RegisteredKindDefinition>;
|
|
159
|
+
}
|
|
160
|
+
interface ResourceTree {
|
|
161
|
+
manifest: ResourceRecord;
|
|
162
|
+
registry: ResourceRegistry;
|
|
163
|
+
diagnostics: readonly ResourceDiagnostic[];
|
|
164
|
+
}
|
|
165
|
+
interface LoadedResourceTree extends ResourceTree {
|
|
166
|
+
readonly contentIdentities: ReadonlyMap<string, ResourceContentIdentity>;
|
|
167
|
+
}
|
|
168
|
+
interface ResourceDiagnostic {
|
|
169
|
+
code: string;
|
|
170
|
+
location: string;
|
|
171
|
+
message: string;
|
|
172
|
+
hint?: string;
|
|
173
|
+
}
|
|
174
|
+
interface LoadResourceTreeOptions {
|
|
175
|
+
rootDir: string;
|
|
176
|
+
manifestPath?: string;
|
|
177
|
+
}
|
|
178
|
+
interface ResourceTreeBuildResult {
|
|
179
|
+
diagnostics: ResourceDiagnostic[];
|
|
180
|
+
tree?: ResourceTree;
|
|
181
|
+
}
|
|
182
|
+
interface LoadedResourceTreeBuildResult extends ResourceTreeBuildResult {
|
|
183
|
+
tree?: LoadedResourceTree;
|
|
184
|
+
}
|
|
185
|
+
declare class ResourceValidationError extends Error {
|
|
186
|
+
readonly diagnostics: readonly ResourceDiagnostic[];
|
|
187
|
+
constructor(diagnostics: readonly ResourceDiagnostic[]);
|
|
188
|
+
}
|
|
189
|
+
declare function loadResourceTree(options: LoadResourceTreeOptions): Promise<LoadedResourceTree>;
|
|
190
|
+
declare function validateResourceTree(options: LoadResourceTreeOptions): Promise<ResourceDiagnostic[]>;
|
|
191
|
+
//#endregion
|
|
192
|
+
export { buildResourceDependencySnapshot as A, ResourceTombstone as B, BuildResourceDependencySnapshotInput as C, ResourceDependencySnapshot as D, ResourceDependencyEdge as E, EffectiveResourceEntry as F, composeLayeredResourceRegistry as H, EffectiveResourceRegistry as I, ResourceLayerDescriptor as L, sha256Digest as M, ComposeLayeredResourceRegistryInput as N, ResourceDigestContribution as O, EffectiveKindDefinition as P, ResourceLayerInput as R, validateResourceTree as S, ResourceContentIdentity as T, Sha256Digest as U, ResourceTombstoneOrigin as V, ResourceValue as _, ResourceDescriptor as a, SourceShape as b, ResourceKindContract as c, ResourceRecord as d, ResourceRegistry as f, ResourceValidationError as g, ResourceTreeBuildResult as h, RegisteredKindDefinition as i, createResourceContentIdentity as j, SnapshotResource as k, ResourceMetadata as l, ResourceTree as m, LoadedResourceTree as n, ResourceDiagnostic as o, ResourceScalar as p, LoadedResourceTreeBuildResult as r, ResourceIdentity as s, LoadResourceTreeOptions as t, ResourceNode as u, ResourceValueList as v, CreateResourceContentIdentityInput as w, loadResourceTree as x, ResourceValueMap as y, ResourceOrigin as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import { A as ObjectTargets, B as
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
1
|
+
import { A as ObjectTargets, B as applicationAssemblyPackage, C as ObjectOperationDefinition, D as ObjectOperationTargetDeclaration, E as ObjectOperationOwnerKind, F as ResourceSource, G as loadApplicationAssembly, H as assertObjectOperationCall, I as SkillCapsuleDependency, K as resolveApplicationAssembly, L as SkillCapsuleResource, M as ResolveApplicationAssemblyOptions, N as ResolvedAssemblyPortBinding, O as ObjectTargetKindDefinition, P as ResourceInclude, R as TextMaterial, S as ObjectOperationContractError, T as ObjectOperationHandler, U as assertObjectOperationCatalog, V as assertExecuteObjectOperationRequest, W as assertObjectOperationDefinition, _ as ObjectInvocationMode, a as AssemblyResource, b as ObjectOperationCatalog, c as BusinessObjectSopResource, d as ExecuteObjectOperationRequest, f as JsonObject, g as ObjectInvocation, h as LoadApplicationAssemblyOptions, i as AssemblyPortBinding, j as PageObjectResource, k as ObjectTargetRef, l as CodeBinding, m as JsonValue, n as ApplicationScope, o as AuthoringModuleDescriptor, p as JsonPrimitive, q as resourceRefToFqn, r as AssemblyPort, s as BusinessObjectResource, t as ApplicationAssembly, u as ContractedCallableResource, v as ObjectOperationBehavior, w as ObjectOperationEffect, x as ObjectOperationConfig, y as ObjectOperationCall, z as TextResource } from "./index-Cqh9pEBa.js";
|
|
2
|
+
import { A as buildResourceDependencySnapshot, B as ResourceTombstone, C as BuildResourceDependencySnapshotInput, D as ResourceDependencySnapshot, E as ResourceDependencyEdge, F as EffectiveResourceEntry, H as composeLayeredResourceRegistry, I as EffectiveResourceRegistry, L as ResourceLayerDescriptor, M as sha256Digest, N as ComposeLayeredResourceRegistryInput, O as ResourceDigestContribution, P as EffectiveKindDefinition, R as ResourceLayerInput, S as validateResourceTree, T as ResourceContentIdentity, U as Sha256Digest, V as ResourceTombstoneOrigin, _ as ResourceValue, a as ResourceDescriptor, b as SourceShape, c as ResourceKindContract, d as ResourceRecord, f as ResourceRegistry, g as ResourceValidationError, h as ResourceTreeBuildResult, i as RegisteredKindDefinition, j as createResourceContentIdentity, k as SnapshotResource, l as ResourceMetadata, m as ResourceTree, n as LoadedResourceTree, o as ResourceDiagnostic, p as ResourceScalar, r as LoadedResourceTreeBuildResult, s as ResourceIdentity, t as LoadResourceTreeOptions, u as ResourceNode, v as ResourceValueList, w as CreateResourceContentIdentityInput, x as loadResourceTree, y as ResourceValueMap, z as ResourceOrigin } from "./index-DdRHFKSQ.js";
|
|
3
|
+
import { i as ResourceCompositionError, n as ResourceLayerContentIdentityInput, r as resolveEffectiveResourceContentIdentities, t as ResolveEffectiveResourceContentIdentitiesInput } from "./resource-core-Byhqyadq.js";
|
|
4
|
+
import { S as skillCapsuleDistributionProjection, _ as applySkillCapsuleDistributionPlan, a as PlannedSkillCapsule, b as compilerSkillPackage, c as SkillCapsuleContentDigest, d as SkillCapsuleDistributionReceipt, f as SkillCapsuleIdentity, g as SkillReference, h as SkillDescriptor, i as PlanSkillCapsuleDistributionInput, l as SkillCapsuleDistributionError, m as SkillCapsuleProvenanceManifest, n as CompileResourceSkillCapsuleInput, o as PlannedSkillFile, p as SkillCapsulePlan, r as CompileSkillCapsuleInput, s as SkillCapsuleApplyStep, t as ApplySkillCapsuleDistributionOptions, u as SkillCapsuleDistributionPlan, v as compileResourceSkillCapsule, x as planSkillCapsuleDistribution, y as compileSkillCapsule } from "./index-96qHPZj2.js";
|
|
5
|
+
//#region src/bundled-system-skills.d.ts
|
|
6
|
+
declare function loadHalfcodeResourceDslSystemSkillPlan(): Promise<SkillCapsuleDistributionPlan>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { type ApplicationAssembly, type ApplicationScope, ApplySkillCapsuleDistributionOptions, type AssemblyPort, type AssemblyPortBinding, type AssemblyResource, type AuthoringModuleDescriptor, BuildResourceDependencySnapshotInput, type BusinessObjectResource, type BusinessObjectSopResource, type CodeBinding, CompileResourceSkillCapsuleInput, CompileSkillCapsuleInput, ComposeLayeredResourceRegistryInput, type ContractedCallableResource, CreateResourceContentIdentityInput, EffectiveKindDefinition, EffectiveResourceEntry, EffectiveResourceRegistry, type ExecuteObjectOperationRequest, type JsonObject, type JsonPrimitive, type JsonValue, type LoadApplicationAssemblyOptions, LoadResourceTreeOptions, LoadedResourceTree, LoadedResourceTreeBuildResult, type ObjectInvocation, type ObjectInvocationMode, type ObjectOperationBehavior, type ObjectOperationCall, type ObjectOperationCatalog, type ObjectOperationConfig, ObjectOperationContractError, type ObjectOperationDefinition, type ObjectOperationEffect, type ObjectOperationHandler, type ObjectOperationOwnerKind, type ObjectOperationTargetDeclaration, type ObjectTargetKindDefinition, type ObjectTargetRef, type ObjectTargets, type PageObjectResource, PlanSkillCapsuleDistributionInput, PlannedSkillCapsule, PlannedSkillFile, RegisteredKindDefinition, type ResolveApplicationAssemblyOptions, ResolveEffectiveResourceContentIdentitiesInput, type ResolvedAssemblyPortBinding, ResourceCompositionError, ResourceContentIdentity, ResourceDependencyEdge, ResourceDependencySnapshot, ResourceDescriptor, ResourceDiagnostic, ResourceDigestContribution, ResourceIdentity, type ResourceInclude, ResourceKindContract, ResourceLayerContentIdentityInput, ResourceLayerDescriptor, ResourceLayerInput, ResourceMetadata, ResourceNode, ResourceOrigin, ResourceRecord, ResourceRegistry, ResourceScalar, type ResourceSource, ResourceTombstone, ResourceTombstoneOrigin, ResourceTree, ResourceTreeBuildResult, ResourceValidationError, ResourceValue, ResourceValueList, ResourceValueMap, type Sha256Digest, SkillCapsuleApplyStep, SkillCapsuleContentDigest, type SkillCapsuleDependency, SkillCapsuleDistributionError, SkillCapsuleDistributionPlan, SkillCapsuleDistributionReceipt, SkillCapsuleIdentity, SkillCapsulePlan, SkillCapsuleProvenanceManifest, type SkillCapsuleResource, SkillDescriptor, SkillReference, SnapshotResource, SourceShape, type TextMaterial, type TextResource, applicationAssemblyPackage, applySkillCapsuleDistributionPlan, assertExecuteObjectOperationRequest, assertObjectOperationCall, assertObjectOperationCatalog, assertObjectOperationDefinition, buildResourceDependencySnapshot, compileResourceSkillCapsule, compileSkillCapsule, compilerSkillPackage, composeLayeredResourceRegistry, createResourceContentIdentity, loadApplicationAssembly, loadHalfcodeResourceDslSystemSkillPlan, loadResourceTree, planSkillCapsuleDistribution, resolveApplicationAssembly, resolveEffectiveResourceContentIdentities, resourceRefToFqn, sha256Digest, skillCapsuleDistributionProjection, validateResourceTree };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as sha256Digest, f as ResourceCompositionError, n as loadResourceTree, o as buildResourceDependencySnapshot, r as validateResourceTree, s as createResourceContentIdentity, t as ResourceValidationError } from "./src-DCRih45n.js";
|
|
2
|
+
import { a as assertObjectOperationCatalog, c as resolveApplicationAssembly, i as assertObjectOperationCall, l as resourceRefToFqn, n as applicationAssemblyPackage, o as assertObjectOperationDefinition, r as assertExecuteObjectOperationRequest, s as loadApplicationAssembly, t as ObjectOperationContractError } from "./src-DRIws6tY.js";
|
|
2
3
|
import "./application-assembly.js";
|
|
3
|
-
import {
|
|
4
|
-
|
|
4
|
+
import { composeLayeredResourceRegistry, resolveEffectiveResourceContentIdentities } from "./resource-core.js";
|
|
5
|
+
import { a as compilerSkillPackage, i as compileSkillCapsule, n as applySkillCapsuleDistributionPlan, o as planSkillCapsuleDistribution, r as compileResourceSkillCapsule, s as skillCapsuleDistributionProjection, t as SkillCapsuleDistributionError } from "./src-D1Bmq7Lo.js";
|
|
6
|
+
//#region src/bundled-system-skills.ts
|
|
7
|
+
async function loadHalfcodeResourceDslSystemSkillPlan() {
|
|
8
|
+
const bundled = await import(new URL("./system-skills/sys-halfcode-resource-dsl.plan.js", import.meta.url).href);
|
|
9
|
+
if (!bundled.default) throw new Error("HALFCODE_RESOURCE_DSL_SKILL_PLAN_MISSING: bundled plan has no default export");
|
|
10
|
+
return bundled.default;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ObjectOperationContractError, ResourceCompositionError, ResourceValidationError, SkillCapsuleDistributionError, applicationAssemblyPackage, applySkillCapsuleDistributionPlan, assertExecuteObjectOperationRequest, assertObjectOperationCall, assertObjectOperationCatalog, assertObjectOperationDefinition, buildResourceDependencySnapshot, compileResourceSkillCapsule, compileSkillCapsule, compilerSkillPackage, composeLayeredResourceRegistry, createResourceContentIdentity, loadApplicationAssembly, loadHalfcodeResourceDslSystemSkillPlan, loadResourceTree, planSkillCapsuleDistribution, resolveApplicationAssembly, resolveEffectiveResourceContentIdentities, resourceRefToFqn, sha256Digest, skillCapsuleDistributionProjection, validateResourceTree };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ResourceDescriptor, c as ResourceKindContract } from "./index-DdRHFKSQ.js";
|
|
2
2
|
//#region ../kind-definition/src/index.d.ts
|
|
3
3
|
interface KindDefinition extends ResourceDescriptor, ResourceKindContract {
|
|
4
4
|
kind: "KindDefinition";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { I as EffectiveResourceRegistry, O as ResourceDigestContribution, T as ResourceContentIdentity, n as LoadedResourceTree, o as ResourceDiagnostic } from "./index-DdRHFKSQ.js";
|
|
2
|
+
//#region ../resource-core/src/composition-error.d.ts
|
|
3
|
+
declare class ResourceCompositionError extends Error {
|
|
4
|
+
readonly diagnostics: readonly ResourceDiagnostic[];
|
|
5
|
+
constructor(diagnostics: readonly ResourceDiagnostic[]);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ../resource-core/src/effective-content-identities.d.ts
|
|
9
|
+
interface ResourceLayerContentIdentityInput {
|
|
10
|
+
readonly id: string;
|
|
11
|
+
readonly tree: LoadedResourceTree;
|
|
12
|
+
}
|
|
13
|
+
interface ResolveEffectiveResourceContentIdentitiesInput {
|
|
14
|
+
readonly registry: EffectiveResourceRegistry;
|
|
15
|
+
readonly layers: readonly ResourceLayerContentIdentityInput[];
|
|
16
|
+
readonly contributions?: ReadonlyMap<string, readonly ResourceDigestContribution[]>;
|
|
17
|
+
}
|
|
18
|
+
declare function resolveEffectiveResourceContentIdentities(input: ResolveEffectiveResourceContentIdentitiesInput): ReadonlyMap<string, ResourceContentIdentity>;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { ResourceCompositionError as i, ResourceLayerContentIdentityInput as n, resolveEffectiveResourceContentIdentities as r, ResolveEffectiveResourceContentIdentitiesInput as t };
|
package/dist/resource-core.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
|
|
1
|
+
import { A as buildResourceDependencySnapshot, B as ResourceTombstone, C as BuildResourceDependencySnapshotInput, D as ResourceDependencySnapshot, E as ResourceDependencyEdge, F as EffectiveResourceEntry, H as composeLayeredResourceRegistry, I as EffectiveResourceRegistry, L as ResourceLayerDescriptor, M as sha256Digest, N as ComposeLayeredResourceRegistryInput, O as ResourceDigestContribution, P as EffectiveKindDefinition, R as ResourceLayerInput, S as validateResourceTree, T as ResourceContentIdentity, U as Sha256Digest, V as ResourceTombstoneOrigin, _ as ResourceValue, a as ResourceDescriptor, b as SourceShape, c as ResourceKindContract, d as ResourceRecord, f as ResourceRegistry, g as ResourceValidationError, h as ResourceTreeBuildResult, i as RegisteredKindDefinition, j as createResourceContentIdentity, k as SnapshotResource, l as ResourceMetadata, m as ResourceTree, n as LoadedResourceTree, o as ResourceDiagnostic, p as ResourceScalar, r as LoadedResourceTreeBuildResult, s as ResourceIdentity, t as LoadResourceTreeOptions, u as ResourceNode, v as ResourceValueList, w as CreateResourceContentIdentityInput, x as loadResourceTree, y as ResourceValueMap, z as ResourceOrigin } from "./index-DdRHFKSQ.js";
|
|
2
|
+
import { i as ResourceCompositionError, n as ResourceLayerContentIdentityInput, r as resolveEffectiveResourceContentIdentities, t as ResolveEffectiveResourceContentIdentitiesInput } from "./resource-core-Byhqyadq.js";
|
|
3
|
+
export { BuildResourceDependencySnapshotInput, ComposeLayeredResourceRegistryInput, CreateResourceContentIdentityInput, EffectiveKindDefinition, EffectiveResourceEntry, EffectiveResourceRegistry, LoadResourceTreeOptions, LoadedResourceTree, LoadedResourceTreeBuildResult, RegisteredKindDefinition, ResolveEffectiveResourceContentIdentitiesInput, ResourceCompositionError, ResourceContentIdentity, ResourceDependencyEdge, ResourceDependencySnapshot, ResourceDescriptor, ResourceDiagnostic, ResourceDigestContribution, ResourceIdentity, ResourceKindContract, ResourceLayerContentIdentityInput, ResourceLayerDescriptor, ResourceLayerInput, ResourceMetadata, ResourceNode, ResourceOrigin, ResourceRecord, ResourceRegistry, ResourceScalar, ResourceTombstone, ResourceTombstoneOrigin, ResourceTree, ResourceTreeBuildResult, ResourceValidationError, ResourceValue, ResourceValueList, ResourceValueMap, type Sha256Digest, SnapshotResource, SourceShape, buildResourceDependencySnapshot, composeLayeredResourceRegistry, createResourceContentIdentity, loadResourceTree, resolveEffectiveResourceContentIdentities, sha256Digest, validateResourceTree };
|