omnish 1.1.1 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  - **npm package layout**: the published CLI is a **single minified ESM bundle** built with esbuild (`dist/index.js`); dependencies remain external. No shipped `.d.ts` or multi-file TypeScript emit tree. Local typechecking: **`pnpm run typecheck`**.
13
13
 
14
- [1.1.1]: https://github.com/labKnowledge/whatsLive/compare/v1.1.0...v1.1.1
14
+ [1.1.1]: https://github.com/labKnowledge/omnish/compare/v1.1.0...v1.1.1
15
15
 
16
16
  ## [1.1.0] - 2026-05-03
17
17
 
package/README.md CHANGED
@@ -34,6 +34,7 @@
34
34
  - **`omnish i`** — Interactive terminal with the same commands as chat (local full trust; the inbox allowlist is **not** applied). Run from any directory; session cwd starts at the current directory. Use **`/sendto wa:+E164 <file>`** or **`/sendto tg:<chat_id> <file>`** to push a file through a running gateway (see `omnish i --help`). Background jobs from `/bg` in the REPL are **only** that process (not the gateway’s job list).
35
35
  - **Sync:** send `!ls` or `! ls` (prefix configurable; default `!`). Each chat has its **own working directory**; use `!cd /path` or `! cd /path` to change it (saved under the data dir, e.g. `~/.omnish/sessions.json`).
36
36
  - **Background:** `/bg long-running-command` runs in that chat’s cwd, then `/jobs`, `/log <id>`, `/tail <id>`, `/kill <id>`.
37
+ - **Cowork:** `/cowork` / `/cw` — scheduled or on-demand saved shell tasks, logs under `~/Cowork/…` by default. See [docs/features/cowork.md](docs/features/cowork.md).
37
38
  - **Interactive PTY:** drive TUIs and REPLs (`cursor-agent`, `claude`, `bash`, etc.) from DMs. See [Interactive sessions](#interactive-sessions) below.
38
39
  - **User shortcuts:** save per-chat commands under a short name (`/shortcut add myproj !cd ~/code/myproj`), then run **`!myproj`** or **`/myproj`** (bare token only) to expand once—see [User shortcuts](#user-shortcuts).
39
40
 
@@ -114,6 +115,8 @@ pnpm omnish run
114
115
 
115
116
  Native builds may be required for **`@whiskeysockets/baileys`**, **`sharp`**, **`protobufjs`**, **`esbuild`**, and **`node-pty`**. This repo sets `pnpm.onlyBuiltDependencies` to include **`node-pty`**; if installs still skip scripts, run **`pnpm approve-builds`** and reinstall.
116
117
 
118
+ **`npm install`** after **`pnpm install`** (same `node_modules` tree) can crash npm with `Cannot read properties of null (reading 'matches')`. Fix: **`rm -rf node_modules`** then **`pnpm install`** only, or **`pnpm run reinstall`**. See [docs/maintainers/package-managers.md](docs/maintainers/package-managers.md).
119
+
117
120
  If `link` still fails with **401**, run `pnpm approve-builds && pnpm install`, then `pnpm omnish link --force` to wipe the auth directory under your data dir and pair again.
118
121
 
119
122
  **`denied` in logs but your number is on `allowFrom`:** WhatsApp may send your chat as a **LID** id (`…@lid`). The app resolves your real phone via `remoteJidAlt` / Baileys LID mapping so `+E164` allowlist still matches. Use `OMNISH_VERBOSE=1` (or legacy `WHATSVERBOSE=1`) if you need to debug.
@@ -32,5 +32,9 @@
32
32
  "clusterLabel": "",
33
33
  "clusterRole": "secondary",
34
34
  "clusterSenderBindings": {},
35
- "serviceInstallFromChat": false
35
+ "serviceInstallFromChat": false,
36
+ "updateCheckEnabled": false,
37
+ "updateCheckIntervalMs": 86400000,
38
+ "updateCheckPackageName": "omnish",
39
+ "updateInfoUrl": ""
36
40
  }