buildflow-dev 1.0.4 → 1.0.5

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": "buildflow-dev",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Adaptive AI-powered development orchestration. Works with Claude Code, Gemini CLI, Codex CLI, Cursor, and more.",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,6 +1,6 @@
1
1
  import chalk from 'chalk'
2
2
  import ora from 'ora'
3
- import { existsSync, readFileSync } from 'fs'
3
+ import { readFileSync } from 'fs'
4
4
  import { join, dirname } from 'path'
5
5
  import { fileURLToPath } from 'url'
6
6
  import { refreshInstalledTools } from './install.js'
@@ -9,13 +9,6 @@ import { checkVersion, clearUpdateNotice } from '../utils/checkVersion.js'
9
9
  const __dirname = dirname(fileURLToPath(import.meta.url))
10
10
 
11
11
  export async function run(opts = {}) {
12
- const base = join(process.cwd(), '.buildflow')
13
-
14
- if (!existsSync(base)) {
15
- console.log(chalk.yellow('\n BuildFlow not initialized. Run: npx buildflow-dev init\n'))
16
- return
17
- }
18
-
19
12
  const pkg = JSON.parse(readFileSync(join(__dirname, '../../package.json'), 'utf8'))
20
13
 
21
14
  if (opts.check) {
@@ -26,7 +19,7 @@ export async function run(opts = {}) {
26
19
 
27
20
  if (update) {
28
21
  console.log(chalk.yellow(` Update available: ${update.current} → ${update.latest}`))
29
- console.log(chalk.white(' Run: npx buildflow-dev update\n'))
22
+ console.log(chalk.white(' Run: npx buildflow-dev@latest update\n'))
30
23
  } else {
31
24
  console.log(chalk.green(` ✓ Up to date (v${pkg.version})\n`))
32
25
  }
@@ -13,7 +13,7 @@ export async function showWelcome() {
13
13
  checkVersion(pkg.version).then(update => {
14
14
  if (update) {
15
15
  console.log(chalk.yellow(`\n Update available: ${update.current} → ${update.latest}`))
16
- console.log(chalk.dim(' Run: npx buildflow-dev update\n'))
16
+ console.log(chalk.dim(' Run: npx buildflow-dev@latest update\n'))
17
17
  }
18
18
  }).catch(() => {})
19
19
  const isInitialized = existsSync(join(process.cwd(), '.buildflow'))
@@ -66,9 +66,9 @@ export async function showWelcome() {
66
66
  console.log(chalk.cyan(' /buildflow-status ') + chalk.dim(' Where am I?'))
67
67
  console.log('')
68
68
  console.log(chalk.dim(' CLI commands:'))
69
- console.log(chalk.white(' buildflow status ') + chalk.dim(' Show project status'))
70
- console.log(chalk.white(' buildflow audit ') + chalk.dim(' Run security audit from terminal'))
71
- console.log(chalk.white(' buildflow update ') + chalk.dim(' Update BuildFlow commands'))
69
+ console.log(chalk.white(' npx buildflow-dev status ') + chalk.dim(' Show project status'))
70
+ console.log(chalk.white(' npx buildflow-dev audit ') + chalk.dim(' Run security audit from terminal'))
71
+ console.log(chalk.white(' npx buildflow-dev update ') + chalk.dim(' Refresh AI tool command files'))
72
72
 
73
73
  // Surface any newly installed AI tools that don't have BuildFlow yet
74
74
  const uninstalled = getToolStatus().filter(t => t.detected && !t.installedLocal && !t.installedGlobal)