lynxprompt 1.0.13 → 1.0.14

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 CHANGED
@@ -3,7 +3,6 @@
3
3
  // src/index.ts
4
4
  import { Command } from "commander";
5
5
  import chalk17 from "chalk";
6
- import { createRequire as createRequire2 } from "module";
7
6
 
8
7
  // src/commands/login.ts
9
8
  import chalk from "chalk";
@@ -2939,11 +2938,8 @@ function generateYamlConfig(options, platform2) {
2939
2938
  }
2940
2939
 
2941
2940
  // src/commands/wizard.ts
2942
- import { createRequire } from "module";
2943
2941
  var DRAFTS_DIR = ".lynxprompt/drafts";
2944
- var require2 = createRequire(import.meta.url);
2945
- var cliPackageJson = require2("../../package.json");
2946
- var CLI_VERSION = cliPackageJson.version;
2942
+ var CLI_VERSION = "1.0.14";
2947
2943
  async function saveDraftLocally(name, config2, stepReached) {
2948
2944
  const draftsPath = join4(process.cwd(), DRAFTS_DIR);
2949
2945
  await mkdir3(draftsPath, { recursive: true });
@@ -7519,10 +7515,9 @@ async function saveHierarchyInfo(rootPath, result) {
7519
7515
  }
7520
7516
 
7521
7517
  // src/index.ts
7522
- var require3 = createRequire2(import.meta.url);
7523
- var packageJson = require3("../package.json");
7518
+ var CLI_VERSION2 = "1.0.14";
7524
7519
  var program = new Command();
7525
- program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version(packageJson.version);
7520
+ program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version(CLI_VERSION2);
7526
7521
  program.command("wizard").description("Generate AI IDE configuration (recommended for most users)").option("-n, --name <name>", "Project name").option("-d, --description <description>", "Project description").option("-s, --stack <stack>", "Tech stack (comma-separated)").option("-f, --format <format>", "Output format: agents, cursor, or comma-separated for multiple").option("-p, --platforms <platforms>", "Alias for --format (deprecated)").option("--persona <persona>", "AI persona (fullstack, backend, frontend, devops, data, security)").option("--boundaries <level>", "Boundary preset (conservative, standard, permissive)").option("-y, --yes", "Skip prompts, use defaults (generates AGENTS.md)").option("-o, --output <dir>", "Output directory (default: current directory)").option("--repo-url <url>", "Analyze remote repository URL (GitHub/GitLab supported)").option("--blueprint", "Generate with [[VARIABLE|default]] placeholders for templates").option("--license <type>", "License type (mit, apache-2.0, gpl-3.0, etc.)").option("--ci-cd <platform>", "CI/CD platform (github_actions, gitlab_ci, jenkins, etc.)").option("--project-type <type>", "Project type (work, leisure, opensource, learning)").option("--detect-only", "Only detect project info, don't generate files").option("--load-draft <name>", "Load a saved wizard draft").option("--save-draft <name>", "Save wizard state as a draft (auto-saves at end)").option("--vars <values>", "Fill variables: VAR1=value1,VAR2=value2").action(wizardCommand);
7527
7522
  program.command("check").description("Validate AI configuration files (for CI/CD)").option("--ci", "CI mode - exit codes only (0=pass, 1=fail)").action(checkCommand);
7528
7523
  program.command("analyze").description("Analyze project configuration without generating files").option("-r, --remote <url>", "Analyze a remote repository (GitHub/GitLab)").option("-j, --json", "Output as JSON (for scripting)").action(analyzeCommand);