lynxprompt 2.0.3 → 2.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.
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -491,9 +491,10 @@ function printBlueprint(bp) {
|
|
|
491
491
|
PUBLIC: "\u{1F310}"
|
|
492
492
|
}[bp.visibility] || "\u{1F4C4}";
|
|
493
493
|
const tierBadge = {
|
|
494
|
-
|
|
495
|
-
INTERMEDIATE: chalk4.blue("[
|
|
496
|
-
|
|
494
|
+
SHORT: chalk4.gray("[Short]"),
|
|
495
|
+
INTERMEDIATE: chalk4.blue("[Intermediate]"),
|
|
496
|
+
LONG: chalk4.cyan("[Long]"),
|
|
497
|
+
SUPERLONG: chalk4.magenta("[Super Long]")
|
|
497
498
|
}[bp.tier] || "";
|
|
498
499
|
console.log(` ${visibilityIcon} ${chalk4.bold(bp.name)} ${tierBadge}`);
|
|
499
500
|
console.log(` ${chalk4.cyan(bp.id)}`);
|
|
@@ -1005,7 +1006,7 @@ function handleApiError2(error) {
|
|
|
1005
1006
|
);
|
|
1006
1007
|
console.error(
|
|
1007
1008
|
chalk5.gray(
|
|
1008
|
-
" This might be a private resource or
|
|
1009
|
+
" This might be a private resource or you may not have access."
|
|
1009
1010
|
)
|
|
1010
1011
|
);
|
|
1011
1012
|
} else if (error.statusCode === 404) {
|
|
@@ -5481,7 +5482,7 @@ var TEST_FRAMEWORKS2 = TEST_FRAMEWORKS;
|
|
|
5481
5482
|
|
|
5482
5483
|
// src/commands/wizard.ts
|
|
5483
5484
|
var DRAFTS_DIR = ".lynxprompt/drafts";
|
|
5484
|
-
var CLI_VERSION = "2.0.
|
|
5485
|
+
var CLI_VERSION = "2.0.5";
|
|
5485
5486
|
async function saveDraftLocally(name, config2, stepReached) {
|
|
5486
5487
|
const draftsPath = join4(process.cwd(), DRAFTS_DIR);
|
|
5487
5488
|
await mkdir3(draftsPath, { recursive: true });
|
|
@@ -6275,7 +6276,7 @@ async function aiAssist(instruction, existingContent) {
|
|
|
6275
6276
|
} catch (error) {
|
|
6276
6277
|
if (error instanceof ApiRequestError) {
|
|
6277
6278
|
if (error.statusCode === 403) {
|
|
6278
|
-
spinner.fail("AI editing
|
|
6279
|
+
spinner.fail("AI editing is not available for your account");
|
|
6279
6280
|
} else if (error.statusCode === 429) {
|
|
6280
6281
|
spinner.fail("Rate limit reached. Please wait a moment.");
|
|
6281
6282
|
} else {
|
|
@@ -11066,7 +11067,7 @@ async function configCommand(action, valueArg) {
|
|
|
11066
11067
|
}
|
|
11067
11068
|
|
|
11068
11069
|
// src/index.ts
|
|
11069
|
-
var CLI_VERSION2 = "2.0.
|
|
11070
|
+
var CLI_VERSION2 = "2.0.5";
|
|
11070
11071
|
var program = new Command();
|
|
11071
11072
|
program.name("lynxprompt").description("CLI for LynxPrompt - Generate AI IDE configuration files").version(CLI_VERSION2);
|
|
11072
11073
|
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);
|