setclaw 1.0.3 → 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
@@ -47,7 +47,7 @@ setclaw <your-quatarly-api-key>
47
47
  That's it. When you run `setclaw`, it will:
48
48
 
49
49
  ```
50
- setclaw — Quatarly setup for Claude Code & Factory
50
+ setclaw — BOA & Quatarly setup for Claude Code & Factory
51
51
  ─────────────────────────────────────────────────
52
52
 
53
53
  > Adding models to Factory...
package/package.json CHANGED
@@ -1,21 +1,19 @@
1
1
  {
2
2
  "name": "setclaw",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "BOA & Quatarly setup for Claude Code and Factory",
5
5
  "type": "module",
6
6
  "bin": {
7
- "setclaw": "./bin/setup.mjs"
8
- },
9
- "scripts": {
10
- "postinstall": "node bin/postinstall.mjs"
7
+ "setclaw": "bin/setclaw.js"
11
8
  },
12
9
  "files": [
13
- "bin"
10
+ "bin/setclaw.js"
14
11
  ],
15
12
  "keywords": [
16
13
  "claude",
17
14
  "claude-code",
18
15
  "quatarly",
16
+ "boa",
19
17
  "factory",
20
18
  "ai",
21
19
  "llm",
@@ -1,33 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- /**
4
- * postinstall — If QUATARLY_API_KEY env var is set, run setup automatically.
5
- * Otherwise, print instructions telling the user to run `setclaw`.
6
- */
7
-
8
- import { platform } from "os";
9
-
10
- const apiKey = process.env.QUATARLY_API_KEY;
11
-
12
- if (apiKey) {
13
- // Non-interactive install: run setup directly
14
- await import("./setup.mjs");
15
- } else {
16
- // Interactive install: can't prompt during npm postinstall, so guide the user
17
- const w = (msg) => process.stderr.write(msg + "\n");
18
- w("");
19
- w("\x1b[1m setclaw\x1b[0m — BOA & Quatarly — installed successfully!");
20
- w("");
21
- w(" Run this command to configure your Quatarly API key:");
22
- w("");
23
- w(" \x1b[36msetclaw \x1b[33m<your-api-key>\x1b[0m");
24
- w("");
25
- w(" Or with an env var:");
26
- w("");
27
- if (platform() === "win32") {
28
- w(' \x1b[36m$env:QUATARLY_API_KEY="your-key"; setclaw\x1b[0m');
29
- } else {
30
- w(" \x1b[36mQUATARLY_API_KEY=your-key setclaw\x1b[0m");
31
- }
32
- w("");
33
- }
File without changes