Launcher: build native mods on the Nightly they pin, with its own Rust
horizon-launcher native-build FOLDER --trust-native-code compiles mixin bundles (a folder with a horizon-mixin.toml, or an unpacked .hnmod from the registry) into a game of their own: - the Horizon commit the mods pin (all must agree; else the installed version's), its source from GitHub by commit (Nightlies keep theirs as nightly-source/ tags); - horizon-mixins at the commit the mods were tested with, built once with the launcher's Rust; - horizon-mixins apply, then the release's cargo build, with the portable toolchain; - installed as native-<commit>-<key>, played by the Native mods instance. Based on native-mixins-1's unmerged work; docs/native-mods.md describes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,11 +7,13 @@ use clap::{ArgAction, Command};
|
||||
use serde_json::{json, Map, Value};
|
||||
|
||||
/// CLI commands that are not generated tools: the MCP server itself; No AI, the player's switch
|
||||
/// and never an agent's; and the ones mcp.rs runs in the session.
|
||||
/// and never an agent's; trusting native mods' code, the player's decision too; and the ones
|
||||
/// mcp.rs runs in the session.
|
||||
const NOT_TOOLS: &[&str] = &[
|
||||
"mcp",
|
||||
"agent-config",
|
||||
"no-ai",
|
||||
"native-build",
|
||||
"play",
|
||||
"server",
|
||||
"account sign-in",
|
||||
|
||||
Reference in New Issue
Block a user