@seriousgaming/sdk-tools 1.10.0 → 1.12.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/agent/guidance.md +35 -23
- package/dist/{cli-F2D4GGUA.js → cli-2BKEIIA3.js} +66 -0
- package/dist/{cli-NQSL2CIH.js → cli-2QGTDHRX.js} +21 -21
- package/dist/{cli-33MZSPPK.js → cli-2SDG3SZ7.js} +21 -21
- package/dist/{cli-CLO7HKEQ.js → cli-2VXP34R5.js} +5 -3
- package/dist/{cli-P3NUTOPK.js → cli-2W4B6PD5.js} +1 -1
- package/dist/{cli-SOO6SEIS.js → cli-2X7DKSXN.js} +28 -25
- package/dist/{cli-LNEZ6KDW.js → cli-2ZP4N7HK.js} +19 -19
- package/dist/{cli-5O7XENQY.js → cli-3GJYZH4C.js} +5 -5
- package/dist/{cli-NAZTYKZT.js → cli-3GO3M2MX.js} +30 -14
- package/dist/{cli-YZJBFKRI.js → cli-3LDLUNME.js} +17 -17
- package/dist/{cli-J42N4PJG.js → cli-3WY6L2WP.js} +31 -29
- package/dist/{cli-WG7MAOCS.js → cli-44MBABRD.js} +25 -25
- package/dist/{cli-MGZYQDCH.js → cli-4IO7MKLR.js} +20 -20
- package/dist/{cli-HNDFANQG.js → cli-4U2PY7W3.js} +1 -1
- package/dist/{cli-4JNF3O5N.js → cli-4WI4LTBI.js} +2 -2
- package/dist/{cli-OTBCA54D.js → cli-55EIGGZK.js} +1 -1
- package/dist/{cli-5TKPT3CY.js → cli-5AQV6FTL.js} +18 -18
- package/dist/{cli-KNXY43YV.js → cli-5CW7BEU7.js} +3 -3
- package/dist/{cli-5V4N4BR4.js → cli-5JUVHNZF.js} +12 -12
- package/dist/{cli-F3YJKP6D.js → cli-5KERL6HV.js} +9 -4
- package/dist/{cli-HN442ZVK.js → cli-5KSA24NQ.js} +24 -24
- package/dist/{cli-5VZBFMCK.js → cli-5PIFO3EN.js} +8 -0
- package/dist/{cli-IQBY7Z7Q.js → cli-5QN2Z43X.js} +20 -20
- package/dist/cli-5XSPAA5X.js +69 -0
- package/dist/{cli-QW7VXL2V.js → cli-62KAYGXO.js} +20 -20
- package/dist/{cli-TDLIPYKT.js → cli-6IMV5ZZU.js} +26 -26
- package/dist/{cli-UULZSQBV.js → cli-6KWCIAN2.js} +764 -66
- package/dist/{cli-2ANX6E3A.js → cli-6NWETIX5.js} +20 -20
- package/dist/{cli-EXUPHPDJ.js → cli-774W3MN5.js} +26 -26
- package/dist/cli-7BUD3VAD.js +16 -0
- package/dist/{cli-7NUFHMGE.js → cli-7KEP57S7.js} +12 -12
- package/dist/{cli-6CYAOUYT.js → cli-7OYFJMA6.js} +18 -18
- package/dist/{cli-ILHHJR2S.js → cli-7ZNEDQ3G.js} +20 -20
- package/dist/{cli-5RRPUL6V.js → cli-AFK6OUID.js} +12 -12
- package/dist/{cli-A3AJQZEN.js → cli-AIYQFWXN.js} +25 -25
- package/dist/{cli-B5DWKRZ4.js → cli-ARAAEWIQ.js} +2 -2
- package/dist/cli-AVQYV3N4.js +36 -0
- package/dist/{cli-35GV2F6R.js → cli-B54Z6CXH.js} +16 -16
- package/dist/{cli-467VRXGP.js → cli-B5TC4MEL.js} +5 -5
- package/dist/{cli-5Z4D3F6Y.js → cli-BCXGOLU3.js} +3 -3
- package/dist/{cli-G2GLW5Z4.js → cli-BHAODVTZ.js} +1 -1
- package/dist/{cli-XR3O2YTV.js → cli-BPS2JG74.js} +20 -20
- package/dist/{cli-W3RG2MRI.js → cli-BVO55SR2.js} +2 -2
- package/dist/{cli-PYAST3G5.js → cli-CFH3JZP5.js} +21 -21
- package/dist/{cli-VZVHS5AP.js → cli-CTK2OIK6.js} +20 -20
- package/dist/{cli-ATWJCB2G.js → cli-CW5MV4VX.js} +4 -4
- package/dist/{cli-TCQJL2GY.js → cli-D5VOSJZ7.js} +1 -1
- package/dist/{cli-KIZTASLL.js → cli-DAEPMK7A.js} +5 -5
- package/dist/{cli-44CM2AH2.js → cli-DAHR7PKB.js} +1 -1
- package/dist/{cli-XW3JLRSA.js → cli-DWDSBTYL.js} +1 -1
- package/dist/cli-DYSDPGXW.js +95 -0
- package/dist/{cli-GRSQRFRG.js → cli-DZCLRZXJ.js} +9 -2
- package/dist/{cli-RSF5R3HC.js → cli-EJ47IE45.js} +28 -25
- package/dist/{cli-QDBYFITU.js → cli-EK4OSJHA.js} +2 -2
- package/dist/{cli-GO64NABP.js → cli-FCJHNXDA.js} +1 -1
- package/dist/{cli-ZNQBF4Z3.js → cli-FNESSE3L.js} +1 -1
- package/dist/{cli-MUOLHQNL.js → cli-FTLH4WCE.js} +17 -17
- package/dist/{cli-JHLWBRXB.js → cli-FYV77YS2.js} +18 -18
- package/dist/cli-GMJX6Q4Q.js +36 -0
- package/dist/{cli-7JUNA74L.js → cli-GRBVNGDW.js} +1 -1
- package/dist/{cli-XKAIDYIE.js → cli-HAFCFY77.js} +33 -19
- package/dist/{cli-OXLOGXT3.js → cli-HCJLYI24.js} +3 -3
- package/dist/{cli-HHRP6FP6.js → cli-HCXS5EXU.js} +25 -25
- package/dist/cli-HEUNNHDH.js +36 -0
- package/dist/{cli-36GABN2A.js → cli-HNUTIWDZ.js} +19 -19
- package/dist/{cli-JXQLHJO2.js → cli-HXT25ETJ.js} +244 -243
- package/dist/{cli-5EH4WTH4.js → cli-IGEL7UJQ.js} +5 -5
- package/dist/{cli-JMNPMDXH.js → cli-IO32YA5N.js} +26 -26
- package/dist/cli-IPTGZDBB.js +36 -0
- package/dist/{cli-L54SXUK6.js → cli-J25TYFKB.js} +19 -19
- package/dist/{cli-CQ4ZR3ZQ.js → cli-J7XYMEMX.js} +20 -20
- package/dist/{cli-5DWR7RPQ.js → cli-JC5OJRID.js} +2 -2
- package/dist/{cli-25SJZI7N.js → cli-JD563OF4.js} +126 -27
- package/dist/{cli-JAVMRERQ.js → cli-JRJF2WHU.js} +20 -20
- package/dist/{cli-UQC46YSV.js → cli-JTFLIMIG.js} +3 -3
- package/dist/{cli-2AH6D32V.js → cli-K2BSJ2PK.js} +2 -2
- package/dist/{cli-XB5PI2XT.js → cli-K4QTYMN2.js} +25 -25
- package/dist/{cli-5SHG2M7E.js → cli-KFJDD4C4.js} +20 -20
- package/dist/{cli-WW54THXN.js → cli-KVQ2JPVD.js} +1 -1
- package/dist/{cli-O5WYATAI.js → cli-L6AHMW2Z.js} +4 -2
- package/dist/{cli-IKSLPAZN.js → cli-LCYUBCVY.js} +4 -4
- package/dist/{cli-HGCOEL5T.js → cli-LEWSCDH5.js} +4 -4
- package/dist/{cli-HNG6PZW2.js → cli-LI6G7GND.js} +27 -27
- package/dist/{cli-2AVPNSAX.js → cli-LU2GCWIU.js} +21 -21
- package/dist/{cli-UEQMK4WX.js → cli-M3Z2KOEB.js} +1 -1
- package/dist/{cli-226ZJ72R.js → cli-M6E3E3I2.js} +170 -3
- package/dist/{cli-OXU6TTEN.js → cli-MCRPA4Z6.js} +20 -20
- package/dist/{cli-BQ36DV5C.js → cli-MI2DEDMA.js} +3 -3
- package/dist/{cli-6O7YCK2M.js → cli-MITZ6SE7.js} +3 -3
- package/dist/{cli-VALLLE6Y.js → cli-MTIYD3BX.js} +26 -26
- package/dist/{cli-5M6KDNVX.js → cli-MTZUJGBK.js} +2 -2
- package/dist/{cli-GSOV26O5.js → cli-NCLMUXLC.js} +14 -14
- package/dist/{cli-Z3DITVBE.js → cli-NLS3DKWH.js} +26 -26
- package/dist/{cli-AH6AMAIB.js → cli-NMDGS7IE.js} +1 -1
- package/dist/cli-O3DJO2CS.js +30 -0
- package/dist/{cli-BC67QHD5.js → cli-O47D5BFN.js} +2 -2
- package/dist/{cli-MDVC5ZNM.js → cli-OBRZ36VP.js} +14 -14
- package/dist/{cli-267QJ2DS.js → cli-OMG4E53H.js} +20 -20
- package/dist/{cli-C32Q5E5I.js → cli-P6V3NSU4.js} +1 -1
- package/dist/{cli-PBSLPO6G.js → cli-PAMQMTHK.js} +21 -21
- package/dist/{cli-RUEPTOWG.js → cli-PKTHOCT3.js} +26 -26
- package/dist/{cli-PTXOKO2Y.js → cli-QK7QAP5H.js} +18 -18
- package/dist/cli-QQ432JEN.js +36 -0
- package/dist/{cli-YFLQ7XOO.js → cli-QVNDPTBU.js} +20 -20
- package/dist/{cli-KJA6GLZI.js → cli-R2DFD6ZZ.js} +15 -15
- package/dist/{cli-6BLVI2JM.js → cli-RMVJMOWU.js} +111 -7
- package/dist/{cli-M6AZFIMV.js → cli-RQISHMJF.js} +88 -23
- package/dist/{cli-X64BNBQH.js → cli-RVZH462G.js} +585 -8
- package/dist/{cli-LLJQI2QP.js → cli-SEEOQVUL.js} +12 -12
- package/dist/{cli-QTCTWYCM.js → cli-SO354HPI.js} +3 -3
- package/dist/{cli-URCHZDTS.js → cli-T76HDH7F.js} +90 -5
- package/dist/{cli-ZJW6HQ6N.js → cli-TIS7DWRR.js} +7 -7
- package/dist/{cli-WOFYI7HZ.js → cli-TY3B6XS7.js} +21 -21
- package/dist/{cli-4FJL3KQZ.js → cli-UKEZJFIT.js} +2 -2
- package/dist/cli-VQAMW4RF.js +95 -0
- package/dist/{cli-4A7RWFNO.js → cli-W4LMRVZT.js} +78 -47
- package/dist/cli-W7I5KGIB.js +84 -0
- package/dist/{cli-B3EFE7ZF.js → cli-WXGJFA4F.js} +1 -1
- package/dist/{cli-IPTHJT3J.js → cli-XCG33I77.js} +28 -25
- package/dist/{cli-WLSACMYA.js → cli-YHLSG5HB.js} +30 -28
- package/dist/cli-YNH5DTHY.js +36 -0
- package/dist/cli-YPMJWPDA.js +69 -0
- package/dist/{cli-PXQYY6KM.js → cli-YSXIR7EM.js} +0 -0
- package/dist/cli-ZPFWO4VW.js +85 -0
- package/dist/cli.js +53 -53
- package/dist/client/index.d.ts +1 -1
- package/dist/client/test-session.d.ts +44 -6
- package/dist/client.js +1934 -286
- package/dist/core/assessment-moves.d.ts +32 -0
- package/dist/core/assessment-reports.d.ts +38 -0
- package/dist/core/assessment-settings.d.ts +15 -0
- package/dist/core/benchmark-samples.d.ts +28 -0
- package/dist/core/session-host.d.ts +4 -0
- package/dist/core/session-roster.d.ts +6 -0
- package/dist/core/session-timers.d.ts +40 -0
- package/dist/core/session.d.ts +14 -1
- package/dist/core/tick-timer.d.ts +18 -0
- package/dist/dev/console/assets/{index-Ch6HHb2T.js → index-zd--5H1f.js} +26 -26
- package/dist/dev/console/index.html +1 -1
- package/dist/dev/shell.d.ts +8 -0
- package/dist/dev/view/commands.d.ts +3 -1
- package/dist/docs/api/index.md +4 -2
- package/dist/docs/api/sdk-commands.md +29 -0
- package/dist/docs/api/sdk-e2e.md +30 -0
- package/dist/docs/api/sdk-projection.md +5 -0
- package/dist/docs/api/sdk-tools-client.md +68 -6
- package/dist/docs/api/sdk-tools-vite.md +21 -0
- package/dist/docs/api/sdk-ui.md +7 -0
- package/dist/docs/api/sdk.md +834 -19
- package/dist/docs/changelog.md +67 -0
- package/dist/docs/cli-error-codes.md +5 -1
- package/dist/docs/cli-reference.md +76 -2
- package/dist/docs/concepts/index.md +2 -0
- package/dist/docs/concepts/terminology.md +12 -0
- package/dist/docs/guides/assessments.md +248 -0
- package/dist/docs/guides/benchmarks.md +241 -0
- package/dist/docs/guides/endpoints.md +1 -1
- package/dist/docs/guides/engine-testing.md +49 -14
- package/dist/docs/guides/engine.md +10 -2
- package/dist/docs/guides/index.md +2 -0
- package/dist/docs/guides/presentation.md +11 -9
- package/dist/docs/guides/session-hooks.md +24 -22
- package/dist/docs/guides/testing.md +3 -8
- package/dist/docs/guides/tick-controller.md +22 -1
- package/dist/docs/guides/ui.md +24 -0
- package/dist/docs/guides/upgrading.md +36 -0
- package/dist/docs/page-index.md +18 -13
- package/dist/docs/recipes/create-assessment.md +124 -0
- package/dist/docs/recipes/create-benchmark.md +115 -0
- package/dist/docs/recipes/create-game.md +1 -1
- package/dist/docs/recipes/fix-duplicate-packages.md +8 -19
- package/dist/docs/recipes/index.md +2 -0
- package/dist/execution/context-composition.d.ts +39 -4
- package/dist/execution/engine-state.d.ts +13 -0
- package/dist/execution/executor.d.ts +16 -0
- package/dist/execution/logic-result.d.ts +13 -2
- package/dist/help-examples.d.ts +12 -0
- package/dist/host/adapter.d.ts +24 -1
- package/dist/host/protocol.d.ts +115 -1
- package/dist/host.js +29 -1
- package/dist/oxlint/logic.json +184 -0
- package/dist/playwright.js +1928 -280
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/manifest-version.d.ts +1 -1
- package/dist/runtime.js +298 -16
- package/dist/schema.json +189 -0
- package/dist/templates/package/README.md.liquid +1 -0
- package/dist/templates/package/claude/rules/workflow-create-engine.md +1 -1
- package/dist/templates/package/claude/rules/workflow-create-user-interface.md +1 -1
- package/dist/templates/package/claude/rules/workflow-test-engine-or-ui.md +1 -1
- package/dist/templates/package/claude/rules/workflow-update-sdk-version.md +2 -2
- package/dist/templates/package/claude/settings.json.template +1 -0
- package/dist/templates/package/oxfmtrc.json.template +8 -1
- package/dist/templates/package/oxlintrc.json.template +1 -180
- package/dist/templates/package/package.json.liquid +1 -0
- package/dist/templates/package/vite.config.ts.liquid +2 -8
- package/dist/templates/package/vitest.config.ts.liquid +2 -8
- package/dist/templates/starter-game/package.json +2 -1
- package/dist/templates/starter-game/testing/engine/game.engine.test.ts +62 -37
- package/dist/templates/starter-game/vite.config.ts +2 -8
- package/dist/templates/starter-game/vitest.config.ts +4 -3
- package/dist/templating/resource-metadata.d.ts +1 -1
- package/dist/utils/error-codes.d.ts +9 -1
- package/dist/utils/resource-scan.d.ts +5 -0
- package/dist/validation/assessment-validation.d.ts +34 -0
- package/dist/validation/benchmark-validation.d.ts +20 -0
- package/dist/validation/schema-validation.d.ts +4 -0
- package/dist/vite/index.d.ts +30 -0
- package/dist/vite.js +12 -0
- package/package.json +12 -4
- package/dist/cli-27Z5T52R.js +0 -30
- package/dist/cli-5XE4OMFL.js +0 -36
- package/dist/cli-BB6CU4ZC.js +0 -36
- package/dist/cli-FGP6YYM7.js +0 -36
- package/dist/cli-I3ZAZYWP.js +0 -36
- package/dist/cli-RFAPPYXK.js +0 -36
- package/dist/cli-WZNIW6ZO.js +0 -16
- package/dist/cli-XEEOJGBL.js +0 -36
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CliError
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-5PIFO3EN.js";
|
|
5
5
|
|
|
6
6
|
// cli/utils/package-context.ts
|
|
7
7
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -13,7 +13,9 @@ function loadPackageContext(workingDir, options = {}) {
|
|
|
13
13
|
if (options.suggestNewPackage) {
|
|
14
14
|
message += '\nUse "new package" to create a new package first.';
|
|
15
15
|
}
|
|
16
|
-
throw new CliError("MANIFEST_NOT_FOUND", message
|
|
16
|
+
throw new CliError("MANIFEST_NOT_FOUND", message, {
|
|
17
|
+
hint: "Run the command from the directory that holds seriousgaming.sdk.json, or pass --working-dir."
|
|
18
|
+
});
|
|
17
19
|
}
|
|
18
20
|
let config;
|
|
19
21
|
try {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
loadConfig
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import "./cli-
|
|
6
|
-
import "./cli-
|
|
4
|
+
} from "./cli-RVZH462G.js";
|
|
5
|
+
import "./cli-2BKEIIA3.js";
|
|
6
|
+
import "./cli-D5VOSJZ7.js";
|
|
7
7
|
import {
|
|
8
8
|
printJson,
|
|
9
9
|
reportResult
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-5PIFO3EN.js";
|
|
11
11
|
|
|
12
12
|
// cli/commands/resolve.ts
|
|
13
13
|
import { resolve } from "path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
loadConfig
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import "./cli-
|
|
6
|
-
import "./cli-
|
|
4
|
+
} from "./cli-RVZH462G.js";
|
|
5
|
+
import "./cli-2BKEIIA3.js";
|
|
6
|
+
import "./cli-D5VOSJZ7.js";
|
|
7
7
|
import {
|
|
8
8
|
reportResult
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-5PIFO3EN.js";
|
|
10
10
|
|
|
11
11
|
// cli/commands/endpoint-list.ts
|
|
12
12
|
import { resolve } from "path";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
promptForSettings
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-5CW7BEU7.js";
|
|
5
5
|
import {
|
|
6
6
|
loadResourceIdentifiers
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-B5TC4MEL.js";
|
|
8
|
+
import {
|
|
9
|
+
checkbox,
|
|
10
|
+
input,
|
|
11
|
+
select
|
|
12
|
+
} from "./cli-2W4B6PD5.js";
|
|
8
13
|
import {
|
|
9
14
|
readAuthoredBundle
|
|
10
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-MITZ6SE7.js";
|
|
11
16
|
import {
|
|
12
17
|
resolveInputSource
|
|
13
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-DWDSBTYL.js";
|
|
19
|
+
import {
|
|
20
|
+
loadPackageContext
|
|
21
|
+
} from "./cli-L6AHMW2Z.js";
|
|
14
22
|
import {
|
|
15
23
|
createHookFiles
|
|
16
|
-
} from "./cli-
|
|
17
|
-
import "./cli-
|
|
24
|
+
} from "./cli-T76HDH7F.js";
|
|
25
|
+
import "./cli-KVQ2JPVD.js";
|
|
18
26
|
import "./cli-QUNIRH7A.js";
|
|
19
|
-
import "./cli-
|
|
20
|
-
import {
|
|
21
|
-
loadPackageContext
|
|
22
|
-
} from "./cli-O5WYATAI.js";
|
|
27
|
+
import "./cli-ARAAEWIQ.js";
|
|
23
28
|
import {
|
|
24
29
|
presentFields
|
|
25
|
-
} from "./cli-
|
|
26
|
-
import "./cli-
|
|
30
|
+
} from "./cli-JC5OJRID.js";
|
|
31
|
+
import "./cli-DZCLRZXJ.js";
|
|
27
32
|
import {
|
|
28
33
|
BUILD_COMMAND,
|
|
29
34
|
generateTypes,
|
|
30
35
|
operationError,
|
|
31
36
|
printOperationResult
|
|
32
|
-
} from "./cli-
|
|
33
|
-
import
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./cli-P3NUTOPK.js";
|
|
38
|
-
import "./cli-UQC46YSV.js";
|
|
39
|
-
import "./cli-6BLVI2JM.js";
|
|
40
|
-
import "./cli-UEQMK4WX.js";
|
|
41
|
-
import "./cli-JXQLHJO2.js";
|
|
37
|
+
} from "./cli-SO354HPI.js";
|
|
38
|
+
import "./cli-JTFLIMIG.js";
|
|
39
|
+
import "./cli-RMVJMOWU.js";
|
|
40
|
+
import "./cli-M3Z2KOEB.js";
|
|
41
|
+
import "./cli-HXT25ETJ.js";
|
|
42
42
|
import "./cli-25RWY5BQ.js";
|
|
43
|
-
import "./cli-QWQMPCL6.js";
|
|
44
43
|
import {
|
|
45
44
|
validateSDKHook
|
|
46
|
-
} from "./cli-
|
|
47
|
-
import "./cli-
|
|
45
|
+
} from "./cli-RVZH462G.js";
|
|
46
|
+
import "./cli-QWQMPCL6.js";
|
|
47
|
+
import "./cli-2BKEIIA3.js";
|
|
48
48
|
import {
|
|
49
49
|
logger
|
|
50
|
-
} from "./cli-
|
|
51
|
-
import "./cli-
|
|
50
|
+
} from "./cli-D5VOSJZ7.js";
|
|
51
|
+
import "./cli-5PIFO3EN.js";
|
|
52
52
|
|
|
53
53
|
// cli/commands/resources/hook/new.ts
|
|
54
54
|
var HOOK_SIGNALS = ["participantJoin", "participantMove"];
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolvePatchedDefinition
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-2VXP34R5.js";
|
|
5
5
|
import "./cli-S5IVGDDD.js";
|
|
6
6
|
import {
|
|
7
7
|
readAuthoredBundle
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-MITZ6SE7.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveInputSource
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-DWDSBTYL.js";
|
|
12
|
+
import {
|
|
13
|
+
loadPackageContext
|
|
14
|
+
} from "./cli-L6AHMW2Z.js";
|
|
12
15
|
import {
|
|
13
16
|
updateSessionUserInterfaceFiles
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import "./cli-
|
|
17
|
+
} from "./cli-T76HDH7F.js";
|
|
18
|
+
import "./cli-KVQ2JPVD.js";
|
|
16
19
|
import "./cli-QUNIRH7A.js";
|
|
17
|
-
import "./cli-
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
} from "./cli-O5WYATAI.js";
|
|
21
|
-
import "./cli-5DWR7RPQ.js";
|
|
22
|
-
import "./cli-GRSQRFRG.js";
|
|
20
|
+
import "./cli-ARAAEWIQ.js";
|
|
21
|
+
import "./cli-JC5OJRID.js";
|
|
22
|
+
import "./cli-DZCLRZXJ.js";
|
|
23
23
|
import {
|
|
24
24
|
operationError,
|
|
25
25
|
printOperationResult,
|
|
26
26
|
regenerateTypes
|
|
27
|
-
} from "./cli-
|
|
28
|
-
import "./cli-
|
|
29
|
-
import "./cli-
|
|
30
|
-
import "./cli-
|
|
31
|
-
import "./cli-
|
|
27
|
+
} from "./cli-SO354HPI.js";
|
|
28
|
+
import "./cli-JTFLIMIG.js";
|
|
29
|
+
import "./cli-RMVJMOWU.js";
|
|
30
|
+
import "./cli-M3Z2KOEB.js";
|
|
31
|
+
import "./cli-HXT25ETJ.js";
|
|
32
32
|
import "./cli-25RWY5BQ.js";
|
|
33
|
-
import "./cli-QWQMPCL6.js";
|
|
34
33
|
import {
|
|
35
34
|
validateSDKSessionUserInterface
|
|
36
|
-
} from "./cli-
|
|
37
|
-
import "./cli-
|
|
35
|
+
} from "./cli-RVZH462G.js";
|
|
36
|
+
import "./cli-QWQMPCL6.js";
|
|
37
|
+
import "./cli-2BKEIIA3.js";
|
|
38
38
|
import {
|
|
39
39
|
logger
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-D5VOSJZ7.js";
|
|
41
41
|
import {
|
|
42
42
|
CliError
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-5PIFO3EN.js";
|
|
44
44
|
|
|
45
45
|
// cli/commands/resources/session/update.ts
|
|
46
46
|
async function updateSessionUserInterface(definitionInput, options) {
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
+
ASSESSMENTS_FEATURE,
|
|
4
|
+
ASSESSMENTS_SETTINGS,
|
|
5
|
+
MANIFEST_FILE,
|
|
6
|
+
MAX_ASSESSMENTS_PER_GAME,
|
|
3
7
|
SKIP,
|
|
4
8
|
asciiAlpha,
|
|
9
|
+
bundleFileOf,
|
|
5
10
|
ccount,
|
|
6
11
|
decodeNamedCharacterReference,
|
|
7
12
|
dereference,
|
|
@@ -12,14 +17,173 @@ import {
|
|
|
12
17
|
markdownSpace,
|
|
13
18
|
ok,
|
|
14
19
|
parseSettingPath,
|
|
20
|
+
pointerOf,
|
|
15
21
|
remarkGfm,
|
|
16
22
|
remarkParse,
|
|
23
|
+
resolveAssessmentBands,
|
|
17
24
|
settingPath,
|
|
18
25
|
unicodePunctuation,
|
|
19
26
|
unicodeWhitespace,
|
|
20
27
|
unified,
|
|
21
28
|
visit
|
|
22
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-RVZH462G.js";
|
|
30
|
+
|
|
31
|
+
// cli/validation/assessment-validation.ts
|
|
32
|
+
var MAX_BANDS = 10;
|
|
33
|
+
function outcome() {
|
|
34
|
+
return { errors: [], warnings: [], findings: [] };
|
|
35
|
+
}
|
|
36
|
+
function addError(result, finding) {
|
|
37
|
+
result.errors.push(finding.hint ? `${finding.message}. ${finding.hint}` : finding.message);
|
|
38
|
+
result.findings.push({ severity: "error", ...finding });
|
|
39
|
+
}
|
|
40
|
+
function bandsProblem(definition, bands) {
|
|
41
|
+
if (bands.length === 0) return null;
|
|
42
|
+
if (bands[0].from !== definition.min) {
|
|
43
|
+
return `the first band, "${bands[0].id}", starts at ${bands[0].from} rather than at the minimum score, ${definition.min}`;
|
|
44
|
+
}
|
|
45
|
+
for (let i = 1; i < bands.length; i++) {
|
|
46
|
+
if (bands[i].from <= bands[i - 1].from) {
|
|
47
|
+
return `band "${bands[i].id}" starts at ${bands[i].from}, not above "${bands[i - 1].id}" at ${bands[i - 1].from}; bands ascend in the order they are listed`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const last = bands[bands.length - 1];
|
|
51
|
+
if (last.from > definition.max) {
|
|
52
|
+
return `band "${last.id}" starts at ${last.from}, above the maximum score, ${definition.max}`;
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
function resolvedBandProblems(assessments, resolved) {
|
|
57
|
+
const settings = resolved[ASSESSMENTS_SETTINGS];
|
|
58
|
+
const problems = [];
|
|
59
|
+
for (const { definition } of assessments) {
|
|
60
|
+
const problem = bandsProblem(
|
|
61
|
+
definition,
|
|
62
|
+
resolveAssessmentBands(definition, settings?.[definition.identifier])
|
|
63
|
+
);
|
|
64
|
+
if (problem !== null) {
|
|
65
|
+
problems.push(
|
|
66
|
+
`The bands of assessment "${definition.identifier}" would be out of order: ${problem}`
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return problems;
|
|
71
|
+
}
|
|
72
|
+
function validateAssessment(assessment, config) {
|
|
73
|
+
const result = outcome();
|
|
74
|
+
const { definition } = assessment;
|
|
75
|
+
const { identifier } = definition;
|
|
76
|
+
const file = bundleFileOf("assessment", identifier);
|
|
77
|
+
const resource = { type: "assessment", identifier };
|
|
78
|
+
if (!(config.requires ?? []).includes(ASSESSMENTS_FEATURE)) {
|
|
79
|
+
addError(result, {
|
|
80
|
+
code: "FEATURE_UNDECLARED",
|
|
81
|
+
message: `Assessment "${identifier}" needs the \`${ASSESSMENTS_FEATURE}\` feature, but \`requires\` does not list it`,
|
|
82
|
+
hint: `Add "${ASSESSMENTS_FEATURE}" to \`requires\` in seriousgaming.sdk.json, so a runtime that cannot hold results refuses the package rather than failing the first round that scores one`,
|
|
83
|
+
file: MANIFEST_FILE,
|
|
84
|
+
pointer: pointerOf("requires"),
|
|
85
|
+
resource
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
if (!(definition.max > definition.min)) {
|
|
89
|
+
addError(result, {
|
|
90
|
+
code: "PACKAGE_INVALID",
|
|
91
|
+
message: `Assessment "${identifier}" has a maximum score of ${definition.max}, which is not above its minimum, ${definition.min}`,
|
|
92
|
+
hint: 'Set "max" above "min"',
|
|
93
|
+
file,
|
|
94
|
+
pointer: pointerOf("definition", "max"),
|
|
95
|
+
resource
|
|
96
|
+
});
|
|
97
|
+
return result;
|
|
98
|
+
}
|
|
99
|
+
if ((definition.bands?.length ?? 0) > MAX_BANDS) {
|
|
100
|
+
addError(result, {
|
|
101
|
+
code: "PACKAGE_INVALID",
|
|
102
|
+
message: `Assessment "${identifier}" declares ${definition.bands?.length} bands, more than the ${MAX_BANDS} an assessment may have`,
|
|
103
|
+
hint: "Merge neighbouring bands",
|
|
104
|
+
file,
|
|
105
|
+
pointer: pointerOf("definition", "bands"),
|
|
106
|
+
resource
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
const ids = (definition.bands ?? []).map((band) => band.id);
|
|
110
|
+
const duplicate = ids.find((id, index) => ids.indexOf(id) !== index);
|
|
111
|
+
if (duplicate !== void 0) {
|
|
112
|
+
addError(result, {
|
|
113
|
+
code: "PACKAGE_INVALID",
|
|
114
|
+
message: `Assessment "${identifier}" declares band "${duplicate}" more than once`,
|
|
115
|
+
hint: "Give each band its own id",
|
|
116
|
+
file,
|
|
117
|
+
pointer: pointerOf("definition", "bands"),
|
|
118
|
+
resource
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
const declaredProblem = bandsProblem(definition, resolveAssessmentBands(definition));
|
|
122
|
+
if (declaredProblem !== null) {
|
|
123
|
+
addError(result, {
|
|
124
|
+
code: "PACKAGE_INVALID",
|
|
125
|
+
message: `Assessment "${identifier}": ${declaredProblem}`,
|
|
126
|
+
hint: 'List the bands lowest first, the first starting at "min", each "from" above the last and no higher than "max"',
|
|
127
|
+
file,
|
|
128
|
+
pointer: pointerOf("definition", "bands"),
|
|
129
|
+
resource
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
if (!(config.engine?.definition.assessments?.includes(identifier) ?? false)) {
|
|
133
|
+
const message = `Assessment "${identifier}" is not in the engine's "assessments", so nothing can score it and it will never hold a result`;
|
|
134
|
+
result.warnings.push(message);
|
|
135
|
+
result.findings.push({
|
|
136
|
+
severity: "warning",
|
|
137
|
+
code: "ASSESSMENT_UNWRITTEN",
|
|
138
|
+
message,
|
|
139
|
+
hint: `Add "${identifier}" to "assessments" in engine/engine.sdk.json, or delete the assessment`,
|
|
140
|
+
file,
|
|
141
|
+
resource
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
for (const scenario of config.scenarios ?? []) {
|
|
145
|
+
const settings = scenario.definition.settings?.[ASSESSMENTS_SETTINGS];
|
|
146
|
+
const override = settings?.[identifier];
|
|
147
|
+
if (override === void 0) continue;
|
|
148
|
+
const problem = bandsProblem(definition, resolveAssessmentBands(definition, override));
|
|
149
|
+
if (problem === null) continue;
|
|
150
|
+
addError(result, {
|
|
151
|
+
code: "PACKAGE_INVALID",
|
|
152
|
+
message: `Scenario "${scenario.definition.identifier}" moves the bands of assessment "${identifier}" out of order: ${problem}`,
|
|
153
|
+
hint: "Keep each band starting above the one before it, the first at the minimum score",
|
|
154
|
+
file: bundleFileOf("scenario", scenario.definition.identifier),
|
|
155
|
+
pointer: pointerOf("definition", "settings", ASSESSMENTS_SETTINGS, identifier),
|
|
156
|
+
resource: { type: "scenario", identifier: scenario.definition.identifier }
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
return result;
|
|
160
|
+
}
|
|
161
|
+
function validateEngineAssessments(config) {
|
|
162
|
+
const result = outcome();
|
|
163
|
+
const declared = new Set((config.assessments ?? []).map((a) => a.definition.identifier));
|
|
164
|
+
const engine = config.engine;
|
|
165
|
+
if (engine) {
|
|
166
|
+
(engine.definition.assessments ?? []).forEach((identifier, index) => {
|
|
167
|
+
if (declared.has(identifier)) return;
|
|
168
|
+
addError(result, {
|
|
169
|
+
code: "REFERENCE_UNKNOWN",
|
|
170
|
+
message: `Engine declares assessment "${identifier}", which the package does not have`,
|
|
171
|
+
hint: `Create it with "new assessment", or remove it from the engine's "assessments"`,
|
|
172
|
+
file: bundleFileOf("engine", "engine"),
|
|
173
|
+
pointer: pointerOf("definition", "assessments", index),
|
|
174
|
+
resource: { type: "engine", identifier: engine.definition.identifier }
|
|
175
|
+
});
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
if (declared.size > MAX_ASSESSMENTS_PER_GAME) {
|
|
179
|
+
addError(result, {
|
|
180
|
+
code: "PACKAGE_INVALID",
|
|
181
|
+
message: `The game declares ${declared.size} assessments, more than the ${MAX_ASSESSMENTS_PER_GAME} a game may have`,
|
|
182
|
+
hint: "Fold related measures into one assessment, or remove the ones nobody reports"
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return result;
|
|
186
|
+
}
|
|
23
187
|
|
|
24
188
|
// cli/utils/schema-members.ts
|
|
25
189
|
function memberSchemas(schema, key) {
|
|
@@ -1878,8 +2042,8 @@ function remarkGuideSettings(options) {
|
|
|
1878
2042
|
if (!parent || typeof index !== "number") return;
|
|
1879
2043
|
const directive2 = node;
|
|
1880
2044
|
if (directive2.type === "containerDirective" && directive2.name === "when") {
|
|
1881
|
-
const
|
|
1882
|
-
const replacement = "error" in
|
|
2045
|
+
const outcome2 = evaluateWhen(options.settings, directive2.attributes ?? {});
|
|
2046
|
+
const replacement = "error" in outcome2 ? [errorBlock(outcome2.error)] : outcome2.show ? directive2.children : [];
|
|
1883
2047
|
parent.children.splice(index, 1, ...replacement);
|
|
1884
2048
|
return [SKIP, index];
|
|
1885
2049
|
}
|
|
@@ -1961,6 +2125,9 @@ function strayFences(markdown) {
|
|
|
1961
2125
|
}
|
|
1962
2126
|
|
|
1963
2127
|
export {
|
|
2128
|
+
resolvedBandProblems,
|
|
2129
|
+
validateAssessment,
|
|
2130
|
+
validateEngineAssessments,
|
|
1964
2131
|
referenceLocale,
|
|
1965
2132
|
isChapterEmpty,
|
|
1966
2133
|
settingReferences,
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
confirmAction
|
|
4
|
+
} from "./cli-2W4B6PD5.js";
|
|
5
|
+
import {
|
|
6
|
+
loadPackageContext
|
|
7
|
+
} from "./cli-L6AHMW2Z.js";
|
|
2
8
|
import {
|
|
3
9
|
deleteEndpointFiles,
|
|
4
10
|
findEndpointReferences
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import "./cli-
|
|
11
|
+
} from "./cli-T76HDH7F.js";
|
|
12
|
+
import "./cli-KVQ2JPVD.js";
|
|
7
13
|
import "./cli-QUNIRH7A.js";
|
|
8
|
-
import "./cli-
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
} from "./cli-O5WYATAI.js";
|
|
12
|
-
import "./cli-5DWR7RPQ.js";
|
|
13
|
-
import "./cli-GRSQRFRG.js";
|
|
14
|
+
import "./cli-ARAAEWIQ.js";
|
|
15
|
+
import "./cli-JC5OJRID.js";
|
|
16
|
+
import "./cli-DZCLRZXJ.js";
|
|
14
17
|
import {
|
|
15
18
|
operationError,
|
|
16
19
|
recordOperationResult
|
|
17
|
-
} from "./cli-
|
|
18
|
-
import {
|
|
19
|
-
confirmAction
|
|
20
|
-
} from "./cli-P3NUTOPK.js";
|
|
20
|
+
} from "./cli-SO354HPI.js";
|
|
21
21
|
import {
|
|
22
22
|
generateCommand
|
|
23
|
-
} from "./cli-
|
|
24
|
-
import "./cli-
|
|
25
|
-
import "./cli-
|
|
26
|
-
import "./cli-
|
|
23
|
+
} from "./cli-JTFLIMIG.js";
|
|
24
|
+
import "./cli-RMVJMOWU.js";
|
|
25
|
+
import "./cli-M3Z2KOEB.js";
|
|
26
|
+
import "./cli-HXT25ETJ.js";
|
|
27
27
|
import "./cli-25RWY5BQ.js";
|
|
28
|
+
import "./cli-RVZH462G.js";
|
|
28
29
|
import "./cli-QWQMPCL6.js";
|
|
29
|
-
import "./cli-
|
|
30
|
-
import "./cli-F2D4GGUA.js";
|
|
30
|
+
import "./cli-2BKEIIA3.js";
|
|
31
31
|
import {
|
|
32
32
|
logger
|
|
33
|
-
} from "./cli-
|
|
34
|
-
import "./cli-
|
|
33
|
+
} from "./cli-D5VOSJZ7.js";
|
|
34
|
+
import "./cli-5PIFO3EN.js";
|
|
35
35
|
|
|
36
36
|
// cli/commands/resources/endpoint/delete.ts
|
|
37
37
|
async function deleteEndpoint(identifier, options) {
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
bundlePackage,
|
|
4
4
|
includeBundleEntry,
|
|
5
5
|
packageBundleCommand
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import "./cli-
|
|
8
|
-
import "./cli-
|
|
6
|
+
} from "./cli-EK4OSJHA.js";
|
|
7
|
+
import "./cli-D5VOSJZ7.js";
|
|
8
|
+
import "./cli-5PIFO3EN.js";
|
|
9
9
|
export {
|
|
10
10
|
bundlePackage,
|
|
11
11
|
includeBundleEntry,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
findResourceMeta,
|
|
10
10
|
isNamelessInterface,
|
|
11
11
|
removedFromBundle
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-RVZH462G.js";
|
|
13
13
|
import {
|
|
14
14
|
resourceExample
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-2BKEIIA3.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-5PIFO3EN.js";
|
|
19
19
|
|
|
20
20
|
// cli/utils/validators.ts
|
|
21
21
|
var PACKAGE_IDENTIFIER_PATTERN = /^[a-z][a-z0-9_]*(\.[a-z][a-z0-9_]*)+$/;
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
promptForSettings
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-5CW7BEU7.js";
|
|
5
5
|
import {
|
|
6
6
|
loadResourceIdentifiers
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-B5TC4MEL.js";
|
|
8
|
+
import {
|
|
9
|
+
checkbox,
|
|
10
|
+
input
|
|
11
|
+
} from "./cli-2W4B6PD5.js";
|
|
8
12
|
import {
|
|
9
13
|
readAuthoredBundle
|
|
10
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-MITZ6SE7.js";
|
|
11
15
|
import {
|
|
12
16
|
resolveInputSource
|
|
13
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-DWDSBTYL.js";
|
|
18
|
+
import {
|
|
19
|
+
loadPackageContext
|
|
20
|
+
} from "./cli-L6AHMW2Z.js";
|
|
14
21
|
import {
|
|
15
22
|
createWaitingRoomUserInterfaceFiles
|
|
16
|
-
} from "./cli-
|
|
17
|
-
import "./cli-
|
|
23
|
+
} from "./cli-T76HDH7F.js";
|
|
24
|
+
import "./cli-KVQ2JPVD.js";
|
|
18
25
|
import "./cli-QUNIRH7A.js";
|
|
19
|
-
import "./cli-
|
|
20
|
-
import {
|
|
21
|
-
loadPackageContext
|
|
22
|
-
} from "./cli-O5WYATAI.js";
|
|
26
|
+
import "./cli-ARAAEWIQ.js";
|
|
23
27
|
import {
|
|
24
28
|
presentFields
|
|
25
|
-
} from "./cli-
|
|
26
|
-
import "./cli-
|
|
29
|
+
} from "./cli-JC5OJRID.js";
|
|
30
|
+
import "./cli-DZCLRZXJ.js";
|
|
27
31
|
import {
|
|
28
32
|
BUILD_COMMAND,
|
|
29
33
|
generateTypes,
|
|
30
34
|
operationError,
|
|
31
35
|
printOperationResult
|
|
32
|
-
} from "./cli-
|
|
33
|
-
import
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import "./cli-UQC46YSV.js";
|
|
38
|
-
import "./cli-6BLVI2JM.js";
|
|
39
|
-
import "./cli-UEQMK4WX.js";
|
|
40
|
-
import "./cli-JXQLHJO2.js";
|
|
36
|
+
} from "./cli-SO354HPI.js";
|
|
37
|
+
import "./cli-JTFLIMIG.js";
|
|
38
|
+
import "./cli-RMVJMOWU.js";
|
|
39
|
+
import "./cli-M3Z2KOEB.js";
|
|
40
|
+
import "./cli-HXT25ETJ.js";
|
|
41
41
|
import "./cli-25RWY5BQ.js";
|
|
42
|
-
import "./cli-QWQMPCL6.js";
|
|
43
42
|
import {
|
|
44
43
|
validateSDKWaitingRoomUserInterface
|
|
45
|
-
} from "./cli-
|
|
46
|
-
import "./cli-
|
|
44
|
+
} from "./cli-RVZH462G.js";
|
|
45
|
+
import "./cli-QWQMPCL6.js";
|
|
46
|
+
import "./cli-2BKEIIA3.js";
|
|
47
47
|
import {
|
|
48
48
|
logger
|
|
49
|
-
} from "./cli-
|
|
50
|
-
import "./cli-
|
|
49
|
+
} from "./cli-D5VOSJZ7.js";
|
|
50
|
+
import "./cli-5PIFO3EN.js";
|
|
51
51
|
|
|
52
52
|
// cli/commands/resources/waiting-room/new.ts
|
|
53
53
|
async function createWaitingRoomUserInterface(definitionInput, options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readSdkToolsVersion
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-KVQ2JPVD.js";
|
|
5
5
|
import {
|
|
6
6
|
reportResult
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-5PIFO3EN.js";
|
|
8
8
|
|
|
9
9
|
// cli/commands/version.ts
|
|
10
10
|
async function versionCommand() {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveSession
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import "./cli-BC67QHD5.js";
|
|
4
|
+
} from "./cli-TIS7DWRR.js";
|
|
6
5
|
import {
|
|
7
6
|
emit,
|
|
8
7
|
participantsFromArgument,
|
|
@@ -11,22 +10,23 @@ import {
|
|
|
11
10
|
sessionSummary,
|
|
12
11
|
teamCountFromFlag,
|
|
13
12
|
tickReport
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import "./cli-
|
|
16
|
-
import "./cli-
|
|
17
|
-
import "./cli-
|
|
18
|
-
import "./cli-
|
|
19
|
-
import "./cli-226ZJ72R.js";
|
|
13
|
+
} from "./cli-CW5MV4VX.js";
|
|
14
|
+
import "./cli-YSXIR7EM.js";
|
|
15
|
+
import "./cli-6KWCIAN2.js";
|
|
16
|
+
import "./cli-55EIGGZK.js";
|
|
17
|
+
import "./cli-M6E3E3I2.js";
|
|
20
18
|
import "./cli-4LKXZQ2B.js";
|
|
21
|
-
import "./cli-
|
|
19
|
+
import "./cli-4U2PY7W3.js";
|
|
20
|
+
import "./cli-O47D5BFN.js";
|
|
21
|
+
import "./cli-FNESSE3L.js";
|
|
22
22
|
import "./cli-QUNIRH7A.js";
|
|
23
|
-
import "./cli-
|
|
23
|
+
import "./cli-HXT25ETJ.js";
|
|
24
24
|
import "./cli-25RWY5BQ.js";
|
|
25
|
+
import "./cli-RVZH462G.js";
|
|
25
26
|
import "./cli-QWQMPCL6.js";
|
|
26
|
-
import "./cli-
|
|
27
|
-
import "./cli-
|
|
28
|
-
import "./cli-
|
|
29
|
-
import "./cli-5VZBFMCK.js";
|
|
27
|
+
import "./cli-2BKEIIA3.js";
|
|
28
|
+
import "./cli-D5VOSJZ7.js";
|
|
29
|
+
import "./cli-5PIFO3EN.js";
|
|
30
30
|
|
|
31
31
|
// cli/commands/init.ts
|
|
32
32
|
import dotenv from "dotenv";
|