@moduna/qcp 0.1.3-alpha.0 → 0.1.3-alpha.1
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/index.js +5 -5
- package/dist/qcp.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2333,8 +2333,8 @@ function printError(message, detail) {
|
|
|
2333
2333
|
console.error(source_default.red(`
|
|
2334
2334
|
✗ Error: `) + source_default.white(message));
|
|
2335
2335
|
if (detail) {
|
|
2336
|
-
console.error(source_default.dim(
|
|
2337
|
-
`)));
|
|
2336
|
+
console.error(source_default.dim(` ${detail.replace(/\n/g, `
|
|
2337
|
+
`)}`));
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
2340
|
function printSuccess(message) {
|
|
@@ -2360,7 +2360,7 @@ function printDoctorCheck(name, status, value2) {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
function printSection(title) {
|
|
2362
2362
|
console.log(`
|
|
2363
|
-
|
|
2363
|
+
${source_default.bold.white(`${title}:`)}`);
|
|
2364
2364
|
}
|
|
2365
2365
|
var import_cli_table3;
|
|
2366
2366
|
var init_output = __esm(() => {
|
|
@@ -2373,7 +2373,7 @@ var package_default;
|
|
|
2373
2373
|
var init_package = __esm(() => {
|
|
2374
2374
|
package_default = {
|
|
2375
2375
|
name: "@moduna/qcp",
|
|
2376
|
-
version: "0.1.3-alpha.
|
|
2376
|
+
version: "0.1.3-alpha.1",
|
|
2377
2377
|
description: "AI-powered CLI for querying PostgreSQL in natural language",
|
|
2378
2378
|
type: "module",
|
|
2379
2379
|
bin: {
|
|
@@ -80169,7 +80169,7 @@ async function explainCommand(question, options = {}) {
|
|
|
80169
80169
|
printInfo("This query would be rejected before execution.");
|
|
80170
80170
|
} else {
|
|
80171
80171
|
console.log();
|
|
80172
|
-
printInfo(
|
|
80172
|
+
printInfo(`Run \`qcp ask "${question}"\` to execute this query`);
|
|
80173
80173
|
}
|
|
80174
80174
|
log3("info", "Explain completed", { question });
|
|
80175
80175
|
await shutdownTelemetry();
|
package/dist/qcp.js
CHANGED
|
@@ -2333,8 +2333,8 @@ function printError(message, detail) {
|
|
|
2333
2333
|
console.error(source_default.red(`
|
|
2334
2334
|
✗ Error: `) + source_default.white(message));
|
|
2335
2335
|
if (detail) {
|
|
2336
|
-
console.error(source_default.dim(
|
|
2337
|
-
`)));
|
|
2336
|
+
console.error(source_default.dim(` ${detail.replace(/\n/g, `
|
|
2337
|
+
`)}`));
|
|
2338
2338
|
}
|
|
2339
2339
|
}
|
|
2340
2340
|
function printSuccess(message) {
|
|
@@ -2360,7 +2360,7 @@ function printDoctorCheck(name, status, value2) {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
function printSection(title) {
|
|
2362
2362
|
console.log(`
|
|
2363
|
-
|
|
2363
|
+
${source_default.bold.white(`${title}:`)}`);
|
|
2364
2364
|
}
|
|
2365
2365
|
var import_cli_table3;
|
|
2366
2366
|
var init_output = __esm(() => {
|
|
@@ -2373,7 +2373,7 @@ var package_default;
|
|
|
2373
2373
|
var init_package = __esm(() => {
|
|
2374
2374
|
package_default = {
|
|
2375
2375
|
name: "@moduna/qcp",
|
|
2376
|
-
version: "0.1.3-alpha.
|
|
2376
|
+
version: "0.1.3-alpha.1",
|
|
2377
2377
|
description: "AI-powered CLI for querying PostgreSQL in natural language",
|
|
2378
2378
|
type: "module",
|
|
2379
2379
|
bin: {
|
|
@@ -80169,7 +80169,7 @@ async function explainCommand(question, options = {}) {
|
|
|
80169
80169
|
printInfo("This query would be rejected before execution.");
|
|
80170
80170
|
} else {
|
|
80171
80171
|
console.log();
|
|
80172
|
-
printInfo(
|
|
80172
|
+
printInfo(`Run \`qcp ask "${question}"\` to execute this query`);
|
|
80173
80173
|
}
|
|
80174
80174
|
log3("info", "Explain completed", { question });
|
|
80175
80175
|
await shutdownTelemetry();
|