@eventmodelers/node-kit 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventmodelers/node-kit",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Real-time Claude agent that reacts to slice:changed events on an Eventmodelers board",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.js CHANGED
@@ -123,6 +123,12 @@ program
123
123
  const configPath = join(configDir, 'config.json');
124
124
  mkdirSync(configDir, { recursive: true });
125
125
 
126
+ const hasExisting = await prompt('\nDo you have an existing config from app.eventmodelers.de/account? (y/n): ');
127
+ if (hasExisting.toLowerCase() === 'y' || hasExisting.toLowerCase() === 'yes') {
128
+ console.log(`\n Paste your config into:\n\n ${configPath}\n\n Then re-run this installer.\n`);
129
+ process.exit(0);
130
+ }
131
+
126
132
  let config = {};
127
133
  if (existsSync(configPath)) {
128
134
  try {