cluaupp 0.2.3 → 1.3.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/CHANGELOG.md +43 -79
- package/README.md +47 -83
- package/editors/vscode/extension.js +8 -31
- package/editors/vscode/package.json +4 -4
- package/examples/README.md +5 -7
- package/examples/game/.vscode/extensions.json +2 -4
- package/examples/game/.vscode/settings.json +6 -14
- package/{include/cluaupp/datatypes.hpp → examples/game/include/clpp/datatypes.clh} +1 -1
- package/{include/cluaupp/generated/instances.hpp → examples/game/include/clpp/generated/instances.clh} +1415 -1415
- package/examples/game/include/clpp/libs/chrono.clh +26 -0
- package/examples/game/include/clpp/libs/cmdr.clh +16 -0
- package/{include/cluaupp/libs/dataservice.hpp → examples/game/include/clpp/libs/dataservice.clh} +138 -145
- package/{include/cluaupp/libs/display.hpp → examples/game/include/clpp/libs/display.clh} +12 -13
- package/examples/game/include/clpp/libs/ezvisual.clh +16 -0
- package/{include/cluaupp/libs/formatnumber.hpp → examples/game/include/clpp/libs/formatnumber.clh} +14 -15
- package/{include/cluaupp/libs/fusion.hpp → examples/game/include/clpp/libs/fusion.clh} +41 -41
- package/{include/cluaupp/libs/iris.hpp → examples/game/include/clpp/libs/iris.clh} +40 -40
- package/{include/cluaupp/libs/janitor.hpp → examples/game/include/clpp/libs/janitor.clh} +38 -39
- package/{include/cluaupp/libs/module3d.hpp → examples/game/include/clpp/libs/module3d.clh} +23 -25
- package/{include/cluaupp/libs/net.hpp → examples/game/include/clpp/libs/net.clh} +40 -42
- package/examples/game/include/clpp/libs/promise.clh +28 -0
- package/{include/cluaupp/libs/spring.hpp → examples/game/include/clpp/libs/spring.clh} +1 -2
- package/{include/cluaupp/libs/statemachine.hpp → examples/game/include/clpp/libs/statemachine.clh} +18 -19
- package/{include/cluaupp/libs/stickybillboard.hpp → examples/game/include/clpp/libs/stickybillboard.clh} +13 -14
- package/examples/game/include/clpp/libs/topbarplus.clh +28 -0
- package/examples/game/include/clpp/libs/twinkle.clh +15 -0
- package/examples/game/include/clpp/libs/vfx.clh +13 -0
- package/examples/game/include/clpp/libs.clh +24 -0
- package/examples/game/include/clpp/roblox.clh +32 -0
- package/examples/game/libs/ArrayIndexer/init.luau +144 -0
- package/examples/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/LICENSE +21 -0
- package/examples/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/_impl/LICENSE +21 -0
- package/examples/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/init.luau +96 -0
- package/examples/game/libs/Chrono/init.luau +14 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/init.luau +178 -0
- package/examples/game/libs/Cmdr/init.luau +8 -0
- package/examples/game/libs/DataService/Client.luau +209 -0
- package/examples/game/libs/DataService/Data.luau +886 -0
- package/examples/game/libs/DataService/Enum.luau +6 -0
- package/examples/game/libs/DataService/Enums.luau +10 -0
- package/examples/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/examples/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/examples/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/examples/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/examples/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/examples/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/examples/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/examples/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/examples/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/examples/game/libs/DataService/Path.luau +236 -0
- package/examples/game/libs/DataService/ProfileStore.luau +2243 -0
- package/examples/game/libs/DataService/Replicator.luau +172 -0
- package/examples/game/libs/DataService/Server.luau +412 -0
- package/examples/game/libs/DataService/init.luau +204 -0
- package/examples/game/libs/Display/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/init.luau +269 -0
- package/examples/game/libs/Display/_impl/option.luau +237 -0
- package/examples/game/libs/Display/init.luau +10 -0
- package/examples/game/libs/Display/option.luau +237 -0
- package/examples/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/examples/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/examples/game/libs/EzVisualz/init.luau +9 -0
- package/examples/game/libs/EzVisualz/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/wally.toml +8 -0
- package/examples/game/libs/FormatNumber/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/examples/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/init.lua +20 -0
- package/examples/game/libs/FormatNumber/init.luau +20 -0
- package/examples/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/External.luau +156 -0
- package/examples/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/LICENSE +21 -0
- package/examples/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/Types.luau +318 -0
- package/examples/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/_impl/External.luau +156 -0
- package/examples/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/_impl/LICENSE +21 -0
- package/examples/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/_impl/Types.luau +318 -0
- package/examples/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/init.luau +83 -0
- package/examples/game/libs/Fusion/init.luau +27 -0
- package/examples/game/libs/Iris/API.lua +2085 -0
- package/examples/game/libs/Iris/Internal.lua +895 -0
- package/examples/game/libs/Iris/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/Types.lua +660 -0
- package/examples/game/libs/Iris/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/API.lua +2085 -0
- package/examples/game/libs/Iris/_impl/Internal.lua +895 -0
- package/examples/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/_impl/Types.lua +660 -0
- package/examples/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/config.lua +305 -0
- package/examples/game/libs/Iris/_impl/init.lua +696 -0
- package/examples/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/examples/game/libs/Iris/config.lua +305 -0
- package/examples/game/libs/Iris/init.lua +696 -0
- package/examples/game/libs/Iris/init.luau +12 -0
- package/examples/game/libs/Iris/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/widgets/init.lua +447 -0
- package/examples/game/libs/Janitor/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/_impl/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/init.luau +999 -0
- package/examples/game/libs/Janitor/init.luau +15 -0
- package/examples/game/libs/MathUtils/init.luau +100 -0
- package/examples/game/libs/Module3D/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/init.luau +269 -0
- package/examples/game/libs/Module3D/init.luau +14 -0
- package/examples/game/libs/Net/init.luau +125 -0
- package/examples/game/libs/Net/src/codec.luau +153 -0
- package/examples/game/libs/Occlude/init.luau +54 -0
- package/examples/game/libs/Promise/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/init.lua +1991 -0
- package/examples/game/libs/Promise/init.lua +1990 -0
- package/examples/game/libs/Promise/init.luau +13 -0
- package/examples/game/libs/Promise/types.luau +46 -0
- package/examples/game/libs/SOURCES.md +22 -0
- package/examples/game/libs/Spring/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/init.luau +111 -0
- package/examples/game/libs/Spring/init.luau +24 -0
- package/examples/game/libs/StateMachine/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/LICENSE +19 -0
- package/examples/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.luau +10 -0
- package/examples/game/libs/StickyBillboard/init.luau +167 -0
- package/examples/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.luau +8 -0
- package/examples/game/libs/Twinkle/init.luau +157 -0
- package/examples/game/libs/VfxUtil/init.luau +164 -0
- package/examples/game/src/client/hud.client.clpp +54 -0
- package/examples/game/src/client/init.client.clpp +6 -0
- package/examples/game/src/server/combat.server.clpp +85 -0
- package/examples/game/src/server/leaderstats.server.clpp +28 -0
- package/examples/game/src/shared/PlayerData.clh +20 -0
- package/examples/game/src/shared/config.clp +6 -0
- package/examples/game/src/shared/features.clp +100 -0
- package/generated/cli.js +46 -24
- package/generated/clpp/contract.js +6 -0
- package/generated/clpp/index.js +29 -0
- package/generated/clpp/paths.js +119 -0
- package/generated/clpp/postprocess.js +78 -0
- package/generated/clpp/runner.js +253 -0
- package/generated/compile.js +41 -134
- package/generated/intellisense.js +35 -166
- package/generated/libs.js +1 -1
- package/generated/lsp.js +6 -37
- package/generated/preprocess.js +8 -179
- package/generated/system-understander.js +1 -1
- package/generated/transpile.js +6 -49
- package/generated/utils/project.js +89 -61
- package/include/clpp/datatypes.clh +585 -0
- package/include/clpp/generated/enums.clh +4920 -0
- package/include/clpp/generated/instances.clh +12489 -0
- package/include/clpp/libs/chrono.clh +26 -0
- package/include/clpp/libs/cmdr.clh +16 -0
- package/include/clpp/libs/dataservice.clh +138 -0
- package/include/clpp/libs/display.clh +12 -0
- package/include/clpp/libs/ezvisual.clh +16 -0
- package/include/clpp/libs/formatnumber.clh +14 -0
- package/include/clpp/libs/fusion.clh +41 -0
- package/include/clpp/libs/iris.clh +40 -0
- package/include/clpp/libs/janitor.clh +38 -0
- package/include/clpp/libs/math.clh +14 -0
- package/include/clpp/libs/module3d.clh +23 -0
- package/include/clpp/libs/net.clh +40 -0
- package/include/clpp/libs/promise.clh +28 -0
- package/include/clpp/libs/spring.clh +17 -0
- package/include/clpp/libs/statemachine.clh +18 -0
- package/include/clpp/libs/stickybillboard.clh +13 -0
- package/include/clpp/libs/topbarplus.clh +28 -0
- package/include/clpp/libs/twinkle.clh +15 -0
- package/include/clpp/libs/vfx.clh +13 -0
- package/include/clpp/libs.clh +24 -0
- package/include/clpp/roblox.clh +32 -0
- package/package.json +13 -30
- package/src/cli.ts +45 -25
- package/src/clpp/contract.ts +51 -0
- package/src/clpp/index.ts +18 -0
- package/src/clpp/paths.ts +115 -0
- package/src/clpp/postprocess.ts +93 -0
- package/src/clpp/runner.ts +272 -0
- package/src/compile.ts +43 -144
- package/src/intellisense.ts +33 -173
- package/src/libs.ts +1 -1
- package/src/lsp.ts +6 -35
- package/src/preprocess.ts +8 -180
- package/src/system-understander.ts +1 -1
- package/src/transpile.ts +17 -51
- package/src/types.ts +1 -0
- package/src/utils/project.ts +106 -68
- package/templates/game/.vscode/extensions.json +2 -4
- package/templates/game/.vscode/settings.json +6 -14
- package/templates/game/include/clpp/datatypes.clh +585 -0
- package/templates/game/include/clpp/generated/enums.clh +4920 -0
- package/templates/game/include/clpp/generated/instances.clh +12489 -0
- package/templates/game/include/clpp/libs/chrono.clh +26 -0
- package/templates/game/include/clpp/libs/cmdr.clh +16 -0
- package/templates/game/include/clpp/libs/dataservice.clh +138 -0
- package/templates/game/include/clpp/libs/display.clh +12 -0
- package/templates/game/include/clpp/libs/ezvisual.clh +16 -0
- package/templates/game/include/clpp/libs/formatnumber.clh +14 -0
- package/templates/game/include/clpp/libs/fusion.clh +41 -0
- package/templates/game/include/clpp/libs/iris.clh +40 -0
- package/templates/game/include/clpp/libs/janitor.clh +38 -0
- package/templates/game/include/clpp/libs/math.clh +14 -0
- package/templates/game/include/clpp/libs/module3d.clh +23 -0
- package/templates/game/include/clpp/libs/net.clh +40 -0
- package/templates/game/include/clpp/libs/promise.clh +28 -0
- package/templates/game/include/clpp/libs/spring.clh +17 -0
- package/templates/game/include/clpp/libs/statemachine.clh +18 -0
- package/templates/game/include/clpp/libs/stickybillboard.clh +13 -0
- package/templates/game/include/clpp/libs/topbarplus.clh +28 -0
- package/templates/game/include/clpp/libs/twinkle.clh +15 -0
- package/templates/game/include/clpp/libs/vfx.clh +13 -0
- package/templates/game/include/clpp/libs.clh +24 -0
- package/templates/game/include/clpp/roblox.clh +32 -0
- package/templates/game/libs/ArrayIndexer/init.luau +144 -0
- package/templates/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/LICENSE +21 -0
- package/templates/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/_impl/LICENSE +21 -0
- package/templates/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/init.luau +96 -0
- package/templates/game/libs/Chrono/init.luau +14 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/init.luau +178 -0
- package/templates/game/libs/Cmdr/init.luau +8 -0
- package/templates/game/libs/DataService/Client.luau +209 -0
- package/templates/game/libs/DataService/Data.luau +886 -0
- package/templates/game/libs/DataService/Enum.luau +6 -0
- package/templates/game/libs/DataService/Enums.luau +10 -0
- package/templates/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/templates/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/templates/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/templates/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/templates/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/templates/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/templates/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/templates/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/templates/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/templates/game/libs/DataService/Path.luau +236 -0
- package/templates/game/libs/DataService/ProfileStore.luau +2243 -0
- package/templates/game/libs/DataService/Replicator.luau +172 -0
- package/templates/game/libs/DataService/Server.luau +412 -0
- package/templates/game/libs/DataService/init.luau +204 -0
- package/templates/game/libs/Display/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/init.luau +269 -0
- package/templates/game/libs/Display/_impl/option.luau +237 -0
- package/templates/game/libs/Display/init.luau +10 -0
- package/templates/game/libs/Display/option.luau +237 -0
- package/templates/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/templates/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/templates/game/libs/EzVisualz/init.luau +9 -0
- package/templates/game/libs/EzVisualz/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/wally.toml +8 -0
- package/templates/game/libs/FormatNumber/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/templates/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/init.lua +20 -0
- package/templates/game/libs/FormatNumber/init.luau +20 -0
- package/templates/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/External.luau +156 -0
- package/templates/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/LICENSE +21 -0
- package/templates/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/Types.luau +318 -0
- package/templates/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/_impl/External.luau +156 -0
- package/templates/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/_impl/LICENSE +21 -0
- package/templates/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/_impl/Types.luau +318 -0
- package/templates/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/init.luau +83 -0
- package/templates/game/libs/Fusion/init.luau +27 -0
- package/templates/game/libs/Iris/API.lua +2085 -0
- package/templates/game/libs/Iris/Internal.lua +895 -0
- package/templates/game/libs/Iris/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/Types.lua +660 -0
- package/templates/game/libs/Iris/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/API.lua +2085 -0
- package/templates/game/libs/Iris/_impl/Internal.lua +895 -0
- package/templates/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/_impl/Types.lua +660 -0
- package/templates/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/config.lua +305 -0
- package/templates/game/libs/Iris/_impl/init.lua +696 -0
- package/templates/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/templates/game/libs/Iris/config.lua +305 -0
- package/templates/game/libs/Iris/init.lua +696 -0
- package/templates/game/libs/Iris/init.luau +12 -0
- package/templates/game/libs/Iris/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/widgets/init.lua +447 -0
- package/templates/game/libs/Janitor/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/_impl/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/init.luau +999 -0
- package/templates/game/libs/Janitor/init.luau +15 -0
- package/templates/game/libs/MathUtils/init.luau +100 -0
- package/templates/game/libs/Module3D/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/init.luau +269 -0
- package/templates/game/libs/Module3D/init.luau +14 -0
- package/templates/game/libs/Net/init.luau +125 -0
- package/templates/game/libs/Net/src/codec.luau +153 -0
- package/templates/game/libs/Occlude/init.luau +54 -0
- package/templates/game/libs/Promise/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/init.lua +1991 -0
- package/templates/game/libs/Promise/init.lua +1990 -0
- package/templates/game/libs/Promise/init.luau +13 -0
- package/templates/game/libs/Promise/types.luau +46 -0
- package/templates/game/libs/SOURCES.md +22 -0
- package/templates/game/libs/Spring/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/init.luau +111 -0
- package/templates/game/libs/Spring/init.luau +24 -0
- package/templates/game/libs/StateMachine/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/LICENSE +19 -0
- package/templates/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.luau +10 -0
- package/templates/game/libs/StickyBillboard/init.luau +167 -0
- package/templates/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.luau +8 -0
- package/templates/game/libs/Twinkle/init.luau +157 -0
- package/templates/game/libs/VfxUtil/init.luau +164 -0
- package/templates/game/src/client/init.client.clpp +6 -0
- package/templates/game/src/server/leaderstats.server.clpp +29 -0
- package/templates/game/src/shared/config.clp +6 -0
- package/docs/README.md +0 -35
- package/docs/architecture.md +0 -92
- package/docs/cli.md +0 -91
- package/docs/comparison.md +0 -37
- package/docs/config.md +0 -31
- package/docs/cpp-advanced.md +0 -78
- package/docs/cpp-const.md +0 -52
- package/docs/cpp-organization.md +0 -63
- package/docs/cpp-safety.md +0 -62
- package/docs/cpp-types.md +0 -68
- package/docs/examples/_category_.json +0 -5
- package/docs/examples/combat.md +0 -239
- package/docs/examples/data-boot.md +0 -98
- package/docs/examples/hud.md +0 -96
- package/docs/examples/index.md +0 -45
- package/docs/examples/leaderstats.md +0 -69
- package/docs/examples/shop.md +0 -122
- package/docs/examples/sword.md +0 -108
- package/docs/getting-started.md +0 -179
- package/docs/intellisense.md +0 -48
- package/docs/intro.md +0 -37
- package/docs/libraries/_category_.json +0 -5
- package/docs/libraries/dataservice.md +0 -107
- package/docs/libraries/index.md +0 -23
- package/docs/libraries/janitor.md +0 -65
- package/docs/libraries/more.md +0 -81
- package/docs/libraries/net.md +0 -35
- package/docs/libraries/promise.md +0 -27
- package/docs/libraries/ui.md +0 -76
- package/docs/oop/_category_.json +0 -5
- package/docs/oop/file-tags.md +0 -48
- package/docs/oop/index.md +0 -35
- package/docs/oop/modules.md +0 -88
- package/docs/oop/services.md +0 -76
- package/docs/print-cout.md +0 -91
- package/docs/roblox-api.md +0 -29
- package/docs/syntax.md +0 -262
- package/examples/game/.clangd +0 -25
- package/examples/game/compile_flags.txt +0 -6
- package/examples/game/src/client/hud.client.cpp +0 -12
- package/examples/game/src/client/init.client.cpp +0 -6
- package/examples/game/src/server/combat.server.cpp +0 -23
- package/examples/game/src/server/leaderstats.server.cpp +0 -29
- package/examples/game/src/shared/config.cpp +0 -5
- package/examples/game/src/shared/config.h +0 -5
- package/include/cluaupp/libs/chrono.hpp +0 -26
- package/include/cluaupp/libs/cmdr.hpp +0 -16
- package/include/cluaupp/libs/ezvisual.hpp +0 -18
- package/include/cluaupp/libs/promise.hpp +0 -30
- package/include/cluaupp/libs/topbarplus.hpp +0 -29
- package/include/cluaupp/libs/twinkle.hpp +0 -15
- package/include/cluaupp/libs/vfx.hpp +0 -13
- package/include/cluaupp/libs.hpp +0 -25
- package/include/cluaupp/roblox.hpp +0 -47
- package/src/architecture.ts +0 -500
- package/src/ast.ts +0 -37
- package/src/emit.ts +0 -609
- package/src/emitter/luau-codegen.ts +0 -187
- package/src/emitter/translators.ts +0 -168
- package/src/headers.ts +0 -233
- package/src/layout.ts +0 -114
- package/src/lex.ts +0 -158
- package/src/parse.ts +0 -729
- package/src/parser/collector.ts +0 -148
- package/src/parser/index.ts +0 -27
- package/src/tree-sitter-cpp.d.ts +0 -4
- package/src/understand.ts +0 -322
- package/templates/game/src/client/init.client.cpp +0 -6
- package/templates/game/src/server/leaderstats.server.cpp +0 -29
- package/templates/game/src/shared/config.cpp +0 -5
- package/templates/game/src/shared/config.h +0 -5
- /package/{include/cluaupp/generated/enums.hpp → examples/game/include/clpp/generated/enums.clh} +0 -0
- /package/{include/cluaupp/libs/math.hpp → examples/game/include/clpp/libs/math.clh} +0 -0
package/generated/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.program = exports.init = exports.watch = void 0;
|
|
6
|
+
exports.hasClpp = exports.program = exports.init = exports.watch = void 0;
|
|
7
7
|
exports.build = build;
|
|
8
8
|
exports.dispatch = dispatch;
|
|
9
9
|
const commander_1 = require("commander");
|
|
@@ -11,7 +11,10 @@ const promises_1 = __importDefault(require("node:fs/promises"));
|
|
|
11
11
|
const node_path_1 = __importDefault(require("node:path"));
|
|
12
12
|
const package_info_js_1 = require("./package-info.js");
|
|
13
13
|
const lsp_js_1 = require("./lsp.js");
|
|
14
|
-
const
|
|
14
|
+
const paths_js_1 = require("./clpp/paths.js");
|
|
15
|
+
const contract_js_1 = require("./clpp/contract.js");
|
|
16
|
+
const runner_js_1 = require("./clpp/runner.js");
|
|
17
|
+
Object.defineProperty(exports, "hasClpp", { enumerable: true, get: function () { return runner_js_1.hasClpp; } });
|
|
15
18
|
const intellisense_js_1 = require("./intellisense.js");
|
|
16
19
|
const rojo_mapper_js_1 = require("./utils/rojo-mapper.js");
|
|
17
20
|
const process_orchestrator_js_1 = require("./utils/process-orchestrator.js");
|
|
@@ -23,7 +26,7 @@ const program = new commander_1.Command();
|
|
|
23
26
|
exports.program = program;
|
|
24
27
|
program
|
|
25
28
|
.name("cluaupp")
|
|
26
|
-
.description("
|
|
29
|
+
.description("Cluaupp toolchain — compile CL++ to Luau, Rojo, and CluauppLibs")
|
|
27
30
|
.version(package_info_js_1.pkg.version, "-v, --version", "print version")
|
|
28
31
|
.showHelpAfterError()
|
|
29
32
|
.action(() => {
|
|
@@ -44,14 +47,14 @@ program
|
|
|
44
47
|
});
|
|
45
48
|
program
|
|
46
49
|
.command("build")
|
|
47
|
-
.description("
|
|
50
|
+
.description("Compile a CL++ file, directory, or project to Luau")
|
|
48
51
|
.argument("[folder]", "project folder", ".")
|
|
49
|
-
.option("-i, --input <path>", "
|
|
50
|
-
.option("-o, --output <path>", "
|
|
51
|
-
.option("-r, --rojo <path>", "
|
|
52
|
-
.option("--strict", "
|
|
53
|
-
.option("--format", "
|
|
54
|
-
.option("--analyze", "
|
|
52
|
+
.option("-i, --input <path>", "CL++ file or directory")
|
|
53
|
+
.option("-o, --output <path>", "Luau file or directory")
|
|
54
|
+
.option("-r, --rojo <path>", "Path to Rojo default.project.json", "./default.project.json")
|
|
55
|
+
.option("--strict", "Emit --!strict")
|
|
56
|
+
.option("--format", "Run StyLua on output")
|
|
57
|
+
.option("--analyze", "Run luau-analyze on output")
|
|
55
58
|
.action(async (folder, options) => {
|
|
56
59
|
if (options.input) {
|
|
57
60
|
await buildInput(options);
|
|
@@ -62,6 +65,7 @@ program
|
|
|
62
65
|
format: options.format === true,
|
|
63
66
|
analyze: options.analyze === true,
|
|
64
67
|
rojo: options.rojo,
|
|
68
|
+
strict: options.strict === true,
|
|
65
69
|
});
|
|
66
70
|
}
|
|
67
71
|
catch (err) {
|
|
@@ -73,8 +77,8 @@ program
|
|
|
73
77
|
.command("watch")
|
|
74
78
|
.description("rebuild on save")
|
|
75
79
|
.argument("[folder]", "project folder", ".")
|
|
76
|
-
.option("-r, --rojo <path>", "
|
|
77
|
-
.option("--format", "
|
|
80
|
+
.option("-r, --rojo <path>", "Path to Rojo default.project.json", "./default.project.json")
|
|
81
|
+
.option("--format", "Run StyLua on output")
|
|
78
82
|
.action((folder, options) => {
|
|
79
83
|
try {
|
|
80
84
|
(0, project_js_1.watch)(node_path_1.default.resolve(process.cwd(), folder), {
|
|
@@ -89,7 +93,7 @@ program
|
|
|
89
93
|
});
|
|
90
94
|
program
|
|
91
95
|
.command("lsp")
|
|
92
|
-
.description("
|
|
96
|
+
.description("Language server stdio (JSON-RPC). Use `clpp install` for CL++ IntelliSense.")
|
|
93
97
|
.argument("[folder]", "project folder", ".")
|
|
94
98
|
.action((folder) => {
|
|
95
99
|
(0, lsp_js_1.start)({ projectRoot: node_path_1.default.resolve(process.cwd(), folder) });
|
|
@@ -97,18 +101,37 @@ program
|
|
|
97
101
|
program
|
|
98
102
|
.command("intellisense")
|
|
99
103
|
.alias("intelisense")
|
|
100
|
-
.description("
|
|
104
|
+
.description("Point the editor at CL++ (`clpp install`)")
|
|
101
105
|
.argument("[folder]", "project folder", ".")
|
|
102
106
|
.action(async (folder) => {
|
|
103
107
|
try {
|
|
104
108
|
const root = node_path_1.default.resolve(process.cwd(), folder);
|
|
105
109
|
(0, intellisense_js_1.syncEditorSupport)(root, (0, project_js_1.loadConfig)(root));
|
|
106
|
-
|
|
107
|
-
console.log("cluaupp:
|
|
108
|
-
console.log("cluaupp:
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
await (0, intellisense_js_1.installEditorSupport)();
|
|
111
|
+
console.log("cluaupp: editor associations written in", root);
|
|
112
|
+
console.log("cluaupp:", contract_js_1.CLPP_INSTALL_HINT);
|
|
113
|
+
}
|
|
114
|
+
catch (err) {
|
|
115
|
+
console.error(err instanceof Error ? err.message : err);
|
|
116
|
+
process.exit(1);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
program
|
|
120
|
+
.command("language")
|
|
121
|
+
.description("CL++ manifest (`clpp api manifest`)")
|
|
122
|
+
.action(() => {
|
|
123
|
+
try {
|
|
124
|
+
const bin = (0, runner_js_1.resolveClppBinary)();
|
|
125
|
+
const version = (0, runner_js_1.clppVersion)();
|
|
126
|
+
if (version) {
|
|
127
|
+
console.log(version, `(${bin})`);
|
|
128
|
+
}
|
|
129
|
+
for (const install of (0, runner_js_1.clppInstalls)()) {
|
|
130
|
+
if (!install.selected) {
|
|
131
|
+
console.log(`skipped ${install.bin} (${install.version || "unknown"})`);
|
|
132
|
+
}
|
|
111
133
|
}
|
|
134
|
+
console.log(JSON.stringify((0, runner_js_1.clppManifest)(), null, "\t"));
|
|
112
135
|
}
|
|
113
136
|
catch (err) {
|
|
114
137
|
console.error(err instanceof Error ? err.message : err);
|
|
@@ -129,14 +152,13 @@ async function buildInput(options) {
|
|
|
129
152
|
console.error(`[Erro] O caminho de entrada especificado não existe: ${inputPath}`);
|
|
130
153
|
process.exit(1);
|
|
131
154
|
}
|
|
132
|
-
console.log("🏁 Inicializando Pipeline do Compilador Cluaupp V2...");
|
|
133
155
|
const mapper = new rojo_mapper_js_1.RojoMapper(node_path_1.default.resolve(options.rojo), node_path_1.default.dirname(inputPath));
|
|
134
156
|
await mapper.load();
|
|
135
157
|
const inputs = (await promises_1.default.stat(inputPath)).isDirectory()
|
|
136
|
-
? (0,
|
|
158
|
+
? (0, paths_js_1.collectSources)(inputPath)
|
|
137
159
|
: [inputPath];
|
|
138
160
|
if (inputs.length === 0) {
|
|
139
|
-
console.error("no .
|
|
161
|
+
console.error("no .clpp/.clp/.clh files in", inputPath);
|
|
140
162
|
process.exit(1);
|
|
141
163
|
}
|
|
142
164
|
const outputIsFile = /\.luau$/i.test(outputPath);
|
|
@@ -154,7 +176,7 @@ async function buildInput(options) {
|
|
|
154
176
|
srcDir: node_path_1.default.dirname(file),
|
|
155
177
|
includeDirs: [node_path_1.default.dirname(file)],
|
|
156
178
|
}, mapper);
|
|
157
|
-
const dest = outputIsFile ? outputPath : node_path_1.default.join(outputPath, node_path_1.default.basename((0,
|
|
179
|
+
const dest = outputIsFile ? outputPath : node_path_1.default.join(outputPath, node_path_1.default.basename((0, paths_js_1.toLuauPath)(rel)));
|
|
158
180
|
await promises_1.default.mkdir(node_path_1.default.dirname(dest), { recursive: true });
|
|
159
181
|
const luau = compiled.files[0]?.contents ?? "";
|
|
160
182
|
await promises_1.default.writeFile(dest, luau, "utf8");
|
|
@@ -167,7 +189,7 @@ async function buildInput(options) {
|
|
|
167
189
|
console.log("\nRelatório de Análise Estática do Luau:\n", analysisReport);
|
|
168
190
|
}
|
|
169
191
|
}
|
|
170
|
-
console.log(`
|
|
192
|
+
console.log(`Compiled ${file} → ${dest}`);
|
|
171
193
|
}
|
|
172
194
|
}
|
|
173
195
|
function build(root, options = {}) {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/** Stable CL++ ↔ Cluaupp contract (CL++ 0.3.2). Cluaupp invokes the `clpp` binary. */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CLPP_INSTALL_HINT = exports.MIN_CLPP_VERSION = void 0;
|
|
5
|
+
exports.MIN_CLPP_VERSION = "0.3.2";
|
|
6
|
+
exports.CLPP_INSTALL_HINT = "Install CL++ 0.3.2 (clpp-setup.exe or `clpp setup`) and put `clpp` on PATH. Instances are class names (`Player player`, not `Player*`). Override with CLPP or CLPP_PATH.";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toLuauPath = exports.siblingHeader = exports.scriptKind = exports.isTaggedScript = exports.isSourceFile = exports.isImplFile = exports.isHeaderFile = exports.isEngineStub = exports.fileStem = exports.emitKind = exports.collectSources = exports.SOURCE_EXTS = exports.shouldSkipInit = exports.clppLuauToGame = exports.resolveClppBinary = exports.hasClpp = exports.clppVersion = exports.clppManifest = exports.compileViaClppAsync = exports.compileViaClpp = exports.MIN_CLPP_VERSION = exports.CLPP_INSTALL_HINT = void 0;
|
|
4
|
+
var contract_js_1 = require("./contract.js");
|
|
5
|
+
Object.defineProperty(exports, "CLPP_INSTALL_HINT", { enumerable: true, get: function () { return contract_js_1.CLPP_INSTALL_HINT; } });
|
|
6
|
+
Object.defineProperty(exports, "MIN_CLPP_VERSION", { enumerable: true, get: function () { return contract_js_1.MIN_CLPP_VERSION; } });
|
|
7
|
+
var runner_js_1 = require("./runner.js");
|
|
8
|
+
Object.defineProperty(exports, "compileViaClpp", { enumerable: true, get: function () { return runner_js_1.compileViaClpp; } });
|
|
9
|
+
Object.defineProperty(exports, "compileViaClppAsync", { enumerable: true, get: function () { return runner_js_1.compileViaClppAsync; } });
|
|
10
|
+
Object.defineProperty(exports, "clppManifest", { enumerable: true, get: function () { return runner_js_1.clppManifest; } });
|
|
11
|
+
Object.defineProperty(exports, "clppVersion", { enumerable: true, get: function () { return runner_js_1.clppVersion; } });
|
|
12
|
+
Object.defineProperty(exports, "hasClpp", { enumerable: true, get: function () { return runner_js_1.hasClpp; } });
|
|
13
|
+
Object.defineProperty(exports, "resolveClppBinary", { enumerable: true, get: function () { return runner_js_1.resolveClppBinary; } });
|
|
14
|
+
var postprocess_js_1 = require("./postprocess.js");
|
|
15
|
+
Object.defineProperty(exports, "clppLuauToGame", { enumerable: true, get: function () { return postprocess_js_1.clppLuauToGame; } });
|
|
16
|
+
Object.defineProperty(exports, "shouldSkipInit", { enumerable: true, get: function () { return postprocess_js_1.shouldSkipInit; } });
|
|
17
|
+
var paths_js_1 = require("./paths.js");
|
|
18
|
+
Object.defineProperty(exports, "SOURCE_EXTS", { enumerable: true, get: function () { return paths_js_1.SOURCE_EXTS; } });
|
|
19
|
+
Object.defineProperty(exports, "collectSources", { enumerable: true, get: function () { return paths_js_1.collectSources; } });
|
|
20
|
+
Object.defineProperty(exports, "emitKind", { enumerable: true, get: function () { return paths_js_1.emitKind; } });
|
|
21
|
+
Object.defineProperty(exports, "fileStem", { enumerable: true, get: function () { return paths_js_1.fileStem; } });
|
|
22
|
+
Object.defineProperty(exports, "isEngineStub", { enumerable: true, get: function () { return paths_js_1.isEngineStub; } });
|
|
23
|
+
Object.defineProperty(exports, "isHeaderFile", { enumerable: true, get: function () { return paths_js_1.isHeaderFile; } });
|
|
24
|
+
Object.defineProperty(exports, "isImplFile", { enumerable: true, get: function () { return paths_js_1.isImplFile; } });
|
|
25
|
+
Object.defineProperty(exports, "isSourceFile", { enumerable: true, get: function () { return paths_js_1.isSourceFile; } });
|
|
26
|
+
Object.defineProperty(exports, "isTaggedScript", { enumerable: true, get: function () { return paths_js_1.isTaggedScript; } });
|
|
27
|
+
Object.defineProperty(exports, "scriptKind", { enumerable: true, get: function () { return paths_js_1.scriptKind; } });
|
|
28
|
+
Object.defineProperty(exports, "siblingHeader", { enumerable: true, get: function () { return paths_js_1.siblingHeader; } });
|
|
29
|
+
Object.defineProperty(exports, "toLuauPath", { enumerable: true, get: function () { return paths_js_1.toLuauPath; } });
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SOURCE_EXTS = void 0;
|
|
7
|
+
exports.isSourceFile = isSourceFile;
|
|
8
|
+
exports.isEngineStub = isEngineStub;
|
|
9
|
+
exports.isHeaderFile = isHeaderFile;
|
|
10
|
+
exports.isImplFile = isImplFile;
|
|
11
|
+
exports.toLuauPath = toLuauPath;
|
|
12
|
+
exports.fileStem = fileStem;
|
|
13
|
+
exports.scriptKind = scriptKind;
|
|
14
|
+
exports.emitKind = emitKind;
|
|
15
|
+
exports.isTaggedScript = isTaggedScript;
|
|
16
|
+
exports.siblingHeader = siblingHeader;
|
|
17
|
+
exports.collectSources = collectSources;
|
|
18
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
19
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
20
|
+
exports.SOURCE_EXTS = [".clpp", ".clp", ".clh"];
|
|
21
|
+
function isSourceFile(fileName) {
|
|
22
|
+
return exports.SOURCE_EXTS.includes(node_path_1.default.extname(fileName).toLowerCase());
|
|
23
|
+
}
|
|
24
|
+
function isEngineStub(filePath) {
|
|
25
|
+
const normalized = filePath.replace(/\\/g, "/").toLowerCase();
|
|
26
|
+
return (normalized.includes("/include/cluaupp/") ||
|
|
27
|
+
normalized.includes("/include/clpp/") ||
|
|
28
|
+
normalized.includes("/include/cluau/") ||
|
|
29
|
+
normalized.includes("/stdlib/") ||
|
|
30
|
+
normalized.endsWith("/roblox.clh"));
|
|
31
|
+
}
|
|
32
|
+
function isHeaderFile(fileName) {
|
|
33
|
+
return node_path_1.default.extname(fileName).toLowerCase() === ".clh";
|
|
34
|
+
}
|
|
35
|
+
function isImplFile(fileName) {
|
|
36
|
+
const ext = node_path_1.default.extname(fileName).toLowerCase();
|
|
37
|
+
return ext === ".clp" || ext === ".clpp";
|
|
38
|
+
}
|
|
39
|
+
function toLuauPath(filePath) {
|
|
40
|
+
return String(filePath).replace(/\.(clpp|clp|clh)$/i, ".luau");
|
|
41
|
+
}
|
|
42
|
+
function fileStem(fileName) {
|
|
43
|
+
let name = node_path_1.default.basename(fileName);
|
|
44
|
+
const lower = name.toLowerCase();
|
|
45
|
+
for (const ext of [".clpp", ".clp", ".clh"]) {
|
|
46
|
+
if (lower.endsWith(ext)) {
|
|
47
|
+
name = name.slice(0, -ext.length);
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const tagged = name.toLowerCase();
|
|
52
|
+
for (const tag of [".legacy.server", ".legacy.client", ".legacy", ".server", ".client", ".plugin"]) {
|
|
53
|
+
if (tagged.endsWith(tag)) {
|
|
54
|
+
name = name.slice(0, -tag.length);
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return name;
|
|
59
|
+
}
|
|
60
|
+
function scriptKind(fileName) {
|
|
61
|
+
const name = node_path_1.default.basename(fileName).toLowerCase();
|
|
62
|
+
if (name.endsWith(".clh")) {
|
|
63
|
+
return "header";
|
|
64
|
+
}
|
|
65
|
+
if (name.includes(".legacy.")) {
|
|
66
|
+
return "legacy";
|
|
67
|
+
}
|
|
68
|
+
if (name.includes(".server.")) {
|
|
69
|
+
return "server";
|
|
70
|
+
}
|
|
71
|
+
if (name.includes(".client.")) {
|
|
72
|
+
return "client";
|
|
73
|
+
}
|
|
74
|
+
if (name.includes(".plugin.")) {
|
|
75
|
+
return "plugin";
|
|
76
|
+
}
|
|
77
|
+
return "module";
|
|
78
|
+
}
|
|
79
|
+
function emitKind(fileName) {
|
|
80
|
+
const kind = scriptKind(fileName);
|
|
81
|
+
if (kind === "legacy") {
|
|
82
|
+
return "legacy";
|
|
83
|
+
}
|
|
84
|
+
if (kind === "module" || kind === "header") {
|
|
85
|
+
return "module";
|
|
86
|
+
}
|
|
87
|
+
return "flat";
|
|
88
|
+
}
|
|
89
|
+
function isTaggedScript(fileName) {
|
|
90
|
+
const kind = scriptKind(fileName);
|
|
91
|
+
return kind === "server" || kind === "client" || kind === "plugin" || kind === "legacy";
|
|
92
|
+
}
|
|
93
|
+
function siblingHeader(implPath) {
|
|
94
|
+
if (!implPath || isHeaderFile(implPath)) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
const dir = node_path_1.default.dirname(implPath);
|
|
98
|
+
const stem = fileStem(implPath);
|
|
99
|
+
const candidate = node_path_1.default.join(dir, `${stem}.clh`);
|
|
100
|
+
if (node_fs_1.default.existsSync(candidate)) {
|
|
101
|
+
return candidate;
|
|
102
|
+
}
|
|
103
|
+
return null;
|
|
104
|
+
}
|
|
105
|
+
function collectSources(dir, files = []) {
|
|
106
|
+
if (!node_fs_1.default.existsSync(dir)) {
|
|
107
|
+
return files;
|
|
108
|
+
}
|
|
109
|
+
for (const entry of node_fs_1.default.readdirSync(dir, { withFileTypes: true })) {
|
|
110
|
+
const full = node_path_1.default.join(dir, entry.name);
|
|
111
|
+
if (entry.isDirectory()) {
|
|
112
|
+
collectSources(full, files);
|
|
113
|
+
}
|
|
114
|
+
else if (isSourceFile(entry.name)) {
|
|
115
|
+
files.push(full);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return files;
|
|
119
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shouldSkipInit = shouldSkipInit;
|
|
4
|
+
exports.clppLuauToGame = clppLuauToGame;
|
|
5
|
+
const libs_js_1 = require("../libs.js");
|
|
6
|
+
const paths_js_1 = require("./paths.js");
|
|
7
|
+
function insertAfterHeader(luau, block) {
|
|
8
|
+
const match = String(luau).match(/^(?:--[^\n]*\n)+/);
|
|
9
|
+
if (!match) {
|
|
10
|
+
return `${block}\n${luau}`;
|
|
11
|
+
}
|
|
12
|
+
const insertAt = match[0].length;
|
|
13
|
+
const rest = luau.slice(insertAt).replace(/^\n*/, "\n");
|
|
14
|
+
return `${luau.slice(0, insertAt)}\n${block}\n${rest}`;
|
|
15
|
+
}
|
|
16
|
+
function rewriteClppLibs(luau) {
|
|
17
|
+
return String(luau).replace(/require\(\s*ClppLibs\.([A-Za-z0-9_]+)\s*\)/g, (_all, name) => {
|
|
18
|
+
return (0, libs_js_1.requireCluauppLib)(name);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function ensureReplicatedStorage(luau) {
|
|
22
|
+
if (!luau.includes("CluauppLibs")) {
|
|
23
|
+
return luau;
|
|
24
|
+
}
|
|
25
|
+
if (/GetService\(\s*"ReplicatedStorage"\s*\)/.test(luau)) {
|
|
26
|
+
return luau;
|
|
27
|
+
}
|
|
28
|
+
return insertAfterHeader(luau, 'const ReplicatedStorage = game:GetService("ReplicatedStorage")');
|
|
29
|
+
}
|
|
30
|
+
function stripInitCall(luau) {
|
|
31
|
+
return String(luau).replace(/\ninit\(\)\s*\n?$/m, "\n");
|
|
32
|
+
}
|
|
33
|
+
function ensureStrict(luau, strict) {
|
|
34
|
+
if (!strict || /^\s*--!strict\b/m.test(luau)) {
|
|
35
|
+
return luau;
|
|
36
|
+
}
|
|
37
|
+
if (luau.startsWith("--")) {
|
|
38
|
+
return `--!strict\n${luau}`;
|
|
39
|
+
}
|
|
40
|
+
return `--!strict\n${luau}`;
|
|
41
|
+
}
|
|
42
|
+
function librarySpecs(names) {
|
|
43
|
+
const specs = [];
|
|
44
|
+
const seen = new Set();
|
|
45
|
+
for (const name of names || []) {
|
|
46
|
+
const spec = libs_js_1.MODULES[name];
|
|
47
|
+
if (!spec || seen.has(spec.bind)) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
seen.add(spec.bind);
|
|
51
|
+
specs.push(spec);
|
|
52
|
+
}
|
|
53
|
+
return specs;
|
|
54
|
+
}
|
|
55
|
+
function missingLibraries(luau, names) {
|
|
56
|
+
return librarySpecs(names).filter((spec) => {
|
|
57
|
+
return !luau.includes(`CluauppLibs.${spec.file}`) && !new RegExp(`\\bconst ${spec.bind}\\b`).test(luau);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function shouldSkipInit(fileName, hasSiblingHeader) {
|
|
61
|
+
if (!hasSiblingHeader) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return !(0, paths_js_1.isTaggedScript)(fileName);
|
|
65
|
+
}
|
|
66
|
+
function clppLuauToGame(artifact, options) {
|
|
67
|
+
let luau = rewriteClppLibs(artifact.luau || "");
|
|
68
|
+
luau = ensureReplicatedStorage(luau);
|
|
69
|
+
if (options.skipInit) {
|
|
70
|
+
luau = stripInitCall(luau);
|
|
71
|
+
}
|
|
72
|
+
luau = ensureStrict(luau, options.strict);
|
|
73
|
+
const missing = missingLibraries(luau, artifact.libraries);
|
|
74
|
+
if (missing.length > 0) {
|
|
75
|
+
luau = (0, libs_js_1.insertPreamble)(luau, [], missing, options.outName);
|
|
76
|
+
}
|
|
77
|
+
return luau;
|
|
78
|
+
}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.hasClpp = hasClpp;
|
|
7
|
+
exports.resolveClppBinary = resolveClppBinary;
|
|
8
|
+
exports.formatClppFailure = formatClppFailure;
|
|
9
|
+
exports.compileViaClpp = compileViaClpp;
|
|
10
|
+
exports.compileViaClppAsync = compileViaClppAsync;
|
|
11
|
+
exports.clppManifest = clppManifest;
|
|
12
|
+
exports.clppVersion = clppVersion;
|
|
13
|
+
exports.clppInstalls = clppInstalls;
|
|
14
|
+
const node_child_process_1 = require("node:child_process");
|
|
15
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
16
|
+
const node_os_1 = __importDefault(require("node:os"));
|
|
17
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
18
|
+
const contract_js_1 = require("./contract.js");
|
|
19
|
+
const MISSING_CLPP = `cluaupp: clpp not found. ${contract_js_1.CLPP_INSTALL_HINT}`;
|
|
20
|
+
let cachedBin;
|
|
21
|
+
function parseSemver(text) {
|
|
22
|
+
const match = String(text).match(/(\d+)\.(\d+)\.(\d+)/);
|
|
23
|
+
if (!match) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return { major: Number(match[1]), minor: Number(match[2]), patch: Number(match[3]) };
|
|
27
|
+
}
|
|
28
|
+
function cmpSemver(a, b) {
|
|
29
|
+
return a.major - b.major || a.minor - b.minor || a.patch - b.patch;
|
|
30
|
+
}
|
|
31
|
+
function minClpp() {
|
|
32
|
+
return parseSemver(contract_js_1.MIN_CLPP_VERSION) || { major: 0, minor: 3, patch: 2 };
|
|
33
|
+
}
|
|
34
|
+
function tooOldMessage(bin, version) {
|
|
35
|
+
return `cluaupp: clpp ${version || "unknown"} is too old (${bin}). Need CL++ ${contract_js_1.MIN_CLPP_VERSION}+. Install https://github.com/KartzRbx/CLPP/releases/download/v0.3.2/clpp-setup.exe or set CLPP / CLPP_PATH.`;
|
|
36
|
+
}
|
|
37
|
+
function probeVersion(bin) {
|
|
38
|
+
const result = (0, node_child_process_1.spawnSync)(bin, ["--version"], { encoding: "utf8", windowsHide: true });
|
|
39
|
+
if (result.status !== 0) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return String(result.stdout || result.stderr || "").trim() || null;
|
|
43
|
+
}
|
|
44
|
+
function pushCandidate(out, seen, item) {
|
|
45
|
+
const value = String(item || "").trim();
|
|
46
|
+
if (!value) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
const key = value.toLowerCase();
|
|
50
|
+
if (seen.has(key)) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
seen.add(key);
|
|
54
|
+
out.push(value);
|
|
55
|
+
}
|
|
56
|
+
function existsBin(bin) {
|
|
57
|
+
try {
|
|
58
|
+
return node_fs_1.default.existsSync(bin);
|
|
59
|
+
}
|
|
60
|
+
catch {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
function listClppCandidates() {
|
|
65
|
+
const seen = new Set();
|
|
66
|
+
const override = [];
|
|
67
|
+
pushCandidate(override, seen, process.env.CLPP);
|
|
68
|
+
pushCandidate(override, seen, process.env.CLPP_PATH);
|
|
69
|
+
const overrideExisting = override.filter(existsBin);
|
|
70
|
+
if (overrideExisting.length > 0) {
|
|
71
|
+
return overrideExisting;
|
|
72
|
+
}
|
|
73
|
+
const out = [];
|
|
74
|
+
const finder = process.platform === "win32" ? "where" : "which";
|
|
75
|
+
const found = (0, node_child_process_1.spawnSync)(finder, ["clpp"], { encoding: "utf8", windowsHide: true });
|
|
76
|
+
if (found.status === 0) {
|
|
77
|
+
for (const line of String(found.stdout || "").split(/\r?\n/)) {
|
|
78
|
+
pushCandidate(out, seen, line);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (process.platform === "win32") {
|
|
82
|
+
const local = process.env.LOCALAPPDATA || node_path_1.default.join(node_os_1.default.homedir(), "AppData", "Local");
|
|
83
|
+
pushCandidate(out, seen, node_path_1.default.join(local, "Programs", "CLPP", "clpp.exe"));
|
|
84
|
+
}
|
|
85
|
+
return out.filter(existsBin);
|
|
86
|
+
}
|
|
87
|
+
function pickClppBinary() {
|
|
88
|
+
const candidates = listClppCandidates();
|
|
89
|
+
if (candidates.length === 0) {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
let best = null;
|
|
93
|
+
let fallback = null;
|
|
94
|
+
for (const bin of candidates) {
|
|
95
|
+
const version = probeVersion(bin);
|
|
96
|
+
const parsed = parseSemver(version || "");
|
|
97
|
+
if (!fallback) {
|
|
98
|
+
fallback = bin;
|
|
99
|
+
}
|
|
100
|
+
if (!parsed) {
|
|
101
|
+
continue;
|
|
102
|
+
}
|
|
103
|
+
if (!best || cmpSemver(parsed, best.parsed) > 0) {
|
|
104
|
+
best = { bin, parsed };
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return best?.bin || fallback;
|
|
108
|
+
}
|
|
109
|
+
function whichClpp() {
|
|
110
|
+
if (cachedBin !== undefined) {
|
|
111
|
+
return cachedBin;
|
|
112
|
+
}
|
|
113
|
+
cachedBin = pickClppBinary();
|
|
114
|
+
return cachedBin;
|
|
115
|
+
}
|
|
116
|
+
function hasClpp() {
|
|
117
|
+
return Boolean(whichClpp());
|
|
118
|
+
}
|
|
119
|
+
function resolveClppBinary() {
|
|
120
|
+
const bin = whichClpp();
|
|
121
|
+
if (!bin) {
|
|
122
|
+
throw new Error(MISSING_CLPP);
|
|
123
|
+
}
|
|
124
|
+
const version = probeVersion(bin);
|
|
125
|
+
const parsed = parseSemver(version || "");
|
|
126
|
+
if (!parsed || cmpSemver(parsed, minClpp()) < 0) {
|
|
127
|
+
throw new Error(tooOldMessage(bin, version));
|
|
128
|
+
}
|
|
129
|
+
return bin;
|
|
130
|
+
}
|
|
131
|
+
function parseArtifact(stdout, fileName, fallbackError) {
|
|
132
|
+
const text = String(stdout || "").trim();
|
|
133
|
+
try {
|
|
134
|
+
const parsed = JSON.parse(text);
|
|
135
|
+
if (parsed && typeof parsed === "object") {
|
|
136
|
+
return parsed;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch {
|
|
140
|
+
// fall through
|
|
141
|
+
}
|
|
142
|
+
return {
|
|
143
|
+
ok: false,
|
|
144
|
+
luau: "",
|
|
145
|
+
fileName,
|
|
146
|
+
outputHint: "",
|
|
147
|
+
scriptKind: null,
|
|
148
|
+
isScript: false,
|
|
149
|
+
isHeader: false,
|
|
150
|
+
rojoClass: "ModuleScript",
|
|
151
|
+
libraries: [],
|
|
152
|
+
error: fallbackError || "clpp returned invalid JSON",
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function formatClppFailure(artifact, fallback) {
|
|
156
|
+
const diags = Array.isArray(artifact.diagnostics) ? artifact.diagnostics : [];
|
|
157
|
+
if (diags.length > 0) {
|
|
158
|
+
return diags
|
|
159
|
+
.map((d) => {
|
|
160
|
+
const where = `${artifact.fileName || "clpp"}:${d.line}:${d.column}`;
|
|
161
|
+
return `${where}: ${d.message}`;
|
|
162
|
+
})
|
|
163
|
+
.join("\n");
|
|
164
|
+
}
|
|
165
|
+
return artifact.error || fallback;
|
|
166
|
+
}
|
|
167
|
+
function compileViaClpp(request) {
|
|
168
|
+
const bin = resolveClppBinary();
|
|
169
|
+
const payload = JSON.stringify({
|
|
170
|
+
source: request.source,
|
|
171
|
+
fileName: request.fileName,
|
|
172
|
+
strict: request.strict ?? null,
|
|
173
|
+
});
|
|
174
|
+
const result = (0, node_child_process_1.spawnSync)(bin, ["api", "compile"], {
|
|
175
|
+
input: payload,
|
|
176
|
+
encoding: "utf8",
|
|
177
|
+
cwd: request.cwd,
|
|
178
|
+
maxBuffer: 16 * 1024 * 1024,
|
|
179
|
+
windowsHide: true,
|
|
180
|
+
});
|
|
181
|
+
const stderr = String(result.stderr || "").trim();
|
|
182
|
+
const artifact = parseArtifact(result.stdout, request.fileName, stderr || result.error?.message || "clpp api compile failed");
|
|
183
|
+
if (!artifact.ok) {
|
|
184
|
+
throw new Error(formatClppFailure(artifact, stderr || result.error?.message || `clpp failed (${result.status})`));
|
|
185
|
+
}
|
|
186
|
+
return artifact;
|
|
187
|
+
}
|
|
188
|
+
function compileViaClppAsync(request) {
|
|
189
|
+
return new Promise((resolve, reject) => {
|
|
190
|
+
let bin;
|
|
191
|
+
try {
|
|
192
|
+
bin = resolveClppBinary();
|
|
193
|
+
}
|
|
194
|
+
catch (err) {
|
|
195
|
+
reject(err);
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
const child = (0, node_child_process_1.spawn)(bin, ["api", "compile"], {
|
|
199
|
+
cwd: request.cwd,
|
|
200
|
+
windowsHide: true,
|
|
201
|
+
});
|
|
202
|
+
let stdout = "";
|
|
203
|
+
let stderr = "";
|
|
204
|
+
child.stdout.setEncoding("utf8");
|
|
205
|
+
child.stderr.setEncoding("utf8");
|
|
206
|
+
child.stdout.on("data", (chunk) => {
|
|
207
|
+
stdout += chunk;
|
|
208
|
+
});
|
|
209
|
+
child.stderr.on("data", (chunk) => {
|
|
210
|
+
stderr += chunk;
|
|
211
|
+
});
|
|
212
|
+
child.on("error", reject);
|
|
213
|
+
child.on("close", (code) => {
|
|
214
|
+
const artifact = parseArtifact(stdout, request.fileName, stderr.trim() || `clpp api compile failed (${code})`);
|
|
215
|
+
if (!artifact.ok) {
|
|
216
|
+
reject(new Error(formatClppFailure(artifact, stderr.trim() || `clpp failed (${code})`)));
|
|
217
|
+
return;
|
|
218
|
+
}
|
|
219
|
+
resolve(artifact);
|
|
220
|
+
});
|
|
221
|
+
child.stdin.end(JSON.stringify({
|
|
222
|
+
source: request.source,
|
|
223
|
+
fileName: request.fileName,
|
|
224
|
+
strict: request.strict ?? null,
|
|
225
|
+
}));
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
function clppManifest() {
|
|
229
|
+
const bin = resolveClppBinary();
|
|
230
|
+
const result = (0, node_child_process_1.spawnSync)(bin, ["api", "manifest"], {
|
|
231
|
+
encoding: "utf8",
|
|
232
|
+
windowsHide: true,
|
|
233
|
+
});
|
|
234
|
+
if (result.status !== 0) {
|
|
235
|
+
throw new Error(String(result.stderr || result.error?.message || "clpp api manifest failed"));
|
|
236
|
+
}
|
|
237
|
+
return JSON.parse(result.stdout);
|
|
238
|
+
}
|
|
239
|
+
function clppVersion() {
|
|
240
|
+
const bin = whichClpp();
|
|
241
|
+
if (!bin) {
|
|
242
|
+
return null;
|
|
243
|
+
}
|
|
244
|
+
return probeVersion(bin);
|
|
245
|
+
}
|
|
246
|
+
function clppInstalls() {
|
|
247
|
+
const selected = whichClpp();
|
|
248
|
+
return listClppCandidates().map((bin) => ({
|
|
249
|
+
bin,
|
|
250
|
+
version: probeVersion(bin),
|
|
251
|
+
selected: bin === selected,
|
|
252
|
+
}));
|
|
253
|
+
}
|