From f5ab9db419117ddbb376b3f4445fa7c609abeb27 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 3 Jul 2026 01:42:17 +0000 Subject: [PATCH] Version Packages --- .changeset/credits-economy-abi.md | 25 ------------------------- .changeset/quiet-timers.md | 5 ----- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ package.json | 2 +- rust/Cargo.toml | 2 +- 5 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 .changeset/credits-economy-abi.md delete mode 100644 .changeset/quiet-timers.md diff --git a/.changeset/credits-economy-abi.md b/.changeset/credits-economy-abi.md deleted file mode 100644 index 3a49022..0000000 --- a/.changeset/credits-economy-abi.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"kit": minor ---- - -Casino games: the game-kind meta section, credits host functions, and CtxFeatCredits (wire revision 7) - -- `GameMeta.Kind` (`GameKindGame` | `GameKindCasino`) classifies a game for - the platform economy, with `GameMeta.MaxPayoutMultiplier` declaring a - casino game's per-stake payout ceiling — a new presence-guarded trailing - meta section (absent = game, so every existing artifact keeps its meaning). -- Three new host functions — `credits_balance`, `credits_wager`, - `credits_settle` — give casino-kind guests an account-wide, host-owned - wallet: atomic escrow wagers, gross (stake-inclusive) settlement clamped to - stake × the declared multiplier, typed refusals - (`ErrInsufficientCredits`, `ErrEconomyDisabled`, `ErrCreditsDenied`, - `ErrCreditsUnavailable`). Game-kind guests are rejected host-side. -- `CtxFeatCredits` (bit 2) declares that an artifact wagers - (declaration-only; no encoding change). -- Go guest SDK: `Services.Credits`; Rust guest SDK: `Room::credits_balance` / - `credits_wager` / `credits_settle`, `Meta::kind` + - `Meta::max_payout_multiplier`, `CTX_FEAT_CREDITS`, `CreditsError`. -- `kittest.Room` gains an in-memory wallet double (`Credits`, - `CreditsStakes`, `CreditsDisabled`); the native dev runner and `memsvc` - (behind `shellcade-kit check`/`play`) implement the same semantics. -- Wire revision 6 → 7; ABI.md §3/§4.2 and GUIDE.md document the contract. diff --git a/.changeset/quiet-timers.md b/.changeset/quiet-timers.md deleted file mode 100644 index 2eb32d6..0000000 --- a/.changeset/quiet-timers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"kit": patch ---- - -Guard non-positive `Room.Every` durations so they return no timer instead of panicking, and fix stale package metadata. diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a30aad..ee5bda0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # kit +## 2.15.0 + +### Minor Changes + +- 384476e: Casino games: the game-kind meta section, credits host functions, and CtxFeatCredits (wire revision 7) + + - `GameMeta.Kind` (`GameKindGame` | `GameKindCasino`) classifies a game for + the platform economy, with `GameMeta.MaxPayoutMultiplier` declaring a + casino game's per-stake payout ceiling — a new presence-guarded trailing + meta section (absent = game, so every existing artifact keeps its meaning). + - Three new host functions — `credits_balance`, `credits_wager`, + `credits_settle` — give casino-kind guests an account-wide, host-owned + wallet: atomic escrow wagers, gross (stake-inclusive) settlement clamped to + stake × the declared multiplier, typed refusals + (`ErrInsufficientCredits`, `ErrEconomyDisabled`, `ErrCreditsDenied`, + `ErrCreditsUnavailable`). Game-kind guests are rejected host-side. + - `CtxFeatCredits` (bit 2) declares that an artifact wagers + (declaration-only; no encoding change). + - Go guest SDK: `Services.Credits`; Rust guest SDK: `Room::credits_balance` / + `credits_wager` / `credits_settle`, `Meta::kind` + + `Meta::max_payout_multiplier`, `CTX_FEAT_CREDITS`, `CreditsError`. + - `kittest.Room` gains an in-memory wallet double (`Credits`, + `CreditsStakes`, `CreditsDisabled`); the native dev runner and `memsvc` + (behind `shellcade-kit check`/`play`) implement the same semantics. + - Wire revision 6 → 7; ABI.md §3/§4.2 and GUIDE.md document the contract. + +### Patch Changes + +- c470738: Guard non-positive `Room.Every` durations so they return no timer instead of panicking, and fix stale package metadata. + ## 2.14.0 ### Minor Changes diff --git a/package.json b/package.json index cfbb4ab..038b960 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kit", - "version": "2.14.0", + "version": "2.15.0", "private": true, "description": "Version management for the shellcade gamekit (Go module + CLI). Versions and changelogs are driven by changesets; binaries by GoReleaser.", "scripts": { diff --git a/rust/Cargo.toml b/rust/Cargo.toml index e2a3cd7..4de976e 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -15,7 +15,7 @@ [package] name = "shellcade-kit" -version = "2.14.0" +version = "2.15.0" edition = "2021" # #[unsafe(no_mangle)] (emitted by shellcade_game! so expansions survive # edition-2024 game crates) stabilized in 1.82.