@getpawl/setup 1.3.4 → 1.3.5

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/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -241,7 +241,7 @@ async function pawlInit(key, opts) {
241
241
  writePawlClaudeMd(cwd);
242
242
  writeAgentsMd(cwd);
243
243
  updateGitignore(cwd);
244
- printSummary(detected, !!key);
244
+ printSummary(detected, !!key, !!opts?.noConnect);
245
245
  if (!key && !opts?.noConnect) {
246
246
  console.log("\nConnecting to Pawl dashboard...\n");
247
247
  await pawlConnect();
@@ -816,7 +816,7 @@ function writeAgentsMd(cwd) {
816
816
  }
817
817
  (0, import_node_fs.writeFileSync)(agentsMdPath, content, "utf-8");
818
818
  }
819
- function printSummary(detected, hasKey) {
819
+ function printSummary(detected, hasKey, noConnect) {
820
820
  console.log("\n Pawl initialized.\n");
821
821
  console.log(" Detected agents:");
822
822
  if (detected.hasCC) {
@@ -845,8 +845,12 @@ function printSummary(detected, hasKey) {
845
845
  console.log("\n Note: git repo not detected \u2014 post-commit hook skipped.");
846
846
  }
847
847
  if (!hasKey) {
848
- console.log("\n Sync is not yet connected to the Pawl dashboard.");
849
- console.log(" Starting connect flow...");
848
+ if (noConnect) {
849
+ console.log("\n Run `pawl connect` to link this repo to your dashboard.");
850
+ } else {
851
+ console.log("\n Sync is not yet connected to the Pawl dashboard.");
852
+ console.log(" Starting connect flow...");
853
+ }
850
854
  } else {
851
855
  console.log("\n .pawl/.env written \u2014 sync is connected.");
852
856
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpawl/setup",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "type": "commonjs",
5
5
  "description": "One-shot setup for Pawl + Claude Code hooks",
6
6
  "bin": {