arreio 1.0.4 → 1.0.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.
package/README.md CHANGED
@@ -12,7 +12,15 @@ Install Arreio as a dependency to enable all skills in your workspace:
12
12
  npm install arreio
13
13
  ```
14
14
 
15
- The post-install script will automatically copy all Arreio skills to your project's `.agents/skills/` directory, making them available to your AI coding agent. (Note: npm may show an advisory about unallowed install scripts—this is informational and won't block the installation.)
15
+ The post-install script will automatically copy all Arreio skills to your project's `.agents/skills/` directory, making them available to your AI coding agent.
16
+
17
+ > **Note on npm 10+ install scripts:** npm 10+ blocks lifecycle scripts by default and will print a warning like `npm warn install-scripts arreio@x.y.z (postinstall: ...)`. The script is not run automatically until you allow it. Run:
18
+ >
19
+ > ```bash
20
+ > npm install-scripts approve arreio
21
+ > ```
22
+ >
23
+ > If you skip the postinstall, run `/arreio-init` in your AI coding agent — it will install the skills for you.
16
24
 
17
25
  Then initialize your project to set up the Arreio folder structure and documentation:
18
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arreio",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Arreio transforms agentic coding workflows into a predictable, safe, and high-quality software delivery pipeline. Master the four core phases—Plan, Work, Review, Learn—to orchestrate a highly reliable development cycle.",
5
5
  "license": "MIT",
6
6
  "author": "Wicttor",
@@ -11,7 +11,11 @@ const path = require('path');
11
11
  // Determine the source and destination paths
12
12
  const packageDir = path.dirname(__dirname);
13
13
  const skillsSource = path.join(packageDir, 'skills');
14
- const agentsDir = path.join(process.cwd(), '.agents');
14
+
15
+ // INIT_CWD is set by npm to the project root during lifecycle scripts.
16
+ // Fallback to process.cwd() for direct/manual runs.
17
+ const projectRoot = process.env.INIT_CWD || process.cwd();
18
+ const agentsDir = path.join(projectRoot, '.agents');
15
19
  const skillsDestination = path.join(agentsDir, 'skills');
16
20
 
17
21
  // Function to recursively copy directories