claude-flow 1.0.33 → 1.0.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Advanced AI agent orchestration system for Claude Code",
5
5
  "main": "src/cli/main.ts",
6
6
  "bin": {
@@ -13,7 +13,7 @@ import {
13
13
  } from './command-registry.js';
14
14
  import { parseFlags } from './utils.js';
15
15
 
16
- const VERSION = '1.0.33';
16
+ const VERSION = '1.0.34';
17
17
 
18
18
  function printHelp() {
19
19
  console.log(`
@@ -13,6 +13,10 @@ export async function initCommand(subArgs, flags) {
13
13
  const initMinimal = subArgs.includes('--minimal') || subArgs.includes('-m') || flags.minimal;
14
14
  const initSparc = subArgs.includes('--sparc') || subArgs.includes('-s') || flags.sparc;
15
15
 
16
+ // Get the actual working directory (where the command was run from)
17
+ const workingDir = Deno.env.get('PWD') || Deno.cwd();
18
+ console.log(`📁 Initializing in: ${workingDir}`);
19
+
16
20
  try {
17
21
  printSuccess('Initializing Claude Code integration files...');
18
22
 
@@ -99,6 +103,7 @@ export async function initCommand(subArgs, flags) {
99
103
  try {
100
104
  const createSparcCommand = new Deno.Command('npx', {
101
105
  args: ['-y', 'create-sparc', 'init', '--force'],
106
+ cwd: Deno.cwd(), // Explicitly set working directory
102
107
  stdout: 'inherit',
103
108
  stderr: 'inherit',
104
109
  });