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
package/src/cli/simple-cli.js
CHANGED
|
@@ -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
|
});
|