lynxprompt 2.0.0 → 2.0.2

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
@@ -18,7 +18,7 @@ var config = new Conf({
18
18
  },
19
19
  apiUrl: {
20
20
  type: "string",
21
- default: "https://lynxprompt.com"
21
+ default: "https://api.lynxprompt.com"
22
22
  },
23
23
  user: {
24
24
  type: "object",
@@ -31,7 +31,7 @@ var config = new Conf({
31
31
  }
32
32
  },
33
33
  defaults: {
34
- apiUrl: "https://lynxprompt.com"
34
+ apiUrl: "https://api.lynxprompt.com"
35
35
  }
36
36
  });
37
37
  function getToken() {
@@ -3195,13 +3195,13 @@ function generateFileContent(options, platform2) {
3195
3195
  sections.push(`# Using curl with environment variable (token stored in $${tokenEnvVar}):`);
3196
3196
  sections.push("");
3197
3197
  sections.push("# Push local changes to cloud:");
3198
- sections.push(`curl -X PUT "https://lynxprompt.com/api/v1/blueprints/${bpId}" \\`);
3198
+ sections.push(`curl -X PUT "https://api.lynxprompt.com/api/v1/blueprints/${bpId}" \\`);
3199
3199
  sections.push(` -H "Authorization: Bearer $${tokenEnvVar}" \\`);
3200
3200
  sections.push(' -H "Content-Type: application/json" \\');
3201
3201
  sections.push(` -d "{\\"content\\": \\"$(cat ${fileName} | jq -Rs .)\\"}"`);
3202
3202
  sections.push("");
3203
3203
  sections.push("# Pull cloud changes to local:");
3204
- sections.push(`curl -s "https://lynxprompt.com/api/v1/blueprints/${bpId}" \\`);
3204
+ sections.push(`curl -s "https://api.lynxprompt.com/api/v1/blueprints/${bpId}" \\`);
3205
3205
  sections.push(` -H "Authorization: Bearer $${tokenEnvVar}" | jq -r '.content' > ${fileName}`);
3206
3206
  sections.push("");
3207
3207
  sections.push(`# Set your token: export ${tokenEnvVar}="your_token_here"`);
@@ -5482,7 +5482,7 @@ var TEST_FRAMEWORKS2 = TEST_FRAMEWORKS;
5482
5482
 
5483
5483
  // src/commands/wizard.ts
5484
5484
  var DRAFTS_DIR = ".lynxprompt/drafts";
5485
- var CLI_VERSION = "2.0.0";
5485
+ var CLI_VERSION = "2.0.2";
5486
5486
  async function saveDraftLocally(name, config2, stepReached) {
5487
5487
  const draftsPath = join4(process.cwd(), DRAFTS_DIR);
5488
5488
  await mkdir3(draftsPath, { recursive: true });
@@ -11054,9 +11054,9 @@ async function configCommand(action, valueArg) {
11054
11054
  return;
11055
11055
  }
11056
11056
  if (action === "reset-url") {
11057
- setApiUrl("https://lynxprompt.com");
11057
+ setApiUrl("https://api.lynxprompt.com");
11058
11058
  console.log(
11059
- chalk18.green("\u2713") + " API URL reset to " + chalk18.cyan("https://lynxprompt.com")
11059
+ chalk18.green("\u2713") + " API URL reset to " + chalk18.cyan("https://api.lynxprompt.com")
11060
11060
  );
11061
11061
  return;
11062
11062
  }
@@ -11070,7 +11070,7 @@ async function configCommand(action, valueArg) {
11070
11070
  }
11071
11071
 
11072
11072
  // src/index.ts
11073
- var CLI_VERSION2 = "2.0.0";
11073
+ var CLI_VERSION2 = "2.0.2";
11074
11074
  var program = new Command();
11075
11075
  program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version(CLI_VERSION2);
11076
11076
  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);
@@ -11135,7 +11135,7 @@ ${chalk19.cyan("CI/CD:")}
11135
11135
  ${chalk19.cyan("Configuration:")}
11136
11136
  ${chalk19.white("$ lynxp config")} ${chalk19.gray("Show current settings")}
11137
11137
  ${chalk19.white("$ lynxp config set-url <url>")} ${chalk19.gray("Point CLI to a self-hosted instance")}
11138
- ${chalk19.white("$ lynxp config reset-url")} ${chalk19.gray("Reset to https://lynxprompt.com")}
11138
+ ${chalk19.white("$ lynxp config reset-url")} ${chalk19.gray("Reset to https://api.lynxprompt.com")}
11139
11139
  ${chalk19.white("$ lynxp config path")} ${chalk19.gray("Show config file location")}
11140
11140
 
11141
11141
  ${chalk19.gray("Docs: https://lynxprompt.com/docs/cli")}