social-autoposter 1.0.5 → 1.0.6

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/bin/cli.js +8 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -97,11 +97,13 @@ function init() {
97
97
  console.log(' social_posts.db exists — skipping');
98
98
  }
99
99
 
100
- // Skill symlink: ~/.claude/skills/social-autoposter -> ~/social-autoposter/skill
100
+ // Skill symlinks
101
101
  const skillsDir = path.join(os.homedir(), '.claude', 'skills');
102
102
  fs.mkdirSync(skillsDir, { recursive: true });
103
103
  linkOrRelink(path.join(DEST, 'skill'), path.join(skillsDir, 'social-autoposter'));
104
104
  console.log(' ~/.claude/skills/social-autoposter ->', path.join(DEST, 'skill'));
105
+ linkOrRelink(path.join(DEST, 'setup'), path.join(skillsDir, 'social-autoposter-setup'));
106
+ console.log(' ~/.claude/skills/social-autoposter-setup ->', path.join(DEST, 'setup'));
105
107
 
106
108
  // DB symlink: ~/.claude/social_posts.db -> ~/social-autoposter/social_posts.db
107
109
  const claudeDir = path.join(os.homedir(), '.claude');
@@ -143,13 +145,17 @@ function update() {
143
145
  console.log(' updated', f);
144
146
  }
145
147
 
146
- // Re-symlink skill and DB in case they broke
148
+ // Re-symlink skill, setup skill, and DB in case they broke
147
149
  const skillsDir = path.join(os.homedir(), '.claude', 'skills');
148
150
  const claudeDir = path.join(os.homedir(), '.claude');
149
151
  try {
150
152
  linkOrRelink(path.join(DEST, 'skill'), path.join(skillsDir, 'social-autoposter'));
151
153
  console.log(' re-linked ~/.claude/skills/social-autoposter');
152
154
  } catch {}
155
+ try {
156
+ linkOrRelink(path.join(DEST, 'setup'), path.join(skillsDir, 'social-autoposter-setup'));
157
+ console.log(' re-linked ~/.claude/skills/social-autoposter-setup');
158
+ } catch {}
153
159
  try {
154
160
  linkOrRelink(path.join(DEST, 'social_posts.db'), path.join(claudeDir, 'social_posts.db'));
155
161
  console.log(' re-linked ~/.claude/social_posts.db');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "social-autoposter",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Automated social posting pipeline for Reddit, X/Twitter, LinkedIn, and Moltbook. Install as a Claude Code agent skill.",
5
5
  "bin": {
6
6
  "social-autoposter": "bin/cli.js"