Skip to content

Feat/configurable message limit wip#43

Closed
ariane-emory wants to merge 166 commits intodevfrom
feat/configurable-message-limit-wip
Closed

Feat/configurable message limit wip#43
ariane-emory wants to merge 166 commits intodevfrom
feat/configurable-message-limit-wip

Conversation

@ariane-emory
Copy link
Copy Markdown
Owner

DUMMY PR, IGNORE.

ariane-emory and others added 30 commits November 30, 2025 14:45
…roper defaults

- Add messages_limit (default: 100) and sessions_list_limit (default: 150) to TUI config
- Maintain backward compatibility with existing behavior
- Regenerate SDK to include new fields
@ariane-emory ariane-emory force-pushed the dev branch 2 times, most recently from 4efbfcd to 8ad5262 Compare February 8, 2026 04:57
Fix race condition where messages_limit config was read before config
was loaded from server, causing the default limit of 100 to always be
used instead of the user's configured value.

The fix tracks sync.ready in the createEffect so it re-runs when the
config is fully loaded, ensuring the correct messages_limit is used.
Fix race condition where session_list_limit config was read before config
was loaded from server, causing the default limit of 150 to always be
used instead of the user's configured value.

The fix adds sync.ready check at the start of the options memo so it
re-runs when the config is fully loaded, ensuring the correct
session_list_limit is used.
The session_list_limit config was not being passed to the server when
fetching sessions, so the server always defaulted to 100 sessions.

Now fetches config first to get session_list_limit, then passes it as
the 'limit' parameter to sdk.client.session.list().

This allows users to see more (or fewer) sessions in the session list
dialog.
@ariane-emory ariane-emory deleted the feat/configurable-message-limit-wip branch February 16, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants