@inetafrica/open-claudia 1.16.0 → 1.17.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/bot.js +609 -402
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.17.0
4
+ - **Multi-user / team mode**: a single bot can now serve multiple authorized users in parallel. Each user has their own conversation thread, project session, settings, model, backend, runningProcess, queue, and usage counters
5
+ - Per-user state lives in `userStates: Map<chatId, UserState>`; an `AsyncLocalStorage` chat context routes `send()`/`editMessage()`/typing indicators back to whoever triggered the work
6
+ - `state.json` and `sessions.json` are now keyed by chatId. Legacy single-user files are migrated under the owner's CHAT_ID on first load — direct-install users notice no change
7
+ - Owner-only commands: `/restart`, `/upgrade`, `/login`, `/setup_token`, `/use_oauth_token`, `/clear_oauth_token`, `/auth_code`, `/cancel_auth`, mode switch (they touch shared Claude OAuth or bot lifecycle)
8
+ - Shared across users: vault, soul, files, crons, Claude OAuth token, workspace files (no per-user worktrees yet — concurrent edits hit the same paths)
9
+ - `/stop` now stops only the calling user's running Claude, not everyone's
10
+ - Crons fire as the owner (the user who scheduled them); cron output reports to the owner's chat
11
+ - `isDuplicate()` is now keyed by `chat_id:message_id` so two users' messages can't collide on the dedup set
12
+
13
+ ## v1.16.1
14
+ - `/model` is now a single unified picker — all Claude, Cursor, and Codex models in one keyboard, with section dividers per backend
15
+ - Tapping any model auto-switches the active backend if needed (e.g. picking gpt-5 from Claude flips you to Codex). No more `/codex` + `/model` two-step
16
+ - Only backends with a detected CLI binary appear in the picker (Cursor/Codex rows hidden if not installed)
17
+
3
18
  ## v1.16.0
4
19
  - OpenAI Codex backend support: `/codex` to switch, `/backend` picker now has 3 options
5
20
  - Auto-detects `codex` binary via `which codex` at startup; opt-in via `CODEX_PATH` in .env