@bulletproof-sh/ctrl-daemon 0.4.0 → 0.5.0-alpha.2

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/install.js +6 -0
  2. package/package.json +6 -6
package/bin/install.js CHANGED
@@ -242,6 +242,12 @@ async function downloadAndInstall(platformPkg, version) {
242
242
  }
243
243
 
244
244
  async function main() {
245
+ // Source repo has src/ — published package only has bin/
246
+ const isSourceRepo = fs.existsSync(path.resolve(__dirname, '..', 'src'));
247
+ if (isSourceRepo) {
248
+ return;
249
+ }
250
+
245
251
  const key = getPlatformKey();
246
252
  const platformPkg = platformPackages[key];
247
253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bulletproof-sh/ctrl-daemon",
3
- "version": "0.4.0",
3
+ "version": "0.5.0-alpha.2",
4
4
  "description": "WebSocket daemon for ctrl — watches Claude Code sessions and broadcasts agent state",
5
5
  "type": "module",
6
6
  "license": "BUSL-1.1",
@@ -30,11 +30,11 @@
30
30
  "vitest": "^4.0.18"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@bulletproof-sh/ctrl-daemon-darwin-arm64": "0.4.0",
34
- "@bulletproof-sh/ctrl-daemon-darwin-x64": "0.4.0",
35
- "@bulletproof-sh/ctrl-daemon-linux-arm64": "0.4.0",
36
- "@bulletproof-sh/ctrl-daemon-linux-x64": "0.4.0",
37
- "@bulletproof-sh/ctrl-daemon-windows-x64": "0.4.0"
33
+ "@bulletproof-sh/ctrl-daemon-darwin-arm64": "0.5.0-alpha.2",
34
+ "@bulletproof-sh/ctrl-daemon-darwin-x64": "0.5.0-alpha.2",
35
+ "@bulletproof-sh/ctrl-daemon-linux-arm64": "0.5.0-alpha.2",
36
+ "@bulletproof-sh/ctrl-daemon-linux-x64": "0.5.0-alpha.2",
37
+ "@bulletproof-sh/ctrl-daemon-windows-x64": "0.5.0-alpha.2"
38
38
  },
39
39
  "dependencies": {
40
40
  "posthog-node": "^5.26.0"