@askance/cli 0.2.1 → 0.2.2

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/dist/cli/index.js CHANGED
@@ -440,6 +440,14 @@ async function login() {
440
440
  }
441
441
  catch { }
442
442
  }
443
+ // Check if a project is linked — if not, set one up
444
+ if (!config.projectId) {
445
+ console.log("\n No project linked. Setting up project...");
446
+ await setupProject();
447
+ }
448
+ else {
449
+ console.log(` Project: ${config.projectId}`);
450
+ }
443
451
  console.log("\n To log in as a different user, delete .askance/credentials and run login again.");
444
452
  return;
445
453
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askance/cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Askance CLI — Tool call interception & approval management for AI coding agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://askance.app",