@getpawl/setup 1.3.3 → 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 +18 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29,14 +29,12 @@ async function main() {
29
29
  }
30
30
  function printUsage() {
31
31
  console.log(`
32
- Usage:
33
- pawl init Initialize Pawl in this repo
34
- pawl connect Link this repo to a Pawl project (opens browser)
35
- pawl sync [--pull] Sync with Pawl dashboard (push by default)
36
- pawl migrate Migrate .pawl/sync.sh from AGENTMAP_* to PAWL_* vars
37
- pawl-setup <PROJECT_KEY> Legacy setup (still supported)
38
-
39
- Dashboard: https://agentmap-mimy.onrender.com/dashboard
32
+ Pawl \u2014 project visibility layer for AI-native development
33
+
34
+ Usage:
35
+ pawl init Set up Pawl in this repo
36
+ pawl connect Link this repo to your Pawl dashboard
37
+ pawl sync [--pull] Push session data to dashboard (or pull context)
40
38
  `);
41
39
  }
42
40
  function pawlSync(flag) {
@@ -181,7 +179,10 @@ async function pawlConnect() {
181
179
  writePawlEnvFile(cwd, result);
182
180
  console.log(" Connected! .pawl/.env written.\n");
183
181
  console.log(` Dashboard: https://agentmap-mimy.onrender.com/projects/${result.projectId}`);
184
- console.log(" Run `pawl sync` to push your first session.\n");
182
+ console.log(" You're all set. Pawl will sync automatically after each session.\n");
183
+ console.log(" Useful commands:");
184
+ console.log(" pawl sync --pull Pull latest context before starting work");
185
+ console.log(" pawl sync Push session data manually\n");
185
186
  }
186
187
  function legacySetup(encoded) {
187
188
  let config;
@@ -240,7 +241,7 @@ async function pawlInit(key, opts) {
240
241
  writePawlClaudeMd(cwd);
241
242
  writeAgentsMd(cwd);
242
243
  updateGitignore(cwd);
243
- printSummary(detected, !!key);
244
+ printSummary(detected, !!key, !!opts?.noConnect);
244
245
  if (!key && !opts?.noConnect) {
245
246
  console.log("\nConnecting to Pawl dashboard...\n");
246
247
  await pawlConnect();
@@ -815,7 +816,7 @@ function writeAgentsMd(cwd) {
815
816
  }
816
817
  (0, import_node_fs.writeFileSync)(agentsMdPath, content, "utf-8");
817
818
  }
818
- function printSummary(detected, hasKey) {
819
+ function printSummary(detected, hasKey, noConnect) {
819
820
  console.log("\n Pawl initialized.\n");
820
821
  console.log(" Detected agents:");
821
822
  if (detected.hasCC) {
@@ -844,8 +845,12 @@ function printSummary(detected, hasKey) {
844
845
  console.log("\n Note: git repo not detected \u2014 post-commit hook skipped.");
845
846
  }
846
847
  if (!hasKey) {
847
- console.log("\n Sync is not yet connected to the Pawl dashboard.");
848
- 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
+ }
849
854
  } else {
850
855
  console.log("\n .pawl/.env written \u2014 sync is connected.");
851
856
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpawl/setup",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "type": "commonjs",
5
5
  "description": "One-shot setup for Pawl + Claude Code hooks",
6
6
  "bin": {