cc-codeconductor 0.2.1 → 0.2.3

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 +65 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import { createRequire } from "node:module";
2
3
  var __create = Object.create;
3
4
  var __getProtoOf = Object.getPrototypeOf;
@@ -12486,11 +12487,64 @@ async function updateCommand(options) {
12486
12487
  };
12487
12488
  }
12488
12489
  }
12490
+ // package.json
12491
+ var package_default = {
12492
+ name: "cc-codeconductor",
12493
+ version: "0.2.2",
12494
+ description: "A multi-agent orchestration framework for AI-assisted software engineering workflows.",
12495
+ keywords: [
12496
+ "ai",
12497
+ "agents",
12498
+ "orchestration",
12499
+ "workflow",
12500
+ "opencode",
12501
+ "claude",
12502
+ "codex"
12503
+ ],
12504
+ license: "MIT",
12505
+ files: [
12506
+ "dist/index.js",
12507
+ "policy.yml",
12508
+ "presets/",
12509
+ "src/presets/"
12510
+ ],
12511
+ repository: {
12512
+ type: "git",
12513
+ url: "https://github.com/lgzarturo/codeconductor"
12514
+ },
12515
+ engines: {
12516
+ node: ">=20.11"
12517
+ },
12518
+ type: "module",
12519
+ bin: {
12520
+ codeconductor: "./dist/index.js"
12521
+ },
12522
+ scripts: {
12523
+ dev: "bun run src/cli/main.ts",
12524
+ build: "bun build src/cli/main.ts --target=node --outfile=dist/index.js",
12525
+ test: "bun test",
12526
+ typecheck: "tsc --noEmit",
12527
+ "release:patch": "bash release.sh patch",
12528
+ "release:minor": "bash release.sh minor",
12529
+ "release:major": "bash release.sh major",
12530
+ "release:notes": "git-cliff --config .cliff.toml --output CHANGELOG.md",
12531
+ release: "bash release.sh"
12532
+ },
12533
+ dependencies: {
12534
+ zod: "^3.23.8",
12535
+ yaml: "^2.4.5"
12536
+ },
12537
+ devDependencies: {
12538
+ "@types/bun": "^1.1.8",
12539
+ typescript: "^5.5.3"
12540
+ }
12541
+ };
12489
12542
 
12490
12543
  // src/cli/router.ts
12491
12544
  function parseArgs(args) {
12492
12545
  const flags = {
12493
12546
  help: false,
12547
+ version: false,
12494
12548
  dryRun: false,
12495
12549
  force: false,
12496
12550
  output: "human"
@@ -12500,6 +12554,8 @@ function parseArgs(args) {
12500
12554
  for (const arg of args) {
12501
12555
  if (arg === "--help" || arg === "-h") {
12502
12556
  flags.help = true;
12557
+ } else if (arg === "--version" || arg === "-v") {
12558
+ flags.version = true;
12503
12559
  } else if (arg === "--dry-run") {
12504
12560
  flags.dryRun = true;
12505
12561
  } else if (arg === "--force") {
@@ -12542,8 +12598,11 @@ function parseArgs(args) {
12542
12598
  }
12543
12599
  return { command, subcommand, options, flags };
12544
12600
  }
12601
+ function getVersion() {
12602
+ return `${package_default.name} v${package_default.version}`;
12603
+ }
12545
12604
  function getHelp() {
12546
- return `CodeConductor CLI v0.2.0
12605
+ return `CodeConductor CLI v${package_default.version}
12547
12606
 
12548
12607
  Usage: codeconductor <command> [options]
12549
12608
 
@@ -12557,6 +12616,7 @@ Commands:
12557
12616
 
12558
12617
  Options:
12559
12618
  --help, -h Show this help message
12619
+ --version, -v Show package version
12560
12620
  --dry-run Show what would happen without writing files
12561
12621
  --force Allow overwriting existing files
12562
12622
  --global Install to home directory (~/.claude, ~/.opencode, etc.)
@@ -12653,6 +12713,10 @@ async function routeCommand(args, projectRoot) {
12653
12713
  // src/cli/main.ts
12654
12714
  async function runCli(args) {
12655
12715
  const parsed = parseArgs(args.slice(2));
12716
+ if (parsed.flags.version) {
12717
+ console.log(getVersion());
12718
+ process.exit(0);
12719
+ }
12656
12720
  if (parsed.flags.help || !parsed.command || parsed.command === "help") {
12657
12721
  console.log(getHelp());
12658
12722
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-codeconductor",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "A multi-agent orchestration framework for AI-assisted software engineering workflows.",
5
5
  "keywords": [
6
6
  "ai",