@plasius/ai-game 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -17,6 +17,37 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
17
17
  - **Security**
18
18
  - (placeholder)
19
19
 
20
+ ## [0.5.0] - 2026-07-11
21
+
22
+ - **Added**
23
+ - (placeholder)
24
+ - Added bounded Player System guidance cue contracts with explicit alert
25
+ priority, multimodal fallback identifiers, payload-size, and frequency
26
+ metadata under `isekai.player-system.guidance-nfr.enabled`.
27
+
28
+ - **Changed**
29
+ - (placeholder)
30
+
31
+ - **Fixed**
32
+ - (placeholder)
33
+
34
+ - **Security**
35
+ - (placeholder)
36
+
37
+ ## [0.4.0] - 2026-07-10
38
+
39
+ - **Added**
40
+ - Added adaptive System mission contracts under `isekai.player-system.missions.enabled`, including mission-definition, objective-state, player-response, player-model influence, and bounded reward-envelope payloads.
41
+
42
+ - **Changed**
43
+ - Extended the public package surface with progression-safe mission guidance metadata, explicit audio and visual feedback channels, and reward cap semantics for Player System consumers.
44
+
45
+ - **Fixed**
46
+ - (placeholder)
47
+
48
+ - **Security**
49
+ - (placeholder)
50
+
20
51
  ## [0.3.0] - 2026-07-10
21
52
 
22
53
  - **Added**
@@ -181,3 +212,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
181
212
  [0.1.13]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.1.13
182
213
  [0.2.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.2.0
183
214
  [0.3.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.3.0
215
+ [0.4.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.4.0
216
+ [0.5.0]: https://github.com/Plasius-LTD/ai-game/releases/tag/v0.5.0
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # @plasius/ai-game
2
2
 
3
- Game-domain AI contracts for player action validation, NPC actions, gossip, Quiet Measure mission probes, Judgment disclosure surfaces, and Player System-readable training recommendations.
3
+ Game-domain AI contracts for player action validation, adaptive System missions, NPC actions, gossip, Quiet Measure mission probes, Judgment disclosure surfaces, and Player System-readable training recommendations.
4
4
 
5
5
  ## Scope
6
6
 
7
- This package is part of the layered `@plasius/ai-*` package family. It exports canonical public contracts for world events, world-event ingestion, incident impact state, gossip topic projection, Quiet Measure hidden-runtime integration surfaces, and the Player System bridge layer that consumes `@plasius/training`.
7
+ This package is part of the layered `@plasius/ai-*` package family. It exports canonical public contracts for adaptive System missions, world events, world-event ingestion, incident impact state, gossip topic projection, Quiet Measure hidden-runtime integration surfaces, and the Player System bridge layer that consumes `@plasius/training`.
8
8
 
9
9
  ## Install
10
10
 
@@ -86,6 +86,48 @@ Use `createAiGamePlayerSystemSession()`,
86
86
  contracts intentionally contain no account identifiers, credentials, or raw
87
87
  player telemetry.
88
88
 
89
+ ### Guidance cue contracts
90
+
91
+ Guidance cues reuse the core alert-priority vocabulary while adding explicit
92
+ multimodal fallback identifiers and bounded delivery assumptions under
93
+ `isekai.player-system.guidance-nfr.enabled`:
94
+
95
+ - `createAiGamePlayerSystemGuidanceCue()` validates cue source/fallback pairs.
96
+ - `maxPayloadBytes` is capped at 4,096 bytes and
97
+ `maxOccurrencesPerMinute` is capped at 30 to make client performance
98
+ assumptions machine-checkable.
99
+ - Voice, narration, and speech-capture failures map to touch/text summaries,
100
+ live-region status copy, and visible manual actions respectively.
101
+
102
+ ## Adaptive mission contracts
103
+
104
+ Adaptive System missions are versioned, dependency-free shared contracts under
105
+ `isekai.player-system.missions.enabled`. They keep the Player System's internal
106
+ mission vocabulary portable while preserving progression safety.
107
+
108
+ - `AiGameMissionDefinition` captures bootstrap, short-term, medium-term, and
109
+ long-horizon mission guidance with explicit readiness context, nearby
110
+ opportunity codes, world-pressure codes, and dual `audio` / `visual`
111
+ feedback channels.
112
+ - `AiGameMissionObjectiveState` freezes bounded progress snapshots for mission
113
+ objectives without leaking host runtime internals.
114
+ - `AiGameMissionPlayerResponse` explicitly models acceptance, refusal,
115
+ ignored or declined outcomes, pinning, completion, failure, and abandonment
116
+ so those events can feed the player model safely.
117
+ - `AiGameMissionPlayerModelInfluenceInput` carries preference dimensions,
118
+ bounded confidence, evidence metadata, repeated-signal handling, MCC focus
119
+ influence, and readiness or gate context.
120
+ - `AiGameMissionRewardEnvelope` encodes progression-safe accelerants only:
121
+ bounded currencies, items, recipes, temporary modifiers, and knowledge
122
+ unlocks with minimum, maximum, cap, cap semantic, readiness context, stage
123
+ gates, and explicit `cannotSkipReasonCodes`.
124
+
125
+ Use `createAiGameMissionDefinition()`,
126
+ `createAiGameMissionPlayerResponse()`, and
127
+ `createAiGameMissionRewardEnvelope()` at package boundaries. The mission
128
+ surface intentionally avoids raw telemetry, progression writes, and
129
+ authority-owned tuning data.
130
+
89
131
  ## Quiet Measure contracts
90
132
 
91
133
  The Quiet Measure surface is intentionally structured as a hidden-runtime contract, not a turnkey morality meter.
@@ -134,6 +176,7 @@ npm run pack:check
134
176
  - `ai.game.npc-gossip.lifecycle.enabled`
135
177
  - `isekai.player-system.quiet-measure.enabled`
136
178
  - `isekai.player-system.core.enabled`
179
+ - `isekai.player-system.guidance-nfr.enabled`
137
180
  - `isekai.player-system.identity.enabled`
138
181
  - `isekai.training.institutions.enabled`
139
182
  - `isekai.training.academies.enabled`