@codeyam/codeyam-cli 0.1.0-staging.50df560 → 0.1.0-staging.54098fa
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/analyzer-template/.build-info.json +6 -6
- package/analyzer-template/log.txt +3 -3
- package/codeyam-cli/src/commands/editor.js +25 -2
- package/codeyam-cli/src/commands/editor.js.map +1 -1
- package/codeyam-cli/src/utils/__tests__/registerScenarioResult.test.js +127 -0
- package/codeyam-cli/src/utils/__tests__/registerScenarioResult.test.js.map +1 -0
- package/codeyam-cli/src/utils/registerScenarioResult.js +52 -0
- package/codeyam-cli/src/utils/registerScenarioResult.js.map +1 -0
- package/codeyam-cli/src/webserver/app/lib/clientErrors.js +3 -0
- package/codeyam-cli/src/webserver/app/lib/clientErrors.js.map +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/api.editor-save-scenario-data-l0sNRNKZ.js +1 -0
- package/codeyam-cli/src/webserver/build/client/assets/api.editor-schema-l0sNRNKZ.js +1 -0
- package/codeyam-cli/src/webserver/build/client/assets/{cy-logo-cli-CCKUIm0S.svg → cy-logo-cli-CJzc4vOH.svg} +2 -2
- package/codeyam-cli/src/webserver/build/client/assets/cy-logo-cli-DODLxLcw.js +1 -0
- package/codeyam-cli/src/webserver/build/client/assets/editor.entity.(_sha)-CIVk0XQ0.js +130 -0
- package/codeyam-cli/src/webserver/build/client/assets/editorPreview-NTuLi4Xg.js +41 -0
- package/codeyam-cli/src/webserver/build/client/assets/{entity._sha.scenarios._scenarioId.dev-KTQuL0aj.js → entity._sha.scenarios._scenarioId.dev-BA5L8bU-.js} +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/{entity._sha.scenarios._scenarioId.fullscreen-C6eeL24i.js → entity._sha.scenarios._scenarioId.fullscreen-D4dmRgvO.js} +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/globals-DAxKDFrC.css +1 -0
- package/codeyam-cli/src/webserver/build/client/assets/manifest-1d628e67.js +1 -0
- package/codeyam-cli/src/webserver/build/client/assets/{root-BxUQigda.js → root-qqqgSLyr.js} +4 -4
- package/codeyam-cli/src/webserver/build/server/assets/{analysisRunner-B_PsTAb1.js → analysisRunner-Cdh8iuUM.js} +1 -1
- package/codeyam-cli/src/webserver/build/server/assets/{index-CjLhfz6Z.js → index-G8pxNQAW.js} +1 -1
- package/codeyam-cli/src/webserver/build/server/assets/{init-BEqlbI84.js → init-Df6FdfSw.js} +1 -1
- package/codeyam-cli/src/webserver/build/server/assets/server-build-Cy6GG-l1.js +627 -0
- package/codeyam-cli/src/webserver/build/server/index.js +1 -1
- package/codeyam-cli/src/webserver/build-info.json +5 -5
- package/codeyam-cli/src/webserver/terminalServer.js +9 -2
- package/codeyam-cli/src/webserver/terminalServer.js.map +1 -1
- package/package.json +1 -1
- package/codeyam-cli/src/webserver/build/client/assets/cy-logo-cli-DcX-ZS3p.js +0 -1
- package/codeyam-cli/src/webserver/build/client/assets/editor.entity.(_sha)-DII1pg_z.js +0 -58
- package/codeyam-cli/src/webserver/build/client/assets/editorPreview-oepecPae.js +0 -41
- package/codeyam-cli/src/webserver/build/client/assets/globals-Yn9W3zp3.css +0 -1
- package/codeyam-cli/src/webserver/build/client/assets/manifest-cdf2c0a7.js +0 -1
- package/codeyam-cli/src/webserver/build/server/assets/server-build-YI63xTu4.js +0 -553
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"buildTimestamp": "2026-03-
|
|
3
|
-
"buildTime":
|
|
4
|
-
"gitCommit": "
|
|
2
|
+
"buildTimestamp": "2026-03-23T12:11:15.062Z",
|
|
3
|
+
"buildTime": 1774267875062,
|
|
4
|
+
"gitCommit": "54098fa25dd626a779128d8064ae6127e509cede",
|
|
5
5
|
"nodeVersion": "v20.20.1",
|
|
6
6
|
"contentHash": "faebee669133648dadbd8892432f1e62fa8bbf062c5cc67690819cb8f39cfa86",
|
|
7
|
-
"buildNumber":
|
|
8
|
-
"semanticVersion": "0.1.
|
|
9
|
-
"version": "0.1.
|
|
7
|
+
"buildNumber": 1179,
|
|
8
|
+
"semanticVersion": "0.1.1179",
|
|
9
|
+
"version": "0.1.1179 (2026-03-23T12:11+faebee6)"
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
[3/
|
|
3
|
-
[3/
|
|
2
|
+
[3/23/2026, 12:11:14 PM] > codeyam-combo@1.0.0 mergeDependencies
|
|
3
|
+
[3/23/2026, 12:11:14 PM] > node ./scripts/mergePackageJsonFiles.cjs
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
[3/
|
|
6
|
+
[3/23/2026, 12:11:15 PM] Merged dependencies into root package.json
|
|
7
7
|
|
|
@@ -21,6 +21,7 @@ import { validateSeedData, detectSeedAdapter, validateSeedKeysAgainstPrisma, } f
|
|
|
21
21
|
import { deleteScenarioViaCli } from "../utils/editorDeleteScenario.js";
|
|
22
22
|
import { buildEditorApiRequest, callEditorApi, EDITOR_API_SUBCOMMANDS, } from "../utils/editorApi.js";
|
|
23
23
|
import { parseRegisterArg } from "../utils/parseRegisterArg.js";
|
|
24
|
+
import { classifyRegistrationResult } from "../utils/registerScenarioResult.js";
|
|
24
25
|
import { sanitizeGlossaryEntries } from "../utils/editorLoaderHelpers.js";
|
|
25
26
|
import { readMigrationState, writeMigrationState, advanceToNextPage, completePage, getMigrationResumeInfo, } from "../utils/editorMigration.js";
|
|
26
27
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -2736,6 +2737,8 @@ async function handleRegister(jsonArg) {
|
|
|
2736
2737
|
const isBatch = items.length > 1;
|
|
2737
2738
|
let succeeded = 0;
|
|
2738
2739
|
let failed = 0;
|
|
2740
|
+
let warnings = 0;
|
|
2741
|
+
const issues = [];
|
|
2739
2742
|
const screenshotEntries = [];
|
|
2740
2743
|
for (let i = 0; i < items.length; i++) {
|
|
2741
2744
|
const body = items[i];
|
|
@@ -2805,11 +2808,14 @@ async function handleRegister(jsonArg) {
|
|
|
2805
2808
|
}
|
|
2806
2809
|
console.log(chalk.yellow(' Fix the issue and re-register this scenario.'));
|
|
2807
2810
|
}
|
|
2811
|
+
const resultIssues = classifyRegistrationResult(res.ok, res.status, data, String(body.name || `item ${i + 1}`));
|
|
2808
2812
|
if (!res.ok) {
|
|
2809
2813
|
console.error(chalk.dim(JSON.stringify(data, null, 2)));
|
|
2810
2814
|
failed++;
|
|
2811
2815
|
}
|
|
2812
2816
|
else {
|
|
2817
|
+
if (resultIssues.length > 0)
|
|
2818
|
+
warnings++;
|
|
2813
2819
|
succeeded++;
|
|
2814
2820
|
// Collect screenshot paths for duplicate detection
|
|
2815
2821
|
if (data.screenshotCaptured &&
|
|
@@ -2822,6 +2828,10 @@ async function handleRegister(jsonArg) {
|
|
|
2822
2828
|
});
|
|
2823
2829
|
}
|
|
2824
2830
|
}
|
|
2831
|
+
// Collect issues from this registration
|
|
2832
|
+
for (const issue of resultIssues) {
|
|
2833
|
+
issues.push(`"${issue.scenarioName}": ${issue.message}`);
|
|
2834
|
+
}
|
|
2825
2835
|
}
|
|
2826
2836
|
catch (error) {
|
|
2827
2837
|
const msg = error instanceof Error ? error.message : String(error);
|
|
@@ -2859,9 +2869,22 @@ async function handleRegister(jsonArg) {
|
|
|
2859
2869
|
}
|
|
2860
2870
|
}
|
|
2861
2871
|
if (isBatch) {
|
|
2862
|
-
console.log(
|
|
2872
|
+
console.log('');
|
|
2873
|
+
if (failed > 0 || warnings > 0) {
|
|
2874
|
+
console.log(chalk.red.bold(`ERROR: ${failed} failed, ${warnings} with warnings out of ${items.length} scenarios`));
|
|
2875
|
+
console.log('');
|
|
2876
|
+
console.log(chalk.red.bold('Issues that MUST be fixed:'));
|
|
2877
|
+
for (const issue of issues) {
|
|
2878
|
+
console.log(chalk.red(` ✗ ${issue}`));
|
|
2879
|
+
}
|
|
2880
|
+
console.log('');
|
|
2881
|
+
console.log(chalk.red('Do NOT skip these errors. Fix each issue and re-register the affected scenarios.'));
|
|
2882
|
+
}
|
|
2883
|
+
else {
|
|
2884
|
+
console.log(chalk.green(`✓ Batch complete: ${succeeded}/${items.length} succeeded with no issues`));
|
|
2885
|
+
}
|
|
2863
2886
|
}
|
|
2864
|
-
if (failed > 0) {
|
|
2887
|
+
if (failed > 0 || warnings > 0) {
|
|
2865
2888
|
process.exit(1);
|
|
2866
2889
|
}
|
|
2867
2890
|
}
|