Commit Graph
26 Commits
Author SHA1 Message Date
Theo Browne df65ee857a fix(swift-ios): harden native client architecture 2026-08-09 20:55:48 -07:00
Theo Browne 9aa6127f2c chore(swift-ios): prepare TestFlight build 13 2026-08-09 20:55:47 -07:00
Theo Browne d60e09b3b4 chore(swift-ios): prepare TestFlight build 12 2026-08-09 20:55:47 -07:00
Theo Browne cf79d65d1a feat(swift-ios): add light mode 2026-08-09 20:55:47 -07:00
Theo Browne 66f7239232 chore(swift-ios): bump TestFlight build to 9 2026-08-09 20:55:03 -07:00
Theo Browne be92cf8912 feat(swift-ios): bring Ghostty to the terminal (#5602) 2026-08-09 20:55:03 -07:00
Theo Browne 45fbdde909 feat(swift-ios): use Clerk authentication components 2026-08-09 20:55:03 -07:00
Theo Browne 55fe074aec chore(swift-ios): bump TestFlight build to 8 2026-08-09 20:55:02 -07:00
Theo Browne 13bb317da2 chore(swift-ios): bump TestFlight build to 7 2026-08-09 20:55:02 -07:00
Theo Browne dd039c3986 chore(swift-ios): bump TestFlight build to 6 2026-08-09 20:55:02 -07:00
Theo Browne 157ded3786 chore(swift-ios): bump TestFlight build to 5 2026-08-09 20:53:12 -07:00
Theo Browne a927e8d1d7 chore(swift-ios): bump TestFlight build to 4 2026-08-09 20:53:12 -07:00
Theo Browne de73b9082a feat(swift-ios): distinguish development builds 2026-08-09 20:53:11 -07:00
Theo Browne 40e371b8cd fix(swift-ios): release idle websocket clients 2026-08-09 20:53:11 -07:00
Theo BrowneandClaude Fable 5 99f78a7d1f perf(swift-ios): cut hot-path waste in networking, state, and caches
- Cache EnvironmentStore's decoded document; publishes read it several
  times per second and previously hit disk + JSON decode every time
- Memoize parsed ISO8601 dates in NativeFeatureClient; every publish
  re-parsed ~10 timestamps per thread through two formatters
- Cache the mapped provider catalog per environment, invalidated on
  server config writes, instead of rebuilding hundreds of structs per
  publish
- Sort activity logs by raw ISO string instead of parsing dates inside
  the comparator (O(n log n) formatter calls per detail rebuild)
- Skip attachment hydration entirely for text-only threads
- Dedupe emitConnection so per-event yields only publish transitions
- Early-out acknowledgeDeliveredMessages when the outbox is empty
- Cap terminal buffers at 256KB; unbounded append could OOM on verbose
  commands and re-layout megabyte strings per chunk
- Key the markdown document cache by content fingerprint instead of the
  whole source string, stop inserting streaming intermediates (which
  churned completed messages out), and promote the final streamed render
  on completion instead of reparsing on the main thread
- Throttle streaming markdown renders (150ms leading-edge) instead of a
  200ms trailing debounce that never fired at an 80ms publish cadence,
  which left streaming messages as plain text for whole turns
- Share JSONEncoder/Decoder.t3 instances (were rebuilt per call) and
  skip sortedKeys on throwaway JSONValue bridging encodes
- Weak-capture the RPC connection loop and keepalive so released
  clients can actually deinit; snapshot dictionary keys before
  reentrant iteration in connected(); scope subscription Interrupts to
  the connection that assigned the request ID; add reconnect jitter
- Cache DPoP JWK + thumbprint (SHA-256 per managed request before) and
  the proof encoder; reuse ISO8601 formatter in command builders
- Replace crash-prone Dictionary(uniqueKeysWithValues:) on
  server-supplied IDs with first-wins reduces (model picker, agent
  awareness); retain per-thread states instead of full FeatureThread
  copies for transition signals; idle the home list timer to 60s when
  nothing is working

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-09 20:53:11 -07:00
Theo Browne 4166c0b273 fix(swift-ios): preserve SwiftUI home label 2026-08-09 20:52:53 -07:00
Theo Browne 7e0c926c06 fix(swift-ios): restore TestFlight sign-in 2026-08-09 20:52:53 -07:00
Theo Browne 11537cfb3d fix(swift-ios): isolate development installs 2026-08-09 20:52:53 -07:00
Theo Browne f12f86f158 feat(swift-ios): add native task extensions 2026-08-09 20:52:52 -07:00
Theo Browne 5a15aee2fb feat(swift-ios): add secure T3 Connect foundations 2026-08-09 20:52:51 -07:00
Theo Browne bc0348ffa1 chore(ios): give SwiftUI app a unique identity 2026-08-09 20:52:51 -07:00
Theo Browne d29c9518b3 feat(ios): distinguish the native app identity 2026-08-09 20:52:50 -07:00
Theo Browne a16db99c67 fix(ios): describe camera attachment access 2026-08-09 20:52:50 -07:00
Theo Browne 27a28907d0 fix(ios): polish native daily flows 2026-08-09 20:52:49 -07:00
Theo Browne 80b89ac44a feat(ios): rebuild onboarding and device access 2026-08-09 20:52:49 -07:00
Theo Browne 411ba96443 feat(ios): add native T3 Code app 2026-08-09 20:52:49 -07:00