Commit Graph

19 Commits

Author SHA1 Message Date
Mahima Shanware
d428edbdcf feat(simulator): clean restoration of SIGWINCH refresh logic 2026-05-07 00:38:41 +00:00
Mahima Shanware
a9f7575b4b feat(simulator): disable all SIGWINCH refresh logic to prevent state drift 2026-05-06 23:34:14 +00:00
Mahima Shanware
5ba84077a7 feat(simulator): disable dynamic rule generation to ensure benchmark stability 2026-05-06 18:51:38 +00:00
Mahima Shanware
4b9689c899 feat(simulator): implement multi-stage patient refresh with SIGWINCH incremental backoff 2026-05-06 16:24:47 +00:00
Mahima Shanware
2cf8299fd4 chore: optimize SIGWINCH vision and recovery logic 2026-05-06 05:53:24 +00:00
Mahima Shanware
237a81b5b3 feat: implement automatic SIGWINCH repaint in User Simulator to resolve TTY rendering lags 2026-05-06 05:00:44 +00:00
Mahima Shanware
abb380cb66 feat: increase simulator stabilization delay to 2s to mitigate TTY rendering lag 2026-05-06 04:13:41 +00:00
Mahima Shanware
64f6eb68a4 fix(simulator): improve PTY stabilization and stall recovery 2026-05-05 01:03:14 +00:00
Mahima Shanware
44744334c6 feat(simulator): implement episodic memory with background compression
- Add session_notes field to simulator JSON response schema.

- Capture and persist factual session notes in sessionMemory.

- Inject episodic memory into system prompt for off-screen context.

- Add background LLM process to compress memory when it exceeds 5 items.

- Add unit tests for note capture, prompt injection, and compression merge.
2026-05-04 03:46:28 +00:00
Mahima Shanware
6f48261306 fix(simulator): allow acting on static screens when blocked to handle UI lag 2026-04-29 02:55:50 +00:00
Mahima Shanware
e46bd05594 feat(cli): fix UserSimulator deadlock on static screens by tracking composite state 2026-04-28 21:16:35 +00:00
Mahima Shanware
58f1cdb24c feat(cli): inject internal tool state into UserSimulator and enhance UI noise suppression
- Subscribe UserSimulator to MESSAGE_BUS for tool-calls-update events.

- Explicitly notify simulator when the system is blocked awaiting tool approval.

- Suppress Notifications and ToastDisplay when simulateUser is enabled.

- Suppress warn/error logs in ConsolePatcher during non-interactive simulation.

- Add 100ms post-submission settle delay for robust input injection.

- Update unit tests to verify internal state injection and reliable delays.
2026-04-28 18:11:05 +00:00
Mahima Shanware
aa821442fd feat(cli): improve UserSimulator robustness and prompt sensitivity
- Prioritize interactive markers (prompts, confirmation dialogs) over background timers/spinners.

- Suppress background update checks and non-fatal UI warnings when simulateUser is enabled.

- Refine simulator system prompt for more aggressive prompt detection.

- Implement reliable key submission with stabilized terminal initialization and inter-character delays.

- Add unit tests for UserSimulator vision and input submission.
2026-04-28 17:47:48 +00:00
Your Name
4874bedbef Modify UserSimulator prompt to prefer 'Allow for this session' for execution prompts 2026-04-20 23:59:04 +00:00
Hadi Minooei
d6a1864961 feat: add option to disable streaming in CLI 2026-04-20 12:24:27 -07:00
Your Name
1c963345a4 Fix regex gap in UserSimulator to handle 'Xm' timer format 2026-04-20 18:59:15 +00:00
Your Name
268970671a Improve screen normalization in UserSimulator to prevent polling loops 2026-04-20 18:52:05 +00:00
Your Name
e879100f07 Fix race condition in terminal rendering in UserSimulator 2026-04-20 17:09:23 +00:00
Hadi Minooei
40f9db30ce feat(cli): add user simulator, docker support, and external knowledge source handling
- Added UserSimulator service for automated interactions.

- Added Docker simulation script and documentation.

- Supported --knowledge-source flag defaulting to ~/.agents/kb.md.
2026-04-16 19:16:39 -07:00