@holoscript/core 8.0.12 → 8.0.14
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 +14 -0
- package/bin/holo-decision.mjs +133 -0
- package/dist/{GLTFPipeline-L76YTXKA.js → GLTFPipeline-6LS3UDYX.js} +6 -6
- package/dist/{GLTFPipeline-ZWJN7GI6.cjs → GLTFPipeline-VTI6PRRQ.cjs} +10 -10
- package/dist/{HoloCompositionParser-FLBZKFD3.js → HoloCompositionParser-GILABNN3.js} +5 -5
- package/dist/{HoloCompositionParser-3XEC7IJC.cjs → HoloCompositionParser-ZVRYVEA5.cjs} +12 -12
- package/dist/{HoloScriptPlusParser-RNUCHOAJ.cjs → HoloScriptPlusParser-WTPRPRPR.cjs} +8 -8
- package/dist/{HoloScriptPlusParser-55AY4MUF.js → HoloScriptPlusParser-ZP53ECSL.js} +5 -5
- package/dist/{SceneIRCompiler-KWUFHZ4O.cjs → SceneIRCompiler-7KQ5NKAU.cjs} +11 -11
- package/dist/{SceneIRCompiler-63KA3M2F.js → SceneIRCompiler-VX75RB6H.js} +6 -6
- package/dist/{chunk-EM2OGPYE.js → chunk-2GKF7JQ6.js} +3 -3
- package/dist/{chunk-HVX7QQYK.js → chunk-3KHRZTNW.js} +3 -3
- package/dist/{chunk-UTUD6GJI.js → chunk-42Z3SVHQ.js} +3 -3
- package/dist/{chunk-Z4IUBW46.js → chunk-47XZ62KM.js} +112 -55
- package/dist/{chunk-GGR7QUKK.cjs → chunk-4CRMVEON.cjs} +37 -37
- package/dist/{chunk-QBY7LRN2.js → chunk-4NEPHK2K.js} +3 -3
- package/dist/{chunk-65S62L4D.cjs → chunk-5B2AJKA5.cjs} +20 -20
- package/dist/{chunk-PJFTTSKE.js → chunk-5T6BWIB7.js} +4 -4
- package/dist/{chunk-KFVNCW4Q.js → chunk-62OYZT6Q.js} +3 -3
- package/dist/{chunk-3KMANSQJ.cjs → chunk-645EWDZW.cjs} +4 -4
- package/dist/{chunk-BP4KTMLY.js → chunk-6FCNMTL5.js} +4 -4
- package/dist/{chunk-77QI552M.js → chunk-73EDVY5D.js} +3 -3
- package/dist/{chunk-7IDJDMPU.cjs → chunk-7FYSSI3C.cjs} +27 -2
- package/dist/{chunk-WNYXT4TE.cjs → chunk-7ITJP33Q.cjs} +3 -3
- package/dist/chunk-7ZKQ32XK.js +1571 -0
- package/dist/{chunk-P7JEKJTZ.cjs → chunk-B6JHTTMR.cjs} +25 -14
- package/dist/{chunk-FG6PYGIZ.js → chunk-BLCWQ225.js} +4 -4
- package/dist/{chunk-7NPZZZD7.js → chunk-C73GVAYC.js} +16 -9
- package/dist/{chunk-RMOEL2GD.cjs → chunk-CESMPUEZ.cjs} +3794 -1137
- package/dist/{chunk-SQXAZHDG.js → chunk-CHIZSMWD.js} +3 -3
- package/dist/{chunk-G35CAQ7I.cjs → chunk-D44CEFY4.cjs} +5 -5
- package/dist/chunk-ERYKKPHW.cjs +1884 -0
- package/dist/{chunk-TYNRXRHF.js → chunk-EYHPTJ3F.js} +3695 -1045
- package/dist/{chunk-J3UHV5T4.cjs → chunk-FGXJPJ3W.cjs} +4 -4
- package/dist/{chunk-IJU6AS67.cjs → chunk-FHR2AVMA.cjs} +23 -23
- package/dist/{chunk-LMB555QB.cjs → chunk-FOM36K5I.cjs} +18 -18
- package/dist/{chunk-JBYBMBMW.js → chunk-FWKEY4LD.js} +3 -2
- package/dist/{chunk-ZRPALBQB.cjs → chunk-GGH3ZYDB.cjs} +5 -5
- package/dist/{chunk-2BYAUHBO.js → chunk-GI5YYZH6.js} +3 -3
- package/dist/{chunk-VTEXJOSD.cjs → chunk-GYJLP4BO.cjs} +30 -30
- package/dist/{chunk-OC6GV5QH.cjs → chunk-HCONR4J6.cjs} +38 -38
- package/dist/{chunk-B3CWTCK2.js → chunk-IA7FCSRY.js} +27 -2
- package/dist/{chunk-5FYMCVBY.js → chunk-IXFNA5TT.js} +4 -4
- package/dist/{chunk-G6KACNMO.js → chunk-JCVSCKUH.js} +4 -4
- package/dist/{chunk-FHVPN7BN.js → chunk-JQCXLKAU.js} +3 -3
- package/dist/{chunk-F3YT6GUF.cjs → chunk-KLM6QD6D.cjs} +14 -14
- package/dist/{chunk-UGQ3QNV6.js → chunk-KOGPVAP6.js} +24 -8
- package/dist/{chunk-CKV5NYAE.js → chunk-KYJD2UMV.js} +4 -4
- package/dist/{chunk-LB3ZZMKT.cjs → chunk-L4DBUX3N.cjs} +10 -10
- package/dist/{chunk-RXQNRZ5F.js → chunk-LGRKBTPM.js} +3 -3
- package/dist/{chunk-OMNHTCS4.cjs → chunk-LHUDAJQT.cjs} +3 -2
- package/dist/{chunk-PDXX5UI4.cjs → chunk-LQNL3IYV.cjs} +38 -38
- package/dist/{chunk-WWNCM473.js → chunk-M7XR3F53.js} +4 -4
- package/dist/{chunk-IFW5IW4L.cjs → chunk-ML4V5PVU.cjs} +670 -627
- package/dist/{chunk-656IAS7B.cjs → chunk-N7IYRAFG.cjs} +21 -14
- package/dist/chunk-N7MIIDLI.cjs +1605 -0
- package/dist/{chunk-USOUXQYD.js → chunk-NWKARJM2.js} +130 -22
- package/dist/{chunk-VVAAZITA.cjs → chunk-OOP4S3GU.cjs} +5 -5
- package/dist/{chunk-TX6ZBIF4.js → chunk-ORBVCOTC.js} +3 -3
- package/dist/{chunk-RRQIAJLQ.cjs → chunk-OSKGCXAQ.cjs} +5 -5
- package/dist/{chunk-QEDMOGF3.cjs → chunk-P65OIMJT.cjs} +7 -7
- package/dist/{chunk-QM7FJB5W.js → chunk-PSWCJQS4.js} +4 -4
- package/dist/{chunk-7N63JHUN.cjs → chunk-PZ46WRHX.cjs} +8 -8
- package/dist/{chunk-AATYYLYK.js → chunk-Q4J2K7FI.js} +16 -5
- package/dist/chunk-QLPRI3QW.js +1875 -0
- package/dist/{chunk-WTH23ISI.js → chunk-R5VKLUMR.js} +4 -4
- package/dist/{chunk-NQN5LFN4.cjs → chunk-REN3LHO6.cjs} +19 -19
- package/dist/{chunk-JEJ7TT54.js → chunk-RVN7OPCP.js} +4 -4
- package/dist/{chunk-ZK7KX5CD.cjs → chunk-SE2Y5BSL.cjs} +6 -6
- package/dist/{chunk-2X3IPCBK.cjs → chunk-SKVBUGMC.cjs} +7 -7
- package/dist/{chunk-GZPUA2TL.cjs → chunk-SNMQUWIO.cjs} +10 -10
- package/dist/{chunk-OIBRWLPY.cjs → chunk-TKDDIE3T.cjs} +54 -3
- package/dist/{chunk-5H5GFBMG.cjs → chunk-TMNAKNV2.cjs} +112 -55
- package/dist/{chunk-5LVFTGKH.js → chunk-TZQKJOPC.js} +3 -3
- package/dist/{chunk-TSTFYGGX.js → chunk-UKEK2NZJ.js} +3 -3
- package/dist/{chunk-3IUHTGDD.cjs → chunk-VA7THINF.cjs} +38 -38
- package/dist/{chunk-Z557DVYN.js → chunk-VMCR5QVI.js} +4 -4
- package/dist/{chunk-IS7NTKY5.cjs → chunk-VTFLKSJL.cjs} +14 -14
- package/dist/{chunk-VO52AJD5.js → chunk-VXHB6ZHY.js} +4 -4
- package/dist/{chunk-S4O7CFHQ.cjs → chunk-VZI7S7P6.cjs} +7 -7
- package/dist/{chunk-BQJ3YBF3.js → chunk-W4AJMMQR.js} +667 -628
- package/dist/{chunk-2KKOYZYI.cjs → chunk-XZC75AJ4.cjs} +5 -5
- package/dist/{chunk-FWCHPCD4.js → chunk-Y2OCKXVD.js} +4 -4
- package/dist/{chunk-EI5G5JLY.cjs → chunk-YBM34FUJ.cjs} +134 -22
- package/dist/{chunk-DUG3OQAS.js → chunk-YDSNDCV3.js} +3 -3
- package/dist/{chunk-566ZB4LZ.cjs → chunk-YM7UUYR5.cjs} +5 -5
- package/dist/{chunk-BCP4E7MD.cjs → chunk-YMI3ED3B.cjs} +26 -10
- package/dist/{chunk-CP7V3ATL.js → chunk-Z7NUL73U.js} +51 -4
- package/dist/cli/holoscript-runner.cjs +11 -11
- package/dist/cli/holoscript-runner.js +4 -4
- package/dist/compiler/agent-inference.cjs +8 -8
- package/dist/compiler/agent-inference.js +4 -4
- package/dist/compiler/android-xr.cjs +7 -7
- package/dist/compiler/android-xr.js +5 -5
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/daimon-seed.cjs +9 -9
- package/dist/compiler/daimon-seed.js +4 -4
- package/dist/compiler/domain-block-utils.cjs +165 -165
- package/dist/compiler/domain-block-utils.js +4 -4
- package/dist/compiler/dtdl.cjs +7 -7
- package/dist/compiler/dtdl.js +4 -4
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +6 -6
- package/dist/compiler/godot.js +5 -5
- package/dist/compiler/incremental.cjs +8 -8
- package/dist/compiler/incremental.js +3 -3
- package/dist/compiler/index.cjs +871 -207
- package/dist/compiler/index.d.ts +21 -1
- package/dist/compiler/index.js +696 -60
- package/dist/compiler/ios.cjs +6 -6
- package/dist/compiler/ios.js +4 -4
- package/dist/compiler/llm-provider-capabilities.cjs +6 -6
- package/dist/compiler/llm-provider-capabilities.js +3 -3
- package/dist/compiler/openxr.cjs +6 -6
- package/dist/compiler/openxr.js +5 -5
- package/dist/compiler/sdf.cjs +7 -7
- package/dist/compiler/sdf.js +5 -5
- package/dist/compiler/state.cjs +6 -6
- package/dist/compiler/state.js +4 -4
- package/dist/compiler/trait-composition.cjs +7 -7
- package/dist/compiler/trait-composition.js +3 -3
- package/dist/compiler/unity.cjs +6 -6
- package/dist/compiler/unity.js +5 -5
- package/dist/compiler/unreal.cjs +7 -7
- package/dist/compiler/unreal.js +5 -5
- package/dist/compiler/urdf.cjs +14 -14
- package/dist/compiler/urdf.js +5 -5
- package/dist/compiler/usd-physics.cjs +7 -7
- package/dist/compiler/usd-physics.js +4 -4
- package/dist/compiler/visionos.cjs +6 -6
- package/dist/compiler/visionos.js +5 -5
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.js +5 -5
- package/dist/compiler/wasm.cjs +10 -10
- package/dist/compiler/wasm.js +5 -5
- package/dist/compiler/webgpu.cjs +6 -6
- package/dist/compiler/webgpu.js +5 -5
- package/dist/constants.cjs +3 -3
- package/dist/constants.js +1 -1
- package/dist/entries/scripting.cjs +6 -6
- package/dist/entries/scripting.js +2 -2
- package/dist/evolution/index.cjs +21 -17
- package/dist/evolution/index.d.ts +9 -0
- package/dist/evolution/index.js +6 -6
- package/dist/index.cjs +930 -703
- package/dist/index.d.ts +70 -5
- package/dist/index.js +192 -109
- package/dist/parser.cjs +19 -19
- package/dist/parser.js +5 -5
- package/dist/reconstruction/index.cjs +127 -38
- package/dist/reconstruction/index.d.ts +159 -0
- package/dist/reconstruction/index.js +11 -2
- package/dist/runtime.d.ts +1 -0
- package/dist/traitDocs/traitDocs.cjs +8 -8
- package/dist/traitDocs/traitDocs.js +2 -2
- package/dist/traits/index.cjs +566 -471
- package/dist/traits/index.js +93 -11
- package/package.json +25 -41
- package/dist/chunk-G3BM3CT4.cjs +0 -639
- package/dist/chunk-KEYG7HGY.js +0 -1062
- package/dist/chunk-QX34ELJ7.js +0 -625
- package/dist/chunk-W2GA3EQB.cjs +0 -1065
package/dist/index.d.ts
CHANGED
|
@@ -970,12 +970,20 @@ export class ExpressionEvaluator {
|
|
|
970
970
|
}
|
|
971
971
|
|
|
972
972
|
export class EventBus {
|
|
973
|
-
|
|
974
|
-
on(event: string, callback:
|
|
975
|
-
|
|
976
|
-
|
|
973
|
+
constructor();
|
|
974
|
+
on(event: string, callback: (data: unknown) => void, priority?: number): number;
|
|
975
|
+
once(event: string, callback: (data: unknown) => void, priority?: number): number;
|
|
976
|
+
off(listenerId: number): void;
|
|
977
|
+
offAll(event: string): void;
|
|
978
|
+
emit(event: string, data?: unknown): void;
|
|
979
|
+
getHistory(): Array<{ event: string; data: unknown; timestamp: number }>;
|
|
980
|
+
listenerCount(event: string): number;
|
|
981
|
+
setPaused(paused: boolean): void;
|
|
982
|
+
clear(): void;
|
|
977
983
|
}
|
|
978
984
|
export const eventBus: EventBus;
|
|
985
|
+
export function getSharedEventBus(): EventBus;
|
|
986
|
+
export function setSharedEventBus(bus: EventBus): void;
|
|
979
987
|
|
|
980
988
|
// COMPILERS & GENERATORS
|
|
981
989
|
// ============================================================================
|
|
@@ -3480,7 +3488,7 @@ export class CircuitBreakerRegistry { [key: string]: any; }
|
|
|
3480
3488
|
export class CircuitState { [key: string]: any; }
|
|
3481
3489
|
export class ExportManager { [key: string]: any; }
|
|
3482
3490
|
export declare function getExportManager(options?: Partial<ExportOptions>): any;
|
|
3483
|
-
export type ExportTarget = 'urdf' | 'sdf' | 'unity' | 'unreal' | 'godot' | 'vrchat' | 'openxr' | 'android' | 'android-xr' | 'ios' | 'visionos' | 'webgpu' | 'wasm' | 'usd' | 'usdz' | 'dtdl' | 'multi-layer' | 'incremental' | 'state' | 'trait-composition' | 'tsl' | 'a2a-agent-card' | 'nir' | 'openxr-spatial-entities' | 'context' | '3dgs';
|
|
3491
|
+
export type ExportTarget = 'urdf' | 'sdf' | 'unity' | 'unreal' | 'godot' | 'vrchat' | 'openxr' | 'android' | 'android-xr' | 'ios' | 'visionos' | 'webgpu' | 'wasm' | 'usd' | 'usdz' | 'dtdl' | 'multi-layer' | 'incremental' | 'state' | 'trait-composition' | 'tsl' | 'a2a-agent-card' | 'nir' | 'openxr-spatial-entities' | 'context' | '3dgs' | 'mcp-server';
|
|
3484
3492
|
export class ExportOptions { [key: string]: any; }
|
|
3485
3493
|
export declare function selectModality(platform: any, options?: any): any;
|
|
3486
3494
|
export declare function selectModalityForAll(options?: any): Map<any, any>;
|
|
@@ -4608,3 +4616,60 @@ export declare function buildKnownTraitSet(
|
|
|
4608
4616
|
): Set<string>;
|
|
4609
4617
|
export const NATIVE2D_TRAITS: readonly string[];
|
|
4610
4618
|
export const CODE_GRAPH_TRAITS: readonly string[];
|
|
4619
|
+
|
|
4620
|
+
// AutoRig (traits/AutoRigTrait.ts) — re-exported via the main barrel.
|
|
4621
|
+
export type AutoRigRigType = 'humanoid' | 'custom';
|
|
4622
|
+
export type AutoRigPose = 't-pose' | 'a-pose';
|
|
4623
|
+
export interface NativeAutoRigPlan {
|
|
4624
|
+
rig: AutoRigRigType;
|
|
4625
|
+
pose: AutoRigPose;
|
|
4626
|
+
source: 'native-holoscript';
|
|
4627
|
+
topology: 'animation-compatible' | 'provider-native';
|
|
4628
|
+
skeleton: any;
|
|
4629
|
+
boneCount: number;
|
|
4630
|
+
humanoidMap?: any;
|
|
4631
|
+
animationCompatibility: { standard: string; retargetTargets: string[]; bindPose: AutoRigPose };
|
|
4632
|
+
weighting: { solver: 'heat-diffusion-seed' | 'custom-envelope-seed'; maxInfluences: number; status: 'seeded' };
|
|
4633
|
+
}
|
|
4634
|
+
export interface AutoRigConfig {
|
|
4635
|
+
rig?: AutoRigRigType;
|
|
4636
|
+
pose?: AutoRigPose;
|
|
4637
|
+
sourceMesh?: string;
|
|
4638
|
+
topology?: 'animation-compatible' | 'provider-native';
|
|
4639
|
+
objectName?: string;
|
|
4640
|
+
provider?: string;
|
|
4641
|
+
}
|
|
4642
|
+
export declare function createNativeAutoRigPlan(config?: AutoRigConfig): NativeAutoRigPlan;
|
|
4643
|
+
|
|
4644
|
+
// Audit logging (audit/AuditLogger.ts) — re-exported via the main barrel.
|
|
4645
|
+
export interface AuditEvent {
|
|
4646
|
+
id: string;
|
|
4647
|
+
timestamp: Date;
|
|
4648
|
+
tenantId: string;
|
|
4649
|
+
actorId: string;
|
|
4650
|
+
actorType: 'user' | 'agent' | 'system';
|
|
4651
|
+
action: string;
|
|
4652
|
+
resource: string;
|
|
4653
|
+
resourceId?: string;
|
|
4654
|
+
outcome: 'success' | 'failure' | 'denied';
|
|
4655
|
+
metadata: Record<string, unknown>;
|
|
4656
|
+
clientIp?: string;
|
|
4657
|
+
userAgent?: string;
|
|
4658
|
+
}
|
|
4659
|
+
export type AuditEventInput = Omit<AuditEvent, 'id' | 'timestamp'>;
|
|
4660
|
+
export interface AuditQueryFilter {
|
|
4661
|
+
tenantId?: string; actorId?: string; actorType?: 'user' | 'agent' | 'system';
|
|
4662
|
+
action?: string; resource?: string; resourceId?: string;
|
|
4663
|
+
outcome?: 'success' | 'failure' | 'denied';
|
|
4664
|
+
since?: Date; until?: Date; limit?: number; offset?: number;
|
|
4665
|
+
}
|
|
4666
|
+
export class AuditLogger {
|
|
4667
|
+
constructor(storage?: any);
|
|
4668
|
+
log(input: AuditEventInput): AuditEvent;
|
|
4669
|
+
query(filter: AuditQueryFilter): AuditEvent[];
|
|
4670
|
+
export(filter: AuditQueryFilter, format: 'json' | 'csv'): string;
|
|
4671
|
+
setRetentionPolicy(tenantId: string, days: number): void;
|
|
4672
|
+
getRetentionPolicy(tenantId: string): number | undefined;
|
|
4673
|
+
purgeExpired(): number;
|
|
4674
|
+
getEventCount(filter?: AuditQueryFilter): number;
|
|
4675
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-Y2OCKXVD.js';
|
|
2
2
|
export { NODE_TYPE_FAMILIES, PluginKeywordRegistry, globalKeywordRegistry, registerPluginVerb, registerPluginVerbs } from './chunk-RAJMAX6D.js';
|
|
3
3
|
export { PluginSolverContractRegistry, SolverReceiptSchemaRegistry, globalContractRegistry, globalSchemaRegistry, registerContractClauseEvaluator, registerPluginContract, registerReceiptSchema, wrapSolverInContract } from './chunk-NJSYWX7H.js';
|
|
4
4
|
export { PROOF_COMPOSITION_LAWS, RECEIPT_HASH_POLICY_DEFAULT, composeReceipts, flattenForRecompose, hashReceiptPayload, hashReceiptPayloadAsync, parseReceiptHash, receiptHashMatchesPolicy, verifyCompositionLaws } from './chunk-655FATJU.js';
|
|
@@ -7,33 +7,33 @@ export { controlLoopHandler, stepMpc, stepPid } from './chunk-KPGC7SK2.js';
|
|
|
7
7
|
export { SensorRingBuffer, applyNoise, boxMuller, computeWindowStats, recordReading, sensorSamplingHandler } from './chunk-J2DAS2PL.js';
|
|
8
8
|
export { debitBalance, depositBalance, stakeBalance, transactionHandler, unstakeBalance } from './chunk-GTIPOEHN.js';
|
|
9
9
|
export { consolidate, createMatterUnit } from './chunk-BG7RPYJP.js';
|
|
10
|
-
export { ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, TRAJECTORY_DEFAULTS, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createTrajectoryMemory, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle } from './chunk-
|
|
11
|
-
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, makeOllamaProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, toGradedTraceRow, wasmFitnessBaselineFromScenario } from './chunk-
|
|
10
|
+
export { AGENT_INFERENCE_PERCEIVER, ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, PERCEIVER_CONSENSUS_VERSION, PERCEIVER_FACT_CLASSES, POSITION_EPSILON, SURFACE_TWIN_VERSION, TRAJECTORY_DEFAULTS, URDF_PERCEIVER, WEBGPU_PERCEIVER, applyProjectionTransform, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, canonicalPhysicalId, checkSurfaceTwinCorrespondence, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createTrajectoryMemory, deriveAgentInferencePerception, derivePerceiverConsensus, deriveUrdfPerception, deriveWebGPUPerception, derivedProjectionNode, diagnoseVerifiedView, enforceVerifiedViewReceipts, extractDisplayedProjections, isProvenanceComplete, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle, verifySurfaceTwinLive } from './chunk-7ZKQ32XK.js';
|
|
11
|
+
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, extractStateMachine, makeOllamaProposer, makeOpenAICompatibleProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, stateMachineSemanticCheck, stateMachineWellFormed, toGradedTraceRow, wasmFitnessBaselineFromScenario } from './chunk-NWKARJM2.js';
|
|
12
12
|
export { checkParameterEnvelope, isInEnvelope } from './chunk-HIDEIEFG.js';
|
|
13
13
|
export { autoLoadPluginsFromManifests, combinePluginRegistrations, manifestTraitNames, traitName } from './chunk-RKGUZBOC.js';
|
|
14
|
-
import { init_MJCFCompiler, init_MJXCompiler, init_EmbodiedDatasetCompiler, init_PCGGraphCompiler, init_A2AAgentCardCompiler, init_OmnigentAgentYamlCompiler, init_NIRCompiler, init_SDKCompiler, init_LlamaServerCompiler, init_DialectRegistry, CodeEditorCompiler, DialectRegistry, LlamaServerCompiler, EdgeCompiler, SCMCompiler, SDKCompiler,
|
|
15
|
-
export { BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, CrossRealityTraitRegistry, EFFECT_TO_CAPABILITY, HANDOFF_PATH_RULES, HOLOMAP_CAPTURE_DEFAULT_PROVENANCE, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, POINT_PROVENANCE_CLASS_BY_CODE, POINT_PROVENANCE_CODE, PROVENANCE_RECEIPT_VERSION, ResourceBudgetAnalyzer, SpatialPartitionPass, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, USDZPipeline, bestCategoryForTraits, buildProvenanceReceipt, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, densifyByInterpolation, deriveRequirements, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, provenanceClassToCode, provenanceCodeToClass, provenanceHistogram, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition, uniformProvenance } from './chunk-
|
|
14
|
+
import { init_MJCFCompiler, init_MJXCompiler, init_EmbodiedDatasetCompiler, init_PCGGraphCompiler, init_A2AAgentCardCompiler, init_OmnigentAgentYamlCompiler, init_NIRCompiler, init_SDKCompiler, init_LlamaServerCompiler, init_DialectRegistry, SVGCompiler, CodeEditorCompiler, DialectRegistry, LlamaServerCompiler, EdgeCompiler, SCMCompiler, SDKCompiler, GaussianTrainCompiler, ThreeDTilesCompiler, GaussianSplattingCompiler, FMUCompiler, NIRCompiler, OmnigentAgentYamlCompiler, A2AAgentCardCompiler, PCGGraphCompiler, EmbodiedDatasetCompiler, MJXCompiler, MJCFCompiler, USDZPipeline } from './chunk-EYHPTJ3F.js';
|
|
15
|
+
export { BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, ComputePhysicsCompiler, CpuPathTracer, CrossRealityTraitRegistry, DesktopGPUCompiler, EFFECT_TO_CAPABILITY, HANDOFF_PATH_RULES, HOLOMAP_CAPTURE_DEFAULT_PROVENANCE, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, MediaPipelineCompiler, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, POINT_PROVENANCE_CLASS_BY_CODE, POINT_PROVENANCE_CODE, PROVENANCE_RECEIPT_VERSION, PathTracerCompiler, PhysicsColliderCompiler, ResourceBudgetAnalyzer, SVGCompiler, SpatialAudioCompiler, SpatialPartitionPass, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, USDZPipeline, bestCategoryForTraits, buildProvenanceReceipt, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, densifyByInterpolation, deriveRequirements, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, provenanceClassToCode, provenanceCodeToClass, provenanceHistogram, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition, uniformProvenance } from './chunk-EYHPTJ3F.js';
|
|
16
16
|
export { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-UDE4OZMR.js';
|
|
17
17
|
import { MATERIAL_PRESETS, ENVIRONMENT_PRESETS } from './chunk-3F7ZZWIN.js';
|
|
18
18
|
export { ENVIRONMENT_PRESETS } from './chunk-3F7ZZWIN.js';
|
|
19
|
-
export { SceneIRCompiler, registerAllPresets } from './chunk-
|
|
19
|
+
export { SceneIRCompiler, registerAllPresets } from './chunk-PSWCJQS4.js';
|
|
20
20
|
import './chunk-2MQKNDNH.js';
|
|
21
|
-
import { init_DaimonSeedCompiler, DaimonSeedCompiler } from './chunk-
|
|
21
|
+
import { init_DaimonSeedCompiler, DaimonSeedCompiler } from './chunk-4NEPHK2K.js';
|
|
22
22
|
export { assertHoloMapManifestContract } from './chunk-IXWGYWH6.js';
|
|
23
23
|
export { COCOExporterImpl as COCOExporter } from './chunk-Q56TT7IL.js';
|
|
24
24
|
export { RemotionBridgeImpl as RemotionBridge } from './chunk-YYXH45E2.js';
|
|
25
25
|
import { generateSemanticSceneGraphObject } from './chunk-HHRZ6STP.js';
|
|
26
26
|
export { SemanticSceneGraph } from './chunk-HHRZ6STP.js';
|
|
27
|
-
import { init_AgentInferenceExportTarget, AgentInferenceCompiler } from './chunk-
|
|
28
|
-
export { AgentInferenceExportTarget_default as AgentInferenceExportTarget } from './chunk-
|
|
27
|
+
import { init_AgentInferenceExportTarget, AgentInferenceCompiler } from './chunk-KOGPVAP6.js';
|
|
28
|
+
export { AgentInferenceExportTarget_default as AgentInferenceExportTarget } from './chunk-KOGPVAP6.js';
|
|
29
29
|
export { InteropBindingGenerator, MCPCircuitBreaker, getMCPCircuitBreaker } from './chunk-FGGJQRLZ.js';
|
|
30
30
|
export { hololand_exports as hololand } from './chunk-JOTCTHN5.js';
|
|
31
31
|
export { CompositionTestRunner, DEFAULT_STDLIB_POLICY, PROTOCOL_CONSTANTS, TEST_TRAIT, buildStdlibPermissionScopeDiff, calculateRevenueDistribution, checkLicenseCompatibility, createStdlibActions, ethToWei, evaluateStdlibPermissionScopePolicy, findExtraPermissionScopes, findMissingRequiredPermissionScopes, formatRevenueDistribution, isPathAllowed, isValidPermissionScopeName, normalizePermissionScopeName, parseHostFromUrl, redactStdlibPermissionPreview, registerStdlib, resolveImportChain, resolveRepoRelativePath, stdlibPermissionPreviewHasPublicLeak, testHandler, toStringArray, truncateText, weiToEth } from './chunk-Q265VZJ4.js';
|
|
32
32
|
export { AsyncFunctionHandler, ErrorBoundary, ExportImportHandler, InteropContext, TypeScriptTypeLoader } from './chunk-TPZ3BN2D.js';
|
|
33
33
|
export { SkeletonTrait as SkeletonAnimationTrait, createSkeletonTrait } from './chunk-5EDVCNRT.js';
|
|
34
|
-
export { BUILD_TIMESTAMP, GIT_COMMIT_SHA, HOLOMAP_DEFAULTS, HOLOMAP_DENSE_PROOF_DEFAULTS, HOLOSCRIPT_VERSION, anchorReconstructionManifest, assertWeightCid, computeReconstructionManifestDigest, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, createPagedKVCache, deserializeMicroWeights, frameToMicroImage, getCachedWeightBlob, getVersionInfo, getVersionString, loadHoloMapWeightBlob, logHoloMapEvent, mergeAnchoredProvenance, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, selfAttestReconstructionManifest, serializeMicroWeights, stripAnchoredProvenance, tryCreateHoloMapEncoderDevice } from './chunk-
|
|
34
|
+
export { BUILD_TIMESTAMP, GIT_COMMIT_SHA, HOLOMAP_DEFAULTS, HOLOMAP_DENSE_PROOF_DEFAULTS, HOLOSCRIPT_VERSION, anchorReconstructionManifest, assertWeightCid, computeReconstructionManifestDigest, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, createPagedKVCache, deserializeMicroWeights, frameToMicroImage, getCachedWeightBlob, getVersionInfo, getVersionString, loadHoloMapWeightBlob, logHoloMapEvent, mergeAnchoredProvenance, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, selfAttestReconstructionManifest, serializeMicroWeights, stripAnchoredProvenance, tryCreateHoloMapEncoderDevice } from './chunk-47XZ62KM.js';
|
|
35
35
|
export { computeHoloMapReplayFingerprint, fnv1a32Hex } from './chunk-WNNE3PO3.js';
|
|
36
|
-
export { AIDriverTrait, ARKIT_MOUTH_SHAPES, AnimationTrait, BehaviorTreeRunner, MorphTrait as BlendShapeTrait, CharacterTrait, ComponentType, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_EXPRESSION_PRESETS, DEFAULT_FREQUENCY_BANDS, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, GOAPPlanner, IKTrait, JointTrait, LIGHTING_PRESETS, LightingTrait, LipSyncTrait, LobbyTrait, MATERIAL_PRESETS, MaterialTrait, NetworkedTrait, OCULUS_VISEME_MAP, REFUSED_CARE_OPTIMIZATION_TARGETS, RenderingTrait, RigidbodyTrait, SHADER_CHUNKS, SHADER_PRESETS, ShaderTrait, TriggerTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, accessibleHandler, aiInpaintingHandler, aiTextureGenHandler, alertHandler, altTextHandler, ambisonicsHandler, anchorHandler, animationConfigFromStateMachine, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, autoRigHandler, avatarEmbodimentHandler, behaviorTreeHandler, bodyTrackingHandler, buoyancyHandler, chainHandler, clothHandler, coLocatedHandler, computeHandler, controlNetHandler, controllerInputHandler, createAIDriverTrait, createAnimationTrait, createMorphTrait as createBlendShapeTrait, createCareField, createCharacterTrait, createDialogTrait, createEmotionDirectiveTrait, createIKTrait, createJointTrait, createLightingTrait, createLipSyncTrait, createLobbyTrait, createMaterialTrait, createNativeAutoRigPlan, createNetworkedTrait, createRenderingTrait, createRepairLoop, createRigidbodyTrait, createShaderTrait, createTriggerTrait, createVoiceInputTrait, createVoiceOutputTrait, dataBindingHandler, destructionHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, effectiveWeight, emotionHandler, emotionalVoiceHandler, encounterHandler, evaluateAutonomyGuard, evolveProgramHandler, extractPayload, faceTrackingHandler, factionHandler, fbxHandler, flowFieldHandler, fluidHandler, gaussianSplatHandler, generatedMeshHandler, geospatialAnchorHandler, geospatialEnvHandler, getCachedThingDescription, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, handTrackingHandler, hapticCueHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasWoTThingTrait, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hrtfHandler, invalidateThingDescription, isMQTTSinkConnected, isMQTTSourceConnected, layerAwareHandler, lightEstimationHandler, llmAgentHandler, luckHandler, magnifiableHandler, marketplaceHandler, materialXHandler, memoryHandler, meshDetectionHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, nerfHandler, neuralLinkHandler, nftHandler, occlusionHandler, patrolHandler, perceptionHandler, perceptualColorHandler, persistentAnchorHandler, photogrammetryHandler, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, provenanceDensifyHandler, provenanceHandler, publishToMQTTSink, rbacHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, reverbZoneHandler, roleHandler, rooftopAnchorHandler, ropeHandler, sampleTrack, sceneGraphHandler, screenReaderHandler, sensorHandler, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialPersonaHandler, spectatorHandler, statHandler, subtitleHandler, terrainAnchorHandler, tokenGatedHandler, usdHandler, userMonitorHandler, validateCareField, voiceProximityHandler, volumetricVideoHandler, vpsHandler, vrTraitRegistry, walletHandler, windHandler, wotThingHandler } from './chunk-
|
|
36
|
+
export { AIDriverTrait, ARKIT_MOUTH_SHAPES, AnimationTrait, BehaviorTreeRunner, MorphTrait as BlendShapeTrait, CharacterTrait, ComponentType, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_EXPRESSION_PRESETS, DEFAULT_FREQUENCY_BANDS, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, GOAPPlanner, IKTrait, JointTrait, LIGHTING_PRESETS, LightingTrait, LipSyncTrait, LobbyTrait, MATERIAL_PRESETS, MaterialTrait, NetworkedTrait, OCULUS_VISEME_MAP, REFUSED_CARE_OPTIMIZATION_TARGETS, RenderingTrait, RigidbodyTrait, SHADER_CHUNKS, SHADER_PRESETS, ShaderTrait, TriggerTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, accessibleHandler, aiInpaintingHandler, aiTextureGenHandler, alertHandler, altTextHandler, ambisonicsHandler, anchorHandler, animationConfigFromStateMachine, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, autoRigHandler, avatarEmbodimentHandler, behaviorTreeHandler, bodyTrackingHandler, buoyancyHandler, chainHandler, clothHandler, coLocatedHandler, computeHandler, controlNetHandler, controllerInputHandler, createAIDriverTrait, createAnimationTrait, createMorphTrait as createBlendShapeTrait, createCareField, createCharacterTrait, createDialogTrait, createEmotionDirectiveTrait, createIKTrait, createJointTrait, createLightingTrait, createLipSyncTrait, createLobbyTrait, createMaterialTrait, createNativeAutoRigPlan, createNetworkedTrait, createRenderingTrait, createRepairLoop, createRigidbodyTrait, createShaderTrait, createTriggerTrait, createVoiceInputTrait, createVoiceOutputTrait, dataBindingHandler, destructionHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, effectiveWeight, emotionHandler, emotionalVoiceHandler, encounterHandler, evaluateAutonomyGuard, evolveProgramHandler, extractPayload, faceTrackingHandler, factionHandler, fbxHandler, flowFieldHandler, fluidHandler, freezeWhenHandler, gaussianSplatHandler, generatedMeshHandler, geospatialAnchorHandler, geospatialEnvHandler, getCachedThingDescription, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, handTrackingHandler, hapticCueHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasWoTThingTrait, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hrtfHandler, invalidateThingDescription, isMQTTSinkConnected, isMQTTSourceConnected, layerAwareHandler, lightEstimationHandler, llmAgentHandler, luckHandler, magnifiableHandler, marketplaceHandler, materialXHandler, memoryHandler, meshDetectionHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, nerfHandler, neuralLinkHandler, nftHandler, occlusionHandler, patrolHandler, perceptionHandler, perceptualColorHandler, persistentAnchorHandler, photogrammetryHandler, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, provenanceDensifyHandler, provenanceHandler, publishToMQTTSink, rbacHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, reverbZoneHandler, roleHandler, rooftopAnchorHandler, ropeHandler, sampleTrack, sceneGraphHandler, screenReaderHandler, sensorHandler, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialPersonaHandler, spectatorHandler, statHandler, subtitleHandler, terrainAnchorHandler, tokenGatedHandler, usdHandler, userMonitorHandler, validateCareField, voiceProximityHandler, volumetricVideoHandler, vpsHandler, vrTraitRegistry, walletHandler, windHandler, wotThingHandler } from './chunk-W4AJMMQR.js';
|
|
37
37
|
import './chunk-6TRX6AR2.js';
|
|
38
38
|
export { COMPOSITION_RULES, TraitCompositor, TraitVisualRegistry, VISUAL_LAYER_PRIORITY } from './chunk-ZVQMKUGJ.js';
|
|
39
39
|
export { HOLOMAP_SIMULATION_CONTRACT_KIND, ensureNodeWebGpuSync, isWebGpuEnvironmentPresent } from './chunk-K56UVEXV.js';
|
|
@@ -43,71 +43,70 @@ export { ABSORB_TRAIT, AbsorbProcessor, HOT_RELOAD_TRAIT, HotReloadWatcher, SCRI
|
|
|
43
43
|
import './chunk-TDCNJHWO.js';
|
|
44
44
|
import './chunk-VKCTYLDN.js';
|
|
45
45
|
import './chunk-YQELFNJV.js';
|
|
46
|
-
import { USDPhysicsCompiler } from './chunk-
|
|
47
|
-
export { USDPhysicsCompiler, compileForIsaacSim, compileToUSDPhysics } from './chunk-
|
|
48
|
-
import { init_SDFCompiler, SDFCompiler } from './chunk-
|
|
49
|
-
export { SDFCompiler } from './chunk-
|
|
50
|
-
import { init_StateCompiler, StateCompiler } from './chunk-
|
|
51
|
-
import { TraitCompositionCompiler } from './chunk-
|
|
52
|
-
export { TraitCompositionCompiler } from './chunk-
|
|
46
|
+
import { USDPhysicsCompiler } from './chunk-BLCWQ225.js';
|
|
47
|
+
export { USDPhysicsCompiler, compileForIsaacSim, compileToUSDPhysics } from './chunk-BLCWQ225.js';
|
|
48
|
+
import { init_SDFCompiler, SDFCompiler } from './chunk-IXFNA5TT.js';
|
|
49
|
+
export { SDFCompiler } from './chunk-IXFNA5TT.js';
|
|
50
|
+
import { init_StateCompiler, StateCompiler } from './chunk-62OYZT6Q.js';
|
|
51
|
+
import { TraitCompositionCompiler } from './chunk-UKEK2NZJ.js';
|
|
52
|
+
export { TraitCompositionCompiler } from './chunk-UKEK2NZJ.js';
|
|
53
53
|
export { AuthorityTier, MaxPlusSemiring, MinPlusSemiring, ProvenanceSemiring, SumProductSemiring, TRAIT_ZERO, authorityWeight, createDeadElement, isDeadElement, strategyToSemiring } from './chunk-DQRJ5RJG.js';
|
|
54
|
-
import { IncrementalCompiler } from './chunk-
|
|
55
|
-
export { IncrementalCompiler, TraitDependencyGraph, createIncrementalCompiler, globalTraitGraph } from './chunk-
|
|
54
|
+
import { IncrementalCompiler } from './chunk-VXHB6ZHY.js';
|
|
55
|
+
export { IncrementalCompiler, TraitDependencyGraph, createIncrementalCompiler, globalTraitGraph } from './chunk-VXHB6ZHY.js';
|
|
56
56
|
import { computeContentHash } from './chunk-4R6SBXDB.js';
|
|
57
57
|
export { classifyPublishMode, computeContentHash, extractImports, generateProvenance } from './chunk-4R6SBXDB.js';
|
|
58
|
-
import { init_AndroidCompiler, AndroidCompiler } from './chunk-
|
|
59
|
-
export { AndroidCompiler, compileToAndroid } from './chunk-
|
|
60
|
-
import { init_AndroidXRCompiler, AndroidXRCompiler } from './chunk-
|
|
61
|
-
export { AndroidXRCompiler, compileToAndroidXR } from './chunk-
|
|
58
|
+
import { init_AndroidCompiler, AndroidCompiler } from './chunk-3KHRZTNW.js';
|
|
59
|
+
export { AndroidCompiler, compileToAndroid } from './chunk-3KHRZTNW.js';
|
|
60
|
+
import { init_AndroidXRCompiler, AndroidXRCompiler } from './chunk-JCVSCKUH.js';
|
|
61
|
+
export { AndroidXRCompiler, compileToAndroidXR } from './chunk-JCVSCKUH.js';
|
|
62
62
|
import './chunk-CBSDJF3B.js';
|
|
63
|
-
import { init_IOSCompiler, IOSCompiler } from './chunk-
|
|
64
|
-
export { IOSCompiler, compileToIOS } from './chunk-
|
|
65
|
-
import { init_VisionOSCompiler, VisionOSCompiler } from './chunk-
|
|
66
|
-
export { VisionOSCompiler } from './chunk-
|
|
67
|
-
import { init_WASMCompiler, WASMCompiler } from './chunk-
|
|
68
|
-
export { WASMCompiler, compileASTToWASM, compileToWASM, createWASMCompiler } from './chunk-
|
|
69
|
-
import { init_WebGPUCompiler, WebGPUCompiler } from './chunk-
|
|
70
|
-
export { WebGPUCompiler } from './chunk-
|
|
71
|
-
import { init_DTDLCompiler, DTDLCompiler } from './chunk-
|
|
72
|
-
export { DTDLCompiler, DTDL_TRAIT_COMPONENTS } from './chunk-
|
|
73
|
-
import { init_URDFCompiler, URDFCompiler } from './chunk-
|
|
74
|
-
export { URDFCompiler, compileForGazebo, compileForROS2, compileToURDF, createURDFCompiler, generateControllersYaml, generateROS2LaunchFile } from './chunk-
|
|
63
|
+
import { init_IOSCompiler, IOSCompiler } from './chunk-73EDVY5D.js';
|
|
64
|
+
export { IOSCompiler, compileToIOS } from './chunk-73EDVY5D.js';
|
|
65
|
+
import { init_VisionOSCompiler, VisionOSCompiler } from './chunk-VMCR5QVI.js';
|
|
66
|
+
export { VisionOSCompiler } from './chunk-VMCR5QVI.js';
|
|
67
|
+
import { init_WASMCompiler, WASMCompiler } from './chunk-5T6BWIB7.js';
|
|
68
|
+
export { WASMCompiler, compileASTToWASM, compileToWASM, createWASMCompiler } from './chunk-5T6BWIB7.js';
|
|
69
|
+
import { init_WebGPUCompiler, WebGPUCompiler } from './chunk-QLPRI3QW.js';
|
|
70
|
+
export { WebGPUCompiler } from './chunk-QLPRI3QW.js';
|
|
71
|
+
import { init_DTDLCompiler, DTDLCompiler } from './chunk-CHIZSMWD.js';
|
|
72
|
+
export { DTDLCompiler, DTDL_TRAIT_COMPONENTS } from './chunk-CHIZSMWD.js';
|
|
73
|
+
import { init_URDFCompiler, URDFCompiler } from './chunk-Q4J2K7FI.js';
|
|
74
|
+
export { URDFCompiler, compileForGazebo, compileForROS2, compileToURDF, createURDFCompiler, generateControllersYaml, generateROS2LaunchFile } from './chunk-Q4J2K7FI.js';
|
|
75
75
|
export { FileSizeExceededError, IPFSPinError, IPFSService, IPFSUploadError, InfuraProvider, NFTStorageProvider, PinataProvider } from './chunk-F75DZBBI.js';
|
|
76
76
|
export { DEFAULT_BLOCKLIST, HARD_STOP_CATEGORIES, POLICY_PACK_COMPILE_TARGETS, POLICY_PACK_FRAMEWORK_IDS, PolicyPackDefinitionError, PolicyPackDeploymentError, assertPolicyPackDeploymentReady, buildContentPolicyConfig, defaultPolicyPackCompileTargets, defaultRulesForTier, definePolicyPack, evaluateContentPolicy, evaluateContentPolicySync, evaluatePolicyPackDeployment, isPolicyPackCompileTarget, isPolicyPackFrameworkId, jurisdictionBundle, matchBlocklist, normalizeText, policyPackFromSchemaBlock, toAuditEventInput, validatePolicyPack } from './chunk-ET3AN4W3.js';
|
|
77
77
|
export { evaluateJsonLogic, matchesRule } from './chunk-JBQXZIWB.js';
|
|
78
|
-
import { init_OpenXRCompiler, OpenXRCompiler } from './chunk-
|
|
79
|
-
export { OpenXRCompiler } from './chunk-
|
|
80
|
-
import { init_VRChatCompiler, VRChatCompiler } from './chunk-
|
|
81
|
-
export { VRChatCompiler, compileToVRChat } from './chunk-
|
|
82
|
-
import { init_UnityCompiler, UnityCompiler } from './chunk-
|
|
83
|
-
export { UnityCompiler } from './chunk-
|
|
84
|
-
import { init_UnrealCompiler, UnrealCompiler } from './chunk-
|
|
85
|
-
export { UnrealCompiler, compileToUnreal } from './chunk-
|
|
78
|
+
import { init_OpenXRCompiler, OpenXRCompiler } from './chunk-R5VKLUMR.js';
|
|
79
|
+
export { OpenXRCompiler } from './chunk-R5VKLUMR.js';
|
|
80
|
+
import { init_VRChatCompiler, VRChatCompiler } from './chunk-6FCNMTL5.js';
|
|
81
|
+
export { VRChatCompiler, compileToVRChat } from './chunk-6FCNMTL5.js';
|
|
82
|
+
import { init_UnityCompiler, UnityCompiler } from './chunk-KYJD2UMV.js';
|
|
83
|
+
export { UnityCompiler } from './chunk-KYJD2UMV.js';
|
|
84
|
+
import { init_UnrealCompiler, UnrealCompiler } from './chunk-M7XR3F53.js';
|
|
85
|
+
export { UnrealCompiler, compileToUnreal } from './chunk-M7XR3F53.js';
|
|
86
86
|
import { init_PlatformConditional, init_PlatformConditionalCompilerMixin, PLATFORM_CATEGORIES, DEFAULT_EMBODIMENT, platformCategory, ALL_PLATFORMS } from './chunk-DJNH4HFW.js';
|
|
87
87
|
export { ALL_PLATFORMS, DEFAULT_EMBODIMENT, PLATFORM_CAPABILITIES, PLATFORM_CATEGORIES, PlatformConditionalCompilerMixin, ALL_PLATFORMS as XR_ALL_PLATFORMS, PLATFORM_CAPABILITIES as XR_PLATFORM_CAPABILITIES, PLATFORM_CATEGORIES as XR_PLATFORM_CATEGORIES, agentBudgetFor, createPlatformTarget, embodimentFor, filterCompositionForPlatform, hasCapability, matchesPlatform, matchesPlatformConstraint, normalizePlatformName, platformCategory, resolvePlatforms, selectBlock } from './chunk-DJNH4HFW.js';
|
|
88
|
-
import { init_GodotCompiler, GodotCompiler } from './chunk-
|
|
89
|
-
export { GodotCompiler } from './chunk-
|
|
90
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compilePhysicsContractBlock, physicsContractToWGSL, compileNavFieldBlock, navFieldToWGSL, compileLightFieldBlock, lightFieldToWGSL, compileParticleFieldBlock, particleFieldToWGSL, compileMaterialGraphBlock, materialGraphToWGSL, compileMaterialBlock } from './chunk-
|
|
91
|
-
export { architectureToGodot, architectureToR3F, architectureToUSDA, architectureToUnity, architectureToVRChat, compileArchitectureBlock, compileDataVizBlock, compileDomainBlocks, compileEducationBlock, compileHealthcareBlock, compileInputBlock, compileIoTBlock, compileMaterialBlock, compileMusicBlock, compileNarrativeBlock, compileNavigationBlock, compilePaymentBlock, compilePhysicsBlock, compileProceduralBlock, compileRenderingBlock, compileRoboticsBlock, compileWeb3Block, datavizToGodot, datavizToR3F, datavizToUSDA, datavizToUnity, datavizToUnreal, datavizToVRChat, datavizToWebGPU, educationToGodot, educationToR3F, educationToUSDA, educationToUnity, educationToVRChat, healthcareToGodot, healthcareToR3F, healthcareToUSDA, healthcareToUnity, healthcareToVRChat, inputToGodot, inputToR3F, inputToUSDA, inputToUnity, inputToVRChat, iotToGodot, iotToR3F, iotToUSDA, iotToUnity, iotToVRChat, materialToGLTF, materialToR3F, materialToUSD, musicToGodot, musicToR3F, musicToUSDA, musicToUnity, musicToVRChat, narrativeToGodot, narrativeToR3F, narrativeToUSDA, narrativeToUnity, narrativeToVRChat, navigationToGodot, navigationToR3F, navigationToUSDA, navigationToUnity, navigationToVRChat, paymentToGodot, paymentToR3F, paymentToUSDA, paymentToUnity, paymentToVRChat, physicsToURDF, proceduralToGodot, proceduralToR3F, proceduralToUSDA, proceduralToUnity, proceduralToVRChat, renderingToGodot, renderingToR3F, renderingToUSDA, renderingToUnity, renderingToVRChat, roboticsToGodot, roboticsToR3F, roboticsToUSDA, roboticsToUnity, roboticsToVRChat, web3ToGodot, web3ToR3F, web3ToUSDA, web3ToUnity, web3ToVRChat } from './chunk-
|
|
88
|
+
import { init_GodotCompiler, GodotCompiler } from './chunk-RVN7OPCP.js';
|
|
89
|
+
export { GodotCompiler } from './chunk-RVN7OPCP.js';
|
|
90
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compilePhysicsContractBlock, physicsContractToWGSL, compileNavFieldBlock, navFieldToWGSL, compileLightFieldBlock, lightFieldToWGSL, compileParticleFieldBlock, particleFieldToWGSL, compileMaterialGraphBlock, materialGraphToWGSL, compileMaterialBlock } from './chunk-TZQKJOPC.js';
|
|
91
|
+
export { architectureToGodot, architectureToR3F, architectureToUSDA, architectureToUnity, architectureToVRChat, compileArchitectureBlock, compileDataVizBlock, compileDomainBlocks, compileEducationBlock, compileHealthcareBlock, compileInputBlock, compileIoTBlock, compileMaterialBlock, compileMusicBlock, compileNarrativeBlock, compileNavigationBlock, compilePaymentBlock, compilePhysicsBlock, compileProceduralBlock, compileRenderingBlock, compileRoboticsBlock, compileWeb3Block, datavizToGodot, datavizToR3F, datavizToUSDA, datavizToUnity, datavizToUnreal, datavizToVRChat, datavizToWebGPU, educationToGodot, educationToR3F, educationToUSDA, educationToUnity, educationToVRChat, healthcareToGodot, healthcareToR3F, healthcareToUSDA, healthcareToUnity, healthcareToVRChat, inputToGodot, inputToR3F, inputToUSDA, inputToUnity, inputToVRChat, iotToGodot, iotToR3F, iotToUSDA, iotToUnity, iotToVRChat, materialToGLTF, materialToR3F, materialToUSD, musicToGodot, musicToR3F, musicToUSDA, musicToUnity, musicToVRChat, narrativeToGodot, narrativeToR3F, narrativeToUSDA, narrativeToUnity, narrativeToVRChat, navigationToGodot, navigationToR3F, navigationToUSDA, navigationToUnity, navigationToVRChat, paymentToGodot, paymentToR3F, paymentToUSDA, paymentToUnity, paymentToVRChat, physicsToURDF, proceduralToGodot, proceduralToR3F, proceduralToUSDA, proceduralToUnity, proceduralToVRChat, renderingToGodot, renderingToR3F, renderingToUSDA, renderingToUnity, renderingToVRChat, roboticsToGodot, roboticsToR3F, roboticsToUSDA, roboticsToUnity, roboticsToVRChat, web3ToGodot, web3ToR3F, web3ToUSDA, web3ToUnity, web3ToVRChat } from './chunk-TZQKJOPC.js';
|
|
92
92
|
import { init_PerceptualColorPass, init_color } from './chunk-UCVZXQ63.js';
|
|
93
93
|
export { DAMPENING_OFF, DEFAULT_DAMPENING, DEFAULT_LANL_GRAY_NOISE, LANL_GRAY_ACHROMATIC_AGGREGATES, LANL_GRAY_ACHROMATIC_SOURCE, SCIENTIFIC_COLOR_MAPS, analyzePerceptualColor, applyPerceptualColorPass, arcLengthDeltaE2000, buildPerceptualGradient, buildPerceptualPalette, chroma, dampen, deltaE2000, fitLanlGrayAchromaticModel, hexToSrgb, hue, labMetricQuadraticForm, labToSrgb, labToXyz, lanlGrayChoiceProbability, lanlGrayMeanAccuracy, lanlGrayNegativeLogLikelihood, lightness, linearRgbToXyz, linearToSrgb, linearToSrgbChannel, metricTensorArcLengthDeltaE2000, metricTensorDeltaE2000, nearestNeutral, normalizeHexColor, perceptualDistance, perceptualLerp, solveDeltaE2000Geodesic, srgbToHex, srgbToLab, srgbToLinear, srgbToLinearChannel, xyzToLab, xyzToLinearRgb } from './chunk-UCVZXQ63.js';
|
|
94
|
-
import { init_CompilerBase, init_CompilerDocumentationGenerator, init_CultureTraits, CompilerBase, CompilerDocumentationGenerator } from './chunk-
|
|
95
|
-
export { BUILTIN_NORMS, BUILTIN_NORM_PROVENANCE, CompilerBase, UNKNOWN_NORM_PROVENANCE, criticalMassForChange, deserializeNormProvenance, getBuiltinNorm, normalizeNormProvenance, normsByCategory, serializeNormProvenance } from './chunk-
|
|
96
|
-
import './chunk-
|
|
94
|
+
import { init_CompilerBase, init_CompilerDocumentationGenerator, init_CultureTraits, CompilerBase, CompilerDocumentationGenerator } from './chunk-YDSNDCV3.js';
|
|
95
|
+
export { BUILTIN_NORMS, BUILTIN_NORM_PROVENANCE, CompilerBase, UNKNOWN_NORM_PROVENANCE, criticalMassForChange, deserializeNormProvenance, getBuiltinNorm, normalizeNormProvenance, normsByCategory, serializeNormProvenance } from './chunk-YDSNDCV3.js';
|
|
96
|
+
import './chunk-IA7FCSRY.js';
|
|
97
97
|
import './chunk-5CURIYGT.js';
|
|
98
98
|
export { DeterminismHarness, captureEnvironment, describeEnvironment, hashBytes } from './chunk-DD2JQ7TS.js';
|
|
99
99
|
export { vec3Add, vec3Cross, vec3CrossArray, vec3Distance, vec3Dot, vec3Length, vec3Normalize, vec3NormalizeInPlace, vec3Scale, vec3ScaleArray, vec3Sub, vec3SubArray } from './chunk-33YHE7HX.js';
|
|
100
100
|
export { TROPICAL_INF, barabasiAlbertCsr, csrFromDense, erdosRenyiCsr, layeredNeuralCsr, maxAbsDiff, mulberry32, tropicalMinPlusSpmv, tropicalMinPlusSpmvDense } from './chunk-GLEJ2TLS.js';
|
|
101
|
-
import { TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors, GrammarModuleRegistry } from './chunk-
|
|
102
|
-
import { parseHolo, HoloCompositionParser } from './chunk-
|
|
103
|
-
export { HoloCompositionParser, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-
|
|
101
|
+
import { TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors, GrammarModuleRegistry } from './chunk-ORBVCOTC.js';
|
|
102
|
+
import { parseHolo, HoloCompositionParser } from './chunk-JQCXLKAU.js';
|
|
103
|
+
export { HoloCompositionParser, parseHolo, parseHoloPartial, parseHoloStrict } from './chunk-JQCXLKAU.js';
|
|
104
104
|
export { isPipelineSource, parsePipeline } from './chunk-SYTRBGDS.js';
|
|
105
|
-
import { parse } from './chunk-
|
|
106
|
-
export { ChunkBasedIncrementalParser, HSPLUS_ERROR_CODES, HoloScriptPlusParser, ParseCache, createKeywordError, createParser, createRichError, createTraitError, findSimilarKeyword, findSimilarTrait, formatRichError, formatRichErrors, getErrorCodeDocumentation, getSourceContext, globalParseCache, parse, parse as parseHoloScriptPlus, parseIncrementalChunks } from './chunk-
|
|
107
|
-
export { ErrorRecovery, HOLOSCHEMA_GEOMETRIES, HOLOSCHEMA_KEYWORDS, HOLOSCHEMA_PROPERTIES } from './chunk-
|
|
105
|
+
import { parse } from './chunk-C73GVAYC.js';
|
|
106
|
+
export { ChunkBasedIncrementalParser, HSPLUS_ERROR_CODES, HoloScriptPlusParser, ParseCache, createKeywordError, createParser, createRichError, createTraitError, findSimilarKeyword, findSimilarTrait, formatRichError, formatRichErrors, getErrorCodeDocumentation, getSourceContext, globalParseCache, parse, parse as parseHoloScriptPlus, parseIncrementalChunks } from './chunk-C73GVAYC.js';
|
|
107
|
+
export { CODE_GRAPH_TRAITS, ErrorRecovery, HOLOSCHEMA_GEOMETRIES, HOLOSCHEMA_KEYWORDS, HOLOSCHEMA_PROPERTIES, NATIVE2D_TRAITS, buildKnownTraitSet } from './chunk-Z7NUL73U.js';
|
|
108
108
|
import './chunk-UNMVGZVW.js';
|
|
109
|
-
export { LIFECYCLE_HOOKS, STRUCTURAL_DIRECTIVES } from './chunk-
|
|
110
|
-
import { VR_TRAITS } from './chunk-2EGGAZT3.js';
|
|
109
|
+
export { LIFECYCLE_HOOKS, STRUCTURAL_DIRECTIVES } from './chunk-FWKEY4LD.js';
|
|
111
110
|
export { SPATIAL_AUDIO_EXTENSION_TRAITS, VFX_AUDIO_TRAITS, VFX_PARTICLE_TRAITS, VR_TRAITS } from './chunk-2EGGAZT3.js';
|
|
112
111
|
import { init_holomap_reconstruction } from './chunk-YW3I2FQL.js';
|
|
113
112
|
export { ACCESSIBILITY_EXTENDED_TRAITS, ACCESSIBILITY_TRAITS, AERIAL_AQUATIC_TRAITS, AGE_CONDITION_TRAITS, ANIMALS_TRAITS, ARCHITECTURE_REALESTATE_TRAITS, AUDIO_TRAITS, CONNECTIVITY_TRAITS, CONSTRUCTION_BUILDING_TRAITS, CONTAINERS_STORAGE_TRAITS, CONTROLLER_TRAITS, COOKING_FOOD_TRAITS, CORE_VR_INTERACTION_TRAITS, CREATURES_MYTHICAL_TRAITS, DATA_VISUALIZATION_TRAITS, EDUCATION_LEARNING_TRAITS, EMOTION_MOOD_TRAITS, ENVIRONMENTAL_BIOME_TRAITS, ENVIRONMENTAL_SENSOR_TRAITS, ENVIRONMENT_INPUT_TRAITS, FABRIC_CLOTH_TRAITS, FORCE_TORQUE_TRAITS, FURNITURE_DECOR_TRAITS, GAME_MECHANICS_TRAITS, GEMS_MINERALS_TRAITS, GEOSPATIAL_WEB3_TRAITS, GRIPPER_TRAITS, HEALTHCARE_MEDICAL_TRAITS, HOLOMAP_RECONSTRUCTION_DECORATORS, HOLOMAP_RECONSTRUCTION_DECORATOR_NAMES, HOLOMAP_RECONSTRUCTION_TRAITS, HUMANOID_AVATAR_TRAITS, INERTIAL_POSITION_TRAITS, INTELLIGENCE_BEHAVIOR_TRAITS, INTEROP_COPRESENCE_TRAITS, IOT_AUTONOMOUS_AGENTS_TRAITS, JOINT_CONTROL_TRAITS, JOINT_PROPERTY_TRAITS, JOINT_TYPE_TRAITS, LEGGED_TRAITS, LIGHTING_TRAITS, LOCOMOTION_MOVEMENT_TRAITS, MAGIC_FANTASY_TRAITS, MARITIME_NAVAL_TRAITS, MATERIAL_PROPERTIES_TRAITS, MEASUREMENT_SENSING_TRAITS, MEDIA_ANALYTICS_TRAITS, MOBILE_BASE_TRAITS, MOTOR_FEEDBACK_TRAITS, MOTOR_TYPE_TRAITS, MULTISENSORY_HAPTIC_TRAITS, MUSICAL_SOUND_TRAITS, MUSIC_PERFORMANCE_TRAITS, NARRATIVE_STORYTELLING_TRAITS, NATURE_LIFE_TRAITS, NETWORKING_AI_TRAITS, NPC_ROLES_TRAITS, OBJECT_INTERACTION_TRAITS, PARSER_CORE_UI_TRAITS, PHYSICAL_AFFORDANCES_TRAITS, PHYSICS_EXPANSION_TRAITS, PLANNING_TRAITS, POWER_TRAITS, PROCEDURAL_GENERATION_TRAITS, PROTOCOL_TRAITS, RANGE_SENSING_TRAITS, RESOURCE_GATHERING_TRAITS, ROBOTICS_INDUSTRIAL_TRAITS, SAFETY_BOUNDARIES_TRAITS, SAFETY_TRAITS, SCIFI_TECHNOLOGY_TRAITS, SHAPE_FORM_TRAITS, SIGNS_COMMUNICATION_TRAITS, SIMPLE_MODIFIER_TRAITS, SIZE_SCALE_TRAITS, SOCIAL_COMMERCE_TRAITS, SOCIAL_EFFECTS_TRAITS, SPORTS_FITNESS_TRAITS, STANDARDS_TRAITS, STATE_PERSISTENCE_TRAITS, SURFACE_TEXTURE_TRAITS, TIME_PERIOD_TRAITS, TOOL_INTERFACE_TRAITS, TOOL_TRAITS, TRANSMISSION_TRAITS, TRANSPORTATION_VEHICLES_TRAITS, VISION_TRAITS, VISUAL_EFFECTS_TRAITS, VOLUMETRIC_WEBGPU_TRAITS, WATER_FLUID_TRAITS, WEATHER_PARTICLES_TRAITS, WEATHER_PHENOMENA_TRAITS, XR_PLATFORM_TRAITS, getReconstructionTraitsFromDecorators, isReconstructionDecorator } from './chunk-YW3I2FQL.js';
|
|
@@ -4257,6 +4256,130 @@ init_UnityCompiler();
|
|
|
4257
4256
|
init_GodotCompiler();
|
|
4258
4257
|
init_VisionOSCompiler();
|
|
4259
4258
|
init_WebGPUCompiler();
|
|
4259
|
+
|
|
4260
|
+
// src/cognition/decision-network.ts
|
|
4261
|
+
var STATUS_COLOR = {
|
|
4262
|
+
problem: "#6f3a2f",
|
|
4263
|
+
blocker: "#6f3a2f",
|
|
4264
|
+
fail: "#6f3a2f",
|
|
4265
|
+
bug: "#7a5a2f",
|
|
4266
|
+
finding: "#7a5a2f",
|
|
4267
|
+
warn: "#7a5a2f",
|
|
4268
|
+
risk: "#7a5a2f",
|
|
4269
|
+
shipped: "#2f6f4f",
|
|
4270
|
+
done: "#2f6f4f",
|
|
4271
|
+
pass: "#2f6f4f",
|
|
4272
|
+
green: "#2f6f4f",
|
|
4273
|
+
judge: "#2f4f7f",
|
|
4274
|
+
audit: "#2f4f7f",
|
|
4275
|
+
info: "#2f4f7f",
|
|
4276
|
+
running: "#2f4f7f",
|
|
4277
|
+
meta: "#4f2f6f",
|
|
4278
|
+
current: "#4f2f6f",
|
|
4279
|
+
this: "#4f2f6f",
|
|
4280
|
+
open: "#3a4250",
|
|
4281
|
+
todo: "#3a4250",
|
|
4282
|
+
pending: "#3a4250"
|
|
4283
|
+
};
|
|
4284
|
+
var DEFAULT_COLOR = "#2f4f7f";
|
|
4285
|
+
var EDGE_COLOR = "#8aa0b4";
|
|
4286
|
+
function colorFor(status) {
|
|
4287
|
+
return STATUS_COLOR[String(status ?? "").trim().toLowerCase()] ?? DEFAULT_COLOR;
|
|
4288
|
+
}
|
|
4289
|
+
function computeDepths(events) {
|
|
4290
|
+
const byId = new Map(events.map((e) => [e.id, e]));
|
|
4291
|
+
const depth = /* @__PURE__ */ new Map();
|
|
4292
|
+
const visiting = /* @__PURE__ */ new Set();
|
|
4293
|
+
const of = (id) => {
|
|
4294
|
+
if (depth.has(id)) return depth.get(id);
|
|
4295
|
+
const e = byId.get(id);
|
|
4296
|
+
if (!e || !e.causes || e.causes.length === 0) {
|
|
4297
|
+
depth.set(id, 0);
|
|
4298
|
+
return 0;
|
|
4299
|
+
}
|
|
4300
|
+
if (visiting.has(id)) return 0;
|
|
4301
|
+
visiting.add(id);
|
|
4302
|
+
let d = 0;
|
|
4303
|
+
for (const c of e.causes) if (byId.has(c)) d = Math.max(d, of(c) + 1);
|
|
4304
|
+
visiting.delete(id);
|
|
4305
|
+
depth.set(id, d);
|
|
4306
|
+
return d;
|
|
4307
|
+
};
|
|
4308
|
+
for (const e of events) of(e.id);
|
|
4309
|
+
return depth;
|
|
4310
|
+
}
|
|
4311
|
+
function q(s) {
|
|
4312
|
+
return String(s).replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
4313
|
+
}
|
|
4314
|
+
function buildDecisionHolo(events, opts = {}) {
|
|
4315
|
+
const rowSpacing = opts.rowSpacing ?? 2.3;
|
|
4316
|
+
const colSpacing = opts.colSpacing ?? 5.6;
|
|
4317
|
+
const nodeW = opts.nodeWidth ?? 4.6;
|
|
4318
|
+
const nodeD = opts.nodeDepth ?? 1.4;
|
|
4319
|
+
const title = opts.title ?? "HoloMind \xB7 decision network";
|
|
4320
|
+
const seen = /* @__PURE__ */ new Set();
|
|
4321
|
+
const nodes = events.filter((e) => e.id && !seen.has(e.id) && seen.add(e.id));
|
|
4322
|
+
const depths = computeDepths(nodes);
|
|
4323
|
+
const maxDepth = Math.max(0, ...nodes.map((n) => depths.get(n.id) ?? 0));
|
|
4324
|
+
const rows = /* @__PURE__ */ new Map();
|
|
4325
|
+
for (const n of nodes) {
|
|
4326
|
+
const d = depths.get(n.id) ?? 0;
|
|
4327
|
+
if (!rows.has(d)) rows.set(d, []);
|
|
4328
|
+
rows.get(d).push(n);
|
|
4329
|
+
}
|
|
4330
|
+
const zCenter = maxDepth * rowSpacing / 2;
|
|
4331
|
+
const pos = /* @__PURE__ */ new Map();
|
|
4332
|
+
for (const [d, row] of rows) {
|
|
4333
|
+
const n = row.length;
|
|
4334
|
+
const xStart = -((n - 1) * colSpacing) / 2;
|
|
4335
|
+
row.forEach((node, i) => pos.set(node.id, { x: xStart + i * colSpacing, z: d * rowSpacing - zCenter }));
|
|
4336
|
+
}
|
|
4337
|
+
const lines = [];
|
|
4338
|
+
lines.push(`composition "DecisionNetwork" {`);
|
|
4339
|
+
lines.push(` object "Title" { geometry: "text"; position: [0, 0, ${(-zCenter - 1.35).toFixed(2)}]; text: "${q(title)}"; size: 14; color: "#dfeaf2" }`);
|
|
4340
|
+
for (const node of nodes) {
|
|
4341
|
+
const p = pos.get(node.id);
|
|
4342
|
+
const receipt = node.receipt ? `; receipt: "${q(node.receipt)}"` : "";
|
|
4343
|
+
lines.push(
|
|
4344
|
+
` object "${q(node.id)}" { geometry: "box"; position: [${p.x.toFixed(2)}, 0, ${p.z.toFixed(2)}]; scale: [${nodeW}, 1, ${nodeD}]; color: "${colorFor(node.status)}"; label: "${q(node.label)}"${receipt} }`
|
|
4345
|
+
);
|
|
4346
|
+
}
|
|
4347
|
+
let ei = 0;
|
|
4348
|
+
for (const node of nodes) {
|
|
4349
|
+
for (const c of node.causes ?? []) {
|
|
4350
|
+
if (pos.has(c)) lines.push(` object "e${ei++}" { geometry: "edge"; source: "${q(c)}"; target: "${q(node.id)}"; color: "${EDGE_COLOR}" }`);
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
lines.push("}");
|
|
4354
|
+
return lines.join("\n");
|
|
4355
|
+
}
|
|
4356
|
+
function canvasFor(events, opts) {
|
|
4357
|
+
const rowSpacing = opts.rowSpacing ?? 2.3;
|
|
4358
|
+
const colSpacing = opts.colSpacing ?? 5.6;
|
|
4359
|
+
const nodeW = opts.nodeWidth ?? 4.6;
|
|
4360
|
+
const depths = computeDepths(events);
|
|
4361
|
+
const maxDepth = Math.max(0, ...events.map((n) => depths.get(n.id) ?? 0));
|
|
4362
|
+
const rowCounts = /* @__PURE__ */ new Map();
|
|
4363
|
+
for (const n of events) {
|
|
4364
|
+
const d = depths.get(n.id) ?? 0;
|
|
4365
|
+
rowCounts.set(d, (rowCounts.get(d) ?? 0) + 1);
|
|
4366
|
+
}
|
|
4367
|
+
const maxRow = Math.max(1, ...rowCounts.values());
|
|
4368
|
+
const width = Math.max(700, Math.round(((maxRow - 1) * colSpacing + nodeW + 4) * 40));
|
|
4369
|
+
const height = Math.max(420, Math.round((maxDepth * rowSpacing + 6) * 40));
|
|
4370
|
+
return { width, height };
|
|
4371
|
+
}
|
|
4372
|
+
function renderDecisionSvg(events, opts = {}) {
|
|
4373
|
+
const holo = buildDecisionHolo(events, opts);
|
|
4374
|
+
const parsed = new HoloCompositionParser().parse(holo);
|
|
4375
|
+
if (!parsed.success || !parsed.ast) {
|
|
4376
|
+
throw new Error(`decision-network .holo failed to parse: ${JSON.stringify(parsed.errors)}`);
|
|
4377
|
+
}
|
|
4378
|
+
const { width, height } = canvasFor(events, opts);
|
|
4379
|
+
return new SVGCompiler({ width, height }).compile(parsed.ast, "").svg;
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4382
|
+
// src/legacy-exports.ts
|
|
4260
4383
|
init_AndroidXRCompiler();
|
|
4261
4384
|
init_OpenXRCompiler();
|
|
4262
4385
|
|
|
@@ -12332,7 +12455,7 @@ var ColyseusCompiler = class extends CompilerBase {
|
|
|
12332
12455
|
this.importedBrains = /* @__PURE__ */ new Set();
|
|
12333
12456
|
this.importedBrainDecls = [];
|
|
12334
12457
|
const resolutionWarnings = [];
|
|
12335
|
-
const { HoloCompositionParser: HoloCompositionParser2 } = await import('./HoloCompositionParser-
|
|
12458
|
+
const { HoloCompositionParser: HoloCompositionParser2 } = await import('./HoloCompositionParser-GILABNN3.js');
|
|
12336
12459
|
const parser = new HoloCompositionParser2();
|
|
12337
12460
|
const parsed = parser.parse(source);
|
|
12338
12461
|
if (!parsed.success || !parsed.ast) {
|
|
@@ -12403,7 +12526,7 @@ var ColyseusCompiler = class extends CompilerBase {
|
|
|
12403
12526
|
}
|
|
12404
12527
|
async ingestBrains(text, file, warnings) {
|
|
12405
12528
|
try {
|
|
12406
|
-
const { HoloScriptPlusParser: HoloScriptPlusParser2 } = await import('./HoloScriptPlusParser-
|
|
12529
|
+
const { HoloScriptPlusParser: HoloScriptPlusParser2 } = await import('./HoloScriptPlusParser-ZP53ECSL.js');
|
|
12407
12530
|
const parser = new HoloScriptPlusParser2({ enableTypeScriptImports: false });
|
|
12408
12531
|
const result = parser.parse(text);
|
|
12409
12532
|
const decls = this.collectBrainDecls(result);
|
|
@@ -12716,7 +12839,7 @@ var ColyseusCompiler = class extends CompilerBase {
|
|
|
12716
12839
|
buildWorldLayers(composition) {
|
|
12717
12840
|
const layers = composition.worldLayers ?? [];
|
|
12718
12841
|
if (layers.length === 0) return [];
|
|
12719
|
-
const declaredQuests = new Set((composition.quests ?? []).map((
|
|
12842
|
+
const declaredQuests = new Set((composition.quests ?? []).map((q2) => q2.name));
|
|
12720
12843
|
const out = [];
|
|
12721
12844
|
for (const layer of layers) {
|
|
12722
12845
|
const questId = layer.predicate?.questId ?? "";
|
|
@@ -16865,7 +16988,7 @@ var DungeonInstancePoolCompiler = class extends CompilerBase {
|
|
|
16865
16988
|
}
|
|
16866
16989
|
/** Lower + quest-validate dungeon_instance blocks. */
|
|
16867
16990
|
buildDungeons(composition) {
|
|
16868
|
-
const declaredQuests = new Set((composition.quests ?? []).map((
|
|
16991
|
+
const declaredQuests = new Set((composition.quests ?? []).map((q2) => q2.name));
|
|
16869
16992
|
const out = [];
|
|
16870
16993
|
for (const d of composition.dungeonInstances ?? []) {
|
|
16871
16994
|
if (d.completionQuest && !declaredQuests.has(d.completionQuest)) {
|
|
@@ -37041,7 +37164,8 @@ var WasmParserBridge = class {
|
|
|
37041
37164
|
async loadDefaultNodeGrammar() {
|
|
37042
37165
|
if (!isNodeLikeRuntime()) return null;
|
|
37043
37166
|
try {
|
|
37044
|
-
const
|
|
37167
|
+
const wasmRelPath = ["..", "..", "..", "compiler-wasm", "pkg-node", "holoscript_wasm.js"].join("/");
|
|
37168
|
+
const moduleUrl = new URL(wasmRelPath, import.meta.url);
|
|
37045
37169
|
const imported = await import(
|
|
37046
37170
|
/* @vite-ignore */
|
|
37047
37171
|
moduleUrl.href
|
|
@@ -42103,47 +42227,6 @@ function calculateMedian(numbers) {
|
|
|
42103
42227
|
return sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
|
|
42104
42228
|
}
|
|
42105
42229
|
|
|
42106
|
-
// src/traits/knownTraitSet.ts
|
|
42107
|
-
var NATIVE2D_TRAITS = [
|
|
42108
|
-
"text",
|
|
42109
|
-
"fetch",
|
|
42110
|
-
"bind",
|
|
42111
|
-
"hook",
|
|
42112
|
-
"theme",
|
|
42113
|
-
"panel",
|
|
42114
|
-
"slot",
|
|
42115
|
-
"link",
|
|
42116
|
-
"button",
|
|
42117
|
-
"image",
|
|
42118
|
-
"input",
|
|
42119
|
-
"icon",
|
|
42120
|
-
"when",
|
|
42121
|
-
"each",
|
|
42122
|
-
"count_of",
|
|
42123
|
-
"form",
|
|
42124
|
-
"semantic_layout",
|
|
42125
|
-
"semantic_entity",
|
|
42126
|
-
"color",
|
|
42127
|
-
"content",
|
|
42128
|
-
"layout",
|
|
42129
|
-
"native_panel",
|
|
42130
|
-
"view",
|
|
42131
|
-
"page",
|
|
42132
|
-
"route",
|
|
42133
|
-
"metadata"
|
|
42134
|
-
];
|
|
42135
|
-
var CODE_GRAPH_TRAITS = ["route", "file", "reused_in", "uses_stores", "calls_apis"];
|
|
42136
|
-
var RUNTIME_DIRECTIVE_TRAITS = ["llama_serve", "model_fleet", "provider_policy"];
|
|
42137
|
-
function buildKnownTraitSet(extras = []) {
|
|
42138
|
-
return /* @__PURE__ */ new Set([
|
|
42139
|
-
...VR_TRAITS,
|
|
42140
|
-
...NATIVE2D_TRAITS,
|
|
42141
|
-
...CODE_GRAPH_TRAITS,
|
|
42142
|
-
...RUNTIME_DIRECTIVE_TRAITS,
|
|
42143
|
-
...extras.flat()
|
|
42144
|
-
]);
|
|
42145
|
-
}
|
|
42146
|
-
|
|
42147
42230
|
// src/barrel/compiler-plugins-crypto.ts
|
|
42148
42231
|
init_CompilerBase();
|
|
42149
42232
|
|
|
@@ -46068,8 +46151,8 @@ var FINITE = (v) => typeof v === "number" && Number.isFinite(v);
|
|
|
46068
46151
|
var isVec3 = (v) => Array.isArray(v) && v.length === 3 && v.every(FINITE);
|
|
46069
46152
|
var isQuat = (v) => {
|
|
46070
46153
|
if (!v || typeof v !== "object") return false;
|
|
46071
|
-
const
|
|
46072
|
-
return FINITE(
|
|
46154
|
+
const q2 = v;
|
|
46155
|
+
return FINITE(q2.x) && FINITE(q2.y) && FINITE(q2.z) && FINITE(q2.w);
|
|
46073
46156
|
};
|
|
46074
46157
|
function validateSpatialContext(input) {
|
|
46075
46158
|
const errors = [];
|
|
@@ -46439,7 +46522,7 @@ var BaseMailbox = class {
|
|
|
46439
46522
|
* Get all messages (for debugging)
|
|
46440
46523
|
*/
|
|
46441
46524
|
getAll() {
|
|
46442
|
-
return this.queue.map((
|
|
46525
|
+
return this.queue.map((q2) => q2.message);
|
|
46443
46526
|
}
|
|
46444
46527
|
/**
|
|
46445
46528
|
* Clear all messages
|
|
@@ -48788,6 +48871,6 @@ function fnv1a32(value) {
|
|
|
48788
48871
|
// src/index.ts
|
|
48789
48872
|
init_color();
|
|
48790
48873
|
|
|
48791
|
-
export { AccountExportArchiveVerifier, AdvancedCompression, AgentDebugger, AgentOutputSchemaValidator, Analyzer, AnimationEngine, AssetRegistry, AudioEngine, AuditLogger, AuditQuery, BaseAgentRef, BaseMailbox, BaseRecoveryStrategy, BindingManager, BuildCache, BuiltInThemes, BundleAnalyzer,
|
|
48874
|
+
export { AccountExportArchiveVerifier, AdvancedCompression, AgentDebugger, AgentOutputSchemaValidator, Analyzer, AnimationEngine, AssetRegistry, AudioEngine, AuditLogger, AuditQuery, BaseAgentRef, BaseMailbox, BaseRecoveryStrategy, BindingManager, BuildCache, BuiltInThemes, BundleAnalyzer, CameraRig, CapabilityMatrix, ChildLogger, CinematicDirector, CircuitBreaker2 as CircuitBreaker, CircuitBreakerMonitor, CircuitBreakerRegistry, CircuitState, CommonFeatures, CompilerStateMonitor, CompilerWorkerProxy, CompletionProvider, ComplexityAnalyzer, ComplianceReporter, CompositionParseError, CompositionParser, ContentAddressableStore, CrossRealityValidator, DAEMON_CARE_PROFILES, DAEMON_VISUAL_THEMES, DEFAULT_CAPABILITY_BUDGET, DEFAULT_LIFECYCLE_CONFIG, DEFAULT_SENSITIVITY_PATTERNS, DEFAULT_THRESHOLDS2 as DEFAULT_THRESHOLDS, DEFAULT_VERIFIER_CONFIG, DEVICE_ADAPTER_CONTRACT_BACKLOG, DOMAIN_SIMULATION_RECEIPT_SCHEMA, DaemonCustomizationSeparationError, DaemonFieldSeparationError, DelegationEngine, DependencyResolver, DeprecationRegistry, DiagnosticProvider, EXECUTABLE_EXTENSIONS, Easing, ExportManager, ExpressionEvaluator, FallbackDataProvider, GAUSSIAN_PLATFORM_BUDGETS, GIST_PUBLICATION_MANIFEST_VERSION, GLTFExporter, GaussianBudgetAnalyzer, CircuitBreaker3 as GraphQLCircuitBreaker, GraphQLCircuitBreakerClient, CircuitBreakerManager as GraphQLCircuitBreakerManager, CircuitState2 as GraphQLCircuitState, CircuitBreakerMetrics as GraphQLMetrics, MetricsMonitor as GraphQLMetricsMonitor, HOLOGRAM_CONTENT_TYPES, HOLOGRAM_MCP_VERSION, HOLOSCRIPT_DEMO_SCRIPTS, HOLOSCRIPT_GESTURES, HOLOSCRIPT_SUPPORTED_PLATFORMS, HOLOSCRIPT_VOICE_COMMANDS, HoloScript2DParser, Profiler2 as HoloScriptDebugProfiler, HoloScriptLSP, HoloScriptMaterialParser, HoloScriptParser, HoloScriptValidator, HolobCompiler, HololandExtensionRegistry, HololandGraphicsPipelineService, HybridCryptoProvider, ImportResolver, InMemoryAuditStorage, InMemoryTrustStorage, IncrementalParser, JsonArraySink, LODSystem, MAX_RECEIPT_DEPTH, MMO_EVENT_RECEIPT_SCHEMA, MigrationAssistant, MockWeb3Connector, ModRegistry, ModuleResolver2 as ModuleResolver, NdjsonTrustStorage, NodeGraph, NodeGraphPanel, OTLPExporter, OTLPHttpError, OpenXRSpatialEntitiesCompiler, OptimizationPass, PERF_REGRESSION_DEFAULTS, PerformanceRegressionMonitor, PerformanceReportGenerator, PerformanceTracker, PlatformConditionalCompiler, PlatformPerformanceOptimizer, PluginAPI, PluginLifecycleManager, PluginLoader, PluginSandbox, PluginSandboxRunner, PluginSignatureVerifier, Profiler, PrometheusMetricsRegistry, PropertyAnnotations, ReachabilityAnalyzer, ReactiveState, ReferenceExporterRegistry, ReferenceGraph, RuleForge, SCALE_BRIDGE_PROJECTION_SCHEMA, SPATIAL_CONTEXT_VERSION, SPATIAL_FRAME, SaveManager, ScaleBridge, SemanticDiffEngine, SemanticRegistry, SequenceTrack, SourceMapConsumer, SourceMapConsumerV2, SourceMapGenerator, SourceMapGeneratorV2, StructuredLogger, StyleResolver, TSLCompiler, TelemetryCollector, ThemeEngine, TileFlags, TileMap, TraceContextPropagator, TraceWaterfallRenderer, TreeShaker, TrustLedger, UaalBehaviorCompiler, UnauthorizedDaemonAccessError, UnifiedTraitRegistry, WasmModuleCache, WasmParserBridge, aiGoalAnnotation, aiStateAnnotation, altTextAnnotation, analyzeDeadCode, analyzeGaussianBudget, analyzeMigrations, analyzer, applyAutoMigration, archiveVerificationToReceiptInput, ariaRoleAnnotation, assertCallerOwnsDaemon, assertCustomizationSeparation, assertDaemonFieldSeparation, audioDistanceAnnotation, auditEventToReceiptInput, autoFixMigrations, batchExportComposition, bind, buildDecisionHolo, buildDomainSimulationReceipt, buildGameEventReceipt, buildGistPublicationManifest, buildHologramMcpResponse, buildMigrationChain, calculateAverage, calculateMedian, calculateStandardDeviation, calculateSuccessRate, canonicalizeDomainReceiptPayload, canonicalizeScaleBridgeJson, checkSyntaxDeprecations, classifyFileSensitivity, colorAnnotation, combineSourceMaps, combineSourceMapsV2, computeProvenanceSemiringDigestV0, computeXrMetricsCommitmentHash, computed, createAnnotation, createApolloCircuitBreakerLink, createArchiveVerificationGuard, createBinding, createBuildCache, createBuildManifest, createBundleAnalyzer, createCompilerStateMonitor, createComplexityAnalyzer, createComputedBinding, createDataStore, createDefaultFlags, createDefaultMaterial, createDeprecationRegistry, createEmptyConstraints, createEmptyNode, createEmptySceneGraph, createFeatureRequirement, createFollowBinding, createHoloScriptEnvironment, createIncrementalParser, createIndexMap, createInputBinding, createMigrationAssistant, createNetworkBinding, createPlatformConditionalCompiler, createPluginSandbox, createReachabilityAnalyzer, createReferenceGraph, createRuleForge, createSchema, createSourceMapV2, createState, createStoreSlice, createTraitRegistry, createTwoWayBinding, createUIButton, createUIPanel, createUrqlCircuitBreakerExchange, createWeb3EventBridge, customizationProfileToDaemon, daemonToCustomizationProfile, defaultRegistry as defaultDeprecationRegistry, defaultRuleForge, defaultTraitRegistry, detectCapabilities, detectHologramContent, detectMimeType, dialogAnnotation, diffState, diffToJSON, effect, eliminateDeadCode, emitGameEventReceipt, emitPreviewHoloScriptFromNodeGraphExecution, emotionAnnotation, enumAnnotation, escapeHoloString, exportComposition, expressionToValue, extractWorldSettings, extractXrMetricsForBinding, formatDiffResult, formatHealthReport, formatHoloValue, frictionAnnotation, generateHoloSource, generateReceiptId, getAgentDebugger, getBindingManager, getCapabilityMatrix, getDefaultCacheDir, getDelegationEngine, getDeviceAdapterContractInstance, getExportManager, getHybridCryptoProvider, getPluginLifecycleManager, getPluginSignatureVerifier, getPrometheusMetrics, getSemanticRegistry, getStructuredLogger, getTelemetryCollector, getTraceContextPropagator, factory as holoFactory, initHoloScriptParser, isExecutableFile, isHoloScriptSupported, isHologramMcpResponse, isTraitDeprecated, makeDefaultConversationDaemon, makeDefaultCustomizationProfile, makeDefaultPermissionConfig, makeDefaultStyleProfile, makeEmptyContextDelta, makePresetProfile, massAnnotation, mergePermissionUpdates, mergeStyleUpdates, opacityAnnotation, orbToASTNode, ownershipAnnotation, parseComposition, parseHoloComposition, parseHoloScriptSimplified, parseHsPlusComposition, parseKnowledge, parseMeta, parsePosition, parsePrompts, parseProperties, parseScale, parseServerRoutes, parseValue, parseWithCoreParser, performanceTracker, pickPlacement, pitchAnnotation, positionAnnotation, profiler, programToInternalAST, provenanceDocumentIdForRoom, providerExportToReceiptInput, rangeAnnotation, reactive, referenceAnnotation, registerDeprecation, renderDecisionSvg, replayToReceiptInput, resetAgentDebugger, resetDelegationEngine, resetExportManager, resetHybridCryptoProvider, resetPluginLifecycleManager, resetPluginSignatureVerifier, resetPrometheusMetrics, resetStructuredLogger, resetTelemetryCollector, resetTraceContextPropagator, resolveXrMetricsConflict, restitutionAnnotation, rotationAnnotation, scaleAnnotation, semanticDiff, serializeGistPublicationManifest, snapshotState, stableArchiveHash, stableDomainReceiptHash, stableGameEventHash, stableProviderExportHash, stableReplayHash, stableTrustStringify, summarizeDeviceAdapterBacklog, syncPriorityAnnotation, textAnnotation, toggleAnnotation, treeShake, validateArchiveVerification, validateBuildManifest, validateCustomizationProfile, validateDeviceAdapterContractInstance, validateHSPlus, validateHologramMcpResponse, validateProviderExportCustody, validateReplayVerification, validateSpatialContext, validateTrustReceipt, velocityAnnotation, verifyDomainSimulationReceipt, volumeAnnotation, wasm_exports as wasm, wrapHologramMcpEnvelope, xrMetricsMapKey };
|
|
48792
48875
|
//# sourceMappingURL=index.js.map
|
|
48793
48876
|
//# sourceMappingURL=index.js.map
|