@contextos/cli 0.3.0 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1925,7 +1925,7 @@ import { Command as Command14 } from "commander";
1925
1925
  import chalk17 from "chalk";
1926
1926
  import ora16 from "ora";
1927
1927
  import { createAIGenerator, isInitialized } from "@contextos/core";
1928
- var generateCommand = new Command14("generate").description("Generate code using AI").argument("<prompt>", "What to generate").option("--dry-run", "Preview what would be generated without writing files").option("--model <model>", "AI model to use (gemini, openai)", "auto").option("--no-backup", "Skip backup before overwriting files").option("--max-files <n>", "Maximum number of files to generate", "20").action(async (prompt, options) => {
1928
+ var generateCommand = new Command14("generate").description("Generate code using AI").argument("<prompt>", "What to generate").option("--dry-run", "Preview what would be generated without writing files").option("--model <model>", "AI model to use (gemini, openai, anthropic)", "auto").option("--no-backup", "Skip backup before overwriting files").option("--max-files <n>", "Maximum number of files to generate", "20").action(async (prompt, options) => {
1929
1929
  console.log(chalk17.cyan.bold("\n\u{1F916} AI Code Generator\n"));
1930
1930
  if (!isInitialized()) {
1931
1931
  console.log(chalk17.yellow('\u26A0\uFE0F ContextOS not initialized. Run "ctx init" first.\n'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contextos/cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.2",
4
4
  "description": "CLI for ContextOS - The Context Server Protocol for AI Coding",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  "inquirer": "^9.2.0",
17
17
  "ora": "^8.0.0",
18
18
  "yaml": "^2.4.0",
19
- "@contextos/core": "0.3.0"
19
+ "@contextos/core": "0.4.2"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/inquirer": "^9.0.7",