modwright 0.1.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 +35 -0
- package/README.md +212 -0
- package/assets/claude/agents/mw-explore.md +46 -0
- package/assets/claude/agents/mw-fixture.md +33 -0
- package/assets/claude/agents/mw-rule-author.md +51 -0
- package/assets/claude/agents/mw-scaffold-author.md +48 -0
- package/assets/claude/skills/mw-author.md +59 -0
- package/assets/claude/skills/mw-new-item.md +51 -0
- package/assets/claude/skills/mw-new-spell.md +50 -0
- package/assets/claude/skills/mw-scaffold.md +59 -0
- package/assets/claude/skills/mw-ship.md +57 -0
- package/assets/claude/skills/mw-validate.md +51 -0
- package/assets/claude/skills/mw-verify.md +59 -0
- package/assets/nivalisnights/extract_resources.py +177 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Config.json +5 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/BootstrapClient.lua +55 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/BootstrapServer.lua +81 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/ModWrightBridge/Log.lua +96 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/ModWrightBridge/Probes.lua +1038 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/ModWrightBridge/ProbesClient.lua +74 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/ModWrightBridge/Protocol.lua +985 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/ScriptExtender/Lua/ModWrightBridge/Watch.lua +175 -0
- package/bridges/bg3-se/Mods/ModWrightBridge/meta.lsx +45 -0
- package/bridges/bg3-se/README.md +99 -0
- package/bridges/bg3-se/bridge.json +68 -0
- package/bridges/cp2077-cet/ModWrightBridge/init.lua +375 -0
- package/bridges/cp2077-cet/ModWrightBridge/probes.lua +1104 -0
- package/bridges/cp2077-cet/ModWrightBridge/protocol.lua +1306 -0
- package/bridges/cp2077-cet/README.md +165 -0
- package/bridges/cp2077-cet/bridge.json +53 -0
- package/dist/core/bridge/arm.js +175 -0
- package/dist/core/bridge/cet-console.js +26 -0
- package/dist/core/bridge/cet-log.js +362 -0
- package/dist/core/bridge/index.js +11 -0
- package/dist/core/bridge/locate.js +35 -0
- package/dist/core/bridge/paths.js +34 -0
- package/dist/core/bridge/pending.js +89 -0
- package/dist/core/bridge/poll.js +155 -0
- package/dist/core/bridge/stage.js +100 -0
- package/dist/core/bridge/status.js +97 -0
- package/dist/core/bridge/types.js +145 -0
- package/dist/core/bridge/validate.js +107 -0
- package/dist/core/build/index.js +6 -0
- package/dist/core/build/manifest.js +47 -0
- package/dist/core/build/paths.js +32 -0
- package/dist/core/build/run.js +342 -0
- package/dist/core/build/stage.js +265 -0
- package/dist/core/build/steps/bg3.js +129 -0
- package/dist/core/build/steps/core.js +195 -0
- package/dist/core/build/steps/cyberpunk.js +95 -0
- package/dist/core/build/steps/listing.js +35 -0
- package/dist/core/build/types.js +13 -0
- package/dist/core/build/zip.js +148 -0
- package/dist/core/compat/check.js +113 -0
- package/dist/core/compat/pe.js +220 -0
- package/dist/core/compat/types.js +1 -0
- package/dist/core/compat/version.js +70 -0
- package/dist/core/deploy/guards.js +292 -0
- package/dist/core/deploy/index.js +5 -0
- package/dist/core/deploy/plan.js +696 -0
- package/dist/core/deploy/reload-apply.js +361 -0
- package/dist/core/deploy/reload.js +358 -0
- package/dist/core/deploy/sources.js +169 -0
- package/dist/core/deploy/types.js +1 -0
- package/dist/core/epic.js +54 -0
- package/dist/core/fsutil.js +191 -0
- package/dist/core/home.js +70 -0
- package/dist/core/knowledge/facts.js +229 -0
- package/dist/core/knowledge/index.js +4 -0
- package/dist/core/knowledge/search.js +112 -0
- package/dist/core/knowledge/store.js +123 -0
- package/dist/core/knowledge/types.js +1 -0
- package/dist/core/ledger/check.js +42 -0
- package/dist/core/ledger/hooks.js +80 -0
- package/dist/core/ledger/index.js +7 -0
- package/dist/core/ledger/query.js +17 -0
- package/dist/core/ledger/record.js +84 -0
- package/dist/core/ledger/status.js +53 -0
- package/dist/core/ledger/store.js +98 -0
- package/dist/core/ledger/types.js +108 -0
- package/dist/core/logs/index.js +4 -0
- package/dist/core/logs/registry.js +50 -0
- package/dist/core/logs/scan.js +195 -0
- package/dist/core/logs/triage.js +160 -0
- package/dist/core/logs/types.js +1 -0
- package/dist/core/lsx.js +10 -0
- package/dist/core/lz4.js +66 -0
- package/dist/core/mods.js +229 -0
- package/dist/core/process.js +49 -0
- package/dist/core/project/build-steps.js +83 -0
- package/dist/core/project/describe.js +74 -0
- package/dist/core/project/index.js +5 -0
- package/dist/core/project/load.js +146 -0
- package/dist/core/project/schema.js +264 -0
- package/dist/core/project/types.js +3 -0
- package/dist/core/prompts.js +72 -0
- package/dist/core/registry.js +35 -0
- package/dist/core/safety/backup.js +206 -0
- package/dist/core/safety/execute.js +188 -0
- package/dist/core/safety/index.js +5 -0
- package/dist/core/safety/plan.js +122 -0
- package/dist/core/safety/restore.js +172 -0
- package/dist/core/safety/types.js +1 -0
- package/dist/core/scaffold/bootstrap.js +7 -0
- package/dist/core/scaffold/catalog.js +28 -0
- package/dist/core/scaffold/claude-assets.js +271 -0
- package/dist/core/scaffold/collisions.js +64 -0
- package/dist/core/scaffold/emit.js +356 -0
- package/dist/core/scaffold/engine.js +680 -0
- package/dist/core/scaffold/ids.js +78 -0
- package/dist/core/scaffold/index.js +10 -0
- package/dist/core/scaffold/jsonpath.js +121 -0
- package/dist/core/scaffold/load.js +81 -0
- package/dist/core/scaffold/render.js +85 -0
- package/dist/core/scaffold/sequence.js +396 -0
- package/dist/core/scaffold/types.js +309 -0
- package/dist/core/steam.js +63 -0
- package/dist/core/surfaceutil.js +36 -0
- package/dist/core/testplan/check.js +67 -0
- package/dist/core/testplan/index.js +5 -0
- package/dist/core/testplan/load.js +100 -0
- package/dist/core/testplan/registry.js +317 -0
- package/dist/core/testplan/run.js +389 -0
- package/dist/core/testplan/types.js +82 -0
- package/dist/core/text/converters/bg3.js +50 -0
- package/dist/core/text/converters/cyberpunk.js +36 -0
- package/dist/core/text/converters/index.js +261 -0
- package/dist/core/text/diff/cr2w.js +180 -0
- package/dist/core/text/diff/index.js +16 -0
- package/dist/core/text/diff/loca.js +43 -0
- package/dist/core/text/diff/lsx.js +126 -0
- package/dist/core/text/handles.js +86 -0
- package/dist/core/text/index.js +6 -0
- package/dist/core/text/json.js +46 -0
- package/dist/core/text/templates/cache.js +71 -0
- package/dist/core/text/templates/index.js +3 -0
- package/dist/core/text/templates/library.js +245 -0
- package/dist/core/text/templates/types.js +51 -0
- package/dist/core/text/toolchain.js +16 -0
- package/dist/core/text/types.js +1 -0
- package/dist/core/text/validate.js +149 -0
- package/dist/core/text/xml.js +58 -0
- package/dist/core/toolchain/datafetch.js +151 -0
- package/dist/core/toolchain/env.js +63 -0
- package/dist/core/toolchain/features.js +170 -0
- package/dist/core/toolchain/index.js +8 -0
- package/dist/core/toolchain/install.js +191 -0
- package/dist/core/toolchain/locate.js +275 -0
- package/dist/core/toolchain/remember.js +84 -0
- package/dist/core/toolchain/run.js +318 -0
- package/dist/core/toolchain/specs.js +351 -0
- package/dist/core/toolchain/types.js +1 -0
- package/dist/core/types.js +1 -0
- package/dist/core/userconfig.js +66 -0
- package/dist/core/validate/context.js +139 -0
- package/dist/core/validate/index.js +5 -0
- package/dist/core/validate/registry.js +58 -0
- package/dist/core/validate/run.js +131 -0
- package/dist/core/validate/suppressions.js +91 -0
- package/dist/core/validate/types.js +2 -0
- package/dist/core/yamledit.js +51 -0
- package/dist/index.js +389 -0
- package/dist/server.js +1914 -0
- package/dist/surfaces/baldursgate3/compat.js +164 -0
- package/dist/surfaces/baldursgate3/identity.js +110 -0
- package/dist/surfaces/baldursgate3/index/build.js +331 -0
- package/dist/surfaces/baldursgate3/index/index.js +17 -0
- package/dist/surfaces/baldursgate3/index/info.js +40 -0
- package/dist/surfaces/baldursgate3/index/parsers/loca.js +41 -0
- package/dist/surfaces/baldursgate3/index/parsers/lsx.js +137 -0
- package/dist/surfaces/baldursgate3/index/parsers/stats.js +45 -0
- package/dist/surfaces/baldursgate3/index/parsers/treasuretable.js +57 -0
- package/dist/surfaces/baldursgate3/index/parsers/xmlutil.js +142 -0
- package/dist/surfaces/baldursgate3/index/queries.js +327 -0
- package/dist/surfaces/baldursgate3/index/schema.js +62 -0
- package/dist/surfaces/baldursgate3/index.js +3 -0
- package/dist/surfaces/baldursgate3/logs.js +278 -0
- package/dist/surfaces/baldursgate3/modsettings.js +115 -0
- package/dist/surfaces/baldursgate3/pak.js +153 -0
- package/dist/surfaces/baldursgate3/settings.js +49 -0
- package/dist/surfaces/baldursgate3/surface.js +232 -0
- package/dist/surfaces/baldursgate3/validators/bridge.js +7 -0
- package/dist/surfaces/baldursgate3/validators/files.js +476 -0
- package/dist/surfaces/baldursgate3/validators/items.js +1001 -0
- package/dist/surfaces/baldursgate3/validators/progression.js +734 -0
- package/dist/surfaces/baldursgate3/validators/stats.js +1076 -0
- package/dist/surfaces/baldursgate3/validators/story.js +790 -0
- package/dist/surfaces/baldursgate3/validators/templates.js +7 -0
- package/dist/surfaces/cyberpunk2077/compat.js +223 -0
- package/dist/surfaces/cyberpunk2077/index/build.js +231 -0
- package/dist/surfaces/cyberpunk2077/index/index.js +17 -0
- package/dist/surfaces/cyberpunk2077/index/info.js +51 -0
- package/dist/surfaces/cyberpunk2077/index/model.js +52 -0
- package/dist/surfaces/cyberpunk2077/index/parsers/tweak.js +483 -0
- package/dist/surfaces/cyberpunk2077/index/parsers/tweakxl-yaml.js +183 -0
- package/dist/surfaces/cyberpunk2077/index/queries.js +504 -0
- package/dist/surfaces/cyberpunk2077/index/resource.js +135 -0
- package/dist/surfaces/cyberpunk2077/index/schema.js +90 -0
- package/dist/surfaces/cyberpunk2077/index.js +3 -0
- package/dist/surfaces/cyberpunk2077/logs.js +742 -0
- package/dist/surfaces/cyberpunk2077/paths.js +12 -0
- package/dist/surfaces/cyberpunk2077/surface.js +218 -0
- package/dist/surfaces/cyberpunk2077/validators/bridge.js +7 -0
- package/dist/surfaces/cyberpunk2077/validators/cr2w.js +349 -0
- package/dist/surfaces/cyberpunk2077/validators/garments.js +1181 -0
- package/dist/surfaces/cyberpunk2077/validators/mesh.js +338 -0
- package/dist/surfaces/cyberpunk2077/validators/modsettings.js +120 -0
- package/dist/surfaces/cyberpunk2077/validators/packaging.js +463 -0
- package/dist/surfaces/cyberpunk2077/validators/red4ext.js +318 -0
- package/dist/surfaces/cyberpunk2077/validators/redscript.js +193 -0
- package/dist/surfaces/cyberpunk2077/validators/templates.js +7 -0
- package/dist/surfaces/cyberpunk2077/validators/tweaks.js +768 -0
- package/dist/surfaces/cyberpunk2077/validators/vehicles.js +531 -0
- package/dist/surfaces/cyberpunk2077/validators/xl.js +308 -0
- package/dist/surfaces/eldenring/binders.js +111 -0
- package/dist/surfaces/eldenring/compat.js +166 -0
- package/dist/surfaces/eldenring/dcx.js +49 -0
- package/dist/surfaces/eldenring/index.js +13 -0
- package/dist/surfaces/eldenring/loaders.js +132 -0
- package/dist/surfaces/eldenring/logs.js +67 -0
- package/dist/surfaces/eldenring/paramdef.js +256 -0
- package/dist/surfaces/eldenring/params.js +129 -0
- package/dist/surfaces/eldenring/surface.js +121 -0
- package/dist/surfaces/eldenring/tools.js +52 -0
- package/dist/surfaces/eldenring/validators/binders.js +193 -0
- package/dist/surfaces/eldenring/validators/packages.js +159 -0
- package/dist/surfaces/eldenring/validators/params.js +334 -0
- package/dist/surfaces/eldenring/validators/profiles.js +287 -0
- package/dist/surfaces/index.js +34 -0
- package/dist/surfaces/nivalisnights/compat.js +229 -0
- package/dist/surfaces/nivalisnights/index/build.js +310 -0
- package/dist/surfaces/nivalisnights/index/index.js +5 -0
- package/dist/surfaces/nivalisnights/index/queries.js +231 -0
- package/dist/surfaces/nivalisnights/index.js +4 -0
- package/dist/surfaces/nivalisnights/logs.js +473 -0
- package/dist/surfaces/nivalisnights/surface.js +195 -0
- package/dist/surfaces/skyrimse/archives.js +229 -0
- package/dist/surfaces/skyrimse/compat.js +163 -0
- package/dist/surfaces/skyrimse/index.js +12 -0
- package/dist/surfaces/skyrimse/loadorder.js +174 -0
- package/dist/surfaces/skyrimse/logs.js +241 -0
- package/dist/surfaces/skyrimse/plugins.js +149 -0
- package/dist/surfaces/skyrimse/records.js +94 -0
- package/dist/surfaces/skyrimse/surface.js +240 -0
- package/dist/surfaces/skyrimse/validators/archive-records.js +165 -0
- package/dist/surfaces/skyrimse/validators/archives.js +110 -0
- package/dist/surfaces/skyrimse/validators/plugins.js +374 -0
- package/dist/surfaces/skyrimse/validators/records.js +117 -0
- package/dist/surfaces/stardewvalley/compat.js +190 -0
- package/dist/surfaces/stardewvalley/config.js +42 -0
- package/dist/surfaces/stardewvalley/contentpatcher.js +203 -0
- package/dist/surfaces/stardewvalley/index/index.js +229 -0
- package/dist/surfaces/stardewvalley/index/wiki.js +190 -0
- package/dist/surfaces/stardewvalley/index.js +12 -0
- package/dist/surfaces/stardewvalley/logs.js +307 -0
- package/dist/surfaces/stardewvalley/mods.js +182 -0
- package/dist/surfaces/stardewvalley/surface.js +244 -0
- package/dist/surfaces/stardewvalley/validators/content.js +321 -0
- package/dist/surfaces/stardewvalley/validators/fields.js +147 -0
- package/dist/surfaces/stardewvalley/validators/loadorder.js +69 -0
- package/dist/surfaces/stardewvalley/validators/manifest.js +221 -0
- package/dist/surfaces/subnautica2/compat.js +138 -0
- package/dist/surfaces/subnautica2/index.js +5 -0
- package/dist/surfaces/subnautica2/logs.js +129 -0
- package/dist/surfaces/subnautica2/paks.js +173 -0
- package/dist/surfaces/subnautica2/surface.js +151 -0
- package/dist/surfaces/subnautica2/validators/packaging.js +298 -0
- package/dist/surfaces/valheim/compat.js +171 -0
- package/dist/surfaces/valheim/index/index.js +301 -0
- package/dist/surfaces/valheim/index/tables.js +103 -0
- package/dist/surfaces/valheim/index.js +11 -0
- package/dist/surfaces/valheim/logs.js +197 -0
- package/dist/surfaces/valheim/packaging.js +131 -0
- package/dist/surfaces/valheim/plugins.js +270 -0
- package/dist/surfaces/valheim/references.js +121 -0
- package/dist/surfaces/valheim/surface.js +223 -0
- package/dist/surfaces/valheim/validators/packaging.js +218 -0
- package/dist/surfaces/valheim/validators/plugins.js +287 -0
- package/dist/surfaces/valheim/validators/references.js +169 -0
- package/knowledge/baldursgate3/animations.gr2.yaml +166 -0
- package/knowledge/baldursgate3/audio.voice.yaml +182 -0
- package/knowledge/baldursgate3/audio.wwise.yaml +104 -0
- package/knowledge/baldursgate3/charactercreation.heads-hair.yaml +193 -0
- package/knowledge/baldursgate3/communitylibrary.shared-content.yaml +129 -0
- package/knowledge/baldursgate3/compatibilityframework.api.yaml +176 -0
- package/knowledge/baldursgate3/crash.causes.yaml +90 -0
- package/knowledge/baldursgate3/dialogue.dialogbank.yaml +120 -0
- package/knowledge/baldursgate3/dialogue.files.yaml +236 -0
- package/knowledge/baldursgate3/dialogue.osiris-goals.yaml +386 -0
- package/knowledge/baldursgate3/dialogue.yaml +122 -0
- package/knowledge/baldursgate3/feats.classes.yaml +164 -0
- package/knowledge/baldursgate3/items.cloth-physics.yaml +167 -0
- package/knowledge/baldursgate3/items.roottemplates.yaml +320 -0
- package/knowledge/baldursgate3/items.visualbank.yaml +628 -0
- package/knowledge/baldursgate3/journal.quests.yaml +214 -0
- package/knowledge/baldursgate3/loadorder.modsettings.yaml +128 -0
- package/knowledge/baldursgate3/localization.handles.yaml +92 -0
- package/knowledge/baldursgate3/misc.encoding-and-practice.yaml +111 -0
- package/knowledge/baldursgate3/origins.companions.yaml +144 -0
- package/knowledge/baldursgate3/osiris.signatures.yaml +211 -0
- package/knowledge/baldursgate3/packaging.meta.yaml +155 -0
- package/knowledge/baldursgate3/packaging.paks.yaml +79 -0
- package/knowledge/baldursgate3/process.launch.yaml +34 -0
- package/knowledge/baldursgate3/progressions.yaml +92 -0
- package/knowledge/baldursgate3/publishing.modio-nexus.yaml +170 -0
- package/knowledge/baldursgate3/publishing.toolkit-modio.yaml +135 -0
- package/knowledge/baldursgate3/races.progression.yaml +228 -0
- package/knowledge/baldursgate3/scriptextender.console.yaml +257 -0
- package/knowledge/baldursgate3/scriptextender.yaml +252 -0
- package/knowledge/baldursgate3/stats.boosts.yaml +293 -0
- package/knowledge/baldursgate3/stats.equipment-kits.yaml +69 -0
- package/knowledge/baldursgate3/stats.interrupts.yaml +45 -0
- package/knowledge/baldursgate3/stats.itemcombos.yaml +65 -0
- package/knowledge/baldursgate3/stats.spells.yaml +293 -0
- package/knowledge/baldursgate3/stats.weapons.yaml +210 -0
- package/knowledge/baldursgate3/toolchain.divine.yaml +179 -0
- package/knowledge/baldursgate3/toolchain.lslib-formats.yaml +242 -0
- package/knowledge/baldursgate3/toolkit.levels.yaml +177 -0
- package/knowledge/baldursgate3/ui.icons-atlas.yaml +78 -0
- package/knowledge/baldursgate3/ui.icons.yaml +412 -0
- package/knowledge/baldursgate3/ui.mcm.yaml +161 -0
- package/knowledge/baldursgate3/vfx.materials.yaml +174 -0
- package/knowledge/baldursgate3/visuals.characterfix.yaml +73 -0
- package/knowledge/cyberpunk2077/animations.anims.yaml +118 -0
- package/knowledge/cyberpunk2077/anims.archivexl.yaml +163 -0
- package/knowledge/cyberpunk2077/anims.authoring.yaml +579 -0
- package/knowledge/cyberpunk2077/anims.encoder.yaml +156 -0
- package/knowledge/cyberpunk2077/anims.graph.yaml +629 -0
- package/knowledge/cyberpunk2077/anims.method.yaml +360 -0
- package/knowledge/cyberpunk2077/anims.pipeline.yaml +352 -0
- package/knowledge/cyberpunk2077/anims.roundtrip.yaml +222 -0
- package/knowledge/cyberpunk2077/anims.sets.yaml +176 -0
- package/knowledge/cyberpunk2077/archivexl.bodytypes.yaml +149 -0
- package/knowledge/cyberpunk2077/archivexl.dynamic-appearances.yaml +218 -0
- package/knowledge/cyberpunk2077/archivexl.manifest.yaml +214 -0
- package/knowledge/cyberpunk2077/audio.events.yaml +168 -0
- package/knowledge/cyberpunk2077/audio.sounds.yaml +164 -0
- package/knowledge/cyberpunk2077/audio.voicesets.yaml +146 -0
- package/knowledge/cyberpunk2077/cet.sandbox.yaml +219 -0
- package/knowledge/cyberpunk2077/clothing.garments.yaml +283 -0
- package/knowledge/cyberpunk2077/clothing.refits.yaml +215 -0
- package/knowledge/cyberpunk2077/codeware.overview.yaml +111 -0
- package/knowledge/cyberpunk2077/codeware.systems.yaml +192 -0
- package/knowledge/cyberpunk2077/drones.combat.yaml +416 -0
- package/knowledge/cyberpunk2077/drones.control.yaml +552 -0
- package/knowledge/cyberpunk2077/entities.appearance.yaml +166 -0
- package/knowledge/cyberpunk2077/equipmentex.slots.yaml +151 -0
- package/knowledge/cyberpunk2077/fx.effects.yaml +246 -0
- package/knowledge/cyberpunk2077/fx.lights.yaml +171 -0
- package/knowledge/cyberpunk2077/hair.modding.yaml +145 -0
- package/knowledge/cyberpunk2077/items.wiring.yaml +246 -0
- package/knowledge/cyberpunk2077/loadorder.archives.yaml +71 -0
- package/knowledge/cyberpunk2077/mesh.blender.yaml +209 -0
- package/knowledge/cyberpunk2077/nativedb.dump.yaml +98 -0
- package/knowledge/cyberpunk2077/npc.appearance.yaml +275 -0
- package/knowledge/cyberpunk2077/npc.behaviour.yaml +128 -0
- package/knowledge/cyberpunk2077/npc.locomotion.yaml +490 -0
- package/knowledge/cyberpunk2077/packaging.deploy.yaml +175 -0
- package/knowledge/cyberpunk2077/packaging.variants.yaml +176 -0
- package/knowledge/cyberpunk2077/player.control.yaml +918 -0
- package/knowledge/cyberpunk2077/process.assetbuild.yaml +154 -0
- package/knowledge/cyberpunk2077/process.lessons.yaml +276 -0
- package/knowledge/cyberpunk2077/quests.minor.yaml +46 -0
- package/knowledge/cyberpunk2077/quests.scenes.yaml +282 -0
- package/knowledge/cyberpunk2077/quickhacks.tiers.yaml +41 -0
- package/knowledge/cyberpunk2077/red4ext.api.yaml +645 -0
- package/knowledge/cyberpunk2077/red4ext.plugins.yaml +124 -0
- package/knowledge/cyberpunk2077/redhottools.hotreload.yaml +245 -0
- package/knowledge/cyberpunk2077/redscript.compile-log.yaml +76 -0
- package/knowledge/cyberpunk2077/redscript.modules.yaml +118 -0
- package/knowledge/cyberpunk2077/toolchain.wolvenkit.yaml +163 -0
- package/knowledge/cyberpunk2077/tweakdb.loot-recipes.yaml +184 -0
- package/knowledge/cyberpunk2077/tweakdb.melee.yaml +352 -0
- package/knowledge/cyberpunk2077/tweakdb.weapons.yaml +325 -0
- package/knowledge/cyberpunk2077/tweakxl.hotreload.yaml +151 -0
- package/knowledge/cyberpunk2077/tweakxl.yaml-syntax.yaml +208 -0
- package/knowledge/cyberpunk2077/ui.icons.yaml +259 -0
- package/knowledge/cyberpunk2077/ui.inkatlas.yaml +81 -0
- package/knowledge/cyberpunk2077/ui.modsettings.yaml +204 -0
- package/knowledge/cyberpunk2077/vehicles.control.yaml +475 -0
- package/knowledge/cyberpunk2077/vehicles.dashboard-ui.yaml +203 -0
- package/knowledge/cyberpunk2077/vehicles.entities.yaml +195 -0
- package/knowledge/cyberpunk2077/vehicles.wiring.yaml +137 -0
- package/knowledge/cyberpunk2077/wolvenkit.cli.yaml +167 -0
- package/knowledge/cyberpunk2077/workspot.system.yaml +55 -0
- package/knowledge/cyberpunk2077/world.interactions.yaml +41 -0
- package/knowledge/cyberpunk2077/world.loot-container.yaml +167 -0
- package/knowledge/cyberpunk2077/world.sectors.yaml +233 -0
- package/knowledge/eldenring/formats.binders.yaml +237 -0
- package/knowledge/eldenring/launcher.me3.yaml +230 -0
- package/knowledge/eldenring/launcher.modengine2.yaml +119 -0
- package/knowledge/eldenring/params.paramdef.yaml +149 -0
- package/knowledge/eldenring/params.regulation.yaml +142 -0
- package/knowledge/eldenring/saves.online.yaml +118 -0
- package/knowledge/eldenring/toolchain.cli.yaml +256 -0
- package/knowledge/nivalisnights/modding.runtime.yaml +157 -0
- package/knowledge/skyrimse/archives.bsa.yaml +212 -0
- package/knowledge/skyrimse/install.detection.yaml +41 -0
- package/knowledge/skyrimse/loadorder.files.yaml +242 -0
- package/knowledge/skyrimse/plugins.esl.yaml +189 -0
- package/knowledge/skyrimse/plugins.format.yaml +224 -0
- package/knowledge/skyrimse/skse.runtime.yaml +283 -0
- package/knowledge/skyrimse/toolchain.xedit-spriggit.yaml +336 -0
- package/knowledge/stardewvalley/contentpatcher.format.yaml +338 -0
- package/knowledge/stardewvalley/distribution.channels.yaml +236 -0
- package/knowledge/stardewvalley/game.versions.yaml +202 -0
- package/knowledge/stardewvalley/install.layout.yaml +277 -0
- package/knowledge/stardewvalley/smapi.loader.yaml +284 -0
- package/knowledge/stardewvalley/smapi.logs.yaml +329 -0
- package/knowledge/stardewvalley/smapi.manifest.yaml +293 -0
- package/knowledge/stardewvalley/toolchain.build.yaml +261 -0
- package/knowledge/stardewvalley/wiki.dataformat.yaml +130 -0
- package/knowledge/subnautica2/game.build.yaml +331 -0
- package/knowledge/subnautica2/modding.state.yaml +210 -0
- package/knowledge/subnautica2/ue5.containers.yaml +72 -0
- package/knowledge/subnautica2/ue5.paks.yaml +203 -0
- package/knowledge/subnautica2/ue5.tooling.yaml +175 -0
- package/knowledge/subnautica2/ue5.ue4ss.yaml +203 -0
- package/knowledge/valheim/bepinex.loader.yaml +247 -0
- package/knowledge/valheim/bepinex.plugins.yaml +251 -0
- package/knowledge/valheim/game.versions.yaml +321 -0
- package/knowledge/valheim/install.layout.yaml +216 -0
- package/knowledge/valheim/jotunn.library.yaml +334 -0
- package/knowledge/valheim/thunderstore.packaging.yaml +217 -0
- package/knowledge/valheim/toolchain.build.yaml +111 -0
- package/package.json +29 -0
- package/scaffolds/baldursgate3/new-class-injection.yaml +148 -0
- package/scaffolds/baldursgate3/new-item.yaml +264 -0
- package/scaffolds/baldursgate3/new-mod.yaml +174 -0
- package/scaffolds/baldursgate3/new-passive.yaml +100 -0
- package/scaffolds/baldursgate3/new-project.yaml +118 -0
- package/scaffolds/baldursgate3/new-quest-stub.yaml +159 -0
- package/scaffolds/baldursgate3/new-spell.yaml +102 -0
- package/scaffolds/baldursgate3/new-status.yaml +119 -0
- package/scaffolds/baldursgate3/sequences/subclass-kit.yaml +50 -0
- package/scaffolds/cyberpunk2077/edit-tweak.yaml +70 -0
- package/scaffolds/cyberpunk2077/mesh-export-preset.yaml +170 -0
- package/scaffolds/cyberpunk2077/new-entity-patch.yaml +255 -0
- package/scaffolds/cyberpunk2077/new-garment-refit.yaml +279 -0
- package/scaffolds/cyberpunk2077/new-item-chain.yaml +548 -0
- package/scaffolds/cyberpunk2077/new-localization.yaml +130 -0
- package/scaffolds/cyberpunk2077/new-mod-settings.yaml +133 -0
- package/scaffolds/cyberpunk2077/new-player-replacer.yaml +1003 -0
- package/scaffolds/cyberpunk2077/new-project.yaml +157 -0
- package/scaffolds/cyberpunk2077/new-sector-node.yaml +156 -0
- package/scaffolds/cyberpunk2077/new-tweak.yaml +121 -0
- package/scaffolds/cyberpunk2077/new-vehicle-livery.yaml +148 -0
- package/scaffolds/cyberpunk2077/new-workspot-entity.yaml +177 -0
- package/scaffolds/cyberpunk2077/sequences/iconic-weapon.yaml +72 -0
- package/scaffolds/cyberpunk2077/sequences/quickhack-takeover.yaml +213 -0
- package/scaffolds/stardewvalley/new-cp-patch.yaml +106 -0
- package/scaffolds/stardewvalley/new-csharp-mod.yaml +195 -0
- package/scaffolds/stardewvalley/new-project.yaml +184 -0
- package/scaffolds/stardewvalley/sequences/content-pack.yaml +31 -0
- package/scripts/mw-tool.mjs +184 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { promises as fs } from "node:fs";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
import { readLinkTarget, readTextIfExists, walk } from "../fsutil.js";
|
|
4
|
+
import { parseMetaLsxModuleInfo } from "../lsx.js";
|
|
5
|
+
import { findRunningProcesses } from "../process.js";
|
|
6
|
+
import { globToRegExp } from "../validate/index.js";
|
|
7
|
+
import { scanPaksIdentities } from "../../surfaces/baldursgate3/identity.js";
|
|
8
|
+
const LOCKED_ROOT_IDS = new Set(["archive", "paks", "red4ext"]);
|
|
9
|
+
export function defaultLocked(rootId) {
|
|
10
|
+
return LOCKED_ROOT_IDS.has(rootId);
|
|
11
|
+
}
|
|
12
|
+
export async function duplicateModuleUuidBlock(surface, target, identity) {
|
|
13
|
+
if (surface.id !== "baldursgate3" || target.rootId !== "paks")
|
|
14
|
+
return undefined;
|
|
15
|
+
const uuid = identity?.uuid;
|
|
16
|
+
if (!uuid)
|
|
17
|
+
return undefined;
|
|
18
|
+
const { copies } = await scanPaksIdentities(target.rootPath);
|
|
19
|
+
const own = normalizeForCompare(target.toAbs);
|
|
20
|
+
const ownFolder = identity?.folder;
|
|
21
|
+
const duplicates = copies.filter((copy) => {
|
|
22
|
+
if (copy.uuid?.toLowerCase() !== uuid.toLowerCase())
|
|
23
|
+
return false;
|
|
24
|
+
if (normalizeForCompare(copy.path) === own)
|
|
25
|
+
return false;
|
|
26
|
+
if (ownFolder && copy.folder === ownFolder)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
});
|
|
30
|
+
if (duplicates.length === 0)
|
|
31
|
+
return undefined;
|
|
32
|
+
return {
|
|
33
|
+
code: "duplicate-module-uuid",
|
|
34
|
+
message: `${duplicates.length} other installed pak(s) already carry this project's module UUID (${uuid}) under a ` +
|
|
35
|
+
`different path: ${duplicates.map((d) => d.path).join(", ")}. Which of several same-UUID copies BG3 loads is ` +
|
|
36
|
+
`not predictable from outside (observed in game), so deploying here risks landing content the game never actually loads. ` +
|
|
37
|
+
`Rename or remove the duplicate pak(s) first — the game only scans files with a .pak extension, so renaming ` +
|
|
38
|
+
`one to .pak.bak (the same convention already used in the profile folder for retired copies) or deleting it ` +
|
|
39
|
+
`takes it out of consideration. A copy that came from a mod.io subscription can simply be deleted; mod.io ` +
|
|
40
|
+
`will re-download it if you resubscribe.`,
|
|
41
|
+
detail: {
|
|
42
|
+
uuid,
|
|
43
|
+
ownFolder,
|
|
44
|
+
duplicates: duplicates.map((d) => ({ path: d.path, folder: d.folder, modifiedAt: d.modifiedAt })),
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export async function newestChange(paths) {
|
|
49
|
+
let when = new Date(0);
|
|
50
|
+
let from;
|
|
51
|
+
for (const p of paths) {
|
|
52
|
+
let stat;
|
|
53
|
+
try {
|
|
54
|
+
stat = await fs.stat(p);
|
|
55
|
+
}
|
|
56
|
+
catch {
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
if (stat.isDirectory()) {
|
|
60
|
+
const walked = await walk(p, { limit: 200_000, skipDirs: [".modwright"] });
|
|
61
|
+
if (walked.modifiedAt > when) {
|
|
62
|
+
when = walked.modifiedAt;
|
|
63
|
+
from = p;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else if (stat.mtime > when) {
|
|
67
|
+
when = stat.mtime;
|
|
68
|
+
from = p;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return { when, path: from };
|
|
72
|
+
}
|
|
73
|
+
const STALE_FIX = {
|
|
74
|
+
built: {
|
|
75
|
+
action: "build",
|
|
76
|
+
advice: (artifactPath) => `Run "build" to refresh ${path.basename(artifactPath)}, then deploy.`,
|
|
77
|
+
},
|
|
78
|
+
installed: {
|
|
79
|
+
action: 'deploy --deployMode pak',
|
|
80
|
+
advice: (artifactPath) => `Rebuilding does NOT clear this: "build" only refreshes the artifact under the project's build output, and this ` +
|
|
81
|
+
`guard is comparing the copy already installed at ${artifactPath}. Run "deploy" with deployMode "pak" to refresh ` +
|
|
82
|
+
`the installed copy, then re-run this deploy.`,
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
export async function staleArtifactBlock(artifactPath, sourcePaths, context, kind, via) {
|
|
86
|
+
let artifactMtime;
|
|
87
|
+
try {
|
|
88
|
+
artifactMtime = (await fs.stat(artifactPath)).mtime;
|
|
89
|
+
}
|
|
90
|
+
catch {
|
|
91
|
+
return undefined;
|
|
92
|
+
}
|
|
93
|
+
const newest = await newestChange(sourcePaths);
|
|
94
|
+
if (newest.when <= artifactMtime)
|
|
95
|
+
return undefined;
|
|
96
|
+
const fix = STALE_FIX[kind];
|
|
97
|
+
return {
|
|
98
|
+
code: "stale-artifact",
|
|
99
|
+
message: `${path.basename(artifactPath)} (modified ${artifactMtime.toISOString()}) is older than its contributing sources ` +
|
|
100
|
+
`(newest change ${newest.when.toISOString()}${newest.path ? ` under ${newest.path}` : ""}). ` +
|
|
101
|
+
`${context} ${fix.advice(artifactPath)}`,
|
|
102
|
+
detail: {
|
|
103
|
+
artifact: artifactPath,
|
|
104
|
+
artifactKind: kind,
|
|
105
|
+
fix: fix.action,
|
|
106
|
+
artifactModifiedAt: artifactMtime.toISOString(),
|
|
107
|
+
sourcesNewestChangeAt: newest.when.toISOString(),
|
|
108
|
+
newestSource: newest.path,
|
|
109
|
+
contributingSources: sourcePaths,
|
|
110
|
+
...(via ? { contributingSourcesVia: via } : {}),
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
async function linkState(absPath) {
|
|
115
|
+
let lst;
|
|
116
|
+
try {
|
|
117
|
+
lst = await fs.lstat(absPath);
|
|
118
|
+
}
|
|
119
|
+
catch {
|
|
120
|
+
return { state: "absent" };
|
|
121
|
+
}
|
|
122
|
+
if (lst.isSymbolicLink()) {
|
|
123
|
+
const linkTarget = await readLinkTarget(absPath).catch(() => undefined);
|
|
124
|
+
return { state: "link", linkTarget };
|
|
125
|
+
}
|
|
126
|
+
return { state: lst.isDirectory() ? "directory" : "file" };
|
|
127
|
+
}
|
|
128
|
+
export async function inspectJunctions(project, projectRoot, roots) {
|
|
129
|
+
const statuses = [];
|
|
130
|
+
const blocks = [];
|
|
131
|
+
for (const declared of project.deploy?.junctions ?? []) {
|
|
132
|
+
const root = roots.find((r) => r.id === declared.rootId);
|
|
133
|
+
if (!root) {
|
|
134
|
+
blocks.push({
|
|
135
|
+
code: "unknown-root",
|
|
136
|
+
message: `deploy.junctions entry "${declared.linkPath}" names root "${declared.rootId}", which this surface does not have. Known roots: ${roots.map((r) => r.id).join(", ")}`,
|
|
137
|
+
detail: { linkPath: declared.linkPath, rootId: declared.rootId },
|
|
138
|
+
});
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
const linkPath = path.join(root.path, declared.linkPath);
|
|
142
|
+
const target = path.isAbsolute(declared.target) ? declared.target : path.join(projectRoot, declared.target);
|
|
143
|
+
const { state, linkTarget } = await linkState(linkPath);
|
|
144
|
+
statuses.push({ declared, linkPath, target, before: state, after: state, action: "none", linkTargetBefore: linkTarget });
|
|
145
|
+
}
|
|
146
|
+
return { statuses, blocks };
|
|
147
|
+
}
|
|
148
|
+
const MANAGER_MARKERS = [
|
|
149
|
+
{ pattern: /bg3modmanager|laughingleader/i, label: "BG3 Mod Manager" },
|
|
150
|
+
{ pattern: /vortex/i, label: "Vortex" },
|
|
151
|
+
{ pattern: /<node\s+id="ModOrder"/i, label: "a ModOrder node (written by BG3 Mod Manager)" },
|
|
152
|
+
];
|
|
153
|
+
export async function moduleShortDescReport(project, surface, install, targets = []) {
|
|
154
|
+
const file = install && surface.loadOrderFile ? surface.loadOrderFile(install) : undefined;
|
|
155
|
+
let managerWarning;
|
|
156
|
+
if (file) {
|
|
157
|
+
const text = await readTextIfExists(file);
|
|
158
|
+
if (text) {
|
|
159
|
+
const hits = MANAGER_MARKERS.filter((m) => m.pattern.test(text)).map((m) => m.label);
|
|
160
|
+
if (hits.length > 0) {
|
|
161
|
+
managerWarning =
|
|
162
|
+
`${file} contains ${hits.join(" and ")} — a mod manager appears to own this file. ` +
|
|
163
|
+
`Add the entry through the manager instead; a hand edit will be overwritten.`;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
const uuid = project.identity?.uuid;
|
|
168
|
+
const folder = project.identity?.folder ?? project.name;
|
|
169
|
+
const name = project.identity?.name ?? folder;
|
|
170
|
+
const own = {
|
|
171
|
+
source: "project",
|
|
172
|
+
folder,
|
|
173
|
+
name,
|
|
174
|
+
...(uuid ? { uuid } : {}),
|
|
175
|
+
...(project.identity?.version64 ? { version64: project.identity.version64 } : {}),
|
|
176
|
+
};
|
|
177
|
+
own.xml = moduleShortDescXml(own);
|
|
178
|
+
if (!own.xml) {
|
|
179
|
+
own.note =
|
|
180
|
+
`This project's identity has no "uuid", so its ModuleShortDesc entry cannot be written out. ` +
|
|
181
|
+
`Copy Folder, Name, UUID and Version64 from the module's own meta.lsx into ${file ?? "modsettings.lsx"}'s Mods list.`;
|
|
182
|
+
}
|
|
183
|
+
const staged = await stagedModules(targets, own);
|
|
184
|
+
const modules = [own, ...staged];
|
|
185
|
+
const writable = modules.filter((m) => m.xml);
|
|
186
|
+
const note = own.xml
|
|
187
|
+
? `Add ${writable.length === 1 ? "this node" : `these ${writable.length} nodes`} to the Mods children list in ` +
|
|
188
|
+
`${file ?? "modsettings.lsx"}. ModWright reports them and never edits the file.` +
|
|
189
|
+
(own.version64 ? "" : ` Version64 is absent from this project's identity — copy it from the module's meta.lsx rather than guessing it.`) +
|
|
190
|
+
(staged.length > 0
|
|
191
|
+
? ` ${staged.length === 1 ? "One module" : `${staged.length} modules`} staged by this deploy ship their own meta.lsx ` +
|
|
192
|
+
`(${staged.map((m) => m.folder).join(", ")}); their values come from those files, not from this project's identity.`
|
|
193
|
+
: "")
|
|
194
|
+
: `${own.note} ModWright never edits that file.` +
|
|
195
|
+
(staged.length > 0 ? ` The ${staged.length} module(s) staged with their own meta.lsx are reported in "modules".` : "");
|
|
196
|
+
return {
|
|
197
|
+
file,
|
|
198
|
+
managerWarning,
|
|
199
|
+
...(own.xml ? { xml: own.xml } : {}),
|
|
200
|
+
note,
|
|
201
|
+
modules,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function escapeXmlAttr(value) {
|
|
205
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
206
|
+
}
|
|
207
|
+
function moduleShortDescXml(entry) {
|
|
208
|
+
if (!entry.uuid)
|
|
209
|
+
return undefined;
|
|
210
|
+
const v = (value) => (entry.source === "project" ? escapeXmlAttr(value) : value);
|
|
211
|
+
const attributes = [
|
|
212
|
+
` <attribute id="Folder" type="LSString" value="${v(entry.folder)}"/>`,
|
|
213
|
+
` <attribute id="MD5" type="LSString" value=""/>`,
|
|
214
|
+
` <attribute id="Name" type="LSString" value="${v(entry.name)}"/>`,
|
|
215
|
+
...(entry.version64 ? [` <attribute id="Version64" type="int64" value="${v(entry.version64)}"/>`] : []),
|
|
216
|
+
` <attribute id="UUID" type="guid" value="${v(entry.uuid)}"/>`,
|
|
217
|
+
];
|
|
218
|
+
return ` <node id="ModuleShortDesc">\n${attributes.join("\n")}\n </node>`;
|
|
219
|
+
}
|
|
220
|
+
export { parseMetaLsxModuleInfo } from "../lsx.js";
|
|
221
|
+
async function stagedModules(targets, own) {
|
|
222
|
+
const found = [];
|
|
223
|
+
const seen = new Set(own.uuid ? [own.uuid.toLowerCase()] : []);
|
|
224
|
+
for (const target of targets) {
|
|
225
|
+
for (const copy of target.copies) {
|
|
226
|
+
if (path.basename(copy.to).toLowerCase() !== "meta.lsx")
|
|
227
|
+
continue;
|
|
228
|
+
const text = await readTextIfExists(copy.from);
|
|
229
|
+
if (!text)
|
|
230
|
+
continue;
|
|
231
|
+
const info = parseMetaLsxModuleInfo(text);
|
|
232
|
+
if (!info)
|
|
233
|
+
continue;
|
|
234
|
+
const folder = info.folder ?? info.name;
|
|
235
|
+
if (!folder)
|
|
236
|
+
continue;
|
|
237
|
+
const key = (info.uuid ?? folder).toLowerCase();
|
|
238
|
+
if (seen.has(key))
|
|
239
|
+
continue;
|
|
240
|
+
seen.add(key);
|
|
241
|
+
const entry = {
|
|
242
|
+
source: "meta.lsx",
|
|
243
|
+
folder,
|
|
244
|
+
name: info.name ?? folder,
|
|
245
|
+
...(info.uuid ? { uuid: info.uuid } : {}),
|
|
246
|
+
...(info.version64 ? { version64: info.version64 } : {}),
|
|
247
|
+
file: copy.from,
|
|
248
|
+
};
|
|
249
|
+
entry.xml = moduleShortDescXml(entry);
|
|
250
|
+
if (!entry.xml) {
|
|
251
|
+
entry.note = `${copy.from} carries no UUID, so no ModuleShortDesc entry can be written for it.`;
|
|
252
|
+
}
|
|
253
|
+
found.push(entry);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return found;
|
|
257
|
+
}
|
|
258
|
+
export async function waitForGameExit(processNames, waitMinutes, deps = {}) {
|
|
259
|
+
const find = deps.findProcesses ?? findRunningProcesses;
|
|
260
|
+
const sleep = deps.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms)));
|
|
261
|
+
const budgetMs = Math.min(30, Math.max(0, waitMinutes)) * 60_000;
|
|
262
|
+
let waitedMs = 0;
|
|
263
|
+
for (;;) {
|
|
264
|
+
const probe = await find(processNames);
|
|
265
|
+
if (!probe.checked)
|
|
266
|
+
return { checked: false, running: [], cleared: false, waitedMs };
|
|
267
|
+
if (probe.running.length === 0)
|
|
268
|
+
return { checked: true, running: [], cleared: true, waitedMs };
|
|
269
|
+
if (waitedMs >= budgetMs)
|
|
270
|
+
return { checked: true, running: probe.running, cleared: false, waitedMs };
|
|
271
|
+
await sleep(2_000);
|
|
272
|
+
waitedMs += 2_000;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
export async function computePrune(rootPath, globs, writes) {
|
|
276
|
+
const patterns = globs.map(globToRegExp);
|
|
277
|
+
const walked = await walk(rootPath, { limit: 200_000, stat: false });
|
|
278
|
+
const leftovers = [];
|
|
279
|
+
for (const rel of walked.files) {
|
|
280
|
+
if (!patterns.some((re) => re.test(rel)))
|
|
281
|
+
continue;
|
|
282
|
+
const abs = path.join(rootPath, rel);
|
|
283
|
+
if (writes.has(normalizeForCompare(abs)))
|
|
284
|
+
continue;
|
|
285
|
+
leftovers.push(abs);
|
|
286
|
+
}
|
|
287
|
+
return leftovers;
|
|
288
|
+
}
|
|
289
|
+
export function normalizeForCompare(p) {
|
|
290
|
+
const resolved = path.resolve(p);
|
|
291
|
+
return process.platform === "win32" ? resolved.toLowerCase() : resolved;
|
|
292
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from "./types.js";
|
|
2
|
+
export { planDeploy, runDeploy } from "./plan.js";
|
|
3
|
+
export { classifyReload, detectRedHotTools, redHotToolsDir, redscriptChangeAction, ARCHIVE_WATCHER_LINE } from "./reload.js";
|
|
4
|
+
export { planReloadApply, runReloadApply } from "./reload-apply.js";
|
|
5
|
+
export { defaultLocked, waitForGameExit } from "./guards.js";
|