@only1btayy/g2w 1.0.12 → 1.0.14

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
@@ -141,7 +141,7 @@ Safe git operations — add, commit, push, status, log — run without approval
141
141
  ## How 2 Install
142
142
 
143
143
  ```bash
144
- npm install -g @only1btayy/g2w
144
+ npm install -g @only1btayy/g2w && g2w
145
145
  ```
146
146
 
147
147
  That's it. G2W installs globally into `~/.claude/` automatically — skills and hooks ready in every project, everywhere.
package/bin/g2w.js CHANGED
@@ -12,7 +12,6 @@ if (command === 'install') {
12
12
  } else {
13
13
  process.stdout.write(`${LOGO}
14
14
  Usage:
15
- g2w install — install skills + hooks into ~/.claude/
16
15
  g2w update — update skills to latest version
17
16
  g2w uninstall — remove G2W
18
17
 
package/lib/install.js CHANGED
@@ -43,7 +43,7 @@ const G2W_HOOKS = {
43
43
  };
44
44
 
45
45
  function copySkills(targetBase) {
46
- const dest = path.join(targetBase, '.claude', 'skills', 'g2w');
46
+ const dest = path.join(targetBase, '.claude', 'commands', 'g2w');
47
47
  fs.mkdirSync(dest, { recursive: true });
48
48
  const files = fs.readdirSync(SKILLS_SRC).filter(f => f.endsWith('.md'));
49
49
  files.forEach(file => {
@@ -86,7 +86,7 @@ function mergeHooks(targetBase) {
86
86
  }
87
87
 
88
88
  function removeSkills(targetBase) {
89
- const dest = path.join(targetBase, '.claude', 'skills', 'g2w');
89
+ const dest = path.join(targetBase, '.claude', 'commands', 'g2w');
90
90
  if (fs.existsSync(dest)) {
91
91
  fs.rmSync(dest, { recursive: true, force: true });
92
92
  return true;
@@ -129,7 +129,7 @@ async function run() {
129
129
  writeTTY(`${LOGO}
130
130
  \x1b[32m✅ G2W installed at ${label}\x1b[0m
131
131
 
132
- ${count} skills → ${path.join(label, 'skills/g2w/')}
132
+ ${count} skills → ${path.join(label, 'commands/g2w/')}
133
133
  Hooks → ${path.join(label, 'settings.json')}
134
134
 
135
135
  Open any project with Claude Code and type:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@only1btayy/g2w",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "G2W — a relationship protocol for building trust with AI",
5
5
  "bin": {
6
6
  "g2w": "bin/g2w.js"