Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
bc1315e
sandbox: name the services a mod calls and answer them from fixtures
paralin Nov 11, 2026
8371bd9
wasm: answer a service call in a later frame
paralin Nov 11, 2026
3ddcc9e
wasm: let a mod's layout press back to its server
paralin Nov 11, 2026
73b5729
wasm: tell observers when a mod's running build halts
paralin Nov 11, 2026
2cfdebd
README: only the sandbox reads the services a mod names
paralin Nov 11, 2026
a0a1c9c
wasm: run a Luau and a Python mod's late service calls
paralin Nov 11, 2026
e2c3a5d
panorama: say a layout's mod attribute holds the running instance's name
paralin Nov 11, 2026
3cab789
README: describe a layout's press back to its mod
paralin Nov 11, 2026
6bc400a
Merge branch 'mod-services' into modlock-next
paralin Nov 11, 2026
d7bf162
Merge branch 'layout-presses' into modlock-next
paralin Nov 11, 2026
77d2b93
preview: run layout scripts and send their presses
paralin Nov 11, 2026
00f0d31
play: answer a project's service fixtures in the game
paralin Nov 11, 2026
a7d1dc8
panorama: embed the browser's layouts source
paralin Nov 11, 2026
423b212
Merge branch 'play-fixtures' into modlock-next
paralin Nov 11, 2026
9d086e3
play: forward the mods' services to a backend as the saved login
paralin Nov 11, 2026
1a46dc4
Merge branch 'play-forward' into modlock-next
paralin Nov 11, 2026
d715049
Merge tag v0.1.77 into modlock-next
paralin Nov 12, 2026
5506110
Merge tag v0.1.80 into modlock-next-r1
paralin Nov 14, 2026
c13e550
project: map the well-known protobuf types for scriptc
paralin Nov 14, 2026
5f19949
Merge branch 'master' into modlock-next-r1
paralin Nov 14, 2026
b367e04
tests: the Python late service call test bundles the hero table
paralin Nov 14, 2026
2a03d44
Merge master: the ability owner guard never withholds a held ability
paralin Nov 14, 2026
eabf816
Merge master: precache names and the layout library's Panorama calls
paralin Nov 15, 2026
c904216
panorama: declare DispatchEvent in the layout library's $
paralin Nov 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ add_library(modlock_sdk SHARED
${CMAKE_CURRENT_BINARY_DIR}/src/wasm/hero_builds_data.cc
src/wasm/game_match.cc
src/wasm/call_profile.cc
src/wasm/service_calls.cc
src/wasm/console_lines.cc
src/wasm/entity_rules.cc
src/wasm/game_services.cc
Expand Down Expand Up @@ -296,6 +297,7 @@ endif()

add_executable(modlock-host
src/host_app/control_link.cc
src/host_app/fixtures.cc
src/host_app/game_dump.cc
src/host_app/game_dump_console.cc
src/host_app/game_dump_entities.cc
Expand Down Expand Up @@ -697,6 +699,19 @@ if(BUILD_TESTING)
target_compile_definitions(wasm_host_test PRIVATE EXTENSION_GO_WASM="${extension_go_wasm}")
target_link_libraries(wasm_host_test PRIVATE modlock::sdk gtest_main)
add_test(NAME wasm_host_test COMMAND wasm_host_test)
# host_fixtures_test runs the same mod against needed services and the
# host's fixtures, and its forwarded calls over the control link.
add_executable(host_fixtures_test tests/host_fixtures_test.cc src/host_app/fixtures.cc
src/host_app/control_link.cc
src/host_app/control/control.pb.cc)
add_dependencies(host_fixtures_test extension_go_wasm)
target_include_directories(host_fixtures_test PRIVATE src)
target_compile_definitions(host_fixtures_test PRIVATE EXTENSION_GO_WASM="${extension_go_wasm}")
target_link_libraries(host_fixtures_test PRIVATE modlock::sdk gtest_main)
if(WIN32)
target_link_libraries(host_fixtures_test PRIVATE ws2_32)
endif()
add_test(NAME host_fixtures_test COMMAND host_fixtures_test)
add_executable(wasm_ui_test tests/wasm_ui_test.cc src/wasm/ui.cc)
target_include_directories(wasm_ui_test PRIVATE src)
target_link_libraries(wasm_ui_test PRIVATE modlock::sdk gtest_main)
Expand Down
88 changes: 86 additions & 2 deletions cli/cli.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 28 additions & 2 deletions cli/cli.pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions cli/cli.proto
Original file line number Diff line number Diff line change
Expand Up @@ -190,16 +190,24 @@ message Change {
modlock.wasm.ui.UiInputEvent event = 2;
}

// Press identifies a button in the interface a mod shows a player.
// Press identifies a button in the interface a mod shows a player, or a
// press a layout's script sent from its node.
message Press {
// Mod is the mod's name.
string mod = 1;

// Slot identifies the player.
int32 slot = 2;

// Node is the button's id in the mod's tree.
// Node is the button's id in the mod's tree, or the layout's.
string node = 3;

// Action names a layout's press, as its script sent it with Modlock.press.
// It is empty for a button's press.
string action = 4;

// Payload is the JSON text a layout's press carries, or empty.
string payload = 5;
}

// Published reports a release.
Expand Down
Loading
Loading