social-autoposter 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.
Files changed (2) hide show
  1. package/bin/cli.js +6 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -143,12 +143,17 @@ function update() {
143
143
  console.log(' updated', f);
144
144
  }
145
145
 
146
- // Re-symlink skill in case it broke
146
+ // Re-symlink skill and DB in case they broke
147
147
  const skillsDir = path.join(os.homedir(), '.claude', 'skills');
148
+ const claudeDir = path.join(os.homedir(), '.claude');
148
149
  try {
149
150
  linkOrRelink(path.join(DEST, 'skill'), path.join(skillsDir, 'social-autoposter'));
150
151
  console.log(' re-linked ~/.claude/skills/social-autoposter');
151
152
  } catch {}
153
+ try {
154
+ linkOrRelink(path.join(DEST, 'social_posts.db'), path.join(claudeDir, 'social_posts.db'));
155
+ console.log(' re-linked ~/.claude/social_posts.db');
156
+ } catch {}
152
157
 
153
158
  console.log('');
154
159
  console.log('Update complete. config.json and social_posts.db were preserved.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "social-autoposter",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
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"