@plasius/ai-game 0.6.0 → 0.6.1
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 +16 -0
- package/README.md +24 -1
- package/dist/index.cjs +383 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +140 -1
- package/dist/index.d.ts +140 -1
- package/dist/index.js +349 -5
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0015-mcc-guidance-contract-boundary.md +62 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1499,6 +1499,316 @@ function assertAiGameObservedEventLogContractVersion(value) {
|
|
|
1499
1499
|
assertContractVersion4(value);
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
|
+
// src/mcc-guidance.ts
|
|
1503
|
+
var AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID = "isekai.player-system.mcc-guidance.enabled";
|
|
1504
|
+
var AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION = "1.0";
|
|
1505
|
+
var AI_GAME_MCC_GROWTH_DIRECTIONS = [
|
|
1506
|
+
"internalized",
|
|
1507
|
+
"externalized",
|
|
1508
|
+
"hybrid"
|
|
1509
|
+
];
|
|
1510
|
+
var AI_GAME_MCC_FOCUS_PRIORITIES = ["primary", "secondary"];
|
|
1511
|
+
var AI_GAME_MCC_READINESS_BANDS = [
|
|
1512
|
+
"stable",
|
|
1513
|
+
"pressured",
|
|
1514
|
+
"restricted"
|
|
1515
|
+
];
|
|
1516
|
+
var AI_GAME_MCC_WARNING_STATES = [
|
|
1517
|
+
"clear",
|
|
1518
|
+
"advisory",
|
|
1519
|
+
"elevated",
|
|
1520
|
+
"critical"
|
|
1521
|
+
];
|
|
1522
|
+
var AI_GAME_MCC_WARNING_KINDS = [
|
|
1523
|
+
"thermal",
|
|
1524
|
+
"fatigue",
|
|
1525
|
+
"chaos-pressure",
|
|
1526
|
+
"target-burden",
|
|
1527
|
+
"stage-gate",
|
|
1528
|
+
"death-impairment"
|
|
1529
|
+
];
|
|
1530
|
+
var AI_GAME_SPELLCRAFT_RECOMMENDATION_KINDS = [
|
|
1531
|
+
"training",
|
|
1532
|
+
"material",
|
|
1533
|
+
"social-prerequisite",
|
|
1534
|
+
"refinement"
|
|
1535
|
+
];
|
|
1536
|
+
var AI_GAME_SPELLCRAFT_VERDICTS = [
|
|
1537
|
+
"recommended",
|
|
1538
|
+
"conditional",
|
|
1539
|
+
"blocked"
|
|
1540
|
+
];
|
|
1541
|
+
var AI_GAME_SPELLCRAFT_TARGET_MODES = [
|
|
1542
|
+
"self",
|
|
1543
|
+
"single-target",
|
|
1544
|
+
"area"
|
|
1545
|
+
];
|
|
1546
|
+
var AI_GAME_SPELLCRAFT_COMPLEXITIES = ["low", "medium", "high"];
|
|
1547
|
+
var AI_GAME_SPELLCRAFT_CHAOS_PRESSURES = [
|
|
1548
|
+
"low",
|
|
1549
|
+
"elevated",
|
|
1550
|
+
"volatile"
|
|
1551
|
+
];
|
|
1552
|
+
var AI_GAME_SPELLCRAFT_FATIGUE_STATES = [
|
|
1553
|
+
"steady",
|
|
1554
|
+
"strained",
|
|
1555
|
+
"exhausted"
|
|
1556
|
+
];
|
|
1557
|
+
var AI_GAME_SPELLCRAFT_COMMITMENT = "preview-only";
|
|
1558
|
+
var AI_GAME_SPELLCRAFT_AUTHORITATIVE_OWNER = "spellcraft-system";
|
|
1559
|
+
var AI_GAME_MCC_GUIDANCE_MAX_FOCUS_TARGETS = 3;
|
|
1560
|
+
var AI_GAME_MCC_GUIDANCE_MAX_RECOMMENDATIONS = 5;
|
|
1561
|
+
function freezeReadonlyArray6(items) {
|
|
1562
|
+
return Object.freeze([...items]);
|
|
1563
|
+
}
|
|
1564
|
+
function createStringArray3(values, label) {
|
|
1565
|
+
const normalized = values ?? [];
|
|
1566
|
+
normalized.forEach((value) => assertNonEmptyString6(value, `${label} entry`));
|
|
1567
|
+
return freezeReadonlyArray6(normalized);
|
|
1568
|
+
}
|
|
1569
|
+
function assertNonEmptyString6(value, label) {
|
|
1570
|
+
if (value.trim().length === 0) {
|
|
1571
|
+
throw new Error(`${label} must be a non-empty string`);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
function assertContractVersion5(value, label = "contractVersion") {
|
|
1575
|
+
if (value !== AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION) {
|
|
1576
|
+
throw new Error(`${label} must be ${AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION}`);
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
function assertBoundedFraction(value, label) {
|
|
1580
|
+
if (!Number.isFinite(value) || value < 0 || value > 1) {
|
|
1581
|
+
throw new Error(`${label} must be between 0 and 1`);
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
function isMember5(value, members) {
|
|
1585
|
+
return members.includes(value);
|
|
1586
|
+
}
|
|
1587
|
+
function getWarningStateRank(state) {
|
|
1588
|
+
return AI_GAME_MCC_WARNING_STATES.indexOf(state);
|
|
1589
|
+
}
|
|
1590
|
+
function resolveWarningState(warnings) {
|
|
1591
|
+
return warnings.reduce(
|
|
1592
|
+
(mostSevere, warning) => getWarningStateRank(warning.state) > getWarningStateRank(mostSevere) ? warning.state : mostSevere,
|
|
1593
|
+
"clear"
|
|
1594
|
+
);
|
|
1595
|
+
}
|
|
1596
|
+
function isAiGameMccGrowthDirection(value) {
|
|
1597
|
+
return isMccExpressionTrack(value);
|
|
1598
|
+
}
|
|
1599
|
+
function isAiGameMccFocusPriority(value) {
|
|
1600
|
+
return isMember5(value, AI_GAME_MCC_FOCUS_PRIORITIES);
|
|
1601
|
+
}
|
|
1602
|
+
function isAiGameMccReadinessBand(value) {
|
|
1603
|
+
return isMember5(value, AI_GAME_MCC_READINESS_BANDS);
|
|
1604
|
+
}
|
|
1605
|
+
function isAiGameMccWarningState(value) {
|
|
1606
|
+
return isMember5(value, AI_GAME_MCC_WARNING_STATES);
|
|
1607
|
+
}
|
|
1608
|
+
function isAiGameMccWarningKind(value) {
|
|
1609
|
+
return isMember5(value, AI_GAME_MCC_WARNING_KINDS);
|
|
1610
|
+
}
|
|
1611
|
+
function isAiGameSpellcraftRecommendationKind(value) {
|
|
1612
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_RECOMMENDATION_KINDS);
|
|
1613
|
+
}
|
|
1614
|
+
function isAiGameSpellcraftVerdict(value) {
|
|
1615
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_VERDICTS);
|
|
1616
|
+
}
|
|
1617
|
+
function isAiGameSpellcraftTargetMode(value) {
|
|
1618
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_TARGET_MODES);
|
|
1619
|
+
}
|
|
1620
|
+
function isAiGameSpellcraftComplexity(value) {
|
|
1621
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_COMPLEXITIES);
|
|
1622
|
+
}
|
|
1623
|
+
function isAiGameSpellcraftChaosPressure(value) {
|
|
1624
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_CHAOS_PRESSURES);
|
|
1625
|
+
}
|
|
1626
|
+
function isAiGameSpellcraftFatigueState(value) {
|
|
1627
|
+
return isMember5(value, AI_GAME_SPELLCRAFT_FATIGUE_STATES);
|
|
1628
|
+
}
|
|
1629
|
+
function createAiGameMccFocusTarget(input) {
|
|
1630
|
+
assertNonEmptyString6(input.targetId, "targetId");
|
|
1631
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1632
|
+
if (!isAiGameMccGrowthDirection(input.growthDirection)) {
|
|
1633
|
+
throw new Error("growthDirection must be a supported MCC growth direction");
|
|
1634
|
+
}
|
|
1635
|
+
if (!isAiGameMccFocusPriority(input.priority)) {
|
|
1636
|
+
throw new Error("priority must be a supported MCC focus priority");
|
|
1637
|
+
}
|
|
1638
|
+
assertNonEmptyString6(input.label, "label");
|
|
1639
|
+
assertNonEmptyString6(input.summary, "summary");
|
|
1640
|
+
assertBoundedFraction(input.influenceWeight, "influenceWeight");
|
|
1641
|
+
return Object.freeze({
|
|
1642
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1643
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1644
|
+
targetId: input.targetId,
|
|
1645
|
+
growthDirection: input.growthDirection,
|
|
1646
|
+
label: input.label,
|
|
1647
|
+
summary: input.summary,
|
|
1648
|
+
priority: input.priority,
|
|
1649
|
+
influenceWeight: input.influenceWeight,
|
|
1650
|
+
reasonCodes: createStringArray3(input.reasonCodes, "reasonCodes")
|
|
1651
|
+
});
|
|
1652
|
+
}
|
|
1653
|
+
function createAiGameMccWarning(input) {
|
|
1654
|
+
assertNonEmptyString6(input.warningId, "warningId");
|
|
1655
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1656
|
+
if (!isAiGameMccWarningKind(input.kind)) {
|
|
1657
|
+
throw new Error("kind must be a supported MCC warning kind");
|
|
1658
|
+
}
|
|
1659
|
+
if (!isAiGameMccWarningState(input.state) || input.state === "clear") {
|
|
1660
|
+
throw new Error("state must be an active MCC warning state");
|
|
1661
|
+
}
|
|
1662
|
+
assertNonEmptyString6(input.summary, "summary");
|
|
1663
|
+
return Object.freeze({
|
|
1664
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1665
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1666
|
+
warningId: input.warningId,
|
|
1667
|
+
kind: input.kind,
|
|
1668
|
+
state: input.state,
|
|
1669
|
+
summary: input.summary,
|
|
1670
|
+
reasonCodes: createStringArray3(input.reasonCodes, "reasonCodes")
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1673
|
+
function createAiGameMccReadinessState(input) {
|
|
1674
|
+
assertNonEmptyString6(input.readinessId, "readinessId");
|
|
1675
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1676
|
+
if (!isAiGameMccReadinessBand(input.band)) {
|
|
1677
|
+
throw new Error("band must be a supported MCC readiness band");
|
|
1678
|
+
}
|
|
1679
|
+
const warnings = freezeReadonlyArray6(
|
|
1680
|
+
input.warnings.map((warning) => createAiGameMccWarning(warning))
|
|
1681
|
+
);
|
|
1682
|
+
const derivedWarningState = resolveWarningState(warnings);
|
|
1683
|
+
const warningState = input.warningState ?? derivedWarningState;
|
|
1684
|
+
if (!isAiGameMccWarningState(warningState)) {
|
|
1685
|
+
throw new Error("warningState must be a supported MCC warning state");
|
|
1686
|
+
}
|
|
1687
|
+
if (warningState !== derivedWarningState) {
|
|
1688
|
+
throw new Error("warningState must match the most severe warning");
|
|
1689
|
+
}
|
|
1690
|
+
return Object.freeze({
|
|
1691
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1692
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1693
|
+
readinessId: input.readinessId,
|
|
1694
|
+
band: input.band,
|
|
1695
|
+
warningState,
|
|
1696
|
+
warnings,
|
|
1697
|
+
reasonCodes: createStringArray3(input.reasonCodes, "reasonCodes")
|
|
1698
|
+
});
|
|
1699
|
+
}
|
|
1700
|
+
function createAiGameSpellcraftRecommendation(input) {
|
|
1701
|
+
assertNonEmptyString6(input.recommendationId, "recommendationId");
|
|
1702
|
+
assertNonEmptyString6(input.focusTargetId, "focusTargetId");
|
|
1703
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1704
|
+
if (!isAiGameSpellcraftRecommendationKind(input.kind)) {
|
|
1705
|
+
throw new Error("kind must be a supported spellcraft recommendation kind");
|
|
1706
|
+
}
|
|
1707
|
+
assertNonEmptyString6(input.title, "title");
|
|
1708
|
+
assertNonEmptyString6(input.summary, "summary");
|
|
1709
|
+
if (!isAiGameMccReadinessBand(input.readinessBand)) {
|
|
1710
|
+
throw new Error("readinessBand must be a supported MCC readiness band");
|
|
1711
|
+
}
|
|
1712
|
+
return Object.freeze({
|
|
1713
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1714
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1715
|
+
recommendationId: input.recommendationId,
|
|
1716
|
+
kind: input.kind,
|
|
1717
|
+
focusTargetId: input.focusTargetId,
|
|
1718
|
+
title: input.title,
|
|
1719
|
+
summary: input.summary,
|
|
1720
|
+
readinessBand: input.readinessBand,
|
|
1721
|
+
prerequisiteCodes: createStringArray3(input.prerequisiteCodes, "prerequisiteCodes"),
|
|
1722
|
+
reasonCodes: createStringArray3(input.reasonCodes, "reasonCodes")
|
|
1723
|
+
});
|
|
1724
|
+
}
|
|
1725
|
+
function createAiGameSpellcraftAdvisory(input) {
|
|
1726
|
+
assertNonEmptyString6(input.advisoryId, "advisoryId");
|
|
1727
|
+
assertNonEmptyString6(input.recommendationId, "recommendationId");
|
|
1728
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1729
|
+
if (!isAiGameSpellcraftVerdict(input.verdict)) {
|
|
1730
|
+
throw new Error("verdict must be a supported spellcraft verdict");
|
|
1731
|
+
}
|
|
1732
|
+
if (!isAiGameSpellcraftTargetMode(input.targetMode)) {
|
|
1733
|
+
throw new Error("targetMode must be a supported spellcraft target mode");
|
|
1734
|
+
}
|
|
1735
|
+
if (!isAiGameSpellcraftComplexity(input.complexity)) {
|
|
1736
|
+
throw new Error("complexity must be a supported spellcraft complexity");
|
|
1737
|
+
}
|
|
1738
|
+
if (!isAiGameSpellcraftChaosPressure(input.chaosPressure)) {
|
|
1739
|
+
throw new Error("chaosPressure must be a supported spellcraft chaos pressure");
|
|
1740
|
+
}
|
|
1741
|
+
if (!isAiGameSpellcraftFatigueState(input.fatigueState)) {
|
|
1742
|
+
throw new Error("fatigueState must be a supported spellcraft fatigue state");
|
|
1743
|
+
}
|
|
1744
|
+
if (!isAiGameMccReadinessBand(input.readinessBand)) {
|
|
1745
|
+
throw new Error("readinessBand must be a supported MCC readiness band");
|
|
1746
|
+
}
|
|
1747
|
+
assertNonEmptyString6(input.summary, "summary");
|
|
1748
|
+
return Object.freeze({
|
|
1749
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1750
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1751
|
+
advisoryId: input.advisoryId,
|
|
1752
|
+
recommendationId: input.recommendationId,
|
|
1753
|
+
verdict: input.verdict,
|
|
1754
|
+
targetMode: input.targetMode,
|
|
1755
|
+
complexity: input.complexity,
|
|
1756
|
+
chaosPressure: input.chaosPressure,
|
|
1757
|
+
fatigueState: input.fatigueState,
|
|
1758
|
+
readinessBand: input.readinessBand,
|
|
1759
|
+
prerequisiteCodes: createStringArray3(input.prerequisiteCodes, "prerequisiteCodes"),
|
|
1760
|
+
warningCodes: createStringArray3(input.warningCodes, "warningCodes"),
|
|
1761
|
+
summary: input.summary,
|
|
1762
|
+
reasonCodes: createStringArray3(input.reasonCodes, "reasonCodes"),
|
|
1763
|
+
commitment: AI_GAME_SPELLCRAFT_COMMITMENT,
|
|
1764
|
+
authoritativeOwner: AI_GAME_SPELLCRAFT_AUTHORITATIVE_OWNER
|
|
1765
|
+
});
|
|
1766
|
+
}
|
|
1767
|
+
function createAiGameMccGuidanceSnapshot(input) {
|
|
1768
|
+
assertNonEmptyString6(input.guidanceId, "guidanceId");
|
|
1769
|
+
assertContractVersion5(input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION);
|
|
1770
|
+
if (input.focusTargets.length === 0 || input.focusTargets.length > AI_GAME_MCC_GUIDANCE_MAX_FOCUS_TARGETS) {
|
|
1771
|
+
throw new Error(
|
|
1772
|
+
`focusTargets must contain between 1 and ${AI_GAME_MCC_GUIDANCE_MAX_FOCUS_TARGETS} targets`
|
|
1773
|
+
);
|
|
1774
|
+
}
|
|
1775
|
+
if (input.recommendations.length === 0 || input.recommendations.length > AI_GAME_MCC_GUIDANCE_MAX_RECOMMENDATIONS) {
|
|
1776
|
+
throw new Error(
|
|
1777
|
+
`recommendations must contain between 1 and ${AI_GAME_MCC_GUIDANCE_MAX_RECOMMENDATIONS} items`
|
|
1778
|
+
);
|
|
1779
|
+
}
|
|
1780
|
+
const focusTargets = freezeReadonlyArray6(
|
|
1781
|
+
input.focusTargets.map((target) => createAiGameMccFocusTarget(target))
|
|
1782
|
+
);
|
|
1783
|
+
const focusTargetIds = new Set(focusTargets.map((target) => target.targetId));
|
|
1784
|
+
if (focusTargetIds.size !== focusTargets.length) {
|
|
1785
|
+
throw new Error("focusTargets must have unique targetId values");
|
|
1786
|
+
}
|
|
1787
|
+
const readiness = createAiGameMccReadinessState(input.readiness);
|
|
1788
|
+
const recommendations = freezeReadonlyArray6(
|
|
1789
|
+
input.recommendations.map((recommendation) => {
|
|
1790
|
+
const created = createAiGameSpellcraftRecommendation(recommendation);
|
|
1791
|
+
if (!focusTargetIds.has(created.focusTargetId)) {
|
|
1792
|
+
throw new Error("focusTargetId must reference a supplied focus target");
|
|
1793
|
+
}
|
|
1794
|
+
return created;
|
|
1795
|
+
})
|
|
1796
|
+
);
|
|
1797
|
+
const advisory = createAiGameSpellcraftAdvisory(input.advisory);
|
|
1798
|
+
if (!recommendations.some((recommendation) => recommendation.recommendationId === advisory.recommendationId)) {
|
|
1799
|
+
throw new Error("advisory recommendationId must reference a supplied recommendation");
|
|
1800
|
+
}
|
|
1801
|
+
return Object.freeze({
|
|
1802
|
+
contractVersion: input.contractVersion ?? AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
1803
|
+
featureFlagId: AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
1804
|
+
guidanceId: input.guidanceId,
|
|
1805
|
+
focusTargets,
|
|
1806
|
+
readiness,
|
|
1807
|
+
recommendations,
|
|
1808
|
+
advisory
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1502
1812
|
// src/world-events.ts
|
|
1503
1813
|
function isCanonicalWorldEvent(event) {
|
|
1504
1814
|
return event.recordType === "canonical";
|
|
@@ -1650,7 +1960,7 @@ var QUIET_MEASURE_JUDGMENT_MISSING_EVIDENCE = [
|
|
|
1650
1960
|
"private-or-low-witness-evidence",
|
|
1651
1961
|
"costly-pressure-event"
|
|
1652
1962
|
];
|
|
1653
|
-
function
|
|
1963
|
+
function isMember6(value, members) {
|
|
1654
1964
|
return members.includes(value);
|
|
1655
1965
|
}
|
|
1656
1966
|
function assertRecord(value, label) {
|
|
@@ -1691,7 +2001,7 @@ function normalizeTimestamp(value, label) {
|
|
|
1691
2001
|
}
|
|
1692
2002
|
function normalizeMember(value, members, label) {
|
|
1693
2003
|
const normalized = normalizeNonEmptyString(value, label);
|
|
1694
|
-
if (!
|
|
2004
|
+
if (!isMember6(normalized, members)) {
|
|
1695
2005
|
throw new TypeError(`${label} must be one of: ${members.join(", ")}.`);
|
|
1696
2006
|
}
|
|
1697
2007
|
return normalized;
|
|
@@ -1824,13 +2134,13 @@ function normalizeDominantReads(value) {
|
|
|
1824
2134
|
return Object.freeze(value.map((entry, index) => normalizeDerivedReadSummary(entry, index)));
|
|
1825
2135
|
}
|
|
1826
2136
|
function isQuietMeasureAxis(value) {
|
|
1827
|
-
return
|
|
2137
|
+
return isMember6(value, QUIET_MEASURE_AXES);
|
|
1828
2138
|
}
|
|
1829
2139
|
function isQuietMeasureMissionProbeMode(value) {
|
|
1830
|
-
return
|
|
2140
|
+
return isMember6(value, QUIET_MEASURE_MISSION_PROBE_MODES);
|
|
1831
2141
|
}
|
|
1832
2142
|
function isQuietMeasureMissionResolutionShape(value) {
|
|
1833
|
-
return
|
|
2143
|
+
return isMember6(value, QUIET_MEASURE_MISSION_RESOLUTION_SHAPES);
|
|
1834
2144
|
}
|
|
1835
2145
|
function createQuietMeasureJudgmentEligibility(input = {}) {
|
|
1836
2146
|
const repeatedMeaningfulEvidence = normalizeOptionalBoolean(
|
|
@@ -2344,6 +2654,15 @@ export {
|
|
|
2344
2654
|
AI_GAME_IDENTITY_TARGET_CATEGORIES,
|
|
2345
2655
|
AI_GAME_IDENTITY_VISIBILITY_STATES,
|
|
2346
2656
|
AI_GAME_INCIDENT_IMPACT_FEATURE_FLAG_ID,
|
|
2657
|
+
AI_GAME_MCC_FOCUS_PRIORITIES,
|
|
2658
|
+
AI_GAME_MCC_GROWTH_DIRECTIONS,
|
|
2659
|
+
AI_GAME_MCC_GUIDANCE_CONTRACT_VERSION,
|
|
2660
|
+
AI_GAME_MCC_GUIDANCE_FEATURE_FLAG_ID,
|
|
2661
|
+
AI_GAME_MCC_GUIDANCE_MAX_FOCUS_TARGETS,
|
|
2662
|
+
AI_GAME_MCC_GUIDANCE_MAX_RECOMMENDATIONS,
|
|
2663
|
+
AI_GAME_MCC_READINESS_BANDS,
|
|
2664
|
+
AI_GAME_MCC_WARNING_KINDS,
|
|
2665
|
+
AI_GAME_MCC_WARNING_STATES,
|
|
2347
2666
|
AI_GAME_MISSIONS_CONTRACT_VERSION,
|
|
2348
2667
|
AI_GAME_MISSIONS_FEATURE_FLAG_ID,
|
|
2349
2668
|
AI_GAME_MISSION_CLASSES,
|
|
@@ -2388,6 +2707,14 @@ export {
|
|
|
2388
2707
|
AI_GAME_PLAYER_SYSTEM_PREFERENCE_KINDS,
|
|
2389
2708
|
AI_GAME_PLAYER_SYSTEM_PREFERENCE_SOURCES,
|
|
2390
2709
|
AI_GAME_QUIET_MEASURE_FEATURE_FLAG_ID,
|
|
2710
|
+
AI_GAME_SPELLCRAFT_AUTHORITATIVE_OWNER,
|
|
2711
|
+
AI_GAME_SPELLCRAFT_CHAOS_PRESSURES,
|
|
2712
|
+
AI_GAME_SPELLCRAFT_COMMITMENT,
|
|
2713
|
+
AI_GAME_SPELLCRAFT_COMPLEXITIES,
|
|
2714
|
+
AI_GAME_SPELLCRAFT_FATIGUE_STATES,
|
|
2715
|
+
AI_GAME_SPELLCRAFT_RECOMMENDATION_KINDS,
|
|
2716
|
+
AI_GAME_SPELLCRAFT_TARGET_MODES,
|
|
2717
|
+
AI_GAME_SPELLCRAFT_VERDICTS,
|
|
2391
2718
|
AI_GAME_TASK_AUTHORITY_BOUNDARIES,
|
|
2392
2719
|
AI_GAME_TASK_DECISIONS,
|
|
2393
2720
|
AI_GAME_TASK_KINDS,
|
|
@@ -2433,6 +2760,10 @@ export {
|
|
|
2433
2760
|
createAiGameIdentityTargetProjection,
|
|
2434
2761
|
createAiGameInstitutionEligibility,
|
|
2435
2762
|
createAiGameMartialTrainingSnapshot,
|
|
2763
|
+
createAiGameMccFocusTarget,
|
|
2764
|
+
createAiGameMccGuidanceSnapshot,
|
|
2765
|
+
createAiGameMccReadinessState,
|
|
2766
|
+
createAiGameMccWarning,
|
|
2436
2767
|
createAiGameMissionDefinition,
|
|
2437
2768
|
createAiGameMissionMccFocusInfluence,
|
|
2438
2769
|
createAiGameMissionObjectiveState,
|
|
@@ -2453,6 +2784,8 @@ export {
|
|
|
2453
2784
|
createAiGamePlayerSystemPreferenceProfile,
|
|
2454
2785
|
createAiGamePlayerSystemSession,
|
|
2455
2786
|
createAiGameSpecializationRecommendation,
|
|
2787
|
+
createAiGameSpellcraftAdvisory,
|
|
2788
|
+
createAiGameSpellcraftRecommendation,
|
|
2456
2789
|
createTrainingAcademicMissionPrerequisite as createAiGameTrainingAcademicMissionPrerequisite,
|
|
2457
2790
|
createTrainingAcademyAdmission as createAiGameTrainingAcademyAdmission,
|
|
2458
2791
|
createTrainingSchoolProgression as createAiGameTrainingSchoolProgression,
|
|
@@ -2470,6 +2803,11 @@ export {
|
|
|
2470
2803
|
isAiGameIdentityProjectionRead,
|
|
2471
2804
|
isAiGameIdentityTargetCategory,
|
|
2472
2805
|
isAiGameIdentityVisibilityState,
|
|
2806
|
+
isAiGameMccFocusPriority,
|
|
2807
|
+
isAiGameMccGrowthDirection,
|
|
2808
|
+
isAiGameMccReadinessBand,
|
|
2809
|
+
isAiGameMccWarningKind,
|
|
2810
|
+
isAiGameMccWarningState,
|
|
2473
2811
|
isAiGameMissionClass,
|
|
2474
2812
|
isAiGameMissionConfidenceBand,
|
|
2475
2813
|
isAiGameMissionFeedbackChannel,
|
|
@@ -2496,6 +2834,12 @@ export {
|
|
|
2496
2834
|
isAiGamePlayerSystemModule,
|
|
2497
2835
|
isAiGamePlayerSystemPreferenceKind,
|
|
2498
2836
|
isAiGamePlayerSystemPreferenceSource,
|
|
2837
|
+
isAiGameSpellcraftChaosPressure,
|
|
2838
|
+
isAiGameSpellcraftComplexity,
|
|
2839
|
+
isAiGameSpellcraftFatigueState,
|
|
2840
|
+
isAiGameSpellcraftRecommendationKind,
|
|
2841
|
+
isAiGameSpellcraftTargetMode,
|
|
2842
|
+
isAiGameSpellcraftVerdict,
|
|
2499
2843
|
isTrainingAcademicProgressStage as isAiGameTrainingAcademicProgressStage,
|
|
2500
2844
|
isTrainingAcademyAdmissionDecision as isAiGameTrainingAcademyAdmissionDecision,
|
|
2501
2845
|
isTrainingAntiSpellCounterWindow as isAiGameTrainingAntiSpellCounterWindow,
|