Skip to content

Base: injector, Java core with hot-reload plugins, desktop app - #1

Merged
MonsterMilo merged 1 commit into
mainfrom
claude/project-thread-99w3r6
Nov 22, 2026
Merged

MonsterMilo merged 1 commit into
mainfrom
claude/project-thread-99w3r6

Conversation

@MonsterMilo

Copy link
Copy Markdown
Owner

Requested by Milo · project thread

The base of Prism. No features yet.

  • native/agent: DLL loaded into the game. It attaches to the JVM, finds Minecraft's class loader (Lunar mcp, Forge srg, vanilla notch names) and starts the Java core on top of it. Unloads cleanly while the game keeps running.
  • native/inject: finds Java game windows and loads the agent (LoadLibraryW through a remote thread).
  • native/app: Prism.exe with Inject/Unload, auto-inject for Lunar 1.8.9, a plugin list and the log. The agent and core are embedded, so it ships as one file.
  • java/api + java/core: plugin API, event bus, scheduler on the client thread, and a plugin manager with hot reload.
  • tests/run.sh: end-to-end test against a stand-in game. It covers inject, load, chat, hot reload, a broken plugin, removal, unload and re-inject. All pass on Linux.

Not tested yet on real Lunar on Windows.


Generated by Claude Code

- native/agent: DLL that attaches to the game's JVM, finds Minecraft's class
  loader (mcp/srg/notch names) and starts the Java core on top of it
- native/inject: finds Java game windows, loads the agent via LoadLibraryW
- native/app: Prism.exe with Inject/Unload, auto-inject for Lunar 1.8.9,
  plugin list and log; agent + core embedded
- java/api + java/core: plugin API, event bus, scheduler on the client
  thread, plugin manager with hot reload
- tests/run.sh: end-to-end test against a stand-in game

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N1jsNaA8oesLoCYL6zeeF7
@MonsterMilo
MonsterMilo merged commit 8b20c36 into main Nov 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant