@my-swu/simulator-client 0.1.1 → 0.1.3
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/README.md +1 -1
- package/dist/connection.js +2 -3
- package/dist/generated/index.d.ts +10 -0
- package/dist/generated/schemas.d.ts +1 -1
- package/dist/generated/schemas.js +659 -103
- package/dist/generated/types/admin-match-debug-bundle.d.ts +1 -0
- package/dist/generated/types/admin-match-debug-bundle.js +2 -0
- package/dist/generated/types/admin-match-list-response.d.ts +1 -0
- package/dist/generated/types/admin-match-list-response.js +2 -0
- package/dist/generated/types/admin-match-replay-response.d.ts +1 -0
- package/dist/generated/types/admin-match-replay-response.js +2 -0
- package/dist/generated/types/common.d.ts +182 -15
- package/dist/generated/types/create-match-history-replay-share-request.d.ts +1 -0
- package/dist/generated/types/create-match-history-replay-share-request.js +2 -0
- package/dist/generated/types/create-match-history-replay-share-response.d.ts +1 -0
- package/dist/generated/types/create-match-history-replay-share-response.js +2 -0
- package/dist/generated/types/format-event-response.d.ts +1 -1
- package/dist/generated/types/game-state.d.ts +1 -1
- package/dist/generated/types/get-match-response.d.ts +1 -1
- package/dist/generated/types/inactive-match-recovery-request.d.ts +1 -0
- package/dist/generated/types/inactive-match-recovery-request.js +2 -0
- package/dist/generated/types/inactive-match-recovery-response.d.ts +1 -0
- package/dist/generated/types/inactive-match-recovery-response.js +2 -0
- package/dist/generated/types/list-active-ai-matches-response.d.ts +1 -1
- package/dist/generated/types/lobby-access-response.d.ts +1 -1
- package/dist/generated/types/lobby-server-message.d.ts +1 -1
- package/dist/generated/types/match-access-recovery-request.d.ts +1 -0
- package/dist/generated/types/match-access-recovery-request.js +2 -0
- package/dist/generated/types/match-access-recovery-response.d.ts +1 -0
- package/dist/generated/types/match-access-recovery-response.js +2 -0
- package/dist/generated/types/match-access-response.d.ts +1 -1
- package/dist/generated/types/match-history-replay-response.d.ts +1 -1
- package/dist/generated/types/match-recovery-request.d.ts +1 -0
- package/dist/generated/types/match-recovery-request.js +2 -0
- package/dist/generated/types/match-recovery-response.d.ts +1 -0
- package/dist/generated/types/match-recovery-response.js +2 -0
- package/dist/generated/types/match-spectator-access-response.d.ts +1 -1
- package/dist/generated/types/rematch-match-response.d.ts +1 -1
- package/dist/generated/types/restore-history-response.d.ts +1 -1
- package/dist/generated/types/restore-match-save-response.d.ts +1 -1
- package/dist/generated/types/server-message.d.ts +1 -1
- package/dist/generated/types/shared-match-history-replay-response.d.ts +1 -0
- package/dist/generated/types/shared-match-history-replay-response.js +2 -0
- package/dist/generated/types/submit-match-deck-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-access-response.d.ts +1 -1
- package/dist/generated/types/tournament-room-server-message.d.ts +1 -1
- package/dist/generated/types/undo-match-response.d.ts +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/internal/match-history.d.ts +5 -0
- package/dist/internal/match-history.js +8 -0
- package/dist/local/engine.d.ts +2 -0
- package/dist/local/server/http-router.js +10 -0
- package/dist/local/wasm-engine.d.ts +2 -0
- package/dist/local/wasm-engine.js +1 -0
- package/dist/local/worker-boot.d.ts +2 -0
- package/dist/local/worker-boot.js +1 -0
- package/dist/match-session/controller.d.ts +1 -0
- package/dist/match-session/controller.js +107 -18
- package/dist/match-session/heartbeat.d.ts +33 -0
- package/dist/match-session/heartbeat.js +70 -0
- package/dist/match-session/methods.d.ts +8 -0
- package/dist/match-session/session-state.d.ts +19 -1
- package/dist/match-session/types.d.ts +1 -1
- package/dist/match-session.d.ts +1 -1
- package/dist/resources/admin.d.ts +14 -1
- package/dist/resources/admin.js +21 -0
- package/dist/resources/lobby-types.d.ts +4 -4
- package/dist/resources/match-history.d.ts +14 -1
- package/dist/resources/match-history.js +16 -0
- package/dist/resources/match-types.d.ts +11 -2
- package/dist/resources/matches.js +10 -0
- package/dist/validators.d.ts +11 -1
- package/package.json +1 -1
- package/schema/add-lobby-ai-player-request.schema.json +7 -0
- package/schema/admin-match-debug-bundle.schema.json +48 -0
- package/schema/admin-match-list-response.schema.json +23 -0
- package/schema/admin-match-replay-response.schema.json +14 -0
- package/schema/common.schema.json +295 -27
- package/schema/create-limited-event-request.schema.json +2 -4
- package/schema/create-lobby-request.schema.json +4 -8
- package/schema/create-match-history-replay-share-request.schema.json +22 -0
- package/schema/create-match-history-replay-share-response.schema.json +15 -0
- package/schema/create-match-request.schema.json +2 -3
- package/schema/create-tournament-room-request.schema.json +4 -8
- package/schema/game-command.schema.json +22 -0
- package/schema/game-event.schema.json +8 -0
- package/schema/limited-event-preflight-response.schema.json +1 -3
- package/schema/manifest.json +11 -1
- package/schema/match-access-recovery-request.schema.json +17 -0
- package/schema/match-access-recovery-response.schema.json +36 -0
- package/schema/match-access-response.schema.json +1 -3
- package/schema/match-history-entry.schema.json +1 -3
- package/schema/match-recovery-request.schema.json +33 -0
- package/schema/match-recovery-response.schema.json +36 -0
- package/schema/route-manifest.json +92 -0
- package/schema/shared-match-history-replay-response.schema.json +14 -0
|
@@ -997,6 +997,70 @@
|
|
|
997
997
|
"description"
|
|
998
998
|
]
|
|
999
999
|
},
|
|
1000
|
+
"AdminMatchSummary": {
|
|
1001
|
+
"description": "Compact durable match data safe for an administrator list view.",
|
|
1002
|
+
"type": "object",
|
|
1003
|
+
"properties": {
|
|
1004
|
+
"completedAtMs": {
|
|
1005
|
+
"type": [
|
|
1006
|
+
"integer",
|
|
1007
|
+
"null"
|
|
1008
|
+
],
|
|
1009
|
+
"format": "uint64",
|
|
1010
|
+
"minimum": 0
|
|
1011
|
+
},
|
|
1012
|
+
"createdAtMs": {
|
|
1013
|
+
"type": "integer",
|
|
1014
|
+
"format": "uint64",
|
|
1015
|
+
"minimum": 0
|
|
1016
|
+
},
|
|
1017
|
+
"format": {
|
|
1018
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchFormat"
|
|
1019
|
+
},
|
|
1020
|
+
"historyId": {
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"format": "uuid"
|
|
1023
|
+
},
|
|
1024
|
+
"players": {
|
|
1025
|
+
"type": "array",
|
|
1026
|
+
"items": {
|
|
1027
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/MatchHistoryPlayerSummary"
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"replayAvailable": {
|
|
1031
|
+
"type": "boolean"
|
|
1032
|
+
},
|
|
1033
|
+
"result": true,
|
|
1034
|
+
"section": {
|
|
1035
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
1036
|
+
},
|
|
1037
|
+
"series": true,
|
|
1038
|
+
"sourceMatchId": {
|
|
1039
|
+
"type": "string",
|
|
1040
|
+
"format": "uuid"
|
|
1041
|
+
},
|
|
1042
|
+
"status": {
|
|
1043
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryStatus"
|
|
1044
|
+
},
|
|
1045
|
+
"updatedAtMs": {
|
|
1046
|
+
"type": "integer",
|
|
1047
|
+
"format": "uint64",
|
|
1048
|
+
"minimum": 0
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
"required": [
|
|
1052
|
+
"historyId",
|
|
1053
|
+
"sourceMatchId",
|
|
1054
|
+
"section",
|
|
1055
|
+
"status",
|
|
1056
|
+
"format",
|
|
1057
|
+
"players",
|
|
1058
|
+
"series",
|
|
1059
|
+
"createdAtMs",
|
|
1060
|
+
"updatedAtMs",
|
|
1061
|
+
"replayAvailable"
|
|
1062
|
+
]
|
|
1063
|
+
},
|
|
1000
1064
|
"AiDifficulty": {
|
|
1001
1065
|
"description": "Public difficulty presets. Internal tuning (iteration counts, time\nbudgets) lives in `crate::r#match::registry::ai_factory` so it can be\nadjusted without changing the SDK surface.",
|
|
1002
1066
|
"oneOf": [
|
|
@@ -2396,6 +2460,51 @@
|
|
|
2396
2460
|
}
|
|
2397
2461
|
]
|
|
2398
2462
|
},
|
|
2463
|
+
"DelayedEffectOrderChoiceView": {
|
|
2464
|
+
"description": "Payload for [`PromptState::ChooseDelayedEffectOrder`].",
|
|
2465
|
+
"type": "object",
|
|
2466
|
+
"properties": {
|
|
2467
|
+
"chooser": {
|
|
2468
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
2469
|
+
},
|
|
2470
|
+
"options": {
|
|
2471
|
+
"type": "array",
|
|
2472
|
+
"items": {
|
|
2473
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderOptionView"
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
},
|
|
2477
|
+
"required": [
|
|
2478
|
+
"chooser",
|
|
2479
|
+
"options"
|
|
2480
|
+
]
|
|
2481
|
+
},
|
|
2482
|
+
"DelayedEffectOrderOptionView": {
|
|
2483
|
+
"description": "One delayed effect a controller may resolve next.",
|
|
2484
|
+
"type": "object",
|
|
2485
|
+
"properties": {
|
|
2486
|
+
"label": {
|
|
2487
|
+
"type": "string"
|
|
2488
|
+
},
|
|
2489
|
+
"occurrenceSequence": {
|
|
2490
|
+
"type": "integer",
|
|
2491
|
+
"format": "uint32",
|
|
2492
|
+
"minimum": 0
|
|
2493
|
+
},
|
|
2494
|
+
"sourceCardId": {
|
|
2495
|
+
"type": [
|
|
2496
|
+
"integer",
|
|
2497
|
+
"null"
|
|
2498
|
+
],
|
|
2499
|
+
"format": "uint32",
|
|
2500
|
+
"minimum": 0
|
|
2501
|
+
}
|
|
2502
|
+
},
|
|
2503
|
+
"required": [
|
|
2504
|
+
"occurrenceSequence",
|
|
2505
|
+
"label"
|
|
2506
|
+
]
|
|
2507
|
+
},
|
|
2399
2508
|
"DelayedEffectTimingView": {
|
|
2400
2509
|
"description": "Public trigger point for a delayed effect.",
|
|
2401
2510
|
"oneOf": [
|
|
@@ -4651,6 +4760,28 @@
|
|
|
4651
4760
|
"chooseTriggeredAbilityPlayerOrder"
|
|
4652
4761
|
]
|
|
4653
4762
|
},
|
|
4763
|
+
{
|
|
4764
|
+
"type": "object",
|
|
4765
|
+
"properties": {
|
|
4766
|
+
"chooseDelayedEffectOrder": {
|
|
4767
|
+
"type": "object",
|
|
4768
|
+
"properties": {
|
|
4769
|
+
"occurrenceSequence": {
|
|
4770
|
+
"type": "integer",
|
|
4771
|
+
"format": "uint32",
|
|
4772
|
+
"minimum": 0
|
|
4773
|
+
}
|
|
4774
|
+
},
|
|
4775
|
+
"required": [
|
|
4776
|
+
"occurrenceSequence"
|
|
4777
|
+
]
|
|
4778
|
+
}
|
|
4779
|
+
},
|
|
4780
|
+
"additionalProperties": false,
|
|
4781
|
+
"required": [
|
|
4782
|
+
"chooseDelayedEffectOrder"
|
|
4783
|
+
]
|
|
4784
|
+
},
|
|
4654
4785
|
{
|
|
4655
4786
|
"type": "object",
|
|
4656
4787
|
"properties": {
|
|
@@ -5142,6 +5273,10 @@
|
|
|
5142
5273
|
"maximum": 32767,
|
|
5143
5274
|
"minimum": -32768
|
|
5144
5275
|
},
|
|
5276
|
+
"isCombat": {
|
|
5277
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5278
|
+
"type": "boolean"
|
|
5279
|
+
},
|
|
5145
5280
|
"unitId": {
|
|
5146
5281
|
"type": "integer",
|
|
5147
5282
|
"format": "uint64",
|
|
@@ -5258,6 +5393,10 @@
|
|
|
5258
5393
|
"maximum": 32767,
|
|
5259
5394
|
"minimum": -32768
|
|
5260
5395
|
},
|
|
5396
|
+
"isCombat": {
|
|
5397
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
5398
|
+
"type": "boolean"
|
|
5399
|
+
},
|
|
5261
5400
|
"seat": {
|
|
5262
5401
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
5263
5402
|
}
|
|
@@ -7261,6 +7400,7 @@
|
|
|
7261
7400
|
"type": "string",
|
|
7262
7401
|
"enum": [
|
|
7263
7402
|
"completedSeries",
|
|
7403
|
+
"abandoned",
|
|
7264
7404
|
"unsupportedSection",
|
|
7265
7405
|
"learnScenario",
|
|
7266
7406
|
"invalidAiTopology",
|
|
@@ -7278,11 +7418,23 @@
|
|
|
7278
7418
|
]
|
|
7279
7419
|
},
|
|
7280
7420
|
"HistoryStatus": {
|
|
7281
|
-
"description": "Durable history entry status.",
|
|
7282
|
-
"
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7421
|
+
"description": "Durable history entry status.\n\nLives here rather than the `server-protocol`-gated history module because\n`MatchRuntimeRecord` embeds it in every build, including wasm and bench.",
|
|
7422
|
+
"oneOf": [
|
|
7423
|
+
{
|
|
7424
|
+
"description": "Live checkpoint that can still be resumed when policy allows.",
|
|
7425
|
+
"type": "string",
|
|
7426
|
+
"const": "saved"
|
|
7427
|
+
},
|
|
7428
|
+
{
|
|
7429
|
+
"description": "Game or series reached its ordinary terminal result.",
|
|
7430
|
+
"type": "string",
|
|
7431
|
+
"const": "result"
|
|
7432
|
+
},
|
|
7433
|
+
{
|
|
7434
|
+
"description": "Host intentionally retired an unfinished Solo-versus-AI runtime.",
|
|
7435
|
+
"type": "string",
|
|
7436
|
+
"const": "abandoned"
|
|
7437
|
+
}
|
|
7286
7438
|
]
|
|
7287
7439
|
},
|
|
7288
7440
|
"InitiativeChoiceReason": {
|
|
@@ -8815,11 +8967,9 @@
|
|
|
8815
8967
|
"matchSeed": {
|
|
8816
8968
|
"description": "Fixed match seed when configured.",
|
|
8817
8969
|
"type": [
|
|
8818
|
-
"
|
|
8970
|
+
"string",
|
|
8819
8971
|
"null"
|
|
8820
|
-
]
|
|
8821
|
-
"format": "uint64",
|
|
8822
|
-
"minimum": 0
|
|
8972
|
+
]
|
|
8823
8973
|
},
|
|
8824
8974
|
"matchmaking": {
|
|
8825
8975
|
"anyOf": [
|
|
@@ -8834,11 +8984,9 @@
|
|
|
8834
8984
|
"packSeed": {
|
|
8835
8985
|
"description": "Fixed limited pack/leader seed when configured.",
|
|
8836
8986
|
"type": [
|
|
8837
|
-
"
|
|
8987
|
+
"string",
|
|
8838
8988
|
"null"
|
|
8839
|
-
]
|
|
8840
|
-
"format": "uint64",
|
|
8841
|
-
"minimum": 0
|
|
8989
|
+
]
|
|
8842
8990
|
},
|
|
8843
8991
|
"players": {
|
|
8844
8992
|
"type": "array",
|
|
@@ -9044,9 +9192,7 @@
|
|
|
9044
9192
|
},
|
|
9045
9193
|
"replaySeed": {
|
|
9046
9194
|
"description": "Resolved seed for a private solo-vs-AI match. Never projected in live state.",
|
|
9047
|
-
"type": "
|
|
9048
|
-
"format": "uint64",
|
|
9049
|
-
"minimum": 0
|
|
9195
|
+
"type": "string"
|
|
9050
9196
|
},
|
|
9051
9197
|
"seat": {
|
|
9052
9198
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
@@ -9263,9 +9409,7 @@
|
|
|
9263
9409
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistorySection"
|
|
9264
9410
|
},
|
|
9265
9411
|
"seed": {
|
|
9266
|
-
"type": "
|
|
9267
|
-
"format": "uint64",
|
|
9268
|
-
"minimum": 0
|
|
9412
|
+
"type": "string"
|
|
9269
9413
|
},
|
|
9270
9414
|
"series": true,
|
|
9271
9415
|
"sourceMatchId": {
|
|
@@ -10137,6 +10281,15 @@
|
|
|
10137
10281
|
}
|
|
10138
10282
|
]
|
|
10139
10283
|
},
|
|
10284
|
+
"revealedCardIds": {
|
|
10285
|
+
"description": "Publicly revealed cards which caused this instructed attack. Omitted\nfor ordinary attacks and intentionally projected only to chooser.",
|
|
10286
|
+
"type": "array",
|
|
10287
|
+
"items": {
|
|
10288
|
+
"type": "integer",
|
|
10289
|
+
"format": "uint32",
|
|
10290
|
+
"minimum": 0
|
|
10291
|
+
}
|
|
10292
|
+
},
|
|
10140
10293
|
"sourceCardId": {
|
|
10141
10294
|
"type": "integer",
|
|
10142
10295
|
"format": "uint32",
|
|
@@ -10184,6 +10337,15 @@
|
|
|
10184
10337
|
"minimum": 0
|
|
10185
10338
|
}
|
|
10186
10339
|
},
|
|
10340
|
+
"hiddenCandidateCardInstanceIds": {
|
|
10341
|
+
"description": "Physical candidates whose card identities remain hidden from chooser.",
|
|
10342
|
+
"type": "array",
|
|
10343
|
+
"items": {
|
|
10344
|
+
"type": "integer",
|
|
10345
|
+
"format": "uint32",
|
|
10346
|
+
"minimum": 0
|
|
10347
|
+
}
|
|
10348
|
+
},
|
|
10187
10349
|
"hiddenZone": {
|
|
10188
10350
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HiddenZoneKind"
|
|
10189
10351
|
},
|
|
@@ -10708,6 +10870,20 @@
|
|
|
10708
10870
|
"required": [
|
|
10709
10871
|
"type"
|
|
10710
10872
|
]
|
|
10873
|
+
},
|
|
10874
|
+
{
|
|
10875
|
+
"description": "One player chooses which of their simultaneous delayed effects resolves next.",
|
|
10876
|
+
"type": "object",
|
|
10877
|
+
"properties": {
|
|
10878
|
+
"type": {
|
|
10879
|
+
"type": "string",
|
|
10880
|
+
"const": "delayedEffectOrder"
|
|
10881
|
+
}
|
|
10882
|
+
},
|
|
10883
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/DelayedEffectOrderChoiceView",
|
|
10884
|
+
"required": [
|
|
10885
|
+
"type"
|
|
10886
|
+
]
|
|
10711
10887
|
}
|
|
10712
10888
|
]
|
|
10713
10889
|
},
|
|
@@ -11498,6 +11674,27 @@
|
|
|
11498
11674
|
"chooseTriggeredAbilityPlayerOrder"
|
|
11499
11675
|
]
|
|
11500
11676
|
},
|
|
11677
|
+
{
|
|
11678
|
+
"description": "Delayed-effect ordering prompt for one controller at one timing point.",
|
|
11679
|
+
"type": "object",
|
|
11680
|
+
"properties": {
|
|
11681
|
+
"chooseDelayedEffectOrder": {
|
|
11682
|
+
"type": "object",
|
|
11683
|
+
"properties": {
|
|
11684
|
+
"seat": {
|
|
11685
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
11686
|
+
}
|
|
11687
|
+
},
|
|
11688
|
+
"required": [
|
|
11689
|
+
"seat"
|
|
11690
|
+
]
|
|
11691
|
+
}
|
|
11692
|
+
},
|
|
11693
|
+
"additionalProperties": false,
|
|
11694
|
+
"required": [
|
|
11695
|
+
"chooseDelayedEffectOrder"
|
|
11696
|
+
]
|
|
11697
|
+
},
|
|
11501
11698
|
{
|
|
11502
11699
|
"description": "Regroup prompt asking each undecided seat whether to resource one card\nfrom hand.\nProduced by `round::regroup::{begin_regroup, continue_regroup}`; each\nplayer responds once with `ChooseRegroupResource`.",
|
|
11503
11700
|
"type": "object",
|
|
@@ -12368,6 +12565,81 @@
|
|
|
12368
12565
|
"available"
|
|
12369
12566
|
]
|
|
12370
12567
|
},
|
|
12568
|
+
"SimulatorReportResponse": {
|
|
12569
|
+
"description": "Full sanitized support bundle returned only by the simulator admin API.",
|
|
12570
|
+
"type": "object",
|
|
12571
|
+
"properties": {
|
|
12572
|
+
"bundle": true,
|
|
12573
|
+
"bundleAvailable": {
|
|
12574
|
+
"type": "boolean"
|
|
12575
|
+
},
|
|
12576
|
+
"failureKind": {
|
|
12577
|
+
"type": "string"
|
|
12578
|
+
},
|
|
12579
|
+
"firstOccurredAtMs": {
|
|
12580
|
+
"type": "integer",
|
|
12581
|
+
"format": "uint64",
|
|
12582
|
+
"minimum": 0
|
|
12583
|
+
},
|
|
12584
|
+
"matchId": {
|
|
12585
|
+
"type": "string",
|
|
12586
|
+
"format": "uuid"
|
|
12587
|
+
},
|
|
12588
|
+
"message": {
|
|
12589
|
+
"type": "string"
|
|
12590
|
+
},
|
|
12591
|
+
"occurredAtMs": {
|
|
12592
|
+
"type": "integer",
|
|
12593
|
+
"format": "uint64",
|
|
12594
|
+
"minimum": 0
|
|
12595
|
+
},
|
|
12596
|
+
"occurrenceCount": {
|
|
12597
|
+
"type": "integer",
|
|
12598
|
+
"format": "uint32",
|
|
12599
|
+
"minimum": 0
|
|
12600
|
+
},
|
|
12601
|
+
"operation": {
|
|
12602
|
+
"type": "string"
|
|
12603
|
+
},
|
|
12604
|
+
"reportId": {
|
|
12605
|
+
"type": "string",
|
|
12606
|
+
"format": "uuid"
|
|
12607
|
+
},
|
|
12608
|
+
"seat": {
|
|
12609
|
+
"anyOf": [
|
|
12610
|
+
{
|
|
12611
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
12612
|
+
},
|
|
12613
|
+
{
|
|
12614
|
+
"type": "null"
|
|
12615
|
+
}
|
|
12616
|
+
]
|
|
12617
|
+
},
|
|
12618
|
+
"snapshotRevision": {
|
|
12619
|
+
"type": [
|
|
12620
|
+
"integer",
|
|
12621
|
+
"null"
|
|
12622
|
+
],
|
|
12623
|
+
"format": "uint64",
|
|
12624
|
+
"minimum": 0
|
|
12625
|
+
},
|
|
12626
|
+
"source": {
|
|
12627
|
+
"type": "string"
|
|
12628
|
+
}
|
|
12629
|
+
},
|
|
12630
|
+
"required": [
|
|
12631
|
+
"reportId",
|
|
12632
|
+
"firstOccurredAtMs",
|
|
12633
|
+
"occurredAtMs",
|
|
12634
|
+
"occurrenceCount",
|
|
12635
|
+
"matchId",
|
|
12636
|
+
"source",
|
|
12637
|
+
"operation",
|
|
12638
|
+
"failureKind",
|
|
12639
|
+
"bundleAvailable",
|
|
12640
|
+
"message"
|
|
12641
|
+
]
|
|
12642
|
+
},
|
|
12371
12643
|
"SimulatorReportSummary": {
|
|
12372
12644
|
"description": "Metadata safe to return in administrator report lists.",
|
|
12373
12645
|
"type": "object",
|
|
@@ -13361,20 +13633,16 @@
|
|
|
13361
13633
|
"matchSeed": {
|
|
13362
13634
|
"description": "Fixed duel match seed when configured.",
|
|
13363
13635
|
"type": [
|
|
13364
|
-
"
|
|
13636
|
+
"string",
|
|
13365
13637
|
"null"
|
|
13366
|
-
]
|
|
13367
|
-
"format": "uint64",
|
|
13368
|
-
"minimum": 0
|
|
13638
|
+
]
|
|
13369
13639
|
},
|
|
13370
13640
|
"packSeed": {
|
|
13371
13641
|
"description": "Fixed limited pack/leader seed when configured.",
|
|
13372
13642
|
"type": [
|
|
13373
|
-
"
|
|
13643
|
+
"string",
|
|
13374
13644
|
"null"
|
|
13375
|
-
]
|
|
13376
|
-
"format": "uint64",
|
|
13377
|
-
"minimum": 0
|
|
13645
|
+
]
|
|
13378
13646
|
},
|
|
13379
13647
|
"players": {
|
|
13380
13648
|
"type": "array",
|
|
@@ -39,11 +39,9 @@
|
|
|
39
39
|
"seed": {
|
|
40
40
|
"description": "Optional deterministic seed for generated boosters and draft leaders.",
|
|
41
41
|
"type": [
|
|
42
|
-
"
|
|
42
|
+
"string",
|
|
43
43
|
"null"
|
|
44
|
-
]
|
|
45
|
-
"format": "uint64",
|
|
46
|
-
"minimum": 0
|
|
44
|
+
]
|
|
47
45
|
},
|
|
48
46
|
"setCode": {
|
|
49
47
|
"description": "Set code used for booster generation.",
|
|
@@ -37,20 +37,16 @@
|
|
|
37
37
|
"matchSeed": {
|
|
38
38
|
"description": "Optional deterministic seed reused for limited duel matches.",
|
|
39
39
|
"type": [
|
|
40
|
-
"
|
|
40
|
+
"string",
|
|
41
41
|
"null"
|
|
42
|
-
]
|
|
43
|
-
"format": "uint64",
|
|
44
|
-
"minimum": 0
|
|
42
|
+
]
|
|
45
43
|
},
|
|
46
44
|
"packSeed": {
|
|
47
45
|
"description": "Optional deterministic seed for limited pack/leader generation.",
|
|
48
46
|
"type": [
|
|
49
|
-
"
|
|
47
|
+
"string",
|
|
50
48
|
"null"
|
|
51
|
-
]
|
|
52
|
-
"format": "uint64",
|
|
53
|
-
"minimum": 0
|
|
49
|
+
]
|
|
54
50
|
},
|
|
55
51
|
"visibility": {
|
|
56
52
|
"description": "Whether the lobby should appear in public browsing surfaces.",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "CreateMatchHistoryReplayShareRequest",
|
|
4
|
+
"description": "Participant-authorized request to create one permanent replay-share link.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"identities": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryIdentityInput"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"includeHiddenInformation": {
|
|
14
|
+
"description": "Whether this capability may retrieve post-match private-zone views.",
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"identities",
|
|
20
|
+
"includeHiddenInformation"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "CreateMatchHistoryReplayShareResponse",
|
|
4
|
+
"description": "Opaque capability returned after a participant creates a replay share.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"shareToken": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"required": [
|
|
13
|
+
"shareToken"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -104,11 +104,10 @@
|
|
|
104
104
|
"seed": {
|
|
105
105
|
"description": "Optional deterministic match seed.",
|
|
106
106
|
"type": [
|
|
107
|
-
"
|
|
107
|
+
"string",
|
|
108
108
|
"null"
|
|
109
109
|
],
|
|
110
|
-
"
|
|
111
|
-
"minimum": 0
|
|
110
|
+
"default": null
|
|
112
111
|
}
|
|
113
112
|
},
|
|
114
113
|
"additionalProperties": false,
|
|
@@ -48,20 +48,16 @@
|
|
|
48
48
|
"matchSeed": {
|
|
49
49
|
"description": "Optional deterministic seed reused for every duel table match.",
|
|
50
50
|
"type": [
|
|
51
|
-
"
|
|
51
|
+
"string",
|
|
52
52
|
"null"
|
|
53
|
-
]
|
|
54
|
-
"format": "uint64",
|
|
55
|
-
"minimum": 0
|
|
53
|
+
]
|
|
56
54
|
},
|
|
57
55
|
"packSeed": {
|
|
58
56
|
"description": "Optional deterministic seed for limited pack/leader generation.",
|
|
59
57
|
"type": [
|
|
60
|
-
"
|
|
58
|
+
"string",
|
|
61
59
|
"null"
|
|
62
|
-
]
|
|
63
|
-
"format": "uint64",
|
|
64
|
-
"minimum": 0
|
|
60
|
+
]
|
|
65
61
|
},
|
|
66
62
|
"pickTimerEnabled": {
|
|
67
63
|
"description": "Enables the per-pick countdown with auto-pick on timeout (draft only).",
|
|
@@ -733,6 +733,28 @@
|
|
|
733
733
|
"chooseTriggeredAbilityPlayerOrder"
|
|
734
734
|
]
|
|
735
735
|
},
|
|
736
|
+
{
|
|
737
|
+
"type": "object",
|
|
738
|
+
"properties": {
|
|
739
|
+
"chooseDelayedEffectOrder": {
|
|
740
|
+
"type": "object",
|
|
741
|
+
"properties": {
|
|
742
|
+
"occurrenceSequence": {
|
|
743
|
+
"type": "integer",
|
|
744
|
+
"format": "uint32",
|
|
745
|
+
"minimum": 0
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"required": [
|
|
749
|
+
"occurrenceSequence"
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"additionalProperties": false,
|
|
754
|
+
"required": [
|
|
755
|
+
"chooseDelayedEffectOrder"
|
|
756
|
+
]
|
|
757
|
+
},
|
|
736
758
|
{
|
|
737
759
|
"type": "object",
|
|
738
760
|
"properties": {
|
|
@@ -425,6 +425,10 @@
|
|
|
425
425
|
"maximum": 32767,
|
|
426
426
|
"minimum": -32768
|
|
427
427
|
},
|
|
428
|
+
"isCombat": {
|
|
429
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
},
|
|
428
432
|
"unitId": {
|
|
429
433
|
"type": "integer",
|
|
430
434
|
"format": "uint64",
|
|
@@ -541,6 +545,10 @@
|
|
|
541
545
|
"maximum": 32767,
|
|
542
546
|
"minimum": -32768
|
|
543
547
|
},
|
|
548
|
+
"isCombat": {
|
|
549
|
+
"description": "Whether this damage packet came from combat rather than an ability,\ncounter, cost, or indirect-damage effect.",
|
|
550
|
+
"type": "boolean"
|
|
551
|
+
},
|
|
544
552
|
"seat": {
|
|
545
553
|
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/Seat"
|
|
546
554
|
}
|
package/schema/manifest.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "e4a6c8c3043fdb5779d215ad8f673458da5a45bd6d196f0dbd5cc721aa189045",
|
|
3
3
|
"files": [
|
|
4
|
+
"admin-match-list-response.schema.json",
|
|
5
|
+
"admin-match-debug-bundle.schema.json",
|
|
6
|
+
"admin-match-replay-response.schema.json",
|
|
4
7
|
"simulator-report-list-response.schema.json",
|
|
5
8
|
"simulator-report-response.schema.json",
|
|
6
9
|
"health-response.schema.json",
|
|
@@ -101,9 +104,16 @@
|
|
|
101
104
|
"match-history-entry.schema.json",
|
|
102
105
|
"match-history-replay-request.schema.json",
|
|
103
106
|
"match-history-replay-response.schema.json",
|
|
107
|
+
"create-match-history-replay-share-request.schema.json",
|
|
108
|
+
"create-match-history-replay-share-response.schema.json",
|
|
109
|
+
"shared-match-history-replay-response.schema.json",
|
|
104
110
|
"match-chat-lookup-response.schema.json",
|
|
105
111
|
"match-history-restore-request.schema.json",
|
|
106
112
|
"restore-history-response.schema.json",
|
|
113
|
+
"match-recovery-request.schema.json",
|
|
114
|
+
"match-recovery-response.schema.json",
|
|
115
|
+
"match-access-recovery-request.schema.json",
|
|
116
|
+
"match-access-recovery-response.schema.json",
|
|
107
117
|
"cards-response.schema.json",
|
|
108
118
|
"resolve-card-ids-request.schema.json",
|
|
109
119
|
"resolve-card-ids-response.schema.json",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "MatchAccessRecoveryRequest",
|
|
4
|
+
"description": "Ownership proof used to recover current access for one live Solo-versus-AI\nmatch when browser-stored seat credentials are stale.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"identities": {
|
|
8
|
+
"type": "array",
|
|
9
|
+
"items": {
|
|
10
|
+
"$ref": "https://simulator-sdk.my-swu.com/schema/common.json#/$defs/HistoryIdentityInput"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"identities"
|
|
16
|
+
]
|
|
17
|
+
}
|