@holoscript/core 6.0.4 → 7.0.0
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/LICENSE +21 -0
- package/README.md +1 -1
- package/dist/compiler/index.d.ts +82 -0
- package/dist/constants.d.ts +3 -2
- package/dist/coordinators/index.d.ts +189 -0
- package/dist/index.d.ts +501 -19
- package/dist/paper-0c-spike/index.d.ts +29 -0
- package/dist/reconstruction/index.d.ts +78 -0
- package/dist/tools/index.d.ts +22 -1
- package/dist/traitDocs/traitDocs.d.ts +69 -0
- package/dist/traits/index.d.ts +61 -0
- package/package.json +105 -57
- package/dist/GLTFPipeline-DEN36VNK.js +0 -12
- package/dist/GLTFPipeline-YPCAK236.cjs +0 -33
- package/dist/HoloScriptPlusParser-BN6KVRCM.js +0 -692
- package/dist/HoloScriptPlusParser-NC5FE6AL.cjs +0 -697
- package/dist/USDZExporter-NTMBNTDB.js +0 -707
- package/dist/USDZExporter-UWGWNMMD.cjs +0 -709
- package/dist/chunk-27LWW5FU.cjs +0 -410
- package/dist/chunk-2CWOLHTE.js +0 -69
- package/dist/chunk-33LSUQDD.cjs +0 -835
- package/dist/chunk-3FJCK5XA.js +0 -2232
- package/dist/chunk-3FXV5S25.cjs +0 -633
- package/dist/chunk-3FYZOR7S.cjs +0 -69
- package/dist/chunk-3SAK5KFL.cjs +0 -83
- package/dist/chunk-4XSNJCLC.cjs +0 -1859
- package/dist/chunk-54FHG2MX.js +0 -655
- package/dist/chunk-56IF4NTA.js +0 -56
- package/dist/chunk-5BGSECRJ.cjs +0 -2237
- package/dist/chunk-5GLCTO44.js +0 -161
- package/dist/chunk-5O6TQC6M.cjs +0 -1871
- package/dist/chunk-5OEOHAAW.cjs +0 -682
- package/dist/chunk-5TOFIR6L.js +0 -407
- package/dist/chunk-5WUNN6ZN.cjs +0 -428
- package/dist/chunk-6TZPZCOJ.cjs +0 -1404
- package/dist/chunk-6UEHYZ7V.cjs +0 -773
- package/dist/chunk-6XSERL6L.js +0 -5678
- package/dist/chunk-72EQECGT.cjs +0 -908
- package/dist/chunk-7AGYRWKW.cjs +0 -507
- package/dist/chunk-7LCYLPW2.cjs +0 -663
- package/dist/chunk-A7PIMZGU.js +0 -263
- package/dist/chunk-ATSKSYVE.cjs +0 -51683
- package/dist/chunk-B5TCIAPQ.cjs +0 -117
- package/dist/chunk-BF2235SI.cjs +0 -5714
- package/dist/chunk-BKIGPPVM.js +0 -629
- package/dist/chunk-BND3ST2K.cjs +0 -662
- package/dist/chunk-BU7VWW2K.js +0 -2522
- package/dist/chunk-BWFJEM5A.js +0 -5419
- package/dist/chunk-CAUCGUEA.cjs +0 -130
- package/dist/chunk-CBJSLA2E.cjs +0 -5423
- package/dist/chunk-CDPGV4DN.js +0 -114
- package/dist/chunk-CLYEIWA5.cjs +0 -408
- package/dist/chunk-CS2EMTGF.js +0 -1966
- package/dist/chunk-DMG7C4H2.js +0 -975
- package/dist/chunk-DXJQDCFL.js +0 -468
- package/dist/chunk-E3FWRT3Z.js +0 -608
- package/dist/chunk-E3UALNFA.js +0 -421
- package/dist/chunk-EONILVMF.js +0 -762
- package/dist/chunk-EQV4R3EV.cjs +0 -769
- package/dist/chunk-F3HH56EB.cjs +0 -5538
- package/dist/chunk-F4IULT7N.js +0 -1488
- package/dist/chunk-FF3Q7ADR.js +0 -380
- package/dist/chunk-FFKU7BTK.cjs +0 -1046
- package/dist/chunk-FHQVYCH2.js +0 -70
- package/dist/chunk-FSF7EQVA.cjs +0 -1974
- package/dist/chunk-G4VZTCIB.js +0 -659
- package/dist/chunk-G7CT3EMP.cjs +0 -1002
- package/dist/chunk-GGHSW2NN.js +0 -51334
- package/dist/chunk-GVUR45UF.cjs +0 -777
- package/dist/chunk-H5Z7NASB.js +0 -9662
- package/dist/chunk-HE7ULERA.cjs +0 -697
- package/dist/chunk-HJJLD366.js +0 -1169
- package/dist/chunk-HPS76H7Q.js +0 -309
- package/dist/chunk-HQUEA5R6.cjs +0 -424
- package/dist/chunk-HYNTS5CP.js +0 -422
- package/dist/chunk-I6XZ5DZF.cjs +0 -488
- package/dist/chunk-IBDG74G2.cjs +0 -1219
- package/dist/chunk-IFNQFCTM.js +0 -3098
- package/dist/chunk-IHOUYQIA.js +0 -406
- package/dist/chunk-ILRBGFVD.cjs +0 -72
- package/dist/chunk-IWI6J7FX.js +0 -421
- package/dist/chunk-K3JDKWGI.cjs +0 -270
- package/dist/chunk-K6EKD26I.js +0 -630
- package/dist/chunk-KCQ5NDYC.cjs +0 -3172
- package/dist/chunk-KED34ILP.js +0 -832
- package/dist/chunk-KSGXLT74.cjs +0 -457
- package/dist/chunk-L4G4RLXX.js +0 -767
- package/dist/chunk-LDP5OK6G.js +0 -1216
- package/dist/chunk-LGGRPKTV.cjs +0 -735
- package/dist/chunk-LK5IAVH6.cjs +0 -1173
- package/dist/chunk-LSW7P7ML.js +0 -3675
- package/dist/chunk-LXJ4667L.cjs +0 -3874
- package/dist/chunk-LZ266PCM.cjs +0 -4499
- package/dist/chunk-MD6KDHVE.cjs +0 -237
- package/dist/chunk-MEASWI2Y.js +0 -126
- package/dist/chunk-MPXBVFHQ.js +0 -768
- package/dist/chunk-N5FTS757.cjs +0 -415
- package/dist/chunk-NCUKG4SK.cjs +0 -3075
- package/dist/chunk-NDQNIJEH.js +0 -1715
- package/dist/chunk-NOZZ46QU.js +0 -168
- package/dist/chunk-OFKWH2IP.js +0 -449
- package/dist/chunk-PHENW4MQ.js +0 -65
- package/dist/chunk-PMGODDJA.cjs +0 -319
- package/dist/chunk-Q4QX3AET.cjs +0 -1505
- package/dist/chunk-Q56TT7IL.js +0 -483
- package/dist/chunk-Q5JT3YML.cjs +0 -129
- package/dist/chunk-Q5SJOGHQ.cjs +0 -4256
- package/dist/chunk-QGKNANZ3.js +0 -3071
- package/dist/chunk-QLEAOI3Q.cjs +0 -424
- package/dist/chunk-R7MA7QWV.js +0 -732
- package/dist/chunk-RVYPEYPX.js +0 -678
- package/dist/chunk-S2N5TNMA.js +0 -1855
- package/dist/chunk-S565K7NK.js +0 -752
- package/dist/chunk-SDAMZIRE.js +0 -765
- package/dist/chunk-T36DDXSF.js +0 -4250
- package/dist/chunk-T4NKMBDL.js +0 -5474
- package/dist/chunk-T7LEXZUZ.cjs +0 -2526
- package/dist/chunk-TEWCN33Y.js +0 -694
- package/dist/chunk-TQSZUOW5.cjs +0 -793
- package/dist/chunk-TSH3MSQU.cjs +0 -129
- package/dist/chunk-UERJ3YJV.js +0 -504
- package/dist/chunk-UPJBDCVF.js +0 -1395
- package/dist/chunk-V3NN3HPP.js +0 -4462
- package/dist/chunk-VJ3L7CHT.cjs +0 -169
- package/dist/chunk-WB4Z63GG.js +0 -229
- package/dist/chunk-WDW67DZB.cjs +0 -9728
- package/dist/chunk-WGMEAYBG.js +0 -126
- package/dist/chunk-X4ZF6CNE.cjs +0 -473
- package/dist/chunk-X6SEAXAX.cjs +0 -3681
- package/dist/chunk-XCWFGZAA.js +0 -1043
- package/dist/chunk-XD6IYDUX.js +0 -903
- package/dist/chunk-XG23EUQX.cjs +0 -1717
- package/dist/chunk-XRKWN5PL.cjs +0 -173
- package/dist/chunk-XUILI4KB.cjs +0 -430
- package/dist/chunk-XUTX5CBW.js +0 -126
- package/dist/chunk-XWPNTWDN.cjs +0 -755
- package/dist/chunk-XXINBTZK.cjs +0 -633
- package/dist/chunk-YCXFCXDS.js +0 -1868
- package/dist/chunk-YQK5JNFK.js +0 -3725
- package/dist/chunk-YYXH45E2.js +0 -426
- package/dist/chunk-Z34RLXRA.cjs +0 -612
- package/dist/chunk-ZP4D3CSX.cjs +0 -72
- package/dist/cli/holoscript-runner.cjs +0 -2259
- package/dist/cli/holoscript-runner.js +0 -2234
- package/dist/codebase/index.cjs +0 -336
- package/dist/codebase/index.js +0 -331
- package/dist/compiler/agent-inference.cjs +0 -28
- package/dist/compiler/agent-inference.js +0 -5
- package/dist/compiler/android-xr.cjs +0 -19
- package/dist/compiler/android-xr.js +0 -9
- package/dist/compiler/android.cjs +0 -20
- package/dist/compiler/android.js +0 -10
- package/dist/compiler/ar.cjs +0 -20
- package/dist/compiler/ar.js +0 -8
- package/dist/compiler/babylon.cjs +0 -17
- package/dist/compiler/babylon.js +0 -11
- package/dist/compiler/coco.cjs +0 -27
- package/dist/compiler/coco.js +0 -4
- package/dist/compiler/domain-block-utils.cjs +0 -602
- package/dist/compiler/domain-block-utils.js +0 -8
- package/dist/compiler/dtdl.cjs +0 -24
- package/dist/compiler/dtdl.js +0 -8
- package/dist/compiler/gltf-pipeline.cjs +0 -39
- package/dist/compiler/gltf-pipeline.js +0 -4
- package/dist/compiler/godot.cjs +0 -15
- package/dist/compiler/godot.js +0 -9
- package/dist/compiler/incremental.cjs +0 -29
- package/dist/compiler/incremental.js +0 -4
- package/dist/compiler/index.cjs +0 -2578
- package/dist/compiler/index.js +0 -2383
- package/dist/compiler/ios.cjs +0 -20
- package/dist/compiler/ios.js +0 -10
- package/dist/compiler/multi-layer.cjs +0 -20
- package/dist/compiler/multi-layer.js +0 -11
- package/dist/compiler/nodetoy.cjs +0 -23
- package/dist/compiler/nodetoy.js +0 -4
- package/dist/compiler/openxr.cjs +0 -15
- package/dist/compiler/openxr.js +0 -9
- package/dist/compiler/playcanvas.cjs +0 -16
- package/dist/compiler/playcanvas.js +0 -10
- package/dist/compiler/r3f.cjs +0 -34
- package/dist/compiler/r3f.js +0 -12
- package/dist/compiler/remotion.cjs +0 -23
- package/dist/compiler/remotion.js +0 -4
- package/dist/compiler/reproducibility.cjs +0 -39
- package/dist/compiler/reproducibility.js +0 -4
- package/dist/compiler/sdf.cjs +0 -21
- package/dist/compiler/sdf.js +0 -9
- package/dist/compiler/semantic-scene.cjs +0 -31
- package/dist/compiler/semantic-scene.js +0 -4
- package/dist/compiler/state.cjs +0 -17
- package/dist/compiler/state.js +0 -7
- package/dist/compiler/trait-composition.cjs +0 -26
- package/dist/compiler/trait-composition.js +0 -5
- package/dist/compiler/unity.cjs +0 -15
- package/dist/compiler/unity.js +0 -9
- package/dist/compiler/unreal.cjs +0 -19
- package/dist/compiler/unreal.js +0 -9
- package/dist/compiler/urdf.cjs +0 -45
- package/dist/compiler/urdf.js +0 -9
- package/dist/compiler/usd-physics.cjs +0 -23
- package/dist/compiler/usd-physics.js +0 -6
- package/dist/compiler/visionos.cjs +0 -15
- package/dist/compiler/visionos.js +0 -9
- package/dist/compiler/vrchat.cjs +0 -19
- package/dist/compiler/vrchat.js +0 -9
- package/dist/compiler/vrr.cjs +0 -21
- package/dist/compiler/vrr.js +0 -9
- package/dist/compiler/wasm.cjs +0 -33
- package/dist/compiler/wasm.js +0 -9
- package/dist/compiler/webgpu.cjs +0 -15
- package/dist/compiler/webgpu.js +0 -9
- package/dist/debugger.cjs +0 -21
- package/dist/debugger.js +0 -8
- package/dist/entries/interop.cjs +0 -62
- package/dist/entries/interop.js +0 -5
- package/dist/entries/scripting.cjs +0 -68
- package/dist/entries/scripting.js +0 -11
- package/dist/index.cjs +0 -40921
- package/dist/index.js +0 -37763
- package/dist/math/vec3.cjs +0 -57
- package/dist/math/vec3.js +0 -4
- package/dist/ml-dsa-PHCWUBPX.cjs +0 -1178
- package/dist/ml-dsa-WYLJHJO6.js +0 -1178
- package/dist/parser.cjs +0 -27
- package/dist/parser.js +0 -10
- package/dist/playwright-5OSAPTNH.js +0 -98660
- package/dist/playwright-RL6GY4F7.cjs +0 -98673
- package/dist/runtime.cjs +0 -16
- package/dist/runtime.js +0 -7
- package/dist/storage/index.cjs +0 -37
- package/dist/storage/index.js +0 -4
- package/dist/traits/index.cjs +0 -14649
- package/dist/traits/index.js +0 -12243
- package/dist/type-checker.cjs +0 -18
- package/dist/type-checker.js +0 -5
package/dist/tools/index.d.ts
CHANGED
|
@@ -7,6 +7,27 @@ export declare class SourceMapGenerator { generate(source: string): string; [key
|
|
|
7
7
|
export declare class MaterialEditor { constructor(config?: unknown); [key: string]: unknown; }
|
|
8
8
|
export declare class SceneInspector { constructor(config?: unknown); [key: string]: unknown; }
|
|
9
9
|
export declare class VisualEditor { constructor(config?: unknown); [key: string]: unknown; }
|
|
10
|
-
export
|
|
10
|
+
export interface MaterialEditorPreset {
|
|
11
|
+
name: string;
|
|
12
|
+
category: string;
|
|
13
|
+
/** Partial PBR material override. Studio adapter consumes a known
|
|
14
|
+
* subset (albedo / emission / blend / roughness / metallic / etc.); the
|
|
15
|
+
* full MaterialDef surface lives in core's runtime. */
|
|
16
|
+
material: {
|
|
17
|
+
albedo?: { r: number; g: number; b: number; a?: number };
|
|
18
|
+
emission?: { r: number; g: number; b: number };
|
|
19
|
+
emissionStrength?: number;
|
|
20
|
+
blendMode?: string;
|
|
21
|
+
roughness?: number;
|
|
22
|
+
metallic?: number;
|
|
23
|
+
doubleSided?: boolean;
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
previewColor: string;
|
|
27
|
+
}
|
|
11
28
|
export type MaterialEditorConfig = unknown;
|
|
12
29
|
export type MaterialPreset = unknown;
|
|
30
|
+
export declare function getMaterialEditorBuiltinPresets(): MaterialEditorPreset[];
|
|
31
|
+
export declare function listMaterialEditorQuickPickPresetNames(): readonly string[];
|
|
32
|
+
export declare function listMaterialEditorQuickPickPresetsByCategory(): Map<string, string[]>;
|
|
33
|
+
export declare function rgbaToHex(color: { r: number; g: number; b: number; a?: number }): string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trait Documentation for HoloScript LSP
|
|
3
|
+
*
|
|
4
|
+
* Provides detailed documentation for all HoloScript traits
|
|
5
|
+
* to display in hover/completion/signature help.
|
|
6
|
+
*/
|
|
7
|
+
export interface TraitDoc {
|
|
8
|
+
name: string;
|
|
9
|
+
annotation: string;
|
|
10
|
+
description: string;
|
|
11
|
+
category: 'physics' | 'animation' | 'rendering' | 'networking' | 'input' | 'ai' | 'utility' | 'hololand';
|
|
12
|
+
properties: PropertyDoc[];
|
|
13
|
+
methods: MethodDoc[];
|
|
14
|
+
events: EventDoc[];
|
|
15
|
+
example: string;
|
|
16
|
+
since?: string;
|
|
17
|
+
deprecated?: boolean;
|
|
18
|
+
deprecationMessage?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PropertyDoc {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
description: string;
|
|
24
|
+
default?: string;
|
|
25
|
+
required?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface MethodDoc {
|
|
28
|
+
name: string;
|
|
29
|
+
signature: string;
|
|
30
|
+
description: string;
|
|
31
|
+
parameters: ParameterDoc[];
|
|
32
|
+
returns?: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ParameterDoc {
|
|
35
|
+
name: string;
|
|
36
|
+
type: string;
|
|
37
|
+
description: string;
|
|
38
|
+
optional?: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface EventDoc {
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
payload?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Complete trait documentation database
|
|
47
|
+
*/
|
|
48
|
+
export declare const TRAIT_DOCS: Record<string, TraitDoc>;
|
|
49
|
+
/**
|
|
50
|
+
* Get documentation for a trait by name or annotation
|
|
51
|
+
*/
|
|
52
|
+
export declare function getTraitDoc(name: string): TraitDoc | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Get all trait names for completion
|
|
55
|
+
*/
|
|
56
|
+
export declare function getAllTraitNames(): string[];
|
|
57
|
+
/**
|
|
58
|
+
* Get traits by category
|
|
59
|
+
*/
|
|
60
|
+
export declare function getTraitsByCategory(category: TraitDoc['category']): TraitDoc[];
|
|
61
|
+
/**
|
|
62
|
+
* Format trait documentation as Markdown for hover
|
|
63
|
+
*/
|
|
64
|
+
export declare function formatTraitDocAsMarkdown(doc: TraitDoc): string;
|
|
65
|
+
/**
|
|
66
|
+
* Format trait documentation as compact Markdown for hover
|
|
67
|
+
*/
|
|
68
|
+
export declare function formatTraitDocCompact(doc: TraitDoc): string;
|
|
69
|
+
//# sourceMappingURL=traitDocs.d.ts.map
|
package/dist/traits/index.d.ts
CHANGED
|
@@ -124,3 +124,64 @@ export declare const ComponentType: any;
|
|
|
124
124
|
export class MoMETraitDatabase {
|
|
125
125
|
[key: string]: any;
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
export interface EmergentSpacetimeConfig {
|
|
129
|
+
initial_voxels?: number;
|
|
130
|
+
max_voxels?: number;
|
|
131
|
+
seed?: number;
|
|
132
|
+
force_layout_guard?: boolean;
|
|
133
|
+
ricci_error_bound?: number;
|
|
134
|
+
ricci_heatmap?: boolean;
|
|
135
|
+
loop_threshold?: number;
|
|
136
|
+
real_time_budget_ms?: number;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface EmergentSpacetimeState {
|
|
140
|
+
network: {
|
|
141
|
+
voxels: Map<string, any>;
|
|
142
|
+
edges: any[];
|
|
143
|
+
loopCount: number;
|
|
144
|
+
};
|
|
145
|
+
hubbleCorrection: number;
|
|
146
|
+
violationCount: number;
|
|
147
|
+
lastRicciError: number;
|
|
148
|
+
isSimulating: boolean;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export const emergentSpacetimeHandler: TraitHandler<EmergentSpacetimeConfig>;
|
|
152
|
+
|
|
153
|
+
// ── Namespaced domain plugins (mirrors packages/core/src/traits/index.ts) ──
|
|
154
|
+
// Keeps `import { FilmVFXPlugin } from '@holoscript/core/traits'` resolving after barrel namespacing.
|
|
155
|
+
export * as FilmVFXPlugin from '@holoscript/plugin-film-vfx';
|
|
156
|
+
export * as AlphaFoldPlugin from '@holoscript/alphafold-plugin';
|
|
157
|
+
export * as BankingFinancePlugin from '@holoscript/plugin-banking-finance';
|
|
158
|
+
export * as CivilEngineeringPlugin from '@holoscript/plugin-civil-engineering';
|
|
159
|
+
export * as CultureKeywordPlugin from '@holoscript/plugin-culture-keyword';
|
|
160
|
+
export * as DomainPluginTemplate from '@holoscript/domain-plugin-template';
|
|
161
|
+
export * as EconomicPrimitivesPlugin from '@holoscript/plugin-economic-primitives';
|
|
162
|
+
export * as EducationLmsPlugin from '@holoscript/plugin-education-lms';
|
|
163
|
+
export * as EmergencyResponsePlugin from '@holoscript/plugin-emergency-response';
|
|
164
|
+
export * as FashionPlugin from '@holoscript/plugin-fashion';
|
|
165
|
+
export * as Film3dVolumetricsPlugin from '@holoscript/plugin-film3d-volumetrics';
|
|
166
|
+
export * as FitnessWellnessPlugin from '@holoscript/plugin-fitness-wellness';
|
|
167
|
+
export * as ForensicsPlugin from '@holoscript/plugin-forensics';
|
|
168
|
+
export * as GeolocationGisPlugin from '@holoscript/plugin-geolocation-gis';
|
|
169
|
+
export * as HardwareInventionPlugin from '@holoscript/plugin-hardware-invention';
|
|
170
|
+
export * as HrWorkforcePlugin from '@holoscript/plugin-hr-workforce';
|
|
171
|
+
export * as InsurancePlugin from '@holoscript/plugin-insurance';
|
|
172
|
+
export * as LegalDocumentPlugin from '@holoscript/plugin-legal-document';
|
|
173
|
+
export * as ManufacturingQcPlugin from '@holoscript/plugin-manufacturing-qc';
|
|
174
|
+
export * as MedicalPlugin from '@holoscript/medical-plugin';
|
|
175
|
+
export * as NeurosciencePlugin from '@holoscript/plugin-neuroscience';
|
|
176
|
+
export * as RadioAstronomyPlugin from '@holoscript/radio-astronomy-plugin';
|
|
177
|
+
export * as RestaurantPlugin from '@holoscript/plugin-restaurant';
|
|
178
|
+
export * as RetailEcommercePlugin from '@holoscript/plugin-retail-ecommerce';
|
|
179
|
+
export * as RoboticsPlugin from '@holoscript/robotics-plugin';
|
|
180
|
+
export * as NarupaPlugin from '@holoscript/narupa-plugin';
|
|
181
|
+
export * as TherapyPlugin from '@holoscript/plugin-therapy';
|
|
182
|
+
export * as ThreatIntelligencePlugin from '@holoscript/plugin-threat-intelligence';
|
|
183
|
+
export * as TraitAuditPlugin from '@holoscript/plugin-trait-audit';
|
|
184
|
+
export * as TravelHospitalityPlugin from '@holoscript/plugin-travel-hospitality';
|
|
185
|
+
export * as UrbanPlanningPlugin from '@holoscript/plugin-urban-planning';
|
|
186
|
+
export * as WineFoodBeveragePlugin from '@holoscript/plugin-wine-food-beverage';
|
|
187
|
+
export * as WisdomGotchaPlugin from '@holoscript/plugin-wisdom-gotcha';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holoscript/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Core parser, AST, compiler infrastructure, trait system, and runtime for HoloScript — the open AI-spatial reality protocol for 3D/XR/IoT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,6 +28,11 @@
|
|
|
28
28
|
"import": "./dist/math/vec3.js",
|
|
29
29
|
"require": "./dist/math/vec3.cjs"
|
|
30
30
|
},
|
|
31
|
+
"./math/tropical-spmv": {
|
|
32
|
+
"types": "./dist/math/tropical-spmv.d.ts",
|
|
33
|
+
"import": "./dist/math/tropical-spmv.js",
|
|
34
|
+
"require": "./dist/math/tropical-spmv.cjs"
|
|
35
|
+
},
|
|
31
36
|
"./parser": {
|
|
32
37
|
"types": "./dist/parser.d.ts",
|
|
33
38
|
"import": "./dist/parser.js",
|
|
@@ -58,11 +63,21 @@
|
|
|
58
63
|
"import": "./dist/codebase/index.js",
|
|
59
64
|
"require": "./dist/codebase/index.cjs"
|
|
60
65
|
},
|
|
66
|
+
"./world": {
|
|
67
|
+
"types": "./dist/world/index.d.ts",
|
|
68
|
+
"import": "./dist/world/index.js",
|
|
69
|
+
"require": "./dist/world/index.cjs"
|
|
70
|
+
},
|
|
61
71
|
"./self-improvement": {
|
|
62
72
|
"types": "./dist/self-improvement/index.d.ts",
|
|
63
73
|
"import": "./dist/self-improvement/index.js",
|
|
64
74
|
"require": "./dist/self-improvement/index.cjs"
|
|
65
75
|
},
|
|
76
|
+
"./compiler": {
|
|
77
|
+
"types": "./dist/compiler/index.d.ts",
|
|
78
|
+
"import": "./dist/compiler/index.js",
|
|
79
|
+
"require": "./dist/compiler/index.cjs"
|
|
80
|
+
},
|
|
66
81
|
"./compiler/index": {
|
|
67
82
|
"types": "./dist/compiler/index.d.ts",
|
|
68
83
|
"import": "./dist/compiler/index.js",
|
|
@@ -73,10 +88,24 @@
|
|
|
73
88
|
"import": "./dist/compiler/*.js",
|
|
74
89
|
"require": "./dist/compiler/*.cjs"
|
|
75
90
|
},
|
|
91
|
+
"./trait-docs": {
|
|
92
|
+
"types": "./dist/traitDocs/traitDocs.d.ts",
|
|
93
|
+
"import": "./dist/traitDocs/traitDocs.js",
|
|
94
|
+
"require": "./dist/traitDocs/traitDocs.cjs"
|
|
95
|
+
},
|
|
76
96
|
"./traits": {
|
|
77
97
|
"types": "./dist/traits/index.d.ts",
|
|
78
98
|
"import": "./dist/traits/index.js"
|
|
79
99
|
},
|
|
100
|
+
"./traits/engines": {
|
|
101
|
+
"types": "./dist/traits/engines/index.d.ts",
|
|
102
|
+
"import": "./dist/traits/engines/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./coordinators": {
|
|
105
|
+
"types": "./dist/coordinators/index.d.ts",
|
|
106
|
+
"import": "./dist/coordinators/index.js"
|
|
107
|
+
},
|
|
108
|
+
"./traits/trait-registry.json": "./src/traits/trait-registry.json",
|
|
80
109
|
"./tools": {
|
|
81
110
|
"types": "./dist/tools/index.d.ts",
|
|
82
111
|
"import": "./dist/tools/index.js"
|
|
@@ -98,18 +127,21 @@
|
|
|
98
127
|
"./cli/holoscript-runner": {
|
|
99
128
|
"import": "./dist/cli/holoscript-runner.js",
|
|
100
129
|
"require": "./dist/cli/holoscript-runner.cjs"
|
|
130
|
+
},
|
|
131
|
+
"./reconstruction": {
|
|
132
|
+
"types": "./dist/reconstruction/index.d.ts",
|
|
133
|
+
"import": "./dist/reconstruction/index.js",
|
|
134
|
+
"require": "./dist/reconstruction/index.cjs"
|
|
135
|
+
},
|
|
136
|
+
"./paper-0c-spike": {
|
|
137
|
+
"types": "./dist/paper-0c-spike/index.d.ts",
|
|
138
|
+
"import": "./dist/paper-0c-spike/index.js",
|
|
139
|
+
"require": "./dist/paper-0c-spike/index.cjs"
|
|
101
140
|
}
|
|
102
141
|
},
|
|
103
142
|
"bin": {
|
|
104
143
|
"holoscript": "./dist/cli/holoscript-runner.js"
|
|
105
144
|
},
|
|
106
|
-
"scripts": {
|
|
107
|
-
"build": "tsup && node scripts/generate-types.mjs",
|
|
108
|
-
"dev": "tsup --watch",
|
|
109
|
-
"test": "node --max-old-space-size=16384 run-vitest.mjs",
|
|
110
|
-
"test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
|
|
111
|
-
"test:watch": "vitest"
|
|
112
|
-
},
|
|
113
145
|
"keywords": [
|
|
114
146
|
"holoscript",
|
|
115
147
|
"vr",
|
|
@@ -140,47 +172,47 @@
|
|
|
140
172
|
"directory": "packages/core"
|
|
141
173
|
},
|
|
142
174
|
"dependencies": {
|
|
143
|
-
"@holoscript/agent-protocol": "workspace:*",
|
|
144
|
-
"@holoscript/core-types": "workspace:*",
|
|
145
|
-
"@holoscript/mesh": "workspace:*",
|
|
146
|
-
"@holoscript/platform": "workspace:*",
|
|
147
|
-
"@holoscript/plugin-film-vfx": "workspace:*",
|
|
148
175
|
"jose": "^6.2.2",
|
|
149
|
-
"jsonwebtoken": "^9.0.
|
|
150
|
-
"zod": "^3.
|
|
151
|
-
"@holoscript/
|
|
152
|
-
"@holoscript/plugin
|
|
153
|
-
"@holoscript/plugin-
|
|
154
|
-
"@holoscript/
|
|
155
|
-
"@holoscript/
|
|
156
|
-
"@holoscript/
|
|
157
|
-
"@holoscript/plugin
|
|
158
|
-
"@holoscript/
|
|
159
|
-
"@holoscript/plugin
|
|
160
|
-
"@holoscript/plugin-
|
|
161
|
-
"@holoscript/plugin-
|
|
162
|
-
"@holoscript/plugin-
|
|
163
|
-
"@holoscript/plugin-
|
|
164
|
-
"@holoscript/plugin-
|
|
165
|
-
"@holoscript/plugin-
|
|
166
|
-
"@holoscript/plugin-
|
|
167
|
-
"@holoscript/plugin-
|
|
168
|
-
"@holoscript/plugin-
|
|
169
|
-
"@holoscript/
|
|
170
|
-
"@holoscript/plugin-
|
|
171
|
-
"@holoscript/
|
|
172
|
-
"@holoscript/plugin-
|
|
173
|
-
"@holoscript/plugin-
|
|
174
|
-
"@holoscript/
|
|
175
|
-
"@holoscript/
|
|
176
|
-
"@holoscript/plugin-
|
|
177
|
-
"@holoscript/plugin-
|
|
178
|
-
"@holoscript/plugin-
|
|
179
|
-
"@holoscript/plugin-
|
|
180
|
-
"@holoscript/plugin-
|
|
181
|
-
"holoscript-
|
|
182
|
-
"@holoscript/plugin-
|
|
183
|
-
"@holoscript/plugin-
|
|
176
|
+
"jsonwebtoken": "^9.0.2",
|
|
177
|
+
"zod": "^4.3.6",
|
|
178
|
+
"@holoscript/agent-protocol": "7.0.0",
|
|
179
|
+
"@holoscript/alphafold-plugin": "1.1.0",
|
|
180
|
+
"@holoscript/domain-plugin-template": "0.1.0",
|
|
181
|
+
"@holoscript/core-types": "7.0.0",
|
|
182
|
+
"@holoscript/llm-provider": "1.2.0",
|
|
183
|
+
"@holoscript/mesh": "7.0.0",
|
|
184
|
+
"@holoscript/medical-plugin": "1.0.0",
|
|
185
|
+
"@holoscript/platform": "7.0.0",
|
|
186
|
+
"@holoscript/narupa-plugin": "1.2.0",
|
|
187
|
+
"@holoscript/plugin-banking-finance": "1.0.0",
|
|
188
|
+
"@holoscript/plugin-civil-engineering": "1.0.0",
|
|
189
|
+
"@holoscript/plugin-culture-keyword": "1.0.0",
|
|
190
|
+
"@holoscript/plugin-economic-primitives": "1.0.0",
|
|
191
|
+
"@holoscript/plugin-education-lms": "1.0.0",
|
|
192
|
+
"@holoscript/plugin-fashion": "1.0.0",
|
|
193
|
+
"@holoscript/plugin-emergency-response": "1.0.0",
|
|
194
|
+
"@holoscript/plugin-film3d-volumetrics": "1.0.0",
|
|
195
|
+
"@holoscript/plugin-film-vfx": "1.0.0",
|
|
196
|
+
"@holoscript/plugin-fitness-wellness": "1.0.0",
|
|
197
|
+
"@holoscript/plugin-geolocation-gis": "1.0.0",
|
|
198
|
+
"@holoscript/plugin-hardware-invention": "1.0.0",
|
|
199
|
+
"@holoscript/plugin-forensics": "1.0.0",
|
|
200
|
+
"@holoscript/plugin-hr-workforce": "1.0.0",
|
|
201
|
+
"@holoscript/plugin-insurance": "1.0.0",
|
|
202
|
+
"@holoscript/plugin-legal-document": "1.0.0",
|
|
203
|
+
"@holoscript/plugin-manufacturing-qc": "1.0.0",
|
|
204
|
+
"@holoscript/plugin-neuroscience": "1.0.0",
|
|
205
|
+
"@holoscript/plugin-retail-ecommerce": "1.0.0",
|
|
206
|
+
"@holoscript/plugin-restaurant": "1.0.0",
|
|
207
|
+
"@holoscript/plugin-therapy": "1.0.0",
|
|
208
|
+
"@holoscript/plugin-threat-intelligence": "1.0.0",
|
|
209
|
+
"@holoscript/plugin-trait-audit": "1.0.0",
|
|
210
|
+
"@holoscript/plugin-travel-hospitality": "1.0.0",
|
|
211
|
+
"@holoscript/plugin-urban-planning": "1.0.0",
|
|
212
|
+
"@holoscript/plugin-wine-food-beverage": "1.0.0",
|
|
213
|
+
"@holoscript/plugin-wisdom-gotcha": "1.0.0",
|
|
214
|
+
"@holoscript/radio-astronomy-plugin": "1.0.0",
|
|
215
|
+
"@holoscript/robotics-plugin": "1.0.0"
|
|
184
216
|
},
|
|
185
217
|
"optionalDependencies": {
|
|
186
218
|
"@gltf-transform/core": "^3.7.0",
|
|
@@ -207,11 +239,11 @@
|
|
|
207
239
|
"ws": "^8.16.0"
|
|
208
240
|
},
|
|
209
241
|
"peerDependencies": {
|
|
210
|
-
"@holoscript/engine": "workspace:*",
|
|
211
242
|
"@pixiv/three-vrm": "^2.0.0",
|
|
212
243
|
"ioredis": "^5.3.0",
|
|
213
244
|
"puppeteer": "^23.0.0",
|
|
214
|
-
"react": "^
|
|
245
|
+
"react": "^19.2.0",
|
|
246
|
+
"@holoscript/engine": "7.0.0"
|
|
215
247
|
},
|
|
216
248
|
"peerDependenciesMeta": {
|
|
217
249
|
"@holoscript/engine": {
|
|
@@ -234,17 +266,33 @@
|
|
|
234
266
|
}
|
|
235
267
|
},
|
|
236
268
|
"devDependencies": {
|
|
237
|
-
"@
|
|
238
|
-
"@holoscript/framework": "workspace:*",
|
|
269
|
+
"@types/jsonwebtoken": "^9.0.7",
|
|
239
270
|
"@types/pixelmatch": "^5.2.6",
|
|
240
271
|
"@types/pngjs": "^6.0.5",
|
|
241
272
|
"@types/three": "^0.170.0",
|
|
242
|
-
"@types/ws": "^8.
|
|
243
|
-
"@vitest/coverage-v8": "^4.0
|
|
244
|
-
"@webgpu/types": "
|
|
273
|
+
"@types/ws": "^8.18.1",
|
|
274
|
+
"@vitest/coverage-v8": "^4.1.0",
|
|
275
|
+
"@webgpu/types": ">=0.1.40",
|
|
245
276
|
"tsup": "^8.0.1",
|
|
246
277
|
"typedoc": "^0.28.17",
|
|
247
278
|
"typescript": "~5.9.3",
|
|
248
|
-
"vitest": "^4.1.0"
|
|
279
|
+
"vitest": "^4.1.0",
|
|
280
|
+
"@holoscript/engine": "7.0.0",
|
|
281
|
+
"@holoscript/framework": "7.0.0"
|
|
282
|
+
},
|
|
283
|
+
"scripts": {
|
|
284
|
+
"verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
|
|
285
|
+
"build": "node scripts/verify-internal-workspace-protocol.mjs && tsup && node scripts/generate-types.mjs",
|
|
286
|
+
"dev": "tsup --watch",
|
|
287
|
+
"test": "node --max-old-space-size=16384 run-vitest.mjs",
|
|
288
|
+
"test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
|
|
289
|
+
"test:watch": "vitest",
|
|
290
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
291
|
+
"typecheck:narrow": "tsc --noEmit -p tsconfig.narrow.json",
|
|
292
|
+
"benchmark:export-targets": "node run-vitest.mjs src/compiler/__tests__/export-manager-all-targets-bench.test.ts",
|
|
293
|
+
"benchmark:paper10:compile-matrix": "node scripts/run-paper10-compile-matrix.mjs",
|
|
294
|
+
"benchmark:paper10:compile-matrix:full": "node scripts/run-paper10-compile-matrix.mjs --full",
|
|
295
|
+
"benchmark:paper10:depth-distribution": "node scripts/run-paper10-depth-distribution.mjs",
|
|
296
|
+
"benchmark:paper6:mecanim-matrix": "node scripts/run-paper6-mecanim-matrix.mjs"
|
|
249
297
|
}
|
|
250
|
-
}
|
|
298
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-3FJCK5XA.js';
|
|
2
|
-
import './chunk-HJJLD366.js';
|
|
3
|
-
import './chunk-T36DDXSF.js';
|
|
4
|
-
import './chunk-H5Z7NASB.js';
|
|
5
|
-
import './chunk-A7PIMZGU.js';
|
|
6
|
-
import './chunk-DXJQDCFL.js';
|
|
7
|
-
import './chunk-56IF4NTA.js';
|
|
8
|
-
import './chunk-YQK5JNFK.js';
|
|
9
|
-
import './chunk-6XSERL6L.js';
|
|
10
|
-
import './chunk-2CWOLHTE.js';
|
|
11
|
-
//# sourceMappingURL=GLTFPipeline-DEN36VNK.js.map
|
|
12
|
-
//# sourceMappingURL=GLTFPipeline-DEN36VNK.js.map
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk5BGSECRJ_cjs = require('./chunk-5BGSECRJ.cjs');
|
|
4
|
-
require('./chunk-LK5IAVH6.cjs');
|
|
5
|
-
require('./chunk-Q5SJOGHQ.cjs');
|
|
6
|
-
require('./chunk-WDW67DZB.cjs');
|
|
7
|
-
require('./chunk-K3JDKWGI.cjs');
|
|
8
|
-
require('./chunk-X4ZF6CNE.cjs');
|
|
9
|
-
require('./chunk-3FYZOR7S.cjs');
|
|
10
|
-
require('./chunk-LXJ4667L.cjs');
|
|
11
|
-
require('./chunk-BF2235SI.cjs');
|
|
12
|
-
require('./chunk-3SAK5KFL.cjs');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Object.defineProperty(exports, "GLTFPipeline", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunk5BGSECRJ_cjs.GLTFPipeline; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunk5BGSECRJ_cjs.createGLTFPipeline; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunk5BGSECRJ_cjs.generateScaleNormalMap; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "generateScaleTexture", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunk5BGSECRJ_cjs.generateScaleTexture; }
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=GLTFPipeline-YPCAK236.cjs.map
|
|
33
|
-
//# sourceMappingURL=GLTFPipeline-YPCAK236.cjs.map
|