10e63ecb6b
- server-rs/Cargo.toml:删除与 workspace git 固定重复的 registry `ts-rs = "12.0.1"`,保留固定 commit 并写明「ts-rs 一律常开、绑定命令固定为 cargo test -p shared-contracts export_bindings」 - server-rs/crates/shared-contracts/Cargo.toml:删除 master 侧新增的 `ts-bindings` feature,`ts-rs` 保持常开依赖 - server-rs/crates/shared-contracts/src/game_creation_app/asset_kind.rs:去掉 `cfg_attr(feature = "ts-bindings", …)` 门控,derive 与字段级 `ts(...)` 无条件展开 - apps/ai-game-creator-shell/src-tauri/Cargo.toml:shared-contracts 依赖去掉 `features = ["ts-bindings"]`,继续保留本分支的 ts-rs git 固定 - apps/ai-game-creator-shell/src-tauri/Cargo.lock:按上述依赖变更同步(shared-contracts 指向 git 源 ts-rs) - docs:同步 5 处绑定生成命令(去掉 `--features ts-bindings`),并在 decision-log 记本次合并的决策、代价与验证 - 其余暂存改动为 origin/master 带入的内容,冲突按两侧目的逐一合并 验证:cargo metadata --locked(server-rs 与 AGC 两个 workspace)、cargo test -p shared-contracts(119 + 5 + 5 + 2 + 2 全绿且无告警)、npm run contracts:model3d:generate 后 packages/shared 零 diff、cargo check -p spacetime-module --target wasm32-unknown-unknown、npm run check:encoding、npm run check:rustfmt、npm run check:spacetime-schema、git diff --check、暂存集 eslint / prettier 全过
67 lines
1.5 KiB
Rust
67 lines
1.5 KiB
Rust
pub mod admin;
|
|
pub mod agc_project_snapshots;
|
|
pub mod ai;
|
|
pub mod api;
|
|
#[cfg(feature = "oss-contracts")]
|
|
pub mod assets;
|
|
pub mod auth;
|
|
#[cfg(any())]
|
|
pub mod bark_battle;
|
|
#[cfg(any())]
|
|
pub mod big_fish;
|
|
#[cfg(any())]
|
|
pub mod big_fish_works;
|
|
pub mod client_downloads;
|
|
#[cfg(any())]
|
|
pub mod creation_agent_document_input;
|
|
pub mod creation_audio;
|
|
#[cfg(any())]
|
|
pub mod creation_entry_config;
|
|
#[cfg(any())]
|
|
pub mod creative_agent;
|
|
pub mod editor_agent;
|
|
pub mod editor_canvas;
|
|
pub mod editor_generation;
|
|
pub mod error_reports;
|
|
pub use editor_generation::{
|
|
EDITOR_GENERATION_ASSET_BINDING_ID_PREFIX, EDITOR_GENERATION_ASSET_ID_PREFIX,
|
|
EDITOR_GENERATION_ASSET_OBJECT_ID_PREFIX, EDITOR_GENERATION_RESOURCE_ID_PREFIX,
|
|
editor_generation_request_fingerprint, editor_generation_stable_asset_binding_id,
|
|
editor_generation_stable_asset_id, editor_generation_stable_asset_object_id,
|
|
editor_generation_stable_resource_id,
|
|
};
|
|
pub mod external_generation;
|
|
pub mod game_creation_app;
|
|
pub mod hyper3d;
|
|
pub mod llm;
|
|
pub mod model3d;
|
|
#[cfg(any())]
|
|
pub mod public_work;
|
|
#[cfg(any())]
|
|
pub mod puzzle_agent;
|
|
#[cfg(any())]
|
|
pub mod puzzle_clear;
|
|
#[cfg(any())]
|
|
pub mod puzzle_creative_template;
|
|
#[cfg(any())]
|
|
pub mod puzzle_gallery;
|
|
#[cfg(any())]
|
|
pub mod puzzle_runtime;
|
|
#[cfg(any())]
|
|
pub mod puzzle_works;
|
|
pub mod runtime;
|
|
#[cfg(any())]
|
|
pub mod runtime_story;
|
|
#[cfg(any())]
|
|
pub mod square_hole_agent;
|
|
#[cfg(any())]
|
|
pub mod square_hole_runtime;
|
|
#[cfg(any())]
|
|
pub mod square_hole_works;
|
|
#[cfg(any())]
|
|
pub mod story;
|
|
#[cfg(any())]
|
|
pub mod visual_novel;
|
|
#[cfg(any())]
|
|
pub mod wooden_fish;
|