* feat: ai rewrite
* feat: allow crating content apart from editing it
* feat: feature parity with webapp
* feat: feature parity with webapp
* chore: fixed padding
* map ux to webapp
* refactored ai rewrite logic to separate package
* chore: tests and lint
* Update app/products/ai/rewrite/screens/options/options.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* rewrite post editor animation
* i18n
* ui feedback, centered icon and less top padding
* chore: lint
* Consolidate @ai product into @agents
Move all rewrite functionality from app/products/ai/ into
app/products/agents/ to unify under a single namespace.
- Add rewrite types, store, hooks, components, and screens to agents
- Merge AI client methods into agents client
- Update screen constants (AI_* -> AGENTS_*)
- Update all consumer imports
- Remove AI state from EphemeralStore
- Remove @ai path alias from config
- Delete app/products/ai/ directory
* refactor: load screens from product package
* refactor: move detection logic to the agents pacakge
* refactor: remove "backwards compatibility"
* refactor: move hooks to proper package
* refactor: styles
* refactor: remove unneedd position attribute
* refactor: remove unneeded cancel animation calls
* refactor: "backwards compat"
* refactor: optimize renderContent with useCallback for performance
* refactor: rename variable to avoid confusion
* refactor: update handleRewrite to use async/await for better error handling
* refactor: simplify handleRewrite by always dismissing keyboard
* refactor: use hook, always all keyboard.dismiss
* chore: enhance AgentSelector component with FlatList support
* feat: add rewriteMessage function for AI message rewriting and integrate it into useRewrite hook
* refactor: simplify message length calculation in useHandleSendMessage hook
* refactor: consolidate agent screen constants and integrate with existing screens
* fix: update dependency array in useMemo for isUnrevealedPost to include post expiration metadata
* refactor: remove unused variable to clean up Typing component
* refactor: simplify logic for atDisabled and slashDisabled flags in QuickActions component
* feat: add AIRewriteAction component for AI message rewriting functionality
* revert: thread.ts changes manually
* refactor: integrate useSafeAreaInsets
* refactor: cleanup unused methods
* chore: add comment to clarify casting
* refactor: use_agents
* chore: lint and test
* fix: trim
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Disable attempt to open User Profile screen
* Fix loading state alignment when switching servers
* Fix user is typing style and show in thread view
* Add additional space at the bottom of post list when CRT is disabled
* header back button position
* add margin bottom to typing component
* Initial commit post input
* Fix message posting, add create direct channel and minor fixes
* Fix "is typing" and "react to last post" behaviour
* Some reordering, better handling of upload error, properly clear draft on send message, and fix minor progress bar misbehavior
* Add keyboard listener for shift-enter, add selection between video or photo while attaching, add alert when trying to attach more than you are allowed, add paste functionality, minor fixes and reordering
* Add library patch
* Fix lint
* Address feedback
* Address feedback
* Add missing negation
* Check for group name and fix typo on draft comparisons
* Address feedback
* Address feedback
* Address feedback
* Address feedback
* Fix several bugs
* Remove @app imports
* Address feedback
* fix post list & post draft layout on iOS
* Fix post draft cursor position
* Fix file upload route
* Allow to pick multiple images using the image picker
* accurately get the channel member count
* remove android cursor workaround
* Remove local const INPUT_LINE_HEIGHT
* move getPlaceHolder out of the component
* use substring instead of legacy substr for hardward keyboard
* Move onAppStateChange above the effects
* Fix camera action bottom sheet
* no need to memo SendButton
* properly use memberCount in sender handler
* Refactor how to get memberCount
* Fix queryRecentPostsInThread
* Remove unused isDirectChannelVisible && isGroupChannelVisible util functions
* rename errorBadUser to errorUnkownUser
* extract localized strings
* use ClientErrorProps instead of ClientError
* Minor improvements
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>