@next-vibe/checker 1.0.31 → 1.0.33
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/bin/vibe-runtime.js +30 -2
- package/.dist/bin/vibe-runtime.js.map +5 -5
- package/package.json +1 -1
- package/src/app/api/[locale]/system/check/config/create/repository.ts +8 -0
- package/src/app/api/[locale]/system/check/test-project/bun.lock +2 -2
- package/src/app/api/[locale]/system/check/test-project/package.json +3 -2
- package/src/app/api/[locale]/system/unified-interface/cli/runtime/route-executor.ts +30 -0
- package/src/app/api/[locale]/system/unified-interface/cli/vibe-runtime.ts +1 -1
|
@@ -44813,6 +44813,13 @@ class ConfigCreateRepository {
|
|
|
44813
44813
|
static async execute(data, logger, locale, platform) {
|
|
44814
44814
|
const { t } = simpleT(locale);
|
|
44815
44815
|
const isCLI = platform === "cli" /* CLI */;
|
|
44816
|
+
logger.debug("[Config Create] Repository received data", {
|
|
44817
|
+
data,
|
|
44818
|
+
interactive: data.interactive,
|
|
44819
|
+
interactiveType: typeof data.interactive,
|
|
44820
|
+
platform,
|
|
44821
|
+
isCLI
|
|
44822
|
+
});
|
|
44816
44823
|
try {
|
|
44817
44824
|
const configPath = resolve17(process.cwd(), "check.config.ts");
|
|
44818
44825
|
if (existsSync15(configPath)) {
|
|
@@ -57525,6 +57532,11 @@ class RouteDelegationHandler {
|
|
|
57525
57532
|
const inputData = {};
|
|
57526
57533
|
const cliData = this.buildDataFromCliArgs(endpoint, context);
|
|
57527
57534
|
const contextData = context.data;
|
|
57535
|
+
logger.debug("[Route Executor] Data collection details", {
|
|
57536
|
+
contextData,
|
|
57537
|
+
cliData,
|
|
57538
|
+
interactiveOption: context.options?.interactive
|
|
57539
|
+
});
|
|
57528
57540
|
if (contextData || cliData && Object.keys(cliData).length > 0) {
|
|
57529
57541
|
const optionsData = {};
|
|
57530
57542
|
if (context.options?.interactive === true) {
|
|
@@ -57533,7 +57545,9 @@ class RouteDelegationHandler {
|
|
|
57533
57545
|
if (context.options?.dryRun === true) {
|
|
57534
57546
|
optionsData.dryRun = true;
|
|
57535
57547
|
}
|
|
57548
|
+
logger.debug("[Route Executor] Building options data", { optionsData });
|
|
57536
57549
|
const mergedData = routeExecutionExecutor.mergeData(optionsData, contextData || {}, cliData || {});
|
|
57550
|
+
logger.debug("[Route Executor] Final merged data", { mergedData });
|
|
57537
57551
|
inputData.data = mergedData;
|
|
57538
57552
|
const missingRequired = routeExecutionExecutor.getMissingRequiredFields(inputData.data, endpoint?.requestSchema, logger);
|
|
57539
57553
|
if (missingRequired.length > 0 && context.options?.interactive && !contextData && endpoint) {
|
|
@@ -57771,7 +57785,21 @@ ${this.formatPretty(data, locale, endpointDefinition.scopedTranslation.scopedT)}
|
|
|
57771
57785
|
data[firstCliArgKey] = positionalArgs;
|
|
57772
57786
|
}
|
|
57773
57787
|
}
|
|
57788
|
+
const cliLevelOptions = [
|
|
57789
|
+
"interactive",
|
|
57790
|
+
"dryRun",
|
|
57791
|
+
"dry-run",
|
|
57792
|
+
"verbose",
|
|
57793
|
+
"debug",
|
|
57794
|
+
"output",
|
|
57795
|
+
"locale",
|
|
57796
|
+
"userType",
|
|
57797
|
+
"user-type"
|
|
57798
|
+
];
|
|
57774
57799
|
for (const [key, value] of Object.entries(namedArgs)) {
|
|
57800
|
+
if (cliLevelOptions.includes(key)) {
|
|
57801
|
+
continue;
|
|
57802
|
+
}
|
|
57775
57803
|
const camelCaseKey = key.replaceAll(/-([a-z])/g, (_, letter) => letter.toUpperCase());
|
|
57776
57804
|
let convertedValue = value;
|
|
57777
57805
|
if (typeof value === "string") {
|
|
@@ -58153,7 +58181,7 @@ var init_debug = __esm(() => {
|
|
|
58153
58181
|
});
|
|
58154
58182
|
|
|
58155
58183
|
// src/app/api/[locale]/system/unified-interface/cli/vibe-runtime.ts
|
|
58156
|
-
var binaryStartTime, environmentResult, cliPlatform, isCliPackage, projectRoot, CLI_NAME = "vibe-check", CLI_VERSION = "1.0.
|
|
58184
|
+
var binaryStartTime, environmentResult, cliPlatform, isCliPackage, projectRoot, CLI_NAME = "vibe-check", CLI_VERSION = "1.0.33", DEFAULT_OUTPUT = "pretty", program2, earlyT;
|
|
58157
58185
|
var init_vibe_runtime = __esm(() => {
|
|
58158
58186
|
init_esm();
|
|
58159
58187
|
init_parse_error();
|
|
@@ -58289,4 +58317,4 @@ export {
|
|
|
58289
58317
|
binaryStartTime
|
|
58290
58318
|
};
|
|
58291
58319
|
|
|
58292
|
-
//# debugId=
|
|
58320
|
+
//# debugId=78400F6FC571F1DF64756E2164756E21
|