@plasius/ai-game 0.5.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 +32 -0
- package/README.md +46 -1
- package/dist/index.cjs +712 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +242 -1
- package/dist/index.d.ts +242 -1
- package/dist/index.js +657 -5
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0015-mcc-guidance-contract-boundary.md +62 -0
- package/docs/adrs/adr-0016-observed-event-log-and-gossip-export-contract-boundary.md +52 -0
- package/docs/adrs/index.md +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1212,6 +1212,603 @@ function assertAiGameIdentityProjectionContractVersion(value) {
|
|
|
1212
1212
|
assertContractVersion3(value);
|
|
1213
1213
|
}
|
|
1214
1214
|
|
|
1215
|
+
// src/observed-events.ts
|
|
1216
|
+
var AI_GAME_OBSERVED_EVENT_LOG_FEATURE_FLAG_ID = "isekai.player-system.logs.enabled";
|
|
1217
|
+
var AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION = "1.0";
|
|
1218
|
+
var AI_GAME_OBSERVED_EVENT_KINDS = [
|
|
1219
|
+
"combat",
|
|
1220
|
+
"crafting",
|
|
1221
|
+
"discovery",
|
|
1222
|
+
"mission",
|
|
1223
|
+
"social",
|
|
1224
|
+
"travel",
|
|
1225
|
+
"world"
|
|
1226
|
+
];
|
|
1227
|
+
var AI_GAME_OBSERVED_EVENT_SOURCES = [
|
|
1228
|
+
"player-action",
|
|
1229
|
+
"system-observation",
|
|
1230
|
+
"world-state"
|
|
1231
|
+
];
|
|
1232
|
+
var AI_GAME_OBSERVED_EVENT_VISIBILITIES = [
|
|
1233
|
+
"private",
|
|
1234
|
+
"party",
|
|
1235
|
+
"local",
|
|
1236
|
+
"public"
|
|
1237
|
+
];
|
|
1238
|
+
var AI_GAME_OBSERVED_EVENT_SIGNIFICANCE = [
|
|
1239
|
+
"routine",
|
|
1240
|
+
"notable",
|
|
1241
|
+
"critical"
|
|
1242
|
+
];
|
|
1243
|
+
var AI_GAME_GOSSIP_EXPORT_AUDIENCES = [
|
|
1244
|
+
"player",
|
|
1245
|
+
"npc",
|
|
1246
|
+
"public"
|
|
1247
|
+
];
|
|
1248
|
+
var AI_GAME_OBSERVED_EVENT_MAX_SUMMARY_LENGTH = 500;
|
|
1249
|
+
var AI_GAME_OBSERVED_EVENT_MAX_TAGS = 20;
|
|
1250
|
+
var AI_GAME_OBSERVED_EVENT_MAX_TAG_LENGTH = 64;
|
|
1251
|
+
var AI_GAME_OBSERVED_EVENT_MAX_WINDOW_EVENTS = 100;
|
|
1252
|
+
function freezeReadonlyArray5(items) {
|
|
1253
|
+
return Object.freeze([...items]);
|
|
1254
|
+
}
|
|
1255
|
+
function isMember4(value, members) {
|
|
1256
|
+
return members.includes(value);
|
|
1257
|
+
}
|
|
1258
|
+
function assertNonEmptyString5(value, label) {
|
|
1259
|
+
if (value.trim().length === 0) {
|
|
1260
|
+
throw new Error(`${label} must be a non-empty string`);
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
function assertSafeText(value, label, maxLength) {
|
|
1264
|
+
assertNonEmptyString5(value, label);
|
|
1265
|
+
if (value.length > maxLength) {
|
|
1266
|
+
throw new Error(`${label} must be ${maxLength} characters or fewer`);
|
|
1267
|
+
}
|
|
1268
|
+
if ([...value].some((character) => {
|
|
1269
|
+
const codePoint = character.codePointAt(0) ?? 0;
|
|
1270
|
+
return codePoint <= 31 || codePoint === 127;
|
|
1271
|
+
})) {
|
|
1272
|
+
throw new Error(`${label} must not contain control characters`);
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
function assertIsoTimestamp3(value, label) {
|
|
1276
|
+
assertNonEmptyString5(value, label);
|
|
1277
|
+
if (Number.isNaN(Date.parse(value))) {
|
|
1278
|
+
throw new Error(`${label} must be an ISO-8601 timestamp`);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
function assertContractVersion4(value) {
|
|
1282
|
+
if (value !== AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION) {
|
|
1283
|
+
throw new Error(
|
|
1284
|
+
`contractVersion must be ${AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION}`
|
|
1285
|
+
);
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
function assertArrayLimit(value, label, maximum) {
|
|
1289
|
+
if (value.length > maximum) {
|
|
1290
|
+
throw new Error(`${label} must contain ${maximum} items or fewer`);
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
function createStringArray2(values, label, maximum, itemMaximum) {
|
|
1294
|
+
assertArrayLimit(values, label, maximum);
|
|
1295
|
+
const result = values.map((value, index) => {
|
|
1296
|
+
assertSafeText(value, `${label}[${index}]`, itemMaximum);
|
|
1297
|
+
return value.trim();
|
|
1298
|
+
});
|
|
1299
|
+
if (new Set(result).size !== result.length) {
|
|
1300
|
+
throw new Error(`${label} must not contain duplicate values`);
|
|
1301
|
+
}
|
|
1302
|
+
return freezeReadonlyArray5(result);
|
|
1303
|
+
}
|
|
1304
|
+
function assertUniqueIds(values, label) {
|
|
1305
|
+
if (new Set(values).size !== values.length) {
|
|
1306
|
+
throw new Error(`${label} must not contain duplicate values`);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
function cloneObservedEvent(event) {
|
|
1310
|
+
return createAiGameObservedEvent(event);
|
|
1311
|
+
}
|
|
1312
|
+
function cloneRecencyWindow(window) {
|
|
1313
|
+
return createAiGameObservedEventRecencyWindow({
|
|
1314
|
+
contractVersion: window.contractVersion,
|
|
1315
|
+
windowId: window.windowId,
|
|
1316
|
+
startsAtIso: window.startsAtIso,
|
|
1317
|
+
endsAtIso: window.endsAtIso,
|
|
1318
|
+
events: window.events
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
function cloneHighlightSummary(summary) {
|
|
1322
|
+
return createAiGameObservedEventHighlightSummary({
|
|
1323
|
+
contractVersion: summary.contractVersion,
|
|
1324
|
+
summaryId: summary.summaryId,
|
|
1325
|
+
windowId: summary.windowId,
|
|
1326
|
+
title: summary.title,
|
|
1327
|
+
summary: summary.summary,
|
|
1328
|
+
significance: summary.significance,
|
|
1329
|
+
eventIds: summary.eventIds,
|
|
1330
|
+
reasonCodes: summary.reasonCodes
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
function isAiGameObservedEventKind(value) {
|
|
1334
|
+
return isMember4(value, AI_GAME_OBSERVED_EVENT_KINDS);
|
|
1335
|
+
}
|
|
1336
|
+
function isAiGameObservedEventSource(value) {
|
|
1337
|
+
return isMember4(value, AI_GAME_OBSERVED_EVENT_SOURCES);
|
|
1338
|
+
}
|
|
1339
|
+
function isAiGameObservedEventVisibility(value) {
|
|
1340
|
+
return isMember4(value, AI_GAME_OBSERVED_EVENT_VISIBILITIES);
|
|
1341
|
+
}
|
|
1342
|
+
function isAiGameObservedEventSignificance(value) {
|
|
1343
|
+
return isMember4(value, AI_GAME_OBSERVED_EVENT_SIGNIFICANCE);
|
|
1344
|
+
}
|
|
1345
|
+
function isAiGameGossipExportAudience(value) {
|
|
1346
|
+
return isMember4(value, AI_GAME_GOSSIP_EXPORT_AUDIENCES);
|
|
1347
|
+
}
|
|
1348
|
+
function createAiGameObservedEvent(input) {
|
|
1349
|
+
const contractVersion = input.contractVersion ?? AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION;
|
|
1350
|
+
assertContractVersion4(contractVersion);
|
|
1351
|
+
assertSafeText(input.eventId, "eventId", 200);
|
|
1352
|
+
assertIsoTimestamp3(input.occurredAtIso, "occurredAtIso");
|
|
1353
|
+
assertSafeText(input.subjectRef, "subjectRef", 200);
|
|
1354
|
+
assertSafeText(
|
|
1355
|
+
input.summary,
|
|
1356
|
+
"summary",
|
|
1357
|
+
AI_GAME_OBSERVED_EVENT_MAX_SUMMARY_LENGTH
|
|
1358
|
+
);
|
|
1359
|
+
if (!isAiGameObservedEventKind(input.kind)) {
|
|
1360
|
+
throw new Error(`kind must be one of: ${AI_GAME_OBSERVED_EVENT_KINDS.join(", ")}`);
|
|
1361
|
+
}
|
|
1362
|
+
if (!isAiGameObservedEventSource(input.source)) {
|
|
1363
|
+
throw new Error(
|
|
1364
|
+
`source must be one of: ${AI_GAME_OBSERVED_EVENT_SOURCES.join(", ")}`
|
|
1365
|
+
);
|
|
1366
|
+
}
|
|
1367
|
+
if (!isAiGameObservedEventSignificance(input.significance)) {
|
|
1368
|
+
throw new Error(
|
|
1369
|
+
`significance must be one of: ${AI_GAME_OBSERVED_EVENT_SIGNIFICANCE.join(", ")}`
|
|
1370
|
+
);
|
|
1371
|
+
}
|
|
1372
|
+
if (!isAiGameObservedEventVisibility(input.visibility)) {
|
|
1373
|
+
throw new Error(
|
|
1374
|
+
`visibility must be one of: ${AI_GAME_OBSERVED_EVENT_VISIBILITIES.join(", ")}`
|
|
1375
|
+
);
|
|
1376
|
+
}
|
|
1377
|
+
const tags = createStringArray2(
|
|
1378
|
+
input.tags ?? [],
|
|
1379
|
+
"tags",
|
|
1380
|
+
AI_GAME_OBSERVED_EVENT_MAX_TAGS,
|
|
1381
|
+
AI_GAME_OBSERVED_EVENT_MAX_TAG_LENGTH
|
|
1382
|
+
);
|
|
1383
|
+
return Object.freeze({
|
|
1384
|
+
contractVersion,
|
|
1385
|
+
eventId: input.eventId.trim(),
|
|
1386
|
+
occurredAtIso: input.occurredAtIso,
|
|
1387
|
+
kind: input.kind,
|
|
1388
|
+
source: input.source,
|
|
1389
|
+
subjectRef: input.subjectRef.trim(),
|
|
1390
|
+
summary: input.summary.trim(),
|
|
1391
|
+
significance: input.significance,
|
|
1392
|
+
visibility: input.visibility,
|
|
1393
|
+
tags
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
function createAiGameObservedEventRecencyWindow(input) {
|
|
1397
|
+
const contractVersion = input.contractVersion ?? AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION;
|
|
1398
|
+
assertContractVersion4(contractVersion);
|
|
1399
|
+
assertSafeText(input.windowId, "windowId", 200);
|
|
1400
|
+
assertIsoTimestamp3(input.startsAtIso, "startsAtIso");
|
|
1401
|
+
assertIsoTimestamp3(input.endsAtIso, "endsAtIso");
|
|
1402
|
+
const startsAt = Date.parse(input.startsAtIso);
|
|
1403
|
+
const endsAt = Date.parse(input.endsAtIso);
|
|
1404
|
+
if (startsAt > endsAt) {
|
|
1405
|
+
throw new Error("startsAtIso must be before or equal to endsAtIso");
|
|
1406
|
+
}
|
|
1407
|
+
assertArrayLimit(
|
|
1408
|
+
input.events,
|
|
1409
|
+
"events",
|
|
1410
|
+
AI_GAME_OBSERVED_EVENT_MAX_WINDOW_EVENTS
|
|
1411
|
+
);
|
|
1412
|
+
const events = input.events.map(cloneObservedEvent);
|
|
1413
|
+
const eventIds = events.map((event) => event.eventId);
|
|
1414
|
+
assertUniqueIds(eventIds, "events");
|
|
1415
|
+
for (const event of events) {
|
|
1416
|
+
const occurredAt = Date.parse(event.occurredAtIso);
|
|
1417
|
+
if (occurredAt < startsAt || occurredAt > endsAt) {
|
|
1418
|
+
throw new Error(`event ${event.eventId} must occur inside the recency window`);
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
return Object.freeze({
|
|
1422
|
+
contractVersion,
|
|
1423
|
+
windowId: input.windowId.trim(),
|
|
1424
|
+
startsAtIso: input.startsAtIso,
|
|
1425
|
+
endsAtIso: input.endsAtIso,
|
|
1426
|
+
events: freezeReadonlyArray5(events)
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
function createAiGameObservedEventHighlightSummary(input) {
|
|
1430
|
+
const contractVersion = input.contractVersion ?? AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION;
|
|
1431
|
+
assertContractVersion4(contractVersion);
|
|
1432
|
+
assertSafeText(input.summaryId, "summaryId", 200);
|
|
1433
|
+
assertSafeText(input.windowId, "windowId", 200);
|
|
1434
|
+
assertSafeText(input.title, "title", 200);
|
|
1435
|
+
assertSafeText(
|
|
1436
|
+
input.summary,
|
|
1437
|
+
"summary",
|
|
1438
|
+
AI_GAME_OBSERVED_EVENT_MAX_SUMMARY_LENGTH
|
|
1439
|
+
);
|
|
1440
|
+
if (!isAiGameObservedEventSignificance(input.significance)) {
|
|
1441
|
+
throw new Error(
|
|
1442
|
+
`significance must be one of: ${AI_GAME_OBSERVED_EVENT_SIGNIFICANCE.join(", ")}`
|
|
1443
|
+
);
|
|
1444
|
+
}
|
|
1445
|
+
const eventIds = createStringArray2(input.eventIds, "eventIds", 100, 200);
|
|
1446
|
+
if (eventIds.length === 0) {
|
|
1447
|
+
throw new Error("eventIds must contain at least one event id");
|
|
1448
|
+
}
|
|
1449
|
+
const reasonCodes = createStringArray2(
|
|
1450
|
+
input.reasonCodes ?? [],
|
|
1451
|
+
"reasonCodes",
|
|
1452
|
+
20,
|
|
1453
|
+
100
|
|
1454
|
+
);
|
|
1455
|
+
return Object.freeze({
|
|
1456
|
+
contractVersion,
|
|
1457
|
+
summaryId: input.summaryId.trim(),
|
|
1458
|
+
windowId: input.windowId.trim(),
|
|
1459
|
+
title: input.title.trim(),
|
|
1460
|
+
summary: input.summary.trim(),
|
|
1461
|
+
significance: input.significance,
|
|
1462
|
+
eventIds,
|
|
1463
|
+
reasonCodes
|
|
1464
|
+
});
|
|
1465
|
+
}
|
|
1466
|
+
function createAiGameGossipExport(input) {
|
|
1467
|
+
const contractVersion = input.contractVersion ?? AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION;
|
|
1468
|
+
assertContractVersion4(contractVersion);
|
|
1469
|
+
assertSafeText(input.exportId, "exportId", 200);
|
|
1470
|
+
assertIsoTimestamp3(input.exportedAtIso, "exportedAtIso");
|
|
1471
|
+
if (!isAiGameGossipExportAudience(input.audience)) {
|
|
1472
|
+
throw new Error(
|
|
1473
|
+
`audience must be one of: ${AI_GAME_GOSSIP_EXPORT_AUDIENCES.join(", ")}`
|
|
1474
|
+
);
|
|
1475
|
+
}
|
|
1476
|
+
const sourceWindow = cloneRecencyWindow(input.sourceWindow);
|
|
1477
|
+
const eventIds = new Set(sourceWindow.events.map((event) => event.eventId));
|
|
1478
|
+
const highlights = input.highlights.map(cloneHighlightSummary);
|
|
1479
|
+
const summaryIds = highlights.map((summary) => summary.summaryId);
|
|
1480
|
+
assertUniqueIds(summaryIds, "highlights");
|
|
1481
|
+
for (const highlight of highlights) {
|
|
1482
|
+
if (highlight.windowId !== sourceWindow.windowId) {
|
|
1483
|
+
throw new Error("highlight windowId must match sourceWindow windowId");
|
|
1484
|
+
}
|
|
1485
|
+
if (highlight.eventIds.some((eventId) => !eventIds.has(eventId))) {
|
|
1486
|
+
throw new Error("highlight eventIds must reference sourceWindow events");
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1489
|
+
return Object.freeze({
|
|
1490
|
+
contractVersion,
|
|
1491
|
+
exportId: input.exportId.trim(),
|
|
1492
|
+
exportedAtIso: input.exportedAtIso,
|
|
1493
|
+
audience: input.audience,
|
|
1494
|
+
sourceWindow,
|
|
1495
|
+
highlights: freezeReadonlyArray5(highlights)
|
|
1496
|
+
});
|
|
1497
|
+
}
|
|
1498
|
+
function assertAiGameObservedEventLogContractVersion(value) {
|
|
1499
|
+
assertContractVersion4(value);
|
|
1500
|
+
}
|
|
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
|
+
|
|
1215
1812
|
// src/world-events.ts
|
|
1216
1813
|
function isCanonicalWorldEvent(event) {
|
|
1217
1814
|
return event.recordType === "canonical";
|
|
@@ -1363,7 +1960,7 @@ var QUIET_MEASURE_JUDGMENT_MISSING_EVIDENCE = [
|
|
|
1363
1960
|
"private-or-low-witness-evidence",
|
|
1364
1961
|
"costly-pressure-event"
|
|
1365
1962
|
];
|
|
1366
|
-
function
|
|
1963
|
+
function isMember6(value, members) {
|
|
1367
1964
|
return members.includes(value);
|
|
1368
1965
|
}
|
|
1369
1966
|
function assertRecord(value, label) {
|
|
@@ -1404,7 +2001,7 @@ function normalizeTimestamp(value, label) {
|
|
|
1404
2001
|
}
|
|
1405
2002
|
function normalizeMember(value, members, label) {
|
|
1406
2003
|
const normalized = normalizeNonEmptyString(value, label);
|
|
1407
|
-
if (!
|
|
2004
|
+
if (!isMember6(normalized, members)) {
|
|
1408
2005
|
throw new TypeError(`${label} must be one of: ${members.join(", ")}.`);
|
|
1409
2006
|
}
|
|
1410
2007
|
return normalized;
|
|
@@ -1537,13 +2134,13 @@ function normalizeDominantReads(value) {
|
|
|
1537
2134
|
return Object.freeze(value.map((entry, index) => normalizeDerivedReadSummary(entry, index)));
|
|
1538
2135
|
}
|
|
1539
2136
|
function isQuietMeasureAxis(value) {
|
|
1540
|
-
return
|
|
2137
|
+
return isMember6(value, QUIET_MEASURE_AXES);
|
|
1541
2138
|
}
|
|
1542
2139
|
function isQuietMeasureMissionProbeMode(value) {
|
|
1543
|
-
return
|
|
2140
|
+
return isMember6(value, QUIET_MEASURE_MISSION_PROBE_MODES);
|
|
1544
2141
|
}
|
|
1545
2142
|
function isQuietMeasureMissionResolutionShape(value) {
|
|
1546
|
-
return
|
|
2143
|
+
return isMember6(value, QUIET_MEASURE_MISSION_RESOLUTION_SHAPES);
|
|
1547
2144
|
}
|
|
1548
2145
|
function createQuietMeasureJudgmentEligibility(input = {}) {
|
|
1549
2146
|
const repeatedMeaningfulEvidence = normalizeOptionalBoolean(
|
|
@@ -2046,6 +2643,7 @@ export {
|
|
|
2046
2643
|
AI_GAME_EVENT_INGESTION_FEATURE_FLAG_ID,
|
|
2047
2644
|
AI_GAME_FEATURE_FLAGS,
|
|
2048
2645
|
AI_GAME_FEATURE_FLAG_ID,
|
|
2646
|
+
AI_GAME_GOSSIP_EXPORT_AUDIENCES,
|
|
2049
2647
|
AI_GAME_GOSSIP_LIFECYCLE_FEATURE_FLAG_ID,
|
|
2050
2648
|
AI_GAME_GOSSIP_TOPICS_FEATURE_FLAG_ID,
|
|
2051
2649
|
AI_GAME_IDENTITY_CONTRACT_VERSION,
|
|
@@ -2056,6 +2654,15 @@ export {
|
|
|
2056
2654
|
AI_GAME_IDENTITY_TARGET_CATEGORIES,
|
|
2057
2655
|
AI_GAME_IDENTITY_VISIBILITY_STATES,
|
|
2058
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,
|
|
2059
2666
|
AI_GAME_MISSIONS_CONTRACT_VERSION,
|
|
2060
2667
|
AI_GAME_MISSIONS_FEATURE_FLAG_ID,
|
|
2061
2668
|
AI_GAME_MISSION_CLASSES,
|
|
@@ -2069,6 +2676,16 @@ export {
|
|
|
2069
2676
|
AI_GAME_MISSION_REPEATED_SIGNAL_HANDLING,
|
|
2070
2677
|
AI_GAME_MISSION_REWARD_CAP_SEMANTICS,
|
|
2071
2678
|
AI_GAME_MISSION_REWARD_KINDS,
|
|
2679
|
+
AI_GAME_OBSERVED_EVENT_KINDS,
|
|
2680
|
+
AI_GAME_OBSERVED_EVENT_LOG_CONTRACT_VERSION,
|
|
2681
|
+
AI_GAME_OBSERVED_EVENT_LOG_FEATURE_FLAG_ID,
|
|
2682
|
+
AI_GAME_OBSERVED_EVENT_MAX_SUMMARY_LENGTH,
|
|
2683
|
+
AI_GAME_OBSERVED_EVENT_MAX_TAGS,
|
|
2684
|
+
AI_GAME_OBSERVED_EVENT_MAX_TAG_LENGTH,
|
|
2685
|
+
AI_GAME_OBSERVED_EVENT_MAX_WINDOW_EVENTS,
|
|
2686
|
+
AI_GAME_OBSERVED_EVENT_SIGNIFICANCE,
|
|
2687
|
+
AI_GAME_OBSERVED_EVENT_SOURCES,
|
|
2688
|
+
AI_GAME_OBSERVED_EVENT_VISIBILITIES,
|
|
2072
2689
|
AI_GAME_PACKAGE,
|
|
2073
2690
|
AI_GAME_PERSPECTIVE_FEATURE_FLAG_ID,
|
|
2074
2691
|
AI_GAME_PLAYER_SYSTEM_ALERT_PRIORITIES,
|
|
@@ -2090,6 +2707,14 @@ export {
|
|
|
2090
2707
|
AI_GAME_PLAYER_SYSTEM_PREFERENCE_KINDS,
|
|
2091
2708
|
AI_GAME_PLAYER_SYSTEM_PREFERENCE_SOURCES,
|
|
2092
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,
|
|
2093
2718
|
AI_GAME_TASK_AUTHORITY_BOUNDARIES,
|
|
2094
2719
|
AI_GAME_TASK_DECISIONS,
|
|
2095
2720
|
AI_GAME_TASK_KINDS,
|
|
@@ -2126,13 +2751,19 @@ export {
|
|
|
2126
2751
|
aiGameFeatureFlags,
|
|
2127
2752
|
assertAiGameIdentityProjectionContractVersion,
|
|
2128
2753
|
assertAiGameMissionContractVersion,
|
|
2754
|
+
assertAiGameObservedEventLogContractVersion,
|
|
2129
2755
|
classifyAiGameTask,
|
|
2130
2756
|
createAiGameAcademicTrainingSnapshot,
|
|
2757
|
+
createAiGameGossipExport,
|
|
2131
2758
|
createAiGameIdentityProjectionContract,
|
|
2132
2759
|
createAiGameIdentitySelfProjection,
|
|
2133
2760
|
createAiGameIdentityTargetProjection,
|
|
2134
2761
|
createAiGameInstitutionEligibility,
|
|
2135
2762
|
createAiGameMartialTrainingSnapshot,
|
|
2763
|
+
createAiGameMccFocusTarget,
|
|
2764
|
+
createAiGameMccGuidanceSnapshot,
|
|
2765
|
+
createAiGameMccReadinessState,
|
|
2766
|
+
createAiGameMccWarning,
|
|
2136
2767
|
createAiGameMissionDefinition,
|
|
2137
2768
|
createAiGameMissionMccFocusInfluence,
|
|
2138
2769
|
createAiGameMissionObjectiveState,
|
|
@@ -2143,6 +2774,9 @@ export {
|
|
|
2143
2774
|
createAiGameMissionRewardBound,
|
|
2144
2775
|
createAiGameMissionRewardEnvelope,
|
|
2145
2776
|
createAiGameMissionRewardGrant,
|
|
2777
|
+
createAiGameObservedEvent,
|
|
2778
|
+
createAiGameObservedEventHighlightSummary,
|
|
2779
|
+
createAiGameObservedEventRecencyWindow,
|
|
2146
2780
|
createAiGamePlayerSystemAlert,
|
|
2147
2781
|
createAiGamePlayerSystemGuidanceCue,
|
|
2148
2782
|
createAiGamePlayerSystemPreferenceConfidenceState,
|
|
@@ -2150,6 +2784,8 @@ export {
|
|
|
2150
2784
|
createAiGamePlayerSystemPreferenceProfile,
|
|
2151
2785
|
createAiGamePlayerSystemSession,
|
|
2152
2786
|
createAiGameSpecializationRecommendation,
|
|
2787
|
+
createAiGameSpellcraftAdvisory,
|
|
2788
|
+
createAiGameSpellcraftRecommendation,
|
|
2153
2789
|
createTrainingAcademicMissionPrerequisite as createAiGameTrainingAcademicMissionPrerequisite,
|
|
2154
2790
|
createTrainingAcademyAdmission as createAiGameTrainingAcademyAdmission,
|
|
2155
2791
|
createTrainingSchoolProgression as createAiGameTrainingSchoolProgression,
|
|
@@ -2162,10 +2798,16 @@ export {
|
|
|
2162
2798
|
getAiGamePlayerSystemFocusModeContract,
|
|
2163
2799
|
getAiGamePlayerSystemGuidanceFallbackContract,
|
|
2164
2800
|
getAiGamePlayerSystemModuleContract,
|
|
2801
|
+
isAiGameGossipExportAudience,
|
|
2165
2802
|
isAiGameIdentityKnowledgeState,
|
|
2166
2803
|
isAiGameIdentityProjectionRead,
|
|
2167
2804
|
isAiGameIdentityTargetCategory,
|
|
2168
2805
|
isAiGameIdentityVisibilityState,
|
|
2806
|
+
isAiGameMccFocusPriority,
|
|
2807
|
+
isAiGameMccGrowthDirection,
|
|
2808
|
+
isAiGameMccReadinessBand,
|
|
2809
|
+
isAiGameMccWarningKind,
|
|
2810
|
+
isAiGameMccWarningState,
|
|
2169
2811
|
isAiGameMissionClass,
|
|
2170
2812
|
isAiGameMissionConfidenceBand,
|
|
2171
2813
|
isAiGameMissionFeedbackChannel,
|
|
@@ -2177,6 +2819,10 @@ export {
|
|
|
2177
2819
|
isAiGameMissionRepeatedSignalHandling,
|
|
2178
2820
|
isAiGameMissionRewardCapSemantic,
|
|
2179
2821
|
isAiGameMissionRewardKind,
|
|
2822
|
+
isAiGameObservedEventKind,
|
|
2823
|
+
isAiGameObservedEventSignificance,
|
|
2824
|
+
isAiGameObservedEventSource,
|
|
2825
|
+
isAiGameObservedEventVisibility,
|
|
2180
2826
|
isAiGamePlayerSystemAlertDeliverable,
|
|
2181
2827
|
isAiGamePlayerSystemAlertPriority,
|
|
2182
2828
|
isAiGamePlayerSystemConfidenceBand,
|
|
@@ -2188,6 +2834,12 @@ export {
|
|
|
2188
2834
|
isAiGamePlayerSystemModule,
|
|
2189
2835
|
isAiGamePlayerSystemPreferenceKind,
|
|
2190
2836
|
isAiGamePlayerSystemPreferenceSource,
|
|
2837
|
+
isAiGameSpellcraftChaosPressure,
|
|
2838
|
+
isAiGameSpellcraftComplexity,
|
|
2839
|
+
isAiGameSpellcraftFatigueState,
|
|
2840
|
+
isAiGameSpellcraftRecommendationKind,
|
|
2841
|
+
isAiGameSpellcraftTargetMode,
|
|
2842
|
+
isAiGameSpellcraftVerdict,
|
|
2191
2843
|
isTrainingAcademicProgressStage as isAiGameTrainingAcademicProgressStage,
|
|
2192
2844
|
isTrainingAcademyAdmissionDecision as isAiGameTrainingAcademyAdmissionDecision,
|
|
2193
2845
|
isTrainingAntiSpellCounterWindow as isAiGameTrainingAntiSpellCounterWindow,
|