@qabyai/qli 1.0.3 → 1.0.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +9 -0
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -24972,6 +24972,10 @@ const builder = (yargs) => yargs.option("api-key", {
24972
24972
  }).option("dir", {
24973
24973
  type: "string",
24974
24974
  describe: "Directory to scan (defaults to current directory)"
24975
+ }).option("cloud", {
24976
+ type: "boolean",
24977
+ describe: "Create knowledge base on the cloud without waiting for completion",
24978
+ default: false
24975
24979
  });
24976
24980
  const INCLUDE_DIR_PATTERNS = [
24977
24981
  "src/",
@@ -25135,6 +25139,11 @@ const handler = async (argv) => {
25135
25139
  console.error(chalk.red(`Failed: ${message}`));
25136
25140
  process.exit(1);
25137
25141
  }
25142
+ if (argv.cloud) {
25143
+ console.log(chalk.green(`\nKnowledge base is being created on the cloud.`));
25144
+ console.log(chalk.cyan("You can check progress at: https://qaby.ai/knowledge"));
25145
+ return;
25146
+ }
25138
25147
  console.log(chalk.white.bold("Generating knowledge base...\n"));
25139
25148
  const spinnerFrames = [
25140
25149
  "⠋",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qabyai/qli",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "QAbyAI CLI tool for browser automation",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -18,14 +18,14 @@
18
18
  "dependencies": {
19
19
  "chalk": "^5.3.0",
20
20
  "playwright": "^1.58.0",
21
- "yargs": "^17.7.2",
22
- "@dao/trpc": "1.0.0"
21
+ "yargs": "^17.7.2"
23
22
  },
24
23
  "devDependencies": {
25
24
  "@types/node": "^24",
26
25
  "@types/yargs": "^17.0.32",
27
26
  "tsdown": "^0.20.3",
28
- "typescript": "^5.9.3"
27
+ "typescript": "^5.9.3",
28
+ "@dao/trpc": "1.0.0"
29
29
  },
30
30
  "scripts": {
31
31
  "check": "tsgo --noEmit",