cairn-work 0.4.0 → 0.5.0
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/README.md +3 -3
- package/lib/commands/update.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ AI-native project management where markdown files are the source of truth.
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g cairn
|
|
8
|
+
npm install -g cairn-work
|
|
9
9
|
cairn onboard
|
|
10
10
|
```
|
|
11
11
|
|
|
@@ -27,9 +27,9 @@ Cairn is a project management system designed for working with AI agents. Instea
|
|
|
27
27
|
### Global Install (Recommended)
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
npm install -g cairn
|
|
30
|
+
npm install -g cairn-work
|
|
31
31
|
# or
|
|
32
|
-
bun install -g cairn
|
|
32
|
+
bun install -g cairn-work
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### Test Locally
|
package/lib/commands/update.js
CHANGED
|
@@ -24,7 +24,7 @@ export default async function update() {
|
|
|
24
24
|
|
|
25
25
|
try {
|
|
26
26
|
// Check npm registry for latest version
|
|
27
|
-
const { stdout } = await execAsync('npm view cairn version');
|
|
27
|
+
const { stdout } = await execAsync('npm view cairn-work version');
|
|
28
28
|
const latestVersion = stdout.trim();
|
|
29
29
|
|
|
30
30
|
console.log(chalk.dim('Current version:'), chalk.cyan(currentVersion));
|
|
@@ -52,10 +52,10 @@ export default async function update() {
|
|
|
52
52
|
|
|
53
53
|
// Perform update
|
|
54
54
|
console.log();
|
|
55
|
-
console.log(chalk.dim('Running:'), chalk.cyan('npm install -g cairn@latest'));
|
|
55
|
+
console.log(chalk.dim('Running:'), chalk.cyan('npm install -g cairn-work@latest'));
|
|
56
56
|
console.log();
|
|
57
57
|
|
|
58
|
-
const updateProcess = exec('npm install -g cairn@latest');
|
|
58
|
+
const updateProcess = exec('npm install -g cairn-work@latest');
|
|
59
59
|
updateProcess.stdout.pipe(process.stdout);
|
|
60
60
|
updateProcess.stderr.pipe(process.stderr);
|
|
61
61
|
|
|
@@ -68,7 +68,7 @@ export default async function update() {
|
|
|
68
68
|
} else {
|
|
69
69
|
console.log();
|
|
70
70
|
console.error(chalk.red('✗'), 'Update failed');
|
|
71
|
-
console.log(chalk.dim('Try running manually:'), chalk.cyan('npm install -g cairn@latest'));
|
|
71
|
+
console.log(chalk.dim('Try running manually:'), chalk.cyan('npm install -g cairn-work@latest'));
|
|
72
72
|
console.log();
|
|
73
73
|
process.exit(1);
|
|
74
74
|
}
|
|
@@ -77,7 +77,7 @@ export default async function update() {
|
|
|
77
77
|
} catch (error) {
|
|
78
78
|
console.error(chalk.red('Error checking for updates:'), error.message);
|
|
79
79
|
console.log(chalk.dim('\nYou can update manually:'));
|
|
80
|
-
console.log(chalk.cyan(' npm install -g cairn@latest'));
|
|
80
|
+
console.log(chalk.cyan(' npm install -g cairn-work@latest'));
|
|
81
81
|
console.log();
|
|
82
82
|
process.exit(1);
|
|
83
83
|
}
|