@inetafrica/open-claudia 1.16.1 → 1.18.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/.env.example CHANGED
@@ -3,6 +3,8 @@ TELEGRAM_CHAT_ID=your-chat-id
3
3
  WORKSPACE=/path/to/your/workspace
4
4
  CLAUDE_PATH=/path/to/claude
5
5
  CURSOR_PATH=
6
+ CODEX_PATH=
7
+ AUTO_COMPACT_TOKENS=140000
6
8
  WHISPER_CLI=
7
9
  WHISPER_MODEL=
8
10
  FFMPEG=
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.18.0
4
+ - Auto-compacts high-context sessions before the next turn (`AUTO_COMPACT_TOKENS`, default 140k): summarizes the old session, seeds a fresh session, then continues the user's request there
5
+ - `/compact` now creates a fresh compacted continuation session instead of only adding another summary turn to the existing session
6
+ - `/continue` resumes the selected stored session ID with `--resume` instead of using cwd-most-recent `--continue`
7
+ - Stabilized the mobile system prompt: no timestamps, dynamic file lists, vault key names, or raw Telegram token curl examples
8
+ - Reply context is no longer redundantly injected when replying to the bot's own prior text from the active session
9
+
10
+ ## v1.17.0
11
+ - **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
12
+ - Per-user state lives in `userStates: Map<chatId, UserState>`; an `AsyncLocalStorage` chat context routes `send()`/`editMessage()`/typing indicators back to whoever triggered the work
13
+ - `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
14
+ - 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)
15
+ - Shared across users: vault, soul, files, crons, Claude OAuth token, workspace files (no per-user worktrees yet — concurrent edits hit the same paths)
16
+ - `/stop` now stops only the calling user's running Claude, not everyone's
17
+ - Crons fire as the owner (the user who scheduled them); cron output reports to the owner's chat
18
+ - `isDuplicate()` is now keyed by `chat_id:message_id` so two users' messages can't collide on the dedup set
19
+
3
20
  ## v1.16.1
4
21
  - `/model` is now a single unified picker — all Claude, Cursor, and Codex models in one keyboard, with section dividers per backend
5
22
  - 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