vibedgames 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/rebuild-object/.cache/spec-search/core_3d.json +1 -0
- package/assets/rebuild-object/.cache/spec-search/cs2.json +1 -0
- package/assets/rebuild-object/LICENSE +201 -0
- package/assets/rebuild-object/NOTICE +7 -0
- package/assets/rebuild-object/docs/materials/material-reference.json +2324 -0
- package/assets/rebuild-object/docs/specs/render-profile.v2.example.json +63 -0
- package/assets/rebuild-object/docs/specs/render-profile.v2.schema.json +56 -0
- package/assets/rebuild-object/docs/specs/vocabulary/README.md +86 -0
- package/assets/rebuild-object/docs/specs/vocabulary/core_3d.jsonl +12 -0
- package/assets/rebuild-object/docs/specs/vocabulary/core_3d_reconstruction.jsonl +37 -0
- package/assets/rebuild-object/docs/specs/vocabulary/cs2.jsonl +8 -0
- package/assets/rebuild-object/docs/specs/vocabulary/cs2_reconstruction.jsonl +62 -0
- package/assets/rebuild-object/forge/_shared/artifact_cache.py +54 -0
- package/assets/rebuild-object/forge/_shared/chirality.py +272 -0
- package/assets/rebuild-object/forge/_shared/color_metrics.py +107 -0
- package/assets/rebuild-object/forge/_shared/feature_acceptance_policy.py +113 -0
- package/assets/rebuild-object/forge/_shared/image_hash.py +113 -0
- package/assets/rebuild-object/forge/_shared/jpeg.py +448 -0
- package/assets/rebuild-object/forge/_shared/material_physics.py +253 -0
- package/assets/rebuild-object/forge/_shared/pipeline_routing.py +177 -0
- package/assets/rebuild-object/forge/_shared/scalp_field.py +302 -0
- package/assets/rebuild-object/forge/_shared/sdf_primitives.py +172 -0
- package/assets/rebuild-object/forge/_shared/spec_search.py +1792 -0
- package/assets/rebuild-object/forge/_shared/spec_search_profiles.json +58 -0
- package/assets/rebuild-object/forge/_shared/status_banner.py +35 -0
- package/assets/rebuild-object/forge/_shared/subdivision.py +232 -0
- package/assets/rebuild-object/forge/_shared/vertex_paint.py +236 -0
- package/assets/rebuild-object/forge/_shared/workflow_state.py +406 -0
- package/assets/rebuild-object/forge/materials/__init__.py +17 -0
- package/assets/rebuild-object/forge/materials/compatibility.py +106 -0
- package/assets/rebuild-object/forge/materials/reference.py +240 -0
- package/assets/rebuild-object/forge/next.py +116 -0
- package/assets/rebuild-object/forge/report.py +38 -0
- package/assets/rebuild-object/forge/requirements.txt +6 -0
- package/assets/rebuild-object/forge/stage1_intake/analyze_texture.py +255 -0
- package/assets/rebuild-object/forge/stage1_intake/bind_detail_properties.py +99 -0
- package/assets/rebuild-object/forge/stage1_intake/build_detail_inventory.py +349 -0
- package/assets/rebuild-object/forge/stage1_intake/camera_fitting_math.py +133 -0
- package/assets/rebuild-object/forge/stage1_intake/camera_fitting_solver.py +197 -0
- package/assets/rebuild-object/forge/stage1_intake/camera_fitting_types.py +291 -0
- package/assets/rebuild-object/forge/stage1_intake/camera_image_helpers.py +133 -0
- package/assets/rebuild-object/forge/stage1_intake/check_intake_correctness.py +116 -0
- package/assets/rebuild-object/forge/stage1_intake/check_reference_admission.py +203 -0
- package/assets/rebuild-object/forge/stage1_intake/cs2_foundation.py +139 -0
- package/assets/rebuild-object/forge/stage1_intake/cs2_manifest.py +230 -0
- package/assets/rebuild-object/forge/stage1_intake/cs2_review_contract.py +42 -0
- package/assets/rebuild-object/forge/stage1_intake/delight_albedo.py +352 -0
- package/assets/rebuild-object/forge/stage1_intake/detect_cs2.py +276 -0
- package/assets/rebuild-object/forge/stage1_intake/detect_reference_effects.py +275 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_cs2_textures.py +126 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_gradient_stops.py +149 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_hair_evidence.py +385 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_landmarks.py +456 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_part_color_recipe.py +496 -0
- package/assets/rebuild-object/forge/stage1_intake/extract_pbr_evidence.py +843 -0
- package/assets/rebuild-object/forge/stage1_intake/fetch_cs2_metadata.py +147 -0
- package/assets/rebuild-object/forge/stage1_intake/label_glb_nodes.py +318 -0
- package/assets/rebuild-object/forge/stage1_intake/locate_cs2_vpk.py +73 -0
- package/assets/rebuild-object/forge/stage1_intake/material_region_analysis.py +227 -0
- package/assets/rebuild-object/forge/stage1_intake/probe_glb.py +357 -0
- package/assets/rebuild-object/forge/stage1_intake/probe_image.py +168 -0
- package/assets/rebuild-object/forge/stage1_intake/run_vision_adapter.py +45 -0
- package/assets/rebuild-object/forge/stage1_intake/search_specs.py +258 -0
- package/assets/rebuild-object/forge/stage1_intake/semantic_decomposition.py +119 -0
- package/assets/rebuild-object/forge/stage1_intake/solve_camera_pose.py +254 -0
- package/assets/rebuild-object/forge/stage2_spec/apply_material_analysis.py +192 -0
- package/assets/rebuild-object/forge/stage2_spec/cs2_adapters.py +62 -0
- package/assets/rebuild-object/forge/stage2_spec/derive_geometry.py +118 -0
- package/assets/rebuild-object/forge/stage2_spec/hair_profile.py +306 -0
- package/assets/rebuild-object/forge/stage2_spec/humanoid_proportions.py +214 -0
- package/assets/rebuild-object/forge/stage2_spec/new_pre_spec_assessment.py +343 -0
- package/assets/rebuild-object/forge/stage2_spec/new_sculpt_spec.py +2396 -0
- package/assets/rebuild-object/forge/stage2_spec/validate_sculpt_spec.py +2871 -0
- package/assets/rebuild-object/forge/stage3_build/bake_projected_texture.py +181 -0
- package/assets/rebuild-object/forge/stage3_build/decimate.py +272 -0
- package/assets/rebuild-object/forge/stage3_build/generate_threejs_factory.py +4099 -0
- package/assets/rebuild-object/forge/stage3_build/module_cache.py +155 -0
- package/assets/rebuild-object/forge/stage3_build/morph_targets.py +178 -0
- package/assets/rebuild-object/forge/stage3_build/orchestrate_passes.py +653 -0
- package/assets/rebuild-object/forge/stage3_build/uv_unwrap.py +622 -0
- package/assets/rebuild-object/forge/stage3_build/visual_hull.py +357 -0
- package/assets/rebuild-object/forge/stage4_review/_fit_divine_eye.py +64 -0
- package/assets/rebuild-object/forge/stage4_review/append_review.py +453 -0
- package/assets/rebuild-object/forge/stage4_review/attachment_anchor.py +349 -0
- package/assets/rebuild-object/forge/stage4_review/calibrate_eye.py +131 -0
- package/assets/rebuild-object/forge/stage4_review/check_part_coverage.py +298 -0
- package/assets/rebuild-object/forge/stage4_review/compare_region_passes.py +169 -0
- package/assets/rebuild-object/forge/stage4_review/correction_loop.py +258 -0
- package/assets/rebuild-object/forge/stage4_review/cs2_review.py +224 -0
- package/assets/rebuild-object/forge/stage4_review/diagnose_render.py +356 -0
- package/assets/rebuild-object/forge/stage4_review/diagnose_render_multi_angle.py +143 -0
- package/assets/rebuild-object/forge/stage4_review/divine_eye.py +461 -0
- package/assets/rebuild-object/forge/stage4_review/fit_params.py +381 -0
- package/assets/rebuild-object/forge/stage4_review/geometry_integrity.py +294 -0
- package/assets/rebuild-object/forge/stage4_review/hair_gate.py +216 -0
- package/assets/rebuild-object/forge/stage4_review/interior_difference.py +188 -0
- package/assets/rebuild-object/forge/stage4_review/joint_loops.py +209 -0
- package/assets/rebuild-object/forge/stage4_review/make_comparison_sheet.py +292 -0
- package/assets/rebuild-object/forge/stage4_review/material_comparator.py +181 -0
- package/assets/rebuild-object/forge/stage4_review/material_feedback.py +143 -0
- package/assets/rebuild-object/forge/stage4_review/material_gate.py +126 -0
- package/assets/rebuild-object/forge/stage4_review/material_views.py +184 -0
- package/assets/rebuild-object/forge/stage4_review/mesh_reference_compare.py +362 -0
- package/assets/rebuild-object/forge/stage4_review/multi_pass.py +102 -0
- package/assets/rebuild-object/forge/stage4_review/objectness.py +143 -0
- package/assets/rebuild-object/forge/stage4_review/pairwise_penetration.py +376 -0
- package/assets/rebuild-object/forge/stage4_review/per_feature.py +215 -0
- package/assets/rebuild-object/forge/stage4_review/render_bridge.py +556 -0
- package/assets/rebuild-object/forge/stage4_review/scalp_exposure.py +257 -0
- package/assets/rebuild-object/forge/stage4_review/self_intersection.py +592 -0
- package/assets/rebuild-object/forge/stage4_review/swept_arc_gate.py +336 -0
- package/assets/rebuild-object/forge/stage4_review/turntable_gate.py +415 -0
- package/assets/rebuild-object/forge/stage4_review/validate_render_profile.py +182 -0
- package/assets/rebuild-object/forge/stage4_review/vertex_region_gate.py +456 -0
- package/assets/rebuild-object/forge/stage4_review/vlm_gate.py +196 -0
- package/assets/rebuild-object/forge/stage5_rig/NOTES.md +149 -0
- package/assets/rebuild-object/forge/stage5_rig/__init__.py +6 -0
- package/assets/rebuild-object/forge/stage5_rig/emit_rig.py +420 -0
- package/assets/rebuild-object/forge/stage5_rig/geodesic_skinning.py +508 -0
- package/assets/rebuild-object/forge/stage5_rig/rig_spec.py +174 -0
- package/assets/rebuild-object/forge/stage5_rig/validate_rig_payload.py +195 -0
- package/assets/rebuild-object/forge/state.py +98 -0
- package/assets/rebuild-object/steps.json +381 -0
- package/dist/{chunk-FB3UDZAV.js → chunk-24TITAFS.js} +1 -1
- package/dist/{chunk-QNWCBPVO.js → chunk-2C5PG2QO.js} +1 -1
- package/dist/{chunk-4RYTTD4D.js → chunk-2DEVOKI7.js} +1 -1
- package/dist/{chunk-RRI23NK2.js → chunk-2GHPYT2P.js} +1 -1
- package/dist/{chunk-QEKVZ7BX.js → chunk-2HXGMXGC.js} +1 -1
- package/dist/{chunk-N2UHAQXC.js → chunk-36FORP7T.js} +0 -1
- package/dist/{chunk-DH6WPL3X.js → chunk-3IXRQTRF.js} +1 -1
- package/dist/{chunk-SXYQL4GK.js → chunk-4YHA32OE.js} +1 -1
- package/dist/{chunk-V5ADM3WC.js → chunk-4ZGQKPK5.js} +1 -1
- package/dist/{chunk-BJAN3RMY.js → chunk-6CLUPFQA.js} +1 -1
- package/dist/{chunk-52E6EKZV.js → chunk-7WTF2BA4.js} +1 -1
- package/dist/{chunk-P74GTK23.js → chunk-AAXZNK4Z.js} +1 -1
- package/dist/{chunk-F4J6XCHT.js → chunk-ALLBT4FB.js} +1 -1
- package/dist/{chunk-HRKVAXNN.js → chunk-BAZDPPIG.js} +5 -5
- package/dist/{chunk-RPJR3S5S.js → chunk-CYDENLZ4.js} +5 -8
- package/dist/{chunk-I5LELJSK.js → chunk-DKSUD44G.js} +1 -1
- package/dist/{chunk-43P4U7CB.js → chunk-DWWSJKTE.js} +1 -1
- package/dist/{chunk-6IUFHPMV.js → chunk-E72TFJZP.js} +1 -1
- package/dist/{chunk-E3FJUPLT.js → chunk-EUAAQMUA.js} +2 -0
- package/dist/{chunk-37LLKM73.js → chunk-F7LYJSZE.js} +1 -1
- package/dist/{chunk-MEAO33XW.js → chunk-FMON3C74.js} +8 -8
- package/dist/{chunk-YLUB6252.js → chunk-FPILHRLZ.js} +1 -1
- package/dist/{chunk-4UU622RK.js → chunk-GGO6ZYYI.js} +1 -3
- package/dist/{chunk-2ZKS7V72.js → chunk-GZCRYYS6.js} +5 -5
- package/dist/{chunk-E7NDOZ27.js → chunk-LE4GVTYI.js} +8 -8
- package/dist/{chunk-UTSSDFQL.js → chunk-NO6KPV64.js} +1 -1
- package/dist/{chunk-W2QPNAZ3.js → chunk-NXW3Z4Y4.js} +1 -1
- package/dist/{chunk-NG2X3SMF.js → chunk-OHOAZGO4.js} +1 -1
- package/dist/chunk-PYJNI5WD.js +83 -0
- package/dist/{chunk-VUV5U4J5.js → chunk-Q4XAGTFX.js} +1 -1
- package/dist/{chunk-3UGGMFJJ.js → chunk-QMZBSVKF.js} +1 -1
- package/dist/{chunk-ABTUEIRC.js → chunk-QO66UBOS.js} +2 -2
- package/dist/{chunk-LONQWRTR.js → chunk-S4KVGQQO.js} +8 -8
- package/dist/{chunk-FJXPMA63.js → chunk-T777EXAO.js} +1 -1
- package/dist/{chunk-YXOGRERG.js → chunk-TZZNRA3S.js} +1 -1
- package/dist/{chunk-CTY2WZQK.js → chunk-UC3QLWMQ.js} +1 -1
- package/dist/{chunk-MR5KIFI7.js → chunk-UDJH2RED.js} +3 -3
- package/dist/{chunk-FNJL6Z5C.js → chunk-UIKYK7KI.js} +1 -1
- package/dist/{chunk-PKM3JOKQ.js → chunk-UJRSQO2B.js} +1 -1
- package/dist/{chunk-ALPTHSUT.js → chunk-V7LEYVXB.js} +28 -24
- package/dist/{chunk-DPLFCKXP.js → chunk-WRMQEXUC.js} +1 -1
- package/dist/{chunk-HSMG6U7J.js → chunk-WXSBNC67.js} +3 -9
- package/dist/{chunk-HSCTPDEU.js → chunk-X4QIOXNQ.js} +1 -1
- package/dist/{chunk-72KHWZMN.js → chunk-Y6WHUK2O.js} +1 -1
- package/dist/{chunk-VZEJ2ZHE.js → chunk-Z3E7ORGQ.js} +5 -5
- package/dist/index.js +20 -20
- package/package.json +32 -22
- package/dist/{chunk-OFJIG4K3.js → chunk-4ENHS32B.js} +0 -0
- package/dist/{chunk-Q3XQPNF6.js → chunk-BN7TR6OR.js} +3 -3
- package/dist/{chunk-LORGE2NB.js → chunk-U2NCN5RO.js} +3 -3
- package/dist/{chunk-UPHB5HWO.js → chunk-VQTTSPA3.js} +3 -3
|
@@ -18,99 +18,103 @@ import "./chunk-GKDUYJ7R.js";
|
|
|
18
18
|
var ASSET_TOOLS = {
|
|
19
19
|
"align-framing": {
|
|
20
20
|
description: "Crop or align a reference image to a render's framing (needs uv).",
|
|
21
|
-
load: rawTool(async () => await import("./chunk-
|
|
21
|
+
load: rawTool(async () => await import("./chunk-QMZBSVKF.js"))
|
|
22
22
|
},
|
|
23
23
|
"aseprite-inspect": {
|
|
24
24
|
description: "Parse an .aseprite file into JSON: frames, layers, tags, optional cel decode.",
|
|
25
|
-
load: rawTool(async () => await import("./chunk-
|
|
25
|
+
load: rawTool(async () => await import("./chunk-UIKYK7KI.js"))
|
|
26
26
|
},
|
|
27
27
|
"build-sequence-gif": {
|
|
28
28
|
description: "Assemble ordered frames into an animated GIF preview.",
|
|
29
|
-
load: rawTool(async () => await import("./chunk-
|
|
29
|
+
load: rawTool(async () => await import("./chunk-ALLBT4FB.js"))
|
|
30
30
|
},
|
|
31
31
|
"chroma-clean": {
|
|
32
32
|
description: "Key out a chroma background, trim fringe and despill.",
|
|
33
|
-
load: rawTool(async () => await import("./chunk-
|
|
33
|
+
load: rawTool(async () => await import("./chunk-2C5PG2QO.js"))
|
|
34
34
|
},
|
|
35
35
|
"image-util": {
|
|
36
36
|
description: "Report PNG sizes, nearest-neighbour upscale, or Lanczos resize.",
|
|
37
|
-
load: rawTool(async () => await import("./chunk-
|
|
37
|
+
load: rawTool(async () => await import("./chunk-OHOAZGO4.js"))
|
|
38
38
|
},
|
|
39
39
|
"manifest-check": {
|
|
40
40
|
description: "Check an asset manifest against the files on disk.",
|
|
41
|
-
load: rawTool(async () => await import("./chunk-
|
|
41
|
+
load: rawTool(async () => await import("./chunk-UJRSQO2B.js"))
|
|
42
42
|
},
|
|
43
43
|
"manifest-export-json": {
|
|
44
44
|
description: "Convert an assets_index.lua manifest to JSON.",
|
|
45
|
-
load: rawTool(async () => await import("./chunk-
|
|
45
|
+
load: rawTool(async () => await import("./chunk-FPILHRLZ.js"))
|
|
46
46
|
},
|
|
47
47
|
"normalize-canvas": {
|
|
48
48
|
description: "Pad frames to one canvas size with a shared baseline.",
|
|
49
|
-
load: rawTool(async () => await import("./chunk-
|
|
49
|
+
load: rawTool(async () => await import("./chunk-7WTF2BA4.js"))
|
|
50
50
|
},
|
|
51
51
|
"normalize-factory": {
|
|
52
52
|
description: "Strip generator metadata from image-to-threejs factory output.",
|
|
53
|
-
load: rawTool(async () => await import("./chunk-
|
|
53
|
+
load: rawTool(async () => await import("./chunk-Y6WHUK2O.js"))
|
|
54
54
|
},
|
|
55
55
|
"pack-spritesheet": {
|
|
56
56
|
description: "Pack a folder of frames into a spritesheet plus JSON.",
|
|
57
|
-
load: rawTool(async () => await import("./chunk-
|
|
57
|
+
load: rawTool(async () => await import("./chunk-3IXRQTRF.js"))
|
|
58
58
|
},
|
|
59
59
|
"pixel-snapper": {
|
|
60
60
|
description: "Snap a generated image onto a true pixel grid with a reduced palette.",
|
|
61
|
-
load: rawTool(async () => await import("./chunk-
|
|
61
|
+
load: rawTool(async () => await import("./chunk-2DEVOKI7.js"))
|
|
62
62
|
},
|
|
63
63
|
"pixel-snapper-sheet": {
|
|
64
64
|
description: "Pixel-snap each cell of a known-layout spritesheet.",
|
|
65
|
-
load: rawTool(async () => await import("./chunk-
|
|
65
|
+
load: rawTool(async () => await import("./chunk-2HXGMXGC.js"))
|
|
66
66
|
},
|
|
67
67
|
"process-sheet": {
|
|
68
68
|
description: "Turn a generated pose board into clean, aligned animation frames.",
|
|
69
|
-
load: rawTool(async () => await import("./chunk-
|
|
69
|
+
load: rawTool(async () => await import("./chunk-F7LYJSZE.js"))
|
|
70
|
+
},
|
|
71
|
+
"rebuild-object": {
|
|
72
|
+
description: "Rebuild an object from a reference image as rigged three.js code (needs uv).",
|
|
73
|
+
load: rawTool(async () => await import("./chunk-PYJNI5WD.js"))
|
|
70
74
|
},
|
|
71
75
|
"recover-component-frames": {
|
|
72
76
|
description: "Recover frames from a pose board by connected components.",
|
|
73
|
-
load: rawTool(async () => await import("./chunk-
|
|
77
|
+
load: rawTool(async () => await import("./chunk-NO6KPV64.js"))
|
|
74
78
|
},
|
|
75
79
|
"ref-sxs": {
|
|
76
80
|
description: "Put a reference shot beside a capture, plus a blurred twin.",
|
|
77
|
-
load: rawTool(async () => await import("./chunk-
|
|
81
|
+
load: rawTool(async () => await import("./chunk-TZZNRA3S.js"))
|
|
78
82
|
},
|
|
79
83
|
"render-model": {
|
|
80
84
|
description: "Render a three.js factory from fixed cameras for review (needs uv).",
|
|
81
|
-
load: rawTool(async () => await import("./chunk-
|
|
85
|
+
load: rawTool(async () => await import("./chunk-DKSUD44G.js"))
|
|
82
86
|
},
|
|
83
87
|
"sheet-probe": {
|
|
84
88
|
description: "Probe a spritesheet or folder for frame grid and empty cells.",
|
|
85
|
-
load: rawTool(async () => await import("./chunk-
|
|
89
|
+
load: rawTool(async () => await import("./chunk-NXW3Z4Y4.js"))
|
|
86
90
|
},
|
|
87
91
|
"sheet-qc": {
|
|
88
92
|
description: "Quality-check a spritesheet: frame drift, clipping, jitter.",
|
|
89
|
-
load: rawTool(async () => await import("./chunk-
|
|
93
|
+
load: rawTool(async () => await import("./chunk-E72TFJZP.js"))
|
|
90
94
|
},
|
|
91
95
|
"size-contract": {
|
|
92
96
|
description: "Derive, audit or prompt for a sprite size contract.",
|
|
93
|
-
load: rawTool(async () => await import("./chunk-
|
|
97
|
+
load: rawTool(async () => await import("./chunk-X4QIOXNQ.js"))
|
|
94
98
|
},
|
|
95
99
|
sizes: {
|
|
96
100
|
description: "List every image's dimensions under a folder (CSV/JSON).",
|
|
97
|
-
load: rawTool(async () => await import("./chunk-
|
|
101
|
+
load: rawTool(async () => await import("./chunk-T777EXAO.js"))
|
|
98
102
|
},
|
|
99
103
|
"sprite-baseline": {
|
|
100
104
|
description: "Measure or fix sprites' feet baseline and centre.",
|
|
101
|
-
load: rawTool(async () => await import("./chunk-
|
|
105
|
+
load: rawTool(async () => await import("./chunk-WRMQEXUC.js"))
|
|
102
106
|
},
|
|
103
107
|
"sprite-presets": {
|
|
104
108
|
description: "List animation presets: frames, timing and poses per action.",
|
|
105
|
-
load: rawTool(async () => await import("./chunk-
|
|
109
|
+
load: rawTool(async () => await import("./chunk-AAXZNK4Z.js"))
|
|
106
110
|
},
|
|
107
111
|
"sprite-prompt": {
|
|
108
112
|
description: "Write the generation prompt for a sprite anchor or pose board.",
|
|
109
|
-
load: rawTool(async () => await import("./chunk-
|
|
113
|
+
load: rawTool(async () => await import("./chunk-Q4XAGTFX.js"))
|
|
110
114
|
},
|
|
111
115
|
"tilemap-editor": {
|
|
112
116
|
description: "Edit a tilemap in the browser, or export tileset grids and map renders.",
|
|
113
|
-
load: rawTool(async () => await import("./chunk-
|
|
117
|
+
load: rawTool(async () => await import("./chunk-24TITAFS.js"))
|
|
114
118
|
}
|
|
115
119
|
};
|
|
116
120
|
var runAsset = async (argv) => {
|
|
@@ -6,21 +6,18 @@ var __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __pathDirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
bareTokens,
|
|
9
|
-
bootstrap,
|
|
10
9
|
ensureAgentBrowser,
|
|
11
|
-
ensureMinimum,
|
|
12
10
|
expandGameFlag,
|
|
13
11
|
playtestCommand,
|
|
14
12
|
projectSessionId,
|
|
15
|
-
resolveBinary,
|
|
16
13
|
resolveGameUrl,
|
|
17
14
|
runPlaytest,
|
|
18
15
|
withScopedSession
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-TMPBGXT4.js";
|
|
16
|
+
} from "./chunk-CYDENLZ4.js";
|
|
17
|
+
import "./chunk-36FORP7T.js";
|
|
22
18
|
import "./chunk-JN4WZCR7.js";
|
|
23
19
|
import "./chunk-Q5NZNXJE.js";
|
|
20
|
+
import "./chunk-TMPBGXT4.js";
|
|
24
21
|
import "./chunk-MBXCVCC4.js";
|
|
25
22
|
import "./chunk-5535KDYI.js";
|
|
26
23
|
import "./chunk-D2RF35HJ.js";
|
|
@@ -29,13 +26,10 @@ import "./chunk-2SBBKY5C.js";
|
|
|
29
26
|
import "./chunk-GKDUYJ7R.js";
|
|
30
27
|
export {
|
|
31
28
|
bareTokens,
|
|
32
|
-
bootstrap,
|
|
33
29
|
ensureAgentBrowser,
|
|
34
|
-
ensureMinimum,
|
|
35
30
|
expandGameFlag,
|
|
36
31
|
playtestCommand,
|
|
37
32
|
projectSessionId,
|
|
38
|
-
resolveBinary,
|
|
39
33
|
resolveGameUrl,
|
|
40
34
|
runPlaytest,
|
|
41
35
|
withScopedSession
|
|
@@ -4,14 +4,11 @@ import { fileURLToPath as __fileURLToPath } from "node:url";
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
var __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __pathDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
assertKnownFlags
|
|
9
|
-
} from "./chunk-RZ4DIJQW.js";
|
|
10
7
|
import {
|
|
11
8
|
authErrorCode,
|
|
12
9
|
createClient
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-UC3QLWMQ.js";
|
|
11
|
+
import "./chunk-EUAAQMUA.js";
|
|
15
12
|
import {
|
|
16
13
|
getToken
|
|
17
14
|
} from "./chunk-Q5NZNXJE.js";
|
|
@@ -19,6 +16,9 @@ import {
|
|
|
19
16
|
outputArgs,
|
|
20
17
|
writeStructured
|
|
21
18
|
} from "./chunk-COSLGSVO.js";
|
|
19
|
+
import {
|
|
20
|
+
assertKnownFlags
|
|
21
|
+
} from "./chunk-RZ4DIJQW.js";
|
|
22
22
|
import {
|
|
23
23
|
defineCommand
|
|
24
24
|
} from "./chunk-MBXCVCC4.js";
|
package/dist/index.js
CHANGED
|
@@ -37,38 +37,38 @@ var main = defineCommand({
|
|
|
37
37
|
version: PACKAGE_VERSION
|
|
38
38
|
},
|
|
39
39
|
subCommands: {
|
|
40
|
-
asset: lazy(async () => await import("./chunk-
|
|
41
|
-
check: lazy(async () => await import("./chunk-
|
|
40
|
+
asset: lazy(async () => await import("./chunk-V7LEYVXB.js"), "assetCommand"),
|
|
41
|
+
check: lazy(async () => await import("./chunk-6CLUPFQA.js"), "checkCommand"),
|
|
42
42
|
completions: lazy(async () => await import("./chunk-VIEKOGKG.js"), "completionsCommand"),
|
|
43
|
-
config: lazy(async () => await import("./chunk-
|
|
44
|
-
credits: lazy(async () => await import("./chunk-
|
|
45
|
-
deploy: lazy(async () => await import("./chunk-
|
|
46
|
-
deployments: lazy(async () => await import("./chunk-
|
|
47
|
-
distribute: lazy(async () => await import("./chunk-
|
|
43
|
+
config: lazy(async () => await import("./chunk-BN7TR6OR.js"), "configCommand"),
|
|
44
|
+
credits: lazy(async () => await import("./chunk-Z3E7ORGQ.js"), "creditsCommand"),
|
|
45
|
+
deploy: lazy(async () => await import("./chunk-LE4GVTYI.js"), "deployCommand"),
|
|
46
|
+
deployments: lazy(async () => await import("./chunk-GZCRYYS6.js"), "deploymentsCommand"),
|
|
47
|
+
distribute: lazy(async () => await import("./chunk-U2NCN5RO.js"), "distributeCommand"),
|
|
48
48
|
factory: lazy(async () => await import("./chunk-K36EOII3.js"), "factoryCommand"),
|
|
49
|
-
fork: lazy(async () => await import("./chunk-
|
|
50
|
-
generate: lazy(async () => await import("./chunk-
|
|
49
|
+
fork: lazy(async () => await import("./chunk-FMON3C74.js"), "forkCommand"),
|
|
50
|
+
generate: lazy(async () => await import("./chunk-QO66UBOS.js"), "generateCommand"),
|
|
51
51
|
init: lazy(async () => await import("./chunk-H2C4QUTG.js"), "initCommand"),
|
|
52
|
-
login: lazy(async () => await import("./chunk-
|
|
53
|
-
logout: lazy(async () => await import("./chunk-
|
|
52
|
+
login: lazy(async () => await import("./chunk-DWWSJKTE.js"), "loginCommand"),
|
|
53
|
+
logout: lazy(async () => await import("./chunk-4YHA32OE.js"), "logoutCommand"),
|
|
54
54
|
new: lazy(async () => await import("./chunk-BN3Q7UEC.js"), "newCommand"),
|
|
55
55
|
playtest: async () => {
|
|
56
|
-
const { playtestCommand } = await import("./chunk-
|
|
56
|
+
const { playtestCommand } = await import("./chunk-WXSBNC67.js");
|
|
57
57
|
return defineCommand({
|
|
58
58
|
meta: playtestCommand.meta,
|
|
59
59
|
subCommands: {
|
|
60
|
-
run: lazy(async () => await import("./chunk-
|
|
60
|
+
run: lazy(async () => await import("./chunk-S4KVGQQO.js"), "playtestRunCommand")
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
},
|
|
64
|
-
skills: lazy(async () => await import("./chunk-
|
|
65
|
-
update: lazy(async () => await import("./chunk-
|
|
66
|
-
whoami: lazy(async () => await import("./chunk-
|
|
64
|
+
skills: lazy(async () => await import("./chunk-VQTTSPA3.js"), "skillsCommand"),
|
|
65
|
+
update: lazy(async () => await import("./chunk-UDJH2RED.js"), "updateCommand"),
|
|
66
|
+
whoami: lazy(async () => await import("./chunk-BAZDPPIG.js"), "whoamiCommand")
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
var subcommand = process.argv.at(2);
|
|
70
70
|
if (subcommand !== void 0 && subcommand !== "" && !["update", "init", "completions"].includes(subcommand)) {
|
|
71
|
-
const { maybeScheduleAutoUpdate } = await import("./chunk-
|
|
71
|
+
const { maybeScheduleAutoUpdate } = await import("./chunk-GGO6ZYYI.js");
|
|
72
72
|
maybeScheduleAutoUpdate();
|
|
73
73
|
}
|
|
74
74
|
if (subcommand === "factory") {
|
|
@@ -76,14 +76,14 @@ if (subcommand === "factory") {
|
|
|
76
76
|
runFactory(process.argv.slice(3));
|
|
77
77
|
}
|
|
78
78
|
if (subcommand === "playtest" && process.argv.at(3) !== "run") {
|
|
79
|
-
const { runPlaytest } = await import("./chunk-
|
|
79
|
+
const { runPlaytest } = await import("./chunk-WXSBNC67.js");
|
|
80
80
|
runPlaytest(process.argv.slice(3));
|
|
81
81
|
}
|
|
82
82
|
if (subcommand === "asset") {
|
|
83
|
-
const { runAsset } = await import("./chunk-
|
|
83
|
+
const { runAsset } = await import("./chunk-V7LEYVXB.js");
|
|
84
84
|
await runAsset(process.argv.slice(3));
|
|
85
85
|
} else if (subcommand === "check") {
|
|
86
|
-
const { runCheck } = await import("./chunk-
|
|
86
|
+
const { runCheck } = await import("./chunk-6CLUPFQA.js");
|
|
87
87
|
await runCheck(process.argv.slice(3));
|
|
88
88
|
} else {
|
|
89
89
|
await runMain(main);
|
package/package.json
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibedgames",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/kyh/vibedgames",
|
|
9
|
+
"directory": "apps/cli"
|
|
10
|
+
},
|
|
5
11
|
"bin": {
|
|
6
12
|
"vg": "./dist/index.js"
|
|
7
13
|
},
|
|
@@ -11,26 +17,19 @@
|
|
|
11
17
|
"templates"
|
|
12
18
|
],
|
|
13
19
|
"type": "module",
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "node scripts/build.ts",
|
|
16
|
-
"dev": "node scripts/build.ts --watch",
|
|
17
|
-
"clean": "rm -rf .turbo dist node_modules",
|
|
18
|
-
"test": "node --import tsx --test \"test/*.test.ts\" \"src/**/*.test.ts\"",
|
|
19
|
-
"typecheck": "tsc --noEmit && tsc --noEmit -p templates/none && tsc --noEmit -p templates/phaser && tsc --noEmit -p templates/react-r3f && tsc --noEmit -p templates/threejs"
|
|
20
|
-
},
|
|
21
20
|
"devDependencies": {
|
|
22
|
-
"@kyh/tsconfig": "
|
|
23
|
-
"@orpc/client": "
|
|
21
|
+
"@kyh/tsconfig": "^1.4.0",
|
|
22
|
+
"@orpc/client": "2.0.0-beta.45",
|
|
24
23
|
"@react-three/drei": "^10.7.9",
|
|
25
24
|
"@react-three/fiber": "^9.8.2",
|
|
26
|
-
"@repo/asset-tools": "
|
|
27
|
-
"@repo/contract": "
|
|
25
|
+
"@repo/asset-tools": "^0.1.0",
|
|
26
|
+
"@repo/contract": "^0.1.0",
|
|
28
27
|
"@types/cross-spawn": "^6.0.6",
|
|
29
|
-
"@types/node": "
|
|
30
|
-
"@types/react": "
|
|
31
|
-
"@types/react-dom": "
|
|
28
|
+
"@types/node": "^26.6.6",
|
|
29
|
+
"@types/react": "^19.3.0",
|
|
30
|
+
"@types/react-dom": "^19.3.0",
|
|
32
31
|
"@types/three": "^0.186.0",
|
|
33
|
-
"@vitejs/plugin-react": "
|
|
32
|
+
"@vitejs/plugin-react": "^6.3.0",
|
|
34
33
|
"citty": "^0.2.2",
|
|
35
34
|
"consola": "^3.4.2",
|
|
36
35
|
"cross-spawn": "^7.0.6",
|
|
@@ -39,12 +38,23 @@
|
|
|
39
38
|
"ignore": "^7.0.16",
|
|
40
39
|
"msw": "2.11.3",
|
|
41
40
|
"phaser": "^4.2.1",
|
|
42
|
-
"react": "
|
|
43
|
-
"react-dom": "
|
|
41
|
+
"react": "^19.3.1",
|
|
42
|
+
"react-dom": "^19.3.1",
|
|
44
43
|
"tar": "^7.5.23",
|
|
45
44
|
"three": "^0.186.1",
|
|
46
|
-
"typescript": "
|
|
47
|
-
"vite": "
|
|
48
|
-
"zod": "
|
|
45
|
+
"typescript": "^7.0.2",
|
|
46
|
+
"vite": "^8.3.8",
|
|
47
|
+
"zod": "^4.6.7"
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=20.11"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "node scripts/build.ts",
|
|
54
|
+
"dev": "node scripts/build.ts --watch",
|
|
55
|
+
"clean": "rm -rf .turbo dist node_modules",
|
|
56
|
+
"test": "node --test \"test/*.test.ts\" \"src/**/*.test.ts\"",
|
|
57
|
+
"typecheck": "tsc --noEmit && tsc --noEmit -p templates/none && tsc --noEmit -p templates/phaser && tsc --noEmit -p templates/react-r3f && tsc --noEmit -p templates/threejs",
|
|
58
|
+
"vendor:rebuild-object": "node scripts/vendor-rebuild-object.ts"
|
|
49
59
|
}
|
|
50
|
-
}
|
|
60
|
+
}
|
|
File without changes
|
|
@@ -4,9 +4,6 @@ import { fileURLToPath as __fileURLToPath } from "node:url";
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
var __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __pathDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
assertKnownFlags
|
|
9
|
-
} from "./chunk-RZ4DIJQW.js";
|
|
10
7
|
import {
|
|
11
8
|
SETTINGS,
|
|
12
9
|
SETTING_KEYS,
|
|
@@ -22,6 +19,9 @@ import {
|
|
|
22
19
|
outputArgs,
|
|
23
20
|
writeStructured
|
|
24
21
|
} from "./chunk-COSLGSVO.js";
|
|
22
|
+
import {
|
|
23
|
+
assertKnownFlags
|
|
24
|
+
} from "./chunk-RZ4DIJQW.js";
|
|
25
25
|
import {
|
|
26
26
|
defineCommand
|
|
27
27
|
} from "./chunk-MBXCVCC4.js";
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
findProjectRoot,
|
|
18
18
|
projectConfigPath
|
|
19
19
|
} from "./chunk-TMPBGXT4.js";
|
|
20
|
-
import {
|
|
21
|
-
assertKnownFlags
|
|
22
|
-
} from "./chunk-RZ4DIJQW.js";
|
|
23
20
|
import {
|
|
24
21
|
isJsonOutput,
|
|
25
22
|
outputArgs,
|
|
26
23
|
writeStructured
|
|
27
24
|
} from "./chunk-COSLGSVO.js";
|
|
25
|
+
import {
|
|
26
|
+
assertKnownFlags
|
|
27
|
+
} from "./chunk-RZ4DIJQW.js";
|
|
28
28
|
import {
|
|
29
29
|
defineCommand
|
|
30
30
|
} from "./chunk-MBXCVCC4.js";
|
|
@@ -4,9 +4,6 @@ import { fileURLToPath as __fileURLToPath } from "node:url";
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
var __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __pathDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
assertKnownFlags
|
|
9
|
-
} from "./chunk-RZ4DIJQW.js";
|
|
10
7
|
import {
|
|
11
8
|
getBaseUrl
|
|
12
9
|
} from "./chunk-Q5NZNXJE.js";
|
|
@@ -15,6 +12,9 @@ import {
|
|
|
15
12
|
outputArgs,
|
|
16
13
|
writeStructured
|
|
17
14
|
} from "./chunk-COSLGSVO.js";
|
|
15
|
+
import {
|
|
16
|
+
assertKnownFlags
|
|
17
|
+
} from "./chunk-RZ4DIJQW.js";
|
|
18
18
|
import {
|
|
19
19
|
defineCommand
|
|
20
20
|
} from "./chunk-MBXCVCC4.js";
|