lynxprompt 0.2.0 → 0.3.0

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
@@ -125,6 +125,11 @@ var ApiClient = class {
125
125
  );
126
126
  }
127
127
  async getBlueprint(id) {
128
+ if (id.startsWith("usr_")) {
129
+ const blueprint = await this.request(`/api/blueprints/${id}`);
130
+ const visibility = blueprint.isPublic ? "PUBLIC" : "PRIVATE";
131
+ return { blueprint: { ...blueprint, visibility, type: blueprint.tier || "GENERIC" } };
132
+ }
128
133
  const apiId = id.startsWith("bp_") ? id : `bp_${id}`;
129
134
  return this.request(`/api/v1/blueprints/${apiId}`);
130
135
  }
@@ -563,10 +568,14 @@ function getSourceFromVisibility(visibility) {
563
568
  }
564
569
  }
565
570
  async function pullCommand(id, options) {
566
- if (!isAuthenticated()) {
571
+ const isPublicBlueprint = id.startsWith("usr_");
572
+ if (!isPublicBlueprint && !isAuthenticated()) {
567
573
  console.log(
568
574
  chalk5.yellow("Not logged in. Run 'lynxp login' to authenticate.")
569
575
  );
576
+ console.log(
577
+ chalk5.gray("Note: Public marketplace blueprints (usr_...) can be downloaded without login.")
578
+ );
570
579
  process.exit(1);
571
580
  }
572
581
  const cwd = process.cwd();
@@ -3870,7 +3879,7 @@ async function listTrackedBlueprints(cwd) {
3870
3879
 
3871
3880
  // src/index.ts
3872
3881
  var program = new Command();
3873
- program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version("0.2.0");
3882
+ program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version("0.3.0");
3874
3883
  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)").action(wizardCommand);
3875
3884
  program.command("check").description("Validate AI configuration files (for CI/CD)").option("--ci", "CI mode - exit codes only (0=pass, 1=fail)").action(checkCommand);
3876
3885
  program.command("status").description("Show current AI configuration and tracked blueprints").action(statusCommand);