@seriousgaming/sdk-tools 1.8.0 → 1.9.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/dist/{cli-W7XCTGQ7.js → cli-2BF7KBBJ.js} +10 -10
- package/dist/{cli-7S4G4EKK.js → cli-2CSI2UU2.js} +1 -1
- package/dist/{cli-UZCQL6YP.js → cli-2I6UN6C3.js} +2 -2
- package/dist/{cli-KFVA7DT3.js → cli-2JEICVMA.js} +2 -2
- package/dist/{cli-SPKPDXWD.js → cli-2PMLR6WG.js} +10 -10
- package/dist/{cli-ZSKP2IRP.js → cli-2UOUIVHW.js} +8 -8
- package/dist/{cli-QDIH2G2P.js → cli-2VV5IPSY.js} +10 -10
- package/dist/{cli-5SYPXJCB.js → cli-35K37SYY.js} +7 -7
- package/dist/{cli-XPJGW375.js → cli-3I6AI4AA.js} +14 -14
- package/dist/{cli-UTHPCZYL.js → cli-3RMP4HKZ.js} +2 -2
- package/dist/{cli-C2XDL4LD.js → cli-3YGNWZC6.js} +8 -8
- package/dist/{cli-6NBER36P.js → cli-4L7S27XO.js} +1 -1
- package/dist/{cli-BQ3FHENQ.js → cli-4X3X4HB2.js} +5 -5
- package/dist/{cli-66AHBZRZ.js → cli-5BPQ73OM.js} +10 -10
- package/dist/{cli-O3IMNLN2.js → cli-5PTCQTS6.js} +1 -1
- package/dist/{cli-27M4PX7O.js → cli-6COAU7JR.js} +12 -12
- package/dist/{cli-32NRB2IT.js → cli-6KL5B7EC.js} +10 -10
- package/dist/{cli-JQ6I5GGE.js → cli-6Y4XIVQS.js} +1 -1
- package/dist/{cli-MM2ROZWO.js → cli-6ZBQELF2.js} +14 -14
- package/dist/{cli-726NJARI.js → cli-7N7WFRWA.js} +0 -0
- package/dist/{cli-3HPAKEJJ.js → cli-7OCEVQQN.js} +1 -1
- package/dist/{cli-JOXCAGM7.js → cli-7RLZIWFP.js} +13 -13
- package/dist/{cli-KU4PG7ZA.js → cli-A3P3PO6Z.js} +10 -10
- package/dist/{cli-KMT235FV.js → cli-A7PITFRR.js} +1 -1
- package/dist/{cli-ZFY6TGU7.js → cli-AA5GMEUL.js} +2 -2
- package/dist/{cli-HC7L5DXV.js → cli-AJ5CABGJ.js} +7 -7
- package/dist/{cli-DPFN2LIZ.js → cli-B5LZEFLU.js} +11 -11
- package/dist/{cli-42ZUP4X3.js → cli-BF6L37O3.js} +3 -3
- package/dist/{cli-YLYB4ITF.js → cli-BNN36WZJ.js} +7 -7
- package/dist/{cli-UADUC4JD.js → cli-BT47H36C.js} +2 -2
- package/dist/{cli-UYV3BDPA.js → cli-BV7MX7JE.js} +2 -2
- package/dist/{cli-NGOQWOQE.js → cli-BYXNPBVG.js} +11 -11
- package/dist/{cli-PLW3TWJ7.js → cli-CKV44U7P.js} +13 -13
- package/dist/{cli-V5K3CCYZ.js → cli-CL3KF5KS.js} +2 -2
- package/dist/{cli-U2EWI6H5.js → cli-CPX4YA3P.js} +8 -8
- package/dist/{cli-4B5OBHSY.js → cli-CQUSM3SF.js} +13 -13
- package/dist/{cli-TJNLXQJ5.js → cli-CUZUIYCQ.js} +14 -14
- package/dist/{cli-HQUVSAHY.js → cli-D6AC3ZCX.js} +12 -12
- package/dist/{cli-ESU3J563.js → cli-DJCQ5XFR.js} +10 -10
- package/dist/{cli-5CG6BMCY.js → cli-DNCJURUU.js} +14 -14
- package/dist/{cli-7GJGFILU.js → cli-E77R7ZYB.js} +10 -10
- package/dist/{cli-D3CZRXVJ.js → cli-EDZF5Q2E.js} +7 -7
- package/dist/{cli-PPEB3ENS.js → cli-G54355N5.js} +12 -12
- package/dist/{cli-SOQJHK4Q.js → cli-G7JTIP5G.js} +3 -3
- package/dist/{cli-MPU4FLA7.js → cli-GHQIATHP.js} +2 -2
- package/dist/{cli-FSEDPZR5.js → cli-GZE4V7RC.js} +13 -13
- package/dist/{cli-3OVXQJEW.js → cli-H7T6E7OA.js} +1 -1
- package/dist/{cli-5P66N5G6.js → cli-HCMVZXWK.js} +12 -12
- package/dist/{cli-5FRKWNVP.js → cli-ICLCA6VD.js} +13 -13
- package/dist/{cli-BXCCODYD.js → cli-IJPRZSJ5.js} +13 -13
- package/dist/{cli-HMEZHQBC.js → cli-J75EBRAJ.js} +12 -12
- package/dist/{cli-SWUAXVIJ.js → cli-JEMWAIAA.js} +10 -10
- package/dist/{cli-6BAZE75K.js → cli-KD2RQS35.js} +12 -12
- package/dist/{cli-W7Y7X3FX.js → cli-KGJHEDR2.js} +12 -12
- package/dist/{cli-ME3JKMJL.js → cli-KINJAQTJ.js} +13 -13
- package/dist/{cli-WWNTBK37.js → cli-KJV3GGBA.js} +1 -1
- package/dist/{cli-GFONBOJT.js → cli-KO26S2CL.js} +5 -5
- package/dist/{cli-QAI6T5FL.js → cli-L5ZKQNMI.js} +10 -10
- package/dist/{cli-L4DEEAMK.js → cli-LFUKHLHI.js} +12 -12
- package/dist/{cli-72DRYVTT.js → cli-LZFUSEJT.js} +9 -9
- package/dist/{cli-2KDV2DYC.js → cli-MSSJLABW.js} +1 -1
- package/dist/{cli-KH6FKM5A.js → cli-MTAGL3QE.js} +10 -10
- package/dist/{cli-FH4WBZHA.js → cli-MX7GFQ6N.js} +8 -8
- package/dist/{cli-DT756M3Z.js → cli-MYBDWJP7.js} +14 -14
- package/dist/{cli-6FVHRL3H.js → cli-MZM4MW7C.js} +12 -12
- package/dist/{cli-PEY6XZDE.js → cli-NTI22MRE.js} +11 -11
- package/dist/{cli-EK7CGMGS.js → cli-OK6XWVIN.js} +10 -10
- package/dist/{cli-F47ELAXM.js → cli-OOTGO3KW.js} +47 -47
- package/dist/{cli-4EMNCU63.js → cli-OX3254NS.js} +10 -10
- package/dist/{cli-VBSF3R3L.js → cli-PJO4BKSV.js} +11 -11
- package/dist/{cli-MJ65PIYI.js → cli-QIHVXDMW.js} +10 -10
- package/dist/{cli-2QM63J3I.js → cli-QK2OD24J.js} +1 -1
- package/dist/{cli-E665NKUQ.js → cli-QRAYIXNE.js} +1 -1
- package/dist/{cli-Q5BKFFDL.js → cli-QWO3XJR3.js} +3 -3
- package/dist/{cli-FHKRO6OU.js → cli-R6YAZP6E.js} +13 -13
- package/dist/{cli-VQ4OJ4KE.js → cli-RHYQYXE2.js} +11 -11
- package/dist/{cli-PZ7G544B.js → cli-RL5EBZL7.js} +1 -1
- package/dist/{cli-G7FX7ZIU.js → cli-S3YIYAXC.js} +7 -7
- package/dist/{cli-N5K2KHPR.js → cli-S7PLSPGE.js} +10 -10
- package/dist/{cli-JA6UFTSX.js → cli-SBKTGFY4.js} +12 -12
- package/dist/{cli-3OCKRPXI.js → cli-TLRTLTGK.js} +11 -11
- package/dist/{cli-SN7D7HTX.js → cli-UKC7KXWU.js} +14 -14
- package/dist/{cli-CAX4CQTC.js → cli-USBJQAYI.js} +9 -9
- package/dist/{cli-6AGWTGTO.js → cli-VRGVHSXH.js} +5 -5
- package/dist/{cli-QAVLRCQ5.js → cli-W4BHSBAX.js} +1 -1
- package/dist/{cli-V7L3HEL4.js → cli-WA2PDQUB.js} +14 -14
- package/dist/{cli-7NCVUM5U.js → cli-WJO75KP7.js} +1 -1
- package/dist/{cli-3HZGJRQW.js → cli-XA4IL7IM.js} +5 -5
- package/dist/{cli-PO2ALWHP.js → cli-XRVH5WV6.js} +7 -7
- package/dist/{cli-FV45UZQP.js → cli-YD4SBAHQ.js} +13 -13
- package/dist/{cli-C7YZNPWX.js → cli-YI3WZF3C.js} +8 -8
- package/dist/{cli-3HBYH4VF.js → cli-ZHFHOWJI.js} +8 -8
- package/dist/{cli-OUFXSQOW.js → cli-ZZSPFLTK.js} +1 -1
- package/dist/cli.js +35 -35
- package/dist/docs/changelog.md +10 -0
- package/dist/docs/guides/setup.md +48 -8
- package/dist/docs/page-index.md +4 -3
- package/dist/docs/recipes/create-setup.md +18 -10
- package/dist/docs/recipes/give-setup-a-menu.md +90 -0
- package/dist/docs/recipes/index.md +1 -0
- package/dist/docs/recipes/write-setup-notes.md +13 -14
- package/dist/runtime/manifest-version.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +3 -3
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
updateSettingsEditor
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import "./cli-
|
|
6
|
-
import "./cli-
|
|
4
|
+
} from "./cli-S3YIYAXC.js";
|
|
5
|
+
import "./cli-BV7MX7JE.js";
|
|
6
|
+
import "./cli-A7PITFRR.js";
|
|
7
7
|
import "./cli-S5IVGDDD.js";
|
|
8
|
-
import "./cli-
|
|
8
|
+
import "./cli-7OCEVQQN.js";
|
|
9
9
|
import "./cli-3VV2JLHX.js";
|
|
10
|
-
import "./cli-
|
|
10
|
+
import "./cli-GHQIATHP.js";
|
|
11
11
|
import "./cli-VTLFQHDO.js";
|
|
12
12
|
import "./cli-QUNIRH7A.js";
|
|
13
|
-
import "./cli-
|
|
13
|
+
import "./cli-3RMP4HKZ.js";
|
|
14
14
|
import "./cli-BC4KKNLA.js";
|
|
15
|
-
import "./cli-
|
|
16
|
-
import "./cli-
|
|
17
|
-
import "./cli-
|
|
15
|
+
import "./cli-BT47H36C.js";
|
|
16
|
+
import "./cli-QK2OD24J.js";
|
|
17
|
+
import "./cli-W4BHSBAX.js";
|
|
18
18
|
import "./cli-NU4SCD5D.js";
|
|
19
|
-
import "./cli-
|
|
20
|
-
import "./cli-
|
|
21
|
-
import "./cli-
|
|
22
|
-
import "./cli-
|
|
19
|
+
import "./cli-2I6UN6C3.js";
|
|
20
|
+
import "./cli-G7JTIP5G.js";
|
|
21
|
+
import "./cli-2CSI2UU2.js";
|
|
22
|
+
import "./cli-5PTCQTS6.js";
|
|
23
23
|
import "./cli-25RWY5BQ.js";
|
|
24
24
|
import "./cli-QWQMPCL6.js";
|
|
25
|
-
import "./cli-
|
|
25
|
+
import "./cli-ZZSPFLTK.js";
|
|
26
26
|
import "./cli-F2D4GGUA.js";
|
|
27
27
|
import "./cli-DMKRP33X.js";
|
|
28
28
|
import "./cli-AEAFLZGY.js";
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import {
|
|
3
3
|
deleteFacilitatorGuideFiles,
|
|
4
4
|
findFacilitatorGuideReferences
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-CL3KF5KS.js";
|
|
6
6
|
import {
|
|
7
7
|
loadPackageContext
|
|
8
8
|
} from "./cli-BC4KKNLA.js";
|
|
9
|
-
import "./cli-
|
|
10
|
-
import "./cli-
|
|
9
|
+
import "./cli-BT47H36C.js";
|
|
10
|
+
import "./cli-QK2OD24J.js";
|
|
11
11
|
import {
|
|
12
12
|
operationError,
|
|
13
13
|
recordOperationResult
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-W4BHSBAX.js";
|
|
15
15
|
import {
|
|
16
16
|
confirmAction
|
|
17
17
|
} from "./cli-NU4SCD5D.js";
|
|
18
|
-
import "./cli-
|
|
19
|
-
import "./cli-
|
|
20
|
-
import "./cli-
|
|
21
|
-
import "./cli-
|
|
18
|
+
import "./cli-2I6UN6C3.js";
|
|
19
|
+
import "./cli-G7JTIP5G.js";
|
|
20
|
+
import "./cli-2CSI2UU2.js";
|
|
21
|
+
import "./cli-5PTCQTS6.js";
|
|
22
22
|
import "./cli-25RWY5BQ.js";
|
|
23
23
|
import "./cli-QWQMPCL6.js";
|
|
24
|
-
import "./cli-
|
|
24
|
+
import "./cli-ZZSPFLTK.js";
|
|
25
25
|
import "./cli-F2D4GGUA.js";
|
|
26
26
|
import {
|
|
27
27
|
logger
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
validateUIFiles,
|
|
13
13
|
validateUserInterface,
|
|
14
14
|
validateValidator
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-4L7S27XO.js";
|
|
16
16
|
import {
|
|
17
17
|
fileSettingDeclarationErrors,
|
|
18
18
|
isChapterEmpty,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
referenceLocale,
|
|
22
22
|
settingReferences,
|
|
23
23
|
strayFences
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-KJV3GGBA.js";
|
|
25
25
|
import {
|
|
26
26
|
validateTsTypes
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-2CSI2UU2.js";
|
|
28
28
|
import {
|
|
29
29
|
LogicLoader,
|
|
30
30
|
SCENARIO_VALIDATION,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
isBlocking,
|
|
35
35
|
resolveCapabilityScope,
|
|
36
36
|
runScenarioGates
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-5PTCQTS6.js";
|
|
38
38
|
import {
|
|
39
39
|
describeAssetByReference
|
|
40
40
|
} from "./cli-QWQMPCL6.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
teamsMaxOf,
|
|
66
66
|
unenforceableLockMessage,
|
|
67
67
|
unenforceableLocks
|
|
68
|
-
} from "./cli-
|
|
68
|
+
} from "./cli-ZZSPFLTK.js";
|
|
69
69
|
|
|
70
70
|
// cli/validation/package-validation.ts
|
|
71
71
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createSettingsEditor
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import "./cli-
|
|
6
|
-
import "./cli-
|
|
4
|
+
} from "./cli-S3YIYAXC.js";
|
|
5
|
+
import "./cli-BV7MX7JE.js";
|
|
6
|
+
import "./cli-A7PITFRR.js";
|
|
7
7
|
import "./cli-S5IVGDDD.js";
|
|
8
|
-
import "./cli-
|
|
8
|
+
import "./cli-7OCEVQQN.js";
|
|
9
9
|
import "./cli-3VV2JLHX.js";
|
|
10
|
-
import "./cli-
|
|
10
|
+
import "./cli-GHQIATHP.js";
|
|
11
11
|
import "./cli-VTLFQHDO.js";
|
|
12
12
|
import "./cli-QUNIRH7A.js";
|
|
13
|
-
import "./cli-
|
|
13
|
+
import "./cli-3RMP4HKZ.js";
|
|
14
14
|
import "./cli-BC4KKNLA.js";
|
|
15
|
-
import "./cli-
|
|
16
|
-
import "./cli-
|
|
17
|
-
import "./cli-
|
|
15
|
+
import "./cli-BT47H36C.js";
|
|
16
|
+
import "./cli-QK2OD24J.js";
|
|
17
|
+
import "./cli-W4BHSBAX.js";
|
|
18
18
|
import "./cli-NU4SCD5D.js";
|
|
19
|
-
import "./cli-
|
|
20
|
-
import "./cli-
|
|
21
|
-
import "./cli-
|
|
22
|
-
import "./cli-
|
|
19
|
+
import "./cli-2I6UN6C3.js";
|
|
20
|
+
import "./cli-G7JTIP5G.js";
|
|
21
|
+
import "./cli-2CSI2UU2.js";
|
|
22
|
+
import "./cli-5PTCQTS6.js";
|
|
23
23
|
import "./cli-25RWY5BQ.js";
|
|
24
24
|
import "./cli-QWQMPCL6.js";
|
|
25
|
-
import "./cli-
|
|
25
|
+
import "./cli-ZZSPFLTK.js";
|
|
26
26
|
import "./cli-F2D4GGUA.js";
|
|
27
27
|
import "./cli-DMKRP33X.js";
|
|
28
28
|
import "./cli-AEAFLZGY.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveSession
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-QRAYIXNE.js";
|
|
5
5
|
import "./cli-HJPNNORV.js";
|
|
6
|
-
import "./cli-
|
|
6
|
+
import "./cli-BF6L37O3.js";
|
|
7
7
|
import "./cli-K6M6YB67.js";
|
|
8
8
|
import "./cli-Y33ULHYO.js";
|
|
9
|
-
import "./cli-
|
|
9
|
+
import "./cli-KJV3GGBA.js";
|
|
10
10
|
import "./cli-4LKXZQ2B.js";
|
|
11
11
|
import "./cli-7CW2BBJG.js";
|
|
12
12
|
import "./cli-QUNIRH7A.js";
|
|
13
|
-
import "./cli-
|
|
13
|
+
import "./cli-5PTCQTS6.js";
|
|
14
14
|
import "./cli-25RWY5BQ.js";
|
|
15
15
|
import "./cli-QWQMPCL6.js";
|
|
16
|
-
import "./cli-
|
|
16
|
+
import "./cli-ZZSPFLTK.js";
|
|
17
17
|
import "./cli-F2D4GGUA.js";
|
|
18
18
|
import "./cli-DMKRP33X.js";
|
|
19
19
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveSession
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-QRAYIXNE.js";
|
|
5
5
|
import "./cli-HJPNNORV.js";
|
|
6
6
|
import {
|
|
7
7
|
emit,
|
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
sessionSummary,
|
|
12
12
|
teamCountFromFlag,
|
|
13
13
|
tickReport
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import "./cli-
|
|
16
|
-
import "./cli-
|
|
14
|
+
} from "./cli-QWO3XJR3.js";
|
|
15
|
+
import "./cli-7N7WFRWA.js";
|
|
16
|
+
import "./cli-BF6L37O3.js";
|
|
17
17
|
import "./cli-K6M6YB67.js";
|
|
18
18
|
import "./cli-Y33ULHYO.js";
|
|
19
|
-
import "./cli-
|
|
19
|
+
import "./cli-KJV3GGBA.js";
|
|
20
20
|
import "./cli-4LKXZQ2B.js";
|
|
21
21
|
import "./cli-7CW2BBJG.js";
|
|
22
22
|
import "./cli-QUNIRH7A.js";
|
|
23
|
-
import "./cli-
|
|
23
|
+
import "./cli-5PTCQTS6.js";
|
|
24
24
|
import "./cli-25RWY5BQ.js";
|
|
25
25
|
import "./cli-QWQMPCL6.js";
|
|
26
|
-
import "./cli-
|
|
26
|
+
import "./cli-ZZSPFLTK.js";
|
|
27
27
|
import "./cli-F2D4GGUA.js";
|
|
28
28
|
import "./cli-DMKRP33X.js";
|
|
29
29
|
import "./cli-AEAFLZGY.js";
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
promptForSettings
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-RL5EBZL7.js";
|
|
5
5
|
import {
|
|
6
6
|
loadResourceIdentifiers
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-BV7MX7JE.js";
|
|
8
8
|
import {
|
|
9
9
|
readAuthoredBundle
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-7OCEVQQN.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveInputSource
|
|
13
13
|
} from "./cli-3VV2JLHX.js";
|
|
14
14
|
import {
|
|
15
15
|
createPresentationFiles
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-GHQIATHP.js";
|
|
17
17
|
import "./cli-VTLFQHDO.js";
|
|
18
18
|
import "./cli-QUNIRH7A.js";
|
|
19
|
-
import "./cli-
|
|
19
|
+
import "./cli-3RMP4HKZ.js";
|
|
20
20
|
import {
|
|
21
21
|
loadPackageContext
|
|
22
22
|
} from "./cli-BC4KKNLA.js";
|
|
23
23
|
import {
|
|
24
24
|
presentFields
|
|
25
|
-
} from "./cli-
|
|
26
|
-
import "./cli-
|
|
25
|
+
} from "./cli-BT47H36C.js";
|
|
26
|
+
import "./cli-QK2OD24J.js";
|
|
27
27
|
import {
|
|
28
28
|
BUILD_COMMAND,
|
|
29
29
|
generateTypes,
|
|
30
30
|
operationError,
|
|
31
31
|
printOperationResult
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-W4BHSBAX.js";
|
|
33
33
|
import {
|
|
34
34
|
checkbox,
|
|
35
35
|
input
|
|
36
36
|
} from "./cli-NU4SCD5D.js";
|
|
37
|
-
import "./cli-
|
|
38
|
-
import "./cli-
|
|
39
|
-
import "./cli-
|
|
40
|
-
import "./cli-
|
|
37
|
+
import "./cli-2I6UN6C3.js";
|
|
38
|
+
import "./cli-G7JTIP5G.js";
|
|
39
|
+
import "./cli-2CSI2UU2.js";
|
|
40
|
+
import "./cli-5PTCQTS6.js";
|
|
41
41
|
import "./cli-25RWY5BQ.js";
|
|
42
42
|
import "./cli-QWQMPCL6.js";
|
|
43
43
|
import {
|
|
44
44
|
validateSDKPresentation
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-ZZSPFLTK.js";
|
|
46
46
|
import "./cli-F2D4GGUA.js";
|
|
47
47
|
import {
|
|
48
48
|
logger
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runResourceCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-WJO75KP7.js";
|
|
5
5
|
import {
|
|
6
6
|
RESOURCE_DESCRIPTORS_BY_TYPE,
|
|
7
7
|
supportedTypes
|
|
8
|
-
} from "./cli-
|
|
9
|
-
import "./cli-
|
|
8
|
+
} from "./cli-OOTGO3KW.js";
|
|
9
|
+
import "./cli-W4BHSBAX.js";
|
|
10
10
|
import "./cli-NU4SCD5D.js";
|
|
11
|
-
import "./cli-
|
|
12
|
-
import "./cli-
|
|
13
|
-
import "./cli-
|
|
14
|
-
import "./cli-
|
|
11
|
+
import "./cli-2I6UN6C3.js";
|
|
12
|
+
import "./cli-G7JTIP5G.js";
|
|
13
|
+
import "./cli-2CSI2UU2.js";
|
|
14
|
+
import "./cli-5PTCQTS6.js";
|
|
15
15
|
import "./cli-25RWY5BQ.js";
|
|
16
16
|
import "./cli-QWQMPCL6.js";
|
|
17
|
-
import "./cli-
|
|
17
|
+
import "./cli-ZZSPFLTK.js";
|
|
18
18
|
import "./cli-F2D4GGUA.js";
|
|
19
19
|
import "./cli-DMKRP33X.js";
|
|
20
20
|
import {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runResourceCommand
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-WJO75KP7.js";
|
|
5
5
|
import {
|
|
6
6
|
RESOURCE_DESCRIPTORS_BY_TYPE,
|
|
7
7
|
supportedTypes
|
|
8
|
-
} from "./cli-
|
|
9
|
-
import "./cli-
|
|
8
|
+
} from "./cli-OOTGO3KW.js";
|
|
9
|
+
import "./cli-W4BHSBAX.js";
|
|
10
10
|
import "./cli-NU4SCD5D.js";
|
|
11
|
-
import "./cli-
|
|
12
|
-
import "./cli-
|
|
13
|
-
import "./cli-
|
|
14
|
-
import "./cli-
|
|
11
|
+
import "./cli-2I6UN6C3.js";
|
|
12
|
+
import "./cli-G7JTIP5G.js";
|
|
13
|
+
import "./cli-2CSI2UU2.js";
|
|
14
|
+
import "./cli-5PTCQTS6.js";
|
|
15
15
|
import "./cli-25RWY5BQ.js";
|
|
16
16
|
import "./cli-QWQMPCL6.js";
|
|
17
|
-
import "./cli-
|
|
17
|
+
import "./cli-ZZSPFLTK.js";
|
|
18
18
|
import "./cli-F2D4GGUA.js";
|
|
19
19
|
import "./cli-DMKRP33X.js";
|
|
20
20
|
import {
|
|
@@ -3116,7 +3116,7 @@ function packageRelativePath(file, packageRoot) {
|
|
|
3116
3116
|
|
|
3117
3117
|
// cli/runtime/manifest-version.ts
|
|
3118
3118
|
var MANIFEST_VERSION = 3;
|
|
3119
|
-
var SPEC_REVISION = "1.
|
|
3119
|
+
var SPEC_REVISION = "1.8";
|
|
3120
3120
|
var SUPPORTED_FEATURES = [
|
|
3121
3121
|
// A validator's `Scenario` gate (§15.8).
|
|
3122
3122
|
"scenario-validation",
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
RESOURCE_DESCRIPTORS,
|
|
4
4
|
lazy
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-OOTGO3KW.js";
|
|
6
6
|
import {
|
|
7
7
|
DEV_PORT_ENV_VAR,
|
|
8
8
|
ERROR_OVERLAY_ENV_VAR,
|
|
@@ -139,27 +139,27 @@ function newFileHelp(spec) {
|
|
|
139
139
|
|
|
140
140
|
// cli/program.ts
|
|
141
141
|
var blobUploadCommand = lazy(() => import("./cli-UR63LFVK.js"), "blobUploadCommand");
|
|
142
|
-
var buildCommand = lazy(() => import("./cli-
|
|
143
|
-
var buildEngineCommand = lazy(() => import("./cli-
|
|
142
|
+
var buildCommand = lazy(() => import("./cli-2UOUIVHW.js"), "buildCommand");
|
|
143
|
+
var buildEngineCommand = lazy(() => import("./cli-AA5GMEUL.js"), "buildEngineCommand");
|
|
144
144
|
var configGetCommand = lazy(() => import("./cli-IVZ7AHUJ.js"), "configGetCommand");
|
|
145
145
|
var configPathCommand = lazy(() => import("./cli-IVZ7AHUJ.js"), "configPathCommand");
|
|
146
146
|
var configSetCommand = lazy(() => import("./cli-IVZ7AHUJ.js"), "configSetCommand");
|
|
147
|
-
var configureCommand = lazy(() => import("./cli-
|
|
148
|
-
var deleteCommand = lazy(() => import("./cli-
|
|
149
|
-
var devCommand = lazy(() => import("./cli-
|
|
147
|
+
var configureCommand = lazy(() => import("./cli-EDZF5Q2E.js"), "configureCommand");
|
|
148
|
+
var deleteCommand = lazy(() => import("./cli-ZHFHOWJI.js"), "deleteCommand");
|
|
149
|
+
var devCommand = lazy(() => import("./cli-OK6XWVIN.js"), "devCommand");
|
|
150
150
|
var devStatusCommand = lazy(() => import("./cli-AGYCXRPR.js"), "devStatusCommand");
|
|
151
151
|
var devStopCommand = lazy(() => import("./cli-AGYCXRPR.js"), "devStopCommand");
|
|
152
152
|
var docsCommand = lazy(() => import("./cli-DXHPYN4N.js"), "docsCommand");
|
|
153
153
|
var docsExportCommand = lazy(() => import("./cli-IC5FOT2J.js"), "docsExportCommand");
|
|
154
154
|
var endpointAuditCommand = lazy(
|
|
155
|
-
() => import("./cli-
|
|
155
|
+
() => import("./cli-XA4IL7IM.js"),
|
|
156
156
|
"endpointAuditCommand"
|
|
157
157
|
);
|
|
158
|
-
var endpointCallCommand = lazy(() => import("./cli-
|
|
159
|
-
var endpointListCommand = lazy(() => import("./cli-
|
|
160
|
-
var generateCommand = lazy(() => import("./cli-
|
|
161
|
-
var initCommand = lazy(() => import("./cli-
|
|
162
|
-
var newCommand = lazy(() => import("./cli-
|
|
158
|
+
var endpointCallCommand = lazy(() => import("./cli-AJ5CABGJ.js"), "endpointCallCommand");
|
|
159
|
+
var endpointListCommand = lazy(() => import("./cli-6Y4XIVQS.js"), "endpointListCommand");
|
|
160
|
+
var generateCommand = lazy(() => import("./cli-4X3X4HB2.js"), "generateCommand");
|
|
161
|
+
var initCommand = lazy(() => import("./cli-XRVH5WV6.js"), "initCommand");
|
|
162
|
+
var newCommand = lazy(() => import("./cli-CPX4YA3P.js"), "newCommand");
|
|
163
163
|
var packageBundleCommand = lazy(
|
|
164
164
|
() => import("./cli-C45A5VX6.js"),
|
|
165
165
|
"packageBundleCommand"
|
|
@@ -172,33 +172,33 @@ var packageVersionCommand = lazy(
|
|
|
172
172
|
() => import("./cli-6GDPO5VU.js"),
|
|
173
173
|
"packageVersionCommand"
|
|
174
174
|
);
|
|
175
|
-
var patchCommand = lazy(() => import("./cli-
|
|
176
|
-
var resolveCommand = lazy(() => import("./cli-
|
|
177
|
-
var screenshotCommand = lazy(() => import("./cli-
|
|
178
|
-
var clockAdvanceCommand = lazy(() => import("./cli-
|
|
179
|
-
var faultCommand = lazy(() => import("./cli-
|
|
180
|
-
var localeCommand = lazy(() => import("./cli-
|
|
181
|
-
var participantAddCommand = lazy(() => import("./cli-
|
|
182
|
-
var participantJoinCommand = lazy(() => import("./cli-
|
|
183
|
-
var participantMoveCommand = lazy(() => import("./cli-
|
|
175
|
+
var patchCommand = lazy(() => import("./cli-MX7GFQ6N.js"), "patchCommand");
|
|
176
|
+
var resolveCommand = lazy(() => import("./cli-MSSJLABW.js"), "resolveCommand");
|
|
177
|
+
var screenshotCommand = lazy(() => import("./cli-OX3254NS.js"), "screenshotCommand");
|
|
178
|
+
var clockAdvanceCommand = lazy(() => import("./cli-35K37SYY.js"), "clockAdvanceCommand");
|
|
179
|
+
var faultCommand = lazy(() => import("./cli-35K37SYY.js"), "faultCommand");
|
|
180
|
+
var localeCommand = lazy(() => import("./cli-35K37SYY.js"), "localeCommand");
|
|
181
|
+
var participantAddCommand = lazy(() => import("./cli-35K37SYY.js"), "participantAddCommand");
|
|
182
|
+
var participantJoinCommand = lazy(() => import("./cli-35K37SYY.js"), "participantJoinCommand");
|
|
183
|
+
var participantMoveCommand = lazy(() => import("./cli-35K37SYY.js"), "participantMoveCommand");
|
|
184
184
|
var participantRenameCommand = lazy(
|
|
185
|
-
() => import("./cli-
|
|
185
|
+
() => import("./cli-35K37SYY.js"),
|
|
186
186
|
"participantRenameCommand"
|
|
187
187
|
);
|
|
188
|
-
var playCommand = lazy(() => import("./cli-
|
|
189
|
-
var reconfigureCommand = lazy(() => import("./cli-
|
|
190
|
-
var resetCommand = lazy(() => import("./cli-
|
|
191
|
-
var scenarioCommand = lazy(() => import("./cli-
|
|
192
|
-
var teamAddCommand = lazy(() => import("./cli-
|
|
193
|
-
var teamRemoveCommand = lazy(() => import("./cli-
|
|
194
|
-
var teamRenameCommand = lazy(() => import("./cli-
|
|
195
|
-
var timerCommand = lazy(() => import("./cli-
|
|
196
|
-
var undoCommand = lazy(() => import("./cli-
|
|
197
|
-
var waitingRoomCommand = lazy(() => import("./cli-
|
|
198
|
-
var tickCommand = lazy(() => import("./cli-
|
|
199
|
-
var updateCommand = lazy(() => import("./cli-
|
|
188
|
+
var playCommand = lazy(() => import("./cli-35K37SYY.js"), "playCommand");
|
|
189
|
+
var reconfigureCommand = lazy(() => import("./cli-35K37SYY.js"), "reconfigureCommand");
|
|
190
|
+
var resetCommand = lazy(() => import("./cli-35K37SYY.js"), "resetCommand");
|
|
191
|
+
var scenarioCommand = lazy(() => import("./cli-35K37SYY.js"), "scenarioCommand");
|
|
192
|
+
var teamAddCommand = lazy(() => import("./cli-35K37SYY.js"), "teamAddCommand");
|
|
193
|
+
var teamRemoveCommand = lazy(() => import("./cli-35K37SYY.js"), "teamRemoveCommand");
|
|
194
|
+
var teamRenameCommand = lazy(() => import("./cli-35K37SYY.js"), "teamRenameCommand");
|
|
195
|
+
var timerCommand = lazy(() => import("./cli-35K37SYY.js"), "timerCommand");
|
|
196
|
+
var undoCommand = lazy(() => import("./cli-35K37SYY.js"), "undoCommand");
|
|
197
|
+
var waitingRoomCommand = lazy(() => import("./cli-35K37SYY.js"), "waitingRoomCommand");
|
|
198
|
+
var tickCommand = lazy(() => import("./cli-3YGNWZC6.js"), "tickCommand");
|
|
199
|
+
var updateCommand = lazy(() => import("./cli-YI3WZF3C.js"), "updateCommand");
|
|
200
200
|
var versionCommand = lazy(() => import("./cli-MPWTXNF6.js"), "versionCommand");
|
|
201
|
-
var viewCommand = lazy(() => import("./cli-
|
|
201
|
+
var viewCommand = lazy(() => import("./cli-BNN36WZJ.js"), "viewCommand");
|
|
202
202
|
function commandPath(command) {
|
|
203
203
|
const names = [];
|
|
204
204
|
for (let current = command; current?.parent; current = current.parent) {
|
package/dist/docs/changelog.md
CHANGED
|
@@ -31,6 +31,16 @@ are in the [0.x changelog](changelog-0.x.md).
|
|
|
31
31
|
|
|
32
32
|
## [Unreleased]
|
|
33
33
|
|
|
34
|
+
## [1.9.0] — 2026-11-07
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- **[Give setup a menu](recipes/give-setup-a-menu.md).** Whatever your setup screen `configures`, an AI assistant setting a session up can change, every value of it, so a setup that configures `engine` to offer two choices hands over every engine setting. Put the choices in a settings resource of their own, each an `enum`, a `boolean` or an array of an `enum` with a `title` and a `description`, configure that alone, and let your logic decide what each choice means. The recipe moves an existing setup over, and the [setup guide](guides/setup.md#give-setup-a-menu-of-its-own) explains the design. `examples/factory` now does this: its setup offers the number of rounds and a `Market` choice, and no longer edits `engine` directly
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- **Setup notes describe your menu, and nothing beyond it.** Name only settings your setup screen configures, with the values their schemas allow, and say which requests need a scenario instead, rather than translating a request such as 'harder' into settings setup cannot change. The [recipe](recipes/write-setup-notes.md) and the [setup guide](guides/setup.md#notes-for-assistants) are rewritten to match, and [Create a setup screen](recipes/create-setup.md) now builds a menu
|
|
43
|
+
|
|
34
44
|
## [1.8.0] — 2026-11-06
|
|
35
45
|
|
|
36
46
|
### Added
|
|
@@ -4,7 +4,7 @@ The `setup` slot holds the small form a facilitator fills in when they create a
|
|
|
4
4
|
|
|
5
5
|
This guide covers creating one, building its form, and how it behaves in the dev server.
|
|
6
6
|
|
|
7
|
-
**Keywords:** setup screen, setup form, session creation, configures, per-session settings, number of rounds, requestPlay, start play, facilitator form
|
|
7
|
+
**Keywords:** setup screen, setup form, session creation, configures, per-session settings, setup menu, quick config, number of rounds, requestPlay, start play, facilitator form, AI assistant
|
|
8
8
|
|
|
9
9
|
## What setup is
|
|
10
10
|
|
|
@@ -27,14 +27,14 @@ Keep it small. Setup is part of somebody creating a session on the day, often in
|
|
|
27
27
|
```bash
|
|
28
28
|
pnpm run sdk new setup '{
|
|
29
29
|
"definition": {
|
|
30
|
-
"configures": ["
|
|
30
|
+
"configures": ["game", "setup"]
|
|
31
31
|
},
|
|
32
32
|
"rootDirectory": ".",
|
|
33
33
|
"ui": { "entrypoint": "index.html" }
|
|
34
34
|
}'
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
`configures` names the [settings resources](./settings.md) the screen edits, by identifier: here the
|
|
37
|
+
`configures` names the [settings resources](./settings.md) the screen edits, by identifier: here the built-in `game` settings, for the number of rounds, and a menu at `settings/setup/` (see [Give setup a menu of its own](#give-setup-a-menu-of-its-own)). The screen receives the resolved values of exactly those settings and can change nothing else: an `updateSettings` call naming any other settings resource is refused, and none of it is applied. The build fails if you name a settings resource the package does not declare.
|
|
38
38
|
|
|
39
39
|
```
|
|
40
40
|
setup/
|
|
@@ -51,6 +51,43 @@ setup/
|
|
|
51
51
|
|
|
52
52
|
`src/main.tsx` wraps the app in `SettingsEditorWrapper`, the wrapper both settings editor slots share.
|
|
53
53
|
|
|
54
|
+
## Give setup a menu of its own
|
|
55
|
+
|
|
56
|
+
Whatever setup configures can be changed for a session, and not only on your screen: an AI assistant setting a session up for a facilitator can change every value in every settings resource setup configures. A settings resource is configured whole, so a setup that configures `engine` to offer two choices hands over every engine setting, whatever the screen shows.
|
|
57
|
+
|
|
58
|
+
So put the choices your setup offers in a settings resource of their own, a menu, and configure that alone, beside `game` if setup sets the number of rounds:
|
|
59
|
+
|
|
60
|
+
```json
|
|
61
|
+
{
|
|
62
|
+
"definition": {
|
|
63
|
+
"settingsSchema": {
|
|
64
|
+
"type": "object",
|
|
65
|
+
"properties": {
|
|
66
|
+
"Market": {
|
|
67
|
+
"title": "Market",
|
|
68
|
+
"description": "How forgiving the market is, compared with the scenario. 'standard' plays the scenario as written",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": ["gentler", "standard", "tougher"],
|
|
71
|
+
"default": "standard"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
- **Make each choice finite**: an `enum`, a `boolean`, or an array of an `enum`. The schema then refuses anything off the menu, whoever sends it, and an assistant can read every choice there is
|
|
81
|
+
- **Give each a `title` and a `description`.** An assistant shows them to the facilitator when it confirms a choice
|
|
82
|
+
- **Let your logic decide what a choice means.** Declare the menu in the `settings` of the engine and of any other resource it affects, and work out the values there. A choice relative to the scenario, such as 'tougher than the scenario', never clashes with what a scenario sets
|
|
83
|
+
- **A scenario sets the menu's defaults** by setting the menu resource, like any other setting. Add the menu to the scenario editor's `configures` to let an author choose them
|
|
84
|
+
- **Keep what the menu offers per scenario in your other settings.** When a choice is only available in some scenarios, such as an aid a scenario may or may not allow, the list of what is allowed belongs in a settings resource setup does not configure. Say where it is in the menu setting's `description` and in your [notes for assistants](#notes-for-assistants)
|
|
85
|
+
- **Refuse a choice that is wrong for the scenario** in a [Scenario gate](./validators.md#when-it-runs), with `session-validation` in `requires`: it runs as the session starts, on what setup changed
|
|
86
|
+
|
|
87
|
+
Everything else stays in the game's other settings, for scenario authors. A facilitator who wants something the menu does not offer needs a scenario that does it.
|
|
88
|
+
|
|
89
|
+
`examples/factory` does this: its setup configures `game` and a `setup` menu with one choice, `Market`; the engine applies the choice to the scenario's demand, and its `Scenario` gate refuses a market that would leave no team selling anything. See [Give setup a menu](../recipes/give-setup-a-menu.md) to move an existing setup to one.
|
|
90
|
+
|
|
54
91
|
## Building the form
|
|
55
92
|
|
|
56
93
|
`useSettingsEditor()` returns three things:
|
|
@@ -153,17 +190,19 @@ The [session UI guide](./session.md#rendering-inside-the-host) covers the same g
|
|
|
153
190
|
|
|
154
191
|
## Notes for assistants
|
|
155
192
|
|
|
156
|
-
An AI assistant can set a session up for a facilitator,
|
|
193
|
+
An AI assistant can set a session up for a facilitator, choosing from what your setup screen `configures`. From the schemas alone it cannot tell which choices matter most, or what 'make it a bit harder' means in your game. Tell it in setup notes: Markdown at `setup/notes/<locale>.md`, one file per locale.
|
|
157
194
|
|
|
158
195
|
```markdown
|
|
159
196
|
## What requests mean
|
|
160
197
|
|
|
161
|
-
- **'Harder'**:
|
|
198
|
+
- **'Harder'**: set `setup.Market` to `tougher`
|
|
162
199
|
- **'Shorter'**: set `game.maxTicks` to 6
|
|
200
|
+
- **Anything else**, such as cheaper materials: setup cannot do it. Suggest a scenario that does
|
|
163
201
|
```
|
|
164
202
|
|
|
165
|
-
- **
|
|
166
|
-
- **
|
|
203
|
+
- **Describe your menu, and nothing beyond it.** Name only settings your setup screen configures, with values their schemas allow. A request the menu cannot meet needs a scenario, so say which, rather than naming a setting setup cannot change
|
|
204
|
+
- **Name each setting as a setting path in a code span**, such as `setup.Market`: an assistant writes it back as it stands. The build checks every code span that starts with one of your settings identifiers, failing on one that names no setting (`SETTINGS_UNKNOWN`) and warning on one your setup screen does not configure (`SETUP_NOTES_UNCONFIGURED`)
|
|
205
|
+
- **Say what a schema cannot**: which choices are worth asking about, what common requests mean as choices, and, where what the menu offers depends on the scenario, which setting says what it offers. A host may show an assistant your other settings, read-only, for exactly this
|
|
167
206
|
- **They are for assistants.** Your setup screen is what a facilitator sees, and a host need not show the notes to anyone. They grant nothing: an assistant is held to `configures` and to your game's [Scenario gate](./validators.md#when-it-runs) like anyone else
|
|
168
207
|
- **Locales fall back** from the assistant's locale to `en`, then your first supported locale
|
|
169
208
|
|
|
@@ -177,7 +216,7 @@ The build ships them as written. In the dev server, **Notes for assistants** on
|
|
|
177
216
|
|
|
178
217
|
```bash
|
|
179
218
|
pnpm run sdk update setup '{
|
|
180
|
-
"definition": { "configures": ["
|
|
219
|
+
"definition": { "configures": ["game", "setup"] },
|
|
181
220
|
"rootDirectory": ".",
|
|
182
221
|
"ui": { "entrypoint": "index.html" }
|
|
183
222
|
}'
|
|
@@ -208,4 +247,5 @@ See [Test a user interface](../recipes/test-user-interface.md).
|
|
|
208
247
|
- [Settings](./settings.md): declaring, reading, and overriding settings
|
|
209
248
|
- [Scenarios](./scenarios.md)
|
|
210
249
|
- [Create a setup screen](../recipes/create-setup.md)
|
|
250
|
+
- [Give setup a menu](../recipes/give-setup-a-menu.md)
|
|
211
251
|
- [Write setup notes for assistants](../recipes/write-setup-notes.md)
|