chiefwiggum 1.3.3 → 1.3.7

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/cli.cjs +22 -0
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -522,6 +522,7 @@ async function cmdLoop() {
522
522
  // src/commands/new.ts
523
523
  var __dirname = (0, import_node_path2.dirname)((0, import_node_url.fileURLToPath)(importMetaUrl));
524
524
  var LOCAL_TEMPLATES_DIR = ".chiefwiggum/templates";
525
+ var CONFIG_FILE = ".chiefwiggum/CLAUDE.md";
525
526
  var BUNDLED_TEMPLATES_DIR = (0, import_node_path2.join)(__dirname, "..", "templates");
526
527
  async function cmdNew(planFile) {
527
528
  console.log(import_picocolors7.default.bold("Project Setup"));
@@ -536,6 +537,7 @@ async function cmdNew(planFile) {
536
537
  console.log(import_picocolors7.default.yellow("Aborted."));
537
538
  process.exit(0);
538
539
  }
540
+ await setupProjectConfig();
539
541
  await setupTemplates();
540
542
  if (planFile) {
541
543
  if (!(0, import_node_fs3.existsSync)(planFile)) {
@@ -653,6 +655,26 @@ async function setupTemplates() {
653
655
  console.log(import_picocolors7.default.dim(" You can customize these templates to change how specs are generated."));
654
656
  console.log();
655
657
  }
658
+ async function setupProjectConfig() {
659
+ if ((0, import_node_fs3.existsSync)(CONFIG_FILE)) {
660
+ console.log(import_picocolors7.default.dim(`Config already exists at ${CONFIG_FILE}`));
661
+ return;
662
+ }
663
+ console.log();
664
+ const useGitHub = await confirm2({
665
+ message: "Use GitHub Issues to track tasks? (instead of TODO.md)",
666
+ initialValue: false
667
+ });
668
+ const config2 = {
669
+ tracker: useGitHub ? "github" : "todo"
670
+ };
671
+ (0, import_node_fs3.writeFileSync)(CONFIG_FILE, JSON.stringify(config2, null, 2) + "\n");
672
+ console.log(import_picocolors7.default.green(`\u2713 Config saved to ${CONFIG_FILE}`));
673
+ if (useGitHub) {
674
+ console.log(import_picocolors7.default.dim(" Tasks will be created as GitHub Issues."));
675
+ }
676
+ console.log();
677
+ }
656
678
  async function interactiveDescribe() {
657
679
  console.log();
658
680
  console.log(import_picocolors7.default.bold("Tell me about your project"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chiefwiggum",
3
- "version": "1.3.3",
3
+ "version": "1.3.7",
4
4
  "description": "Autonomous coding agent CLI. Point it at a plan, watch it build.",
5
5
  "type": "module",
6
6
  "bin": {