@getpawl/setup 1.3.2 → 1.3.3

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 +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ function generateCode() {
101
101
  }
102
102
  function getRepoName() {
103
103
  try {
104
- const remote = (0, import_node_child_process.execSync)("git remote get-url origin", { encoding: "utf-8" }).trim();
104
+ const remote = (0, import_node_child_process.execSync)("git remote get-url origin", { encoding: "utf-8", stdio: ["pipe", "pipe", "pipe"] }).trim();
105
105
  const match = remote.match(/\/([^/]+?)(?:\.git)?$/);
106
106
  if (match) return match[1];
107
107
  } catch {
@@ -824,21 +824,22 @@ function printSummary(detected, hasKey) {
824
824
  if (detected.hasGemini) {
825
825
  console.log(" Gemini CLI \u2713 hooks installed (.gemini/settings.json)");
826
826
  }
827
- console.log(" Codex / other no lifecycle hooks \u2014 git post-commit fallback active");
827
+ if (detected.hasGitDir) {
828
+ console.log(" Git hook active \u2014 syncs on every commit (all agents)");
829
+ }
828
830
  console.log("\n Files written:");
829
831
  console.log(" .pawl/sync.mjs (Node.js sync \u2014 no curl/jq needed)");
830
832
  console.log(" .pawl/track-file.mjs (Node.js file tracker)");
831
833
  console.log(" .pawl/sync.sh (bash fallback)");
832
834
  console.log(" .pawl/parse-cc-session.js");
833
835
  console.log(" CLAUDE.md (pawl context block updated)");
834
- console.log(" AGENTS.md (pawl context block \u2014 readable by Codex, Kiro, and others)");
836
+ console.log(" AGENTS.md (universal context block \u2014 readable by all agents)");
835
837
  if (detected.hasGitDir) {
836
838
  console.log(" .git/hooks/post-commit (universal sync fallback)");
837
839
  }
838
840
  console.log(" .gitignore (updated)");
839
841
  if (detected.hasGitDir) {
840
- console.log("\n Note: .git/hooks/post-commit is per-machine \u2014 not committed to the repo.");
841
- console.log(" Each team member should run: pawl init");
842
+ console.log("\n Each team member should run pawl init to activate git sync.");
842
843
  } else {
843
844
  console.log("\n Note: git repo not detected \u2014 post-commit hook skipped.");
844
845
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpawl/setup",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "type": "commonjs",
5
5
  "description": "One-shot setup for Pawl + Claude Code hooks",
6
6
  "bin": {