Commit Graph

48 Commits

Author SHA1 Message Date
6540a88687 Change the project directory 2026-06-13 10:13:01 +07:00
9643b95059 Character script 2026-06-11 15:17:26 +07:00
432a8b2059 Fixing nohup issue 2026-06-10 21:13:15 +07:00
a22fe1b9e7 Minor change 2026-06-10 20:43:43 +07:00
b2240d304e Persona, Selective Response, Mention Response 2026-06-10 17:15:25 +07:00
8a0363b985 Persona 2026-06-10 15:12:50 +07:00
dc5fb67ac1 feat: add git policy - never auto commit without user permission
- Add git policy section in system prompt (gadget.py): no auto git add/commit
- Add policy warning in git_operation tool description (coder.py)
- LLM must ask user before running git add or git commit
- Safe commands (git status, git diff, git log) can run without asking
- When user asks to commit: show changes first, then wait for confirmation
2026-06-10 11:27:59 +07:00
41ec8287f7 feat: add custom MUC nickname & handle 409 Conflict error
- Add XMPP_NICKNAME config in .env for custom MUC nick (fallback to JID username)
- Add _get_muc_nick() helper: resolve nick with suffix fallback on conflict
- Add _is_my_nick() helper: compare presence nick with expected nick per room
- Handle 409 Conflict in _on_session_start: try nick alternatives (lily_, lily__)
- Handle 409 Conflict in _muc_rejoin_coro: try nick alternatives with max 3 attempts
- Stop retry when all nick variations exhausted (anti-ban: avoid infinite retry)
- Reset nick suffix counter on successful join
- Update _on_groupchat_message filter to use _is_my_nick()
2026-06-10 11:11:27 +07:00
93dd74d1b4 feat: add humanize delays & anti-ban MUC rejoin mechanism
- Add READ_DELAY_MIN/MAX config for reading delay (1-2s random)
- Add TYPING_SPEED/MAX config for proporsional typing delay
- Add reading delay before processing DM & MUC messages
- Add typing delay before sending any XMPP message (proporsional to msg length)
- Add auto-rejoin MUC on unavailable/error with exponential backoff
- Add retry join on session_start with incremental delay (3 attempts)
- Add cooldown between rejoin attempts to prevent join-spam
- Cancel pending rejoin tasks on disconnect
- Reset rejoin counter on successful join
2026-06-10 10:54:56 +07:00
78387899ad New ASCII Art 2026-06-09 13:08:22 +07:00
399850eb3b Improving tool calling information 2026-06-09 11:38:50 +07:00
f121c6cbb0 Support model that not support on tool calling 2026-06-08 11:31:00 +07:00
48e5f398fb Merge branch 'XMPP' 2026-06-08 09:34:03 +07:00
4492612f2b Merge branch 'carrack' 2026-06-08 09:32:16 +07:00
6e88d051bc Unfinished chungking features 2026-06-08 09:27:38 +07:00
23348440b1 XMPP feature 2026-06-08 02:41:29 +07:00
c2b0fe1b8a Send HTTP request function 2026-06-07 20:19:40 +07:00
d833774809 feat(tui): welcome art with light-blue thick border, new C_WELCOME color pair 2026-05-26 15:18:16 +07:00
02f5ce345b feat(tui): gray ^D:send when processing, black-on-bright-green READY, fix chat truncation + right margin 2026-05-26 14:45:55 +07:00
f3c3d8d1ad feat(tui): non-blocking agent loop — cursor visible, user can type during processing 2026-05-26 14:03:40 +07:00
f4fe53b8c0 feat(tui): keep cursor visible and allow typing during processing, block send only 2026-05-26 13:54:24 +07:00
25c6fa3bdb fix(tui): prevent cursor crash and status bar text bleed 2026-05-26 13:48:59 +07:00
315cd77639 feat: hybrid collection management — agent can create/delete/list collections via prompt, remove RAG_COLLECTIONS config, switch to ONNX MiniLM embedding (local, no API) 2026-05-25 10:25:06 +07:00
5b3f4bd8c0 update config 2026-05-22 11:02:09 +07:00
534c4fccdc feat: add Agent-Initiative RAG with ChromaDB — 4 tools (store/search/list/inspect), Ollama embeddings, schema-agnostic metadata storage 2026-05-22 09:15:55 +07:00
58b9eda7f7 Merge feat/tui: Add TUI interface with word wrap, timing, and improved rendering 2026-05-19 14:52:05 +07:00
7777dea0cc Align AI text indent with user and add bold to colored chat text 2026-05-19 14:50:53 +07:00
475e900e18 Add soft word wrap for input area and improve navigation 2026-05-19 11:38:28 +07:00
46bf99b0ab Improve chat rendering: word wrap, label on separate line, blank line separators 2026-05-19 11:38:23 +07:00
1f036e06a2 Always call handle_key to allow scroll during processing 2026-05-19 11:38:13 +07:00
5e8976405b Add hendrik wrapper script for terminal command 2026-05-19 10:35:31 +07:00
1c6fdf2a40 Add ntro timing utility and integrate into agent loop 2026-05-19 10:35:18 +07:00
de89ad2706 Refactor: restructure project into TUI modules 2026-05-19 10:35:14 +07:00
b819e871a4 Change 'LLM...' to 'Thinking...' in step log message 2026-05-19 10:28:06 +07:00
7bda512be6 Add ntro timing utility and integrate into agent loop 2026-05-19 09:26:35 +07:00
d4ec96ff62 Pass stdscr to _submit for realtime screen updates during processing 2026-05-12 16:28:07 +07:00
293bd5d550 Update TUI colors: black-on-blue header, blue border, yellow status bar 2026-05-12 10:33:52 +07:00
33c9b48106 Clean exit on Ctrl+C without traceback 2026-05-12 10:23:40 +07:00
2c2927751a Expand input area to 6 visible lines and fix scroll logic 2026-05-12 10:19:50 +07:00
6f20e4b0b9 Fix cursor position overwritten by addstr after loop 2026-05-12 10:13:53 +07:00
18bbb07737 Fix input box border rendering and layout math 2026-05-12 10:12:07 +07:00
9c7e34409e Add curses-based TUI mode with --tui flag 2026-05-12 10:00:57 +07:00
25ec6fd996 Pemisahan script ansicolor dan separator 2026-05-12 09:32:16 +07:00
2bdfe52abb Playing with color 2026-05-12 08:52:57 +07:00
a83198303f Set granite4.1 as default model. 2026-05-08 18:05:53 +07:00
6db78809f4 Sample prompt for testing 2026-05-05 22:20:05 +07:00
066b7c33e4 Fixing typo 2026-05-05 21:34:42 +07:00
b583b7546a First commit 2026-05-02 21:08:42 +07:00