hatchee 0.1.0 → 0.1.1

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/dist/cli.mjs +21 -5
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -12166,7 +12166,7 @@ async function runHook(hookPort) {
12166
12166
  }
12167
12167
 
12168
12168
  // src/cli.ts
12169
- var VERSION2 = "0.1.0";
12169
+ var VERSION2 = "0.1.1";
12170
12170
  var cmd = process.argv[2] ?? "help";
12171
12171
  switch (cmd) {
12172
12172
  case "up": {
@@ -12192,6 +12192,7 @@ switch (cmd) {
12192
12192
  }
12193
12193
  console.log(`
12194
12194
  watching for Claude Code sessions\u2026 (run \`claude\` anywhere)`);
12195
+ tips();
12195
12196
  break;
12196
12197
  }
12197
12198
  case "pair": {
@@ -12227,6 +12228,7 @@ switch (cmd) {
12227
12228
  console.log(` code ${code} (valid 5 minutes, single use)
12228
12229
  `);
12229
12230
  console.log(` keeping the daemon running after pairing\u2026 (^C to stop)`);
12231
+ tips();
12230
12232
  });
12231
12233
  break;
12232
12234
  }
@@ -12269,18 +12271,32 @@ switch (cmd) {
12269
12271
  default:
12270
12272
  banner();
12271
12273
  console.log(` usage:
12272
- hatchee up start the daemon (installs Claude Code hooks)
12273
- hatchee pair start + open a 5-minute pairing window (QR + code)
12274
+ hatchee pair pair a phone \u2014 prints a QR + 6-digit code (do this first)
12275
+ hatchee up start watching (no new pairing) \u2014 installs Claude Code hooks
12274
12276
  hatchee devices list paired phones
12275
12277
  hatchee revoke <id> revoke a lost phone
12276
- hatchee uninstall-hooks remove our hooks from ~/.claude/settings.json
12277
- hatchee version`);
12278
+ hatchee uninstall-hooks remove Hatchee's hooks from ~/.claude/settings.json
12279
+ hatchee version
12280
+
12281
+ update npx hatchee@latest pair (npx always fetches the newest)
12282
+ uninstall npx hatchee uninstall-hooks then rm -rf ~/.hatchee
12283
+ config ~/.hatchee/config.json (your daemon identity + paired devices)`);
12278
12284
  }
12279
12285
  function banner() {
12280
12286
  console.log(`
12281
12287
  \uD83D\uDC23 hatchee ${VERSION2} \u2014 your coding agents, alive on your lock screen
12282
12288
  `);
12283
12289
  }
12290
+ function tips() {
12291
+ console.log(`
12292
+ \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
12293
+ stop ^C (your coding agents keep running \u2014 you just stop watching)
12294
+ update npx hatchee@latest pair
12295
+ uninstall npx hatchee uninstall-hooks (removes our Claude Code hooks)
12296
+ rm -rf ~/.hatchee (also wipes pairing + identity)
12297
+ help npx hatchee
12298
+ \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`);
12299
+ }
12284
12300
  function safeListen(daemon) {
12285
12301
  try {
12286
12302
  daemon.listen((err) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hatchee",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Your coding agents, alive on your iPhone lock screen — Hatchee daemon. Approve Claude Code / Codex from your phone.",
5
5
  "type": "module",
6
6
  "bin": { "hatchee": "dist/cli.mjs" },