omnish 1.1.1 → 1.1.3

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
@@ -5,13 +5,26 @@ All notable changes to this project are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.1.3] - 2026-05-04
9
+
10
+ ### Added
11
+
12
+ - **Cowork persistence via SQLite**: cowork state now stores in a local SQLite database using `better-sqlite3`, improving durability across restarts.
13
+ - **Maintainer release guide**: added [docs/maintainers/release-and-publish.md](docs/maintainers/release-and-publish.md) to document npm publishing and GitHub release flow.
14
+
15
+ ### Changed
16
+
17
+ - **Cowork scheduler/store wiring**: scheduler and store logic now use the database-backed flow for more reliable state handling.
18
+
19
+ [1.1.3]: https://github.com/eligapris/omnish/compare/v1.1.2...v1.1.3
20
+
8
21
  ## [1.1.1] - 2026-05-03
9
22
 
10
23
  ### Changed
11
24
 
12
25
  - **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
26
 
14
- [1.1.1]: https://github.com/labKnowledge/whatsLive/compare/v1.1.0...v1.1.1
27
+ [1.1.1]: https://github.com/labKnowledge/omnish/compare/v1.1.0...v1.1.1
15
28
 
16
29
  ## [1.1.0] - 2026-05-03
17
30
 
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.
@@ -226,6 +229,7 @@ node dist/index.js run
226
229
 
227
230
  ## Repository presentation (maintainers)
228
231
 
232
+ - **Releases:** [Release and publish (GitHub + npm)](docs/maintainers/release-and-publish.md) — CI workflow, tagging, `NPM_TOKEN`.
229
233
  - **README and docs images** use **`https://omnish.dev/media/<filename>`** as the single source of truth so they render on **npm**, GitHub, and local clones without bundling `public/` in the package.
230
234
  - **Social preview:** Repository → **Settings** → **General** → **Social preview** — upload an image; canonical asset: [`https://omnish.dev/media/omnish_github_banner.png`](https://omnish.dev/media/omnish_github_banner.png).
231
235
 
@@ -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
  }