@intend-it/cli 1.1.6 → 1.2.1

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.js +5 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -140,6 +140,7 @@ function printHelp() {
140
140
  console.log(` ${cmd("--model")} ${dim("<name>")} AI model name`);
141
141
  console.log(` ${cmd("--api-key")} ${dim("<key>")} Gemini API key`);
142
142
  console.log(` ${cmd("--force")} Force regeneration (skip cache)`);
143
+ console.log(` ${cmd("--debug")} Show AI prompts and responses`);
143
144
  console.log(` ${cmd("--help")} Show this help`);
144
145
  console.log();
145
146
  }
@@ -336,7 +337,8 @@ async function buildCommand(options) {
336
337
  ollamaConfig: config.ollama,
337
338
  mode: "full",
338
339
  maxAttempts: options.attempts,
339
- projectContext
340
+ projectContext,
341
+ debug: options.debug
340
342
  });
341
343
  const connectSpinner = spinner(`Connecting to ${providerName}...`).start();
342
344
  try {
@@ -531,6 +533,8 @@ async function handleBuild(args2) {
531
533
  options.watch = true;
532
534
  if (args2[i] === "--force")
533
535
  options.force = true;
536
+ if (args2[i] === "--debug")
537
+ options.debug = true;
534
538
  if (args2[i].startsWith("--attempts="))
535
539
  options.attempts = parseInt(args2[i].split("=")[1]);
536
540
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intend-it/cli",
3
- "version": "1.1.6",
3
+ "version": "1.2.1",
4
4
  "description": "CLI for the Intend programming language",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,8 +29,8 @@
29
29
  ],
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@intend-it/parser": "^1.1.6",
33
- "@intend-it/core": "^2.0.7",
32
+ "@intend-it/parser": "^1.2.1",
33
+ "@intend-it/core": "^3.0.1",
34
34
  "picocolors": "^1.1.1",
35
35
  "ora": "^8.1.1"
36
36
  },