healkite 0.0.0-stage → 0.1.0

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
@@ -1,3 +1,18 @@
1
- # Temporary Holding Version
1
+ # healkite
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Command line for [Healkite](https://healkite.com): self-healing over-the-air updates for React Native.
4
+
5
+ ```sh
6
+ npx healkite login --api-url https://api.healkite.com --token hk_…
7
+ npx healkite release -c <channel-key> -p android -r 1.0 --sign healkite-signing.pem --guarded
8
+ ```
9
+
10
+ | | |
11
+ |---|---|
12
+ | `release` | Bundle (Metro + Hermes), diff, sign, upload and publish. `--guarded` rolls out step by step and halts on crashes; `--at` / `--until` schedule a release or a campaign; `--device <id>` ships only to specific devices; `--max-size` / `--max-growth` refuse oversized bundles |
13
+ | `size` | Build and compare the bundle size with the latest release (CI size guard, `--json`) |
14
+ | `rollback`, `patch`, `guard`, `kill-switch` | Recover and control rollouts |
15
+ | `apps`, `channels`, `keys`, `access-keys`, `members` | Setup, code signing, scoped keys, team roles |
16
+ | `stats`, `device` | Health and per-device timelines |
17
+
18
+ Run `npx healkite <command> --help` for options. AI assistants: see `healkite-mcp`.
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // In the monorepo (src/ present) runs the TypeScript sources through tsx; published packages ship only dist/.
3
+ import { existsSync } from "node:fs";
4
+ if (existsSync(new URL("../src/main.ts", import.meta.url))) {
5
+ const { register } = await import("tsx/esm/api");
6
+ register();
7
+ await import("../src/main.ts");
8
+ } else await import(new URL("../dist/healkite.mjs", import.meta.url).href);