cairn-work 0.3.0 ā 0.4.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 +1 -1
- package/bin/cairn.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/onboard.js +6 -4
- package/lib/commands/update-skill.js +1 -1
- package/lib/commands/update.js +1 -1
- package/lib/setup/workspace.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/bin/cairn.js
CHANGED
package/lib/commands/doctor.js
CHANGED
|
@@ -12,7 +12,7 @@ import { verifyCursor } from '../agents/cursor.js';
|
|
|
12
12
|
import { validateWorkspace, createWorkspace, createWelcomeFile, resolveWorkspace } from '../setup/workspace.js';
|
|
13
13
|
|
|
14
14
|
export default async function doctor() {
|
|
15
|
-
console.log(chalk.bold.cyan('\n
|
|
15
|
+
console.log(chalk.bold.cyan('\n𦮠Cairn Doctor\n'));
|
|
16
16
|
console.log(chalk.dim('Checking workspace health...\n'));
|
|
17
17
|
|
|
18
18
|
const workspacePath = resolveWorkspace() || join(homedir(), 'cairn');
|
package/lib/commands/init.js
CHANGED
|
@@ -3,7 +3,7 @@ import chalk from 'chalk';
|
|
|
3
3
|
import { createWorkspace, createWelcomeFile, workspaceExists } from '../setup/workspace.js';
|
|
4
4
|
|
|
5
5
|
export default async function init(options) {
|
|
6
|
-
console.log(chalk.bold.cyan('\n
|
|
6
|
+
console.log(chalk.bold.cyan('\n𦮠Initializing Cairn\n'));
|
|
7
7
|
|
|
8
8
|
const workspacePath = options.path || process.cwd();
|
|
9
9
|
|
package/lib/commands/onboard.js
CHANGED
|
@@ -12,7 +12,7 @@ import { setupGeneric, getGenericInstructions } from '../agents/generic.js';
|
|
|
12
12
|
import { createWorkspace, createWelcomeFile, workspaceExists } from '../setup/workspace.js';
|
|
13
13
|
|
|
14
14
|
export default async function onboard(options) {
|
|
15
|
-
console.log(chalk.bold.cyan('\n
|
|
15
|
+
console.log(chalk.bold.cyan('\n𦮠Cairn Onboarding\n'));
|
|
16
16
|
|
|
17
17
|
// Prompt for workspace path (if not provided)
|
|
18
18
|
let workspacePath = options.path;
|
|
@@ -134,8 +134,10 @@ export default async function onboard(options) {
|
|
|
134
134
|
// Success!
|
|
135
135
|
console.log(chalk.bold.green('\nš Onboarding complete!\n'));
|
|
136
136
|
console.log(chalk.dim('Next steps:'));
|
|
137
|
-
console.log(chalk.dim(' 1.
|
|
138
|
-
console.log(chalk.dim('
|
|
139
|
-
console.log(chalk.dim('
|
|
137
|
+
console.log(chalk.dim(' 1. Open your workspace and tell your agent:'));
|
|
138
|
+
console.log(chalk.dim(' "I use Cairn for project management. Run `cairn --help`'));
|
|
139
|
+
console.log(chalk.dim(' to learn the commands, then help me create my first project."'));
|
|
140
|
+
console.log(chalk.dim(' 2. Or try it yourself: cairn create project "My Project"'));
|
|
141
|
+
console.log(chalk.dim(' 3. Explore commands: cairn --help'));
|
|
140
142
|
console.log();
|
|
141
143
|
}
|
|
@@ -8,7 +8,7 @@ import { setupCursor } from '../agents/cursor.js';
|
|
|
8
8
|
import { resolveWorkspace } from '../setup/workspace.js';
|
|
9
9
|
|
|
10
10
|
export default async function updateSkill(options) {
|
|
11
|
-
console.log(chalk.bold.cyan('\n
|
|
11
|
+
console.log(chalk.bold.cyan('\n𦮠Updating Agent Skill\n'));
|
|
12
12
|
|
|
13
13
|
const workspacePath = resolveWorkspace();
|
|
14
14
|
|
package/lib/commands/update.js
CHANGED
|
@@ -14,7 +14,7 @@ const __dirname = dirname(__filename);
|
|
|
14
14
|
* Check npm registry for latest version and prompt to update
|
|
15
15
|
*/
|
|
16
16
|
export default async function update() {
|
|
17
|
-
console.log(chalk.bold.cyan('\n
|
|
17
|
+
console.log(chalk.bold.cyan('\n𦮠Checking for updates...\n'));
|
|
18
18
|
|
|
19
19
|
// Get current version
|
|
20
20
|
const packageJson = JSON.parse(
|
package/lib/setup/workspace.js
CHANGED
|
@@ -40,7 +40,7 @@ export function createWelcomeFile(path) {
|
|
|
40
40
|
return; // Don't overwrite existing README
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
const content = `# Welcome to Cairn
|
|
43
|
+
const content = `# Welcome to Cairn š¦®
|
|
44
44
|
|
|
45
45
|
You've successfully set up Cairn!
|
|
46
46
|
|
|
@@ -104,7 +104,7 @@ owner: me
|
|
|
104
104
|
- **Check health:** \`cairn doctor\`
|
|
105
105
|
- **Update skill:** \`cairn update-skill\`
|
|
106
106
|
|
|
107
|
-
Happy building!
|
|
107
|
+
Happy building! š¦®
|
|
108
108
|
`;
|
|
109
109
|
|
|
110
110
|
writeFileSync(readmePath, content);
|