setclaw 1.0.6 → 1.0.7

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.
@@ -1,15 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { platform } from "os";
4
- import { writeFileSync, join, homedir } from "fs";
3
+ import { join } from "path";
4
+ import { homedir } from "os";
5
+ import { writeFileSync, mkdirSync } from "fs";
5
6
 
6
- // Always write a "pending setup" marker so setclaw can detect first run
7
- import { join as pathJoin } from "path";
8
- import { homedir as getHome } from "os";
9
- import { writeFileSync as wf, mkdirSync } from "fs";
10
-
11
- const markerDir = pathJoin(getHome(), ".setclaw");
12
- const markerFile = pathJoin(markerDir, "pending");
7
+ const markerDir = join(homedir(), ".setclaw");
8
+ const markerFile = join(markerDir, "pending");
13
9
 
14
10
  try {
15
11
  mkdirSync(markerDir, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "setclaw",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "BOA & Quatarly setup for Claude Code and Factory",
5
5
  "type": "module",
6
6
  "bin": {