The script was removed accidentally in an earlier 1.3.0 prep commit; release Windows (ARM) fails without it.
Co-authored-by: Cursor <cursoragent@cursor.com>
Incognito SQLCipher needs sqlite-jdbc-crypt; pulling xerial via the SQLDelight driver duplicated org.sqlite on the release classpath and failed CI ProGuard.
Co-authored-by: Cursor <cursoragent@cursor.com>
Mark Auth as a Serializable sealed interface, keep proxy types in ProGuard rules, and document KMP/ProGuard/gh pitfalls from the 1.3.0 release attempt.
Co-authored-by: Cursor <cursoragent@cursor.com>
Consolidate encrypted download HTTP into httpDownload, and surface MITM/TLS failures during auth server probes.
Co-authored-by: Cursor <cursoragent@cursor.com>
Handle legacy-scaling on/off and display preview vs commit via monitors.xml,
add Mesa launcher packaging and Parallels dev install workflow.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add JVM loopback TLS for OkHttp, block HTTP until the proxy tunnel is ready, and align incognito proxy settings with stricter fail-closed routing.
Co-authored-by: Cursor <cursoragent@cursor.com>
Unified connection dialog/nav, Proxy type hierarchy with migration, proxy list UX, lint fixes, and agent skill updates.
Co-authored-by: Cursor <cursoragent@cursor.com>
Squash-merge of cursor/proxy-support-a128: HTTP/SOCKS/SSH proxies, TLS trust UI, health checks, and Connection settings navigation; integrates with privacy-update HTTP clients (incognito headers, logout-safe 401 handling) and FromChat Ktor TLS on all platforms.
Co-authored-by: Cursor <cursoragent@cursor.com>
Set default versionName to 1.3.0 with versionCode 130000. Update
RELEASE_NOTES.md for incognito mode, server encryption modes, and UI polish.
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>
Root overlay scales menus from the toolbar anchor (replaces Popup), with spring enter on service notices and incognito branding on the username step; desktop About no longer remounts an already visible window.
Co-authored-by: Cursor <cursoragent@cursor.com>
Enable AppKit document-window animation behavior and present via makeKeyAndOrderFront after Compose shows; avoid dock flash when the main window is already visible.
Remount to welcome after desktop window close with immediate auth drop and
background wipe; keep logout going when /logout returns 401; fix schema open
races; add reusable HoverInfoOverlay and move the switch into the pre-auth menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Pin api.fromchat.ru to Let's Encrypt, detect common interception proxy
certificates, surface Material 3 dialogs instead of platform TLS errors, and
add hostile-network MITM proxy scripts.
Ephemeral incognito sessions use a userspace encrypted block container with
settings and database routing, volume size cap with eviction, and platform
lifecycle hooks.
* Fix Cloud Agent setup so Linux builds can sign and launch.
The debug keystore must use alias key0, matching the Android signing config. The install script also provisions JDK 21, Android SDK 37.2, and the libraries Compose Desktop needs to open a window.
Co-authored-by: denis0001-dev <denis0001.dev@ya.ru>
* Run Cloud Agent install from the app repo in a multi-repo workspace.
The setup script lives under the app checkout, and the debug keystore alias on main still has to be rewritten to key0 before Gradle signs the APK.
Co-authored-by: denis0001-dev <denis0001.dev@ya.ru>
* Call the Cloud Agent setup script directly from environment.json.
Install stays a single command. Keystore alias, JDK, Android SDK, and desktop libraries stay in cloud-setup.sh.
Co-authored-by: denis0001-dev <denis0001.dev@ya.ru>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Skip Kotlin Native link and unsigned IPA packaging in release builds; publish
Android, desktop, and Linux artifacts only.
Co-authored-by: Cursor <cursoragent@cursor.com>
Set default versionName to 1.2.0 with versionCode 120999 so Android stays
above 1.2.0-beta builds. Teach set-version to derive stable semver codes
as digits*1000+999 while keeping prerelease strip behavior.
Pass gitCommitSha and gitHubRepository from CI Gradle properties and local
git remote, generate them in AppBuildInfo, and resolve repo-relative legal
markdown links to GitHub blob URLs. Extend About with commit and license
links; keep EN/RU strings in sync.
Tar JVM build outputs for artifact upload, extract before packaging verify, derive iphoneos SDK_NAME from xcrun, and skip appimagetool permission checks on CI.
Co-authored-by: Cursor <cursoragent@cursor.com>
Build the KMP framework with plain Gradle logs before xcodebuild, skip the Xcode Gradle script phase, and include gitignored build outputs in jvm-compile-outputs artifacts.
Co-authored-by: Cursor <cursoragent@cursor.com>
Stamp AppUserModel IDs on installer shortcuts to match the desktop app, embed proper ICOs in launchers, derive beta setup names from versionName, and sync/copy helpers for the Windows VM workflow.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use in-window popups with window-space anchors clamped to the chat pane, measure before reveal, and limit pointer blocking to the active message.
Co-authored-by: Cursor <cursoragent@cursor.com>
- drop the tag-push trigger: caches saved by tag-scoped runs are visible
to that tag only (GitHub docs, 'Restrictions for accessing a cache'),
so every tag build started cold and warmed nobody
- dispatch instead, preferably from the default branch; the tag does not
need to exist, publish creates it at the built commit; warn when
dispatching from a non-default branch
- merge check-build into resolve-version (one runner + one checkout
instead of two)
- merge record-build into publish: save the build-success marker at the
start of publish
- fix softprops input: overwrite_existing does not exist upstream
(silently ignored); the valid input is overwrite_files
ci(release): dump jpackage out/err logs when macOS packaging fails
ci(windows): align rust cache save key with restore key (arch + v5)
The save action wrote windows-rust-Windows-v3-<lock> with no arch while
restore fanned out on windows-rust-Windows-<arch>-v4-<lock> — so every
saved entry was unreachable by design. It also made the two matrix legs
race to reserve the same key: ARM won, x64 got 'another job may be
creating this cache'. Save now uses the exact restore key (arch + v5);
restore falls back only to same-arch v5 prefixes to avoid pulling the
stale archless v3 entries into the wrong build.
ci: add temporary cache-inspect workflow
ci(cache): one-shot push trigger so the temp inspector can run from a branch
ci(cache): fix field name in inspector (api uses key)
ci(cache): inspect via exact original path lists, per-OS matrix
ci(cache): save only tools/android/build-jar gradle scopes
Packaging scopes' build trees (1.3-2 GB each, 6 scopes) were ~90% installer
outputs and jlink runtime duplicates that actions/cache negation patterns
are unable to exclude (actions/toolkit#713). Saving ~7 GB per run kept the
repo at the 10 GB cache cap and LRU-evicted build-jar/android/windows-rust
entries within minutes of being saved. Packaging scopes are now
restore-only: they fall back to the build-jar scope via restore-keys, and
their outputs regenerate from the JAR artifact in a couple of minutes.
Also remove the temporary cache-inspect workflow (purpose served).
ci(cache): unify gradle-build path lists so restore-keys cross-hit
Restores differ per path list: actions/cache computes a version stamp from
the path list and only matches restore-keys via a version stamp (hash of
the path list): entries with different path lists are invisible to each
other's restore-keys, even with a shared key prefix. The build-jar scope
kept compose/tmp while the generic list negated it, so the
'-v2-build-jar-' fallback never matched for packaging scopes (measured in
run 39349881796: 'Cache not found' listing the fallback prefix). Drop the
ineffective '!*/compose/tmp' negation (no-op at save time anyway per
actions/toolkit#713) so all non-android scopes share one version stamp;
packaging restores now warm from the build-jar entry.
ci: enable Gradle configuration cache in CI; temporary --profile on Linux packaging
ci: revert configuration cache (script-closure tasks not serializable); keep --profile diagnostic
ci: drop temporary --profile diagnostic (profile captured; deb/rpm identified as the quiet ~45s/~23s hogs)
ci: build the macOS x64 DMG on an Intel runner (macos-26-intel)
macos-latest resolves to an arm64 image, so the 'Intel' matrix job ran on
Apple Silicon and jpackage shipped arm64 binaries under the -intel.dmg
name (v1.2.0-beta18): Intel Macs refuse it with 'this program isn't
supported on this mac'. jpackage cannot cross-build, and the Gradle
daemon JVM criteria (gradle-daemon-jvm.properties) provision the daemon
for the host arch, so every arch decision followed the runner. Pin each
matrix entry to its native runner.
proguard: keep JNA entire API from stripping (native GetStaticMethodID lookups)
jnidispatch resolves com.sun.jna.Native#dispose by name from native code
during initIDs; ProGuard stripped it (not a Java-native method, no Java
references), so every Windows package died at launch with
'Failed to launch JVM':
UnsatisfiedLinkError: Can't obtain static method dispose
from class com.sun.jna.Native
at com.sun.jna.platform.win32.Shell32.<clinit>
Linux/macOS never load Shell32, so only Windows builds were affected
(both x64 and arm64). Also keep classes extending/implementing JNA
(Libraries, Callbacks, Structures are loaded reflectively at runtime).
ci: speed up release builds; desktop/chat and theme updates
Share JVM compile outputs from Build JAR, fix macOS Playwright caching,
cache DMG export, and enable configuration cache on CI. Includes desktop
chrome, attachment preview, system theme, and related shared fixes.
Co-authored-by: Cursor <cursoragent@cursor.com>
ci: drop configuration cache on release (Compose ProGuard incompatible)
Co-authored-by: Cursor <cursoragent@cursor.com>
ci: skip JVM recompile on macOS/Windows when Build JAR artifact is restored
Gradle has no cross-OS execution history for restored classes; gate
compileKotlinJvm, desktop compileKotlin, and generateAppBuildInfo when
FROMCHAT_PREBUILT_JVM is set and outputs are present.
Co-authored-by: Cursor <cursoragent@cursor.com>
- Title bar: hover animation on window buttons; restore icon flipped so the
lower tile sits left of the upper one; 2-pane search morph, mode-switch
continuity and NavTransitionMuting to stop one-frame garbled chat switches
- Linux: WM_CLASS "FromChat" (main class FromChat.kt), skiko/virgl workaround
shipped at build time via compileSkikoVirglPatch (GraphicsApi_jvmKt shadow in
desktop.jar), MESA_GL_VERSION_OVERRIDE=3.0 (+vblank_mode=3) baked into the
.desktop Exec on ARM64, Mac tray icon fix
- Attachment drag-drop: reject non-file payloads (desktop shortcuts) with a
bridge-scoped AttachmentDropRejection — only the hovered element tints with
"This isn't a file", the element rattles once, stays scaled back ~1s and then
blurs release, tint and scale fade together; strict isFile validation so
nothing is ever sent under name "file"
- Attachments: rounded tile icon, failed-image tile UI, cancel-X progress state
fixes, DecryptedFile/ImageCache hardening (no more cache_write_failed)
- Mac: hide image capture button on desktop
- Skill: build-linux-vm fast iteration loop learned from the VM session
On any DE hosting StatusNotifierItem (GNOME 46+/55 with the AppIndicator
extension, KDE, etc.) the shell now hosts both the icon and the menu:
we export org.kde.StatusNotifierItem + com.canonical.dbusmenu over
dbus-java (pure Kotlin) and register with StatusNotifierItemWatcher.
GNOME renders the popup itself from our DbusMenu tree
(Connected | sep | Show | About FromChat | sep | Quit); label changes
go out as ItemsPropertiesUpdated. AWT/XEmbed stays as fallback for
X11-only shells; Windows/macOS untouched.
dbus-java quirks resolved in pure Kotlin (details in tray-sni/DESIGN.md):
properties are served by a hand-rolled org.freedesktop.DBus.Properties
impl with explicit-signature Variants (DBusBoundProperty cannot express
a(iiay) from Kotlin), and outer return structs (GetLayout/AboutToShowGroup)
implement DBusSerializable to dodge the erased-field export XML bug.
Verified on Ubuntu ARM64 VM: registers on the real session bus; icon in
the GNOME panel; native menu opens; Show/About/Quit callbacks reach the
app on the EDT; hardware-accelerated rendering unchanged (0 fallbacks,
0 shader errors).
- DesktopTrayMenu: apply the screen density to the tray menu's own Window,
anchor from the TrayIcon event instead of stale MouseInfo, dp-based gap
- DesktopScale: usable accessors before composition (awtScale/contentDensity/sizeRatio)
- Main: color tray icon pre-scaled to 48x48 with isImageAutoSize, skip
persisting the first post-restore geometry pass and maximized windows
Diagnosed from inside the Ubuntu 26.04 VM via prlctl: the app's own log at
~/.local/share/FromChat/fromchat/logs/current.log contains
at java.desktop/java.awt.SystemTray.getSystemTray(Unknown Source)
so getSystemTray() throws where isSupported() had returned true. GNOME has no
StatusNotifierItem host for AWT's libappindicator bridge to register with, and
the deb's libayatana-appindicator3-1 dependency is present — so the dependency
was the wrong lever.
DesktopTrayHost called getSystemTray() unguarded while the two lines around it
were already runCatching, so the throw escaped the DisposableEffect as an
uncaught exception: the tray icon never appeared and nothing was clickable. It
is now guarded and logged (TrayMenu "System tray unavailable: <class>: <msg>"),
so the cause lands in current.log instead of as a stack trace with no context.
This makes the failure graceful; it does not make AWT trays work on GNOME.
Doing that needs a real StatusNotifierItem over D-Bus rather than AWT.
Flip the tray context menu below the cursor when there is no room above
On GNOME the tray icon sits in the top bar, so the menu could only ever be
placed by clamping: the old code always asked for anchor.y - height, and when
that fell outside the working area coerceIn pinned it to usable.y regardless
of where the click was. That is what made the menu look offset from the click.
Placement now tries up-and-left first and flips to below (and to the right when
there is no room on the left) instead of clamping, with a small 4px gap from the
cursor.