@shaifulshabuj-waymarks/cli 0.2.0 → 0.3.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.
@@ -37,7 +37,7 @@ async function run() {
37
37
  rows = await res.json();
38
38
  }
39
39
  catch {
40
- console.log('Waymark is not running. Start with: waymark start');
40
+ console.log('Waymark is not running. Start with: npx @shaifulshabuj-waymarks/cli start');
41
41
  return;
42
42
  }
43
43
  if (pendingOnly)
@@ -72,7 +72,7 @@ function run() {
72
72
  const waymarkDir = path.join(projectRoot, '.waymark');
73
73
  const pidFile = path.join(waymarkDir, 'waymark.pid');
74
74
  if (!fs.existsSync(configPath)) {
75
- console.error('waymark.config.json not found. Run waymark init first.');
75
+ console.error('waymark.config.json not found. Run: npx @shaifulshabuj-waymarks/cli init');
76
76
  process.exit(1);
77
77
  }
78
78
  // Guard: already running
@@ -82,7 +82,7 @@ function run() {
82
82
  if (isAlive(saved.api) || isAlive(saved.mcp)) {
83
83
  console.log('Waymark is already running.');
84
84
  console.log('Dashboard: http://localhost:3001');
85
- console.log('Run "waymark stop" to stop it.');
85
+ console.log('Run "npx @shaifulshabuj-waymarks/cli stop" to stop it.');
86
86
  process.exit(0);
87
87
  }
88
88
  }
@@ -120,6 +120,6 @@ function run() {
120
120
  console.log('Waymark started (background)');
121
121
  console.log('Dashboard: http://localhost:3001');
122
122
  console.log('MCP server: active (stdio)');
123
- console.log('Run "waymark stop" to stop.');
123
+ console.log('Run "npx @shaifulshabuj-waymarks/cli stop" to stop.');
124
124
  }, 1500);
125
125
  }
@@ -49,7 +49,7 @@ function isAlive(pid) {
49
49
  async function run() {
50
50
  const pidFile = path.join(process.cwd(), '.waymark', 'waymark.pid');
51
51
  if (!fs.existsSync(pidFile)) {
52
- console.log('Waymark is not running. Start with: waymark start');
52
+ console.log('Waymark is not running. Start with: npx @shaifulshabuj-waymarks/cli start');
53
53
  return;
54
54
  }
55
55
  let saved;
@@ -57,12 +57,12 @@ async function run() {
57
57
  saved = JSON.parse(fs.readFileSync(pidFile, 'utf8'));
58
58
  }
59
59
  catch {
60
- console.log('Waymark is not running. Start with: waymark start');
60
+ console.log('Waymark is not running. Start with: npx @shaifulshabuj-waymarks/cli start');
61
61
  return;
62
62
  }
63
63
  if (!isAlive(saved.api) && !isAlive(saved.mcp)) {
64
64
  fs.unlinkSync(pidFile);
65
- console.log('Waymark is not running (crashed). Start with: waymark start');
65
+ console.log('Waymark is not running (crashed). Start with: npx @shaifulshabuj-waymarks/cli start');
66
66
  return;
67
67
  }
68
68
  try {
@@ -82,6 +82,6 @@ async function run() {
82
82
  console.log(`Total actions logged: ${total}`);
83
83
  }
84
84
  catch {
85
- console.log('Waymark is not running. Start with: waymark start');
85
+ console.log('Waymark is not running. Start with: npx @shaifulshabuj-waymarks/cli start');
86
86
  }
87
87
  }
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ switch (command) {
17
17
  require('./commands/logs').run();
18
18
  break;
19
19
  default:
20
- console.log('Usage: waymark <init|start|stop|status|logs>');
20
+ console.log('Usage: npx @shaifulshabuj-waymarks/cli <init|start|stop|status|logs>');
21
21
  console.log('');
22
22
  console.log('Commands:');
23
23
  console.log(' init Set up Waymark in the current project');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shaifulshabuj-waymarks/cli",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Control what AI agents can do in your codebase",
5
5
  "author": "Waymark <hello@waymarks.dev>",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "build": "tsc"
32
32
  },
33
33
  "dependencies": {
34
- "@shaifulshabuj-waymarks/server": "0.2.0"
34
+ "@shaifulshabuj-waymarks/server": "0.3.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.11.5",