Commit Graph
426 Commits
  • fix(update): dismiss the helper message before reopening the App
    The old App could retry while the modal helper still held the prior workspace open. Report replacement failure before restarting the initiating App, then let the existing helper finish and record its outcome. Preserve the original failure chain and any restart failure, without a new result consumer or retry state.
    
    Validation: the old product helper reproduced access denied on production workspace retirement with its message still open. The revised signed-helper control restarted after dismissal and retired the workspace successfully. Twelve update tests and the capture App build passed; all owned fixture processes exited.
  • fix(update): retain the installation while another App uses it
    A Windows App holds a read-only directory lease while it may load bundled resources. Replacement cannot move that installation out from under another profile. On failure the helper requests the old App restart and records the result before showing the existing dialog, without killing other instances.
    
    Validation: the capture App built and 12 update checks passed. Isolated signed product-helper controls preserved old resources and both profiles while a second App ran, then updated after it exited. The actual owned failure dialog appeared after result.json was written; restart readiness may follow it. Protection applies to instances that include this lease, not previously released executables.
  • fix(storage): isolate rooms with ambiguous local records
    Discover managed SQLite rooms by their durable identity and refuse an ambiguous target before offline deletion or restore installation. Healthy rooms and new room creation survive unrelated file failures. A resumed writer retires its known binding even when the operator cannot read that room; Core accepts retirement from the current authenticated owning session while still rejecting stale outputs.
    
    Validation: 20 Windows Native and four Server checks cover actual SQLite locks, duplicate/repaired stores, offline restore and hidden rooms. Sixteen Core room-access and seven service-transit controls verify resumed HostStop without accepting the stale socket, another session, wrong binding or unregistered HostOutput. All six source files match the validated v4 candidate. Public directory deletion retains its existing independent authority.
  • test(browser): run Windows servers from an owned build copy
    Snapshot a Cargo Server before starting Windows acceptance so later relinking cannot collide with its executable lock. The build caller explicitly identifies custom Cargo output with --built-server, and the second domain reuses that snapshot. Packaged input stays at its supplied path.
    
    Validation: five protocol checks passed. An isolated Windows control reproduced EBUSY on direct execution and successful rebuild with an unchanged snapshot hash. The actual runner timeout path retired both Servers and removed its directory; no additional wait or retry was needed.
  • fix(watch): retire obsolete webpage selection grants
    Retire a prepared reader when its candidate resource changes or disappears, using the existing projection lifetime. Ignore replies to requests whose receiver has already closed before any selection side effects. A failed or expired replacement retains the active source; page event limits share their existing named owner.
    
    Validation: independent lifecycle review and 23 Windows capture-enabled checks, including deterministic closed-receiver selection and owned HTTP range/redirect credential controls. The boundary-constant consolidation compiled and its two focused regressions passed. No change to the accepted direct-URL fallback.
  • refactor(capture): give each pending source an explicit phase
    Replace separate commit, lease and candidate fields with preparation, external readiness, prepared lease and submitted commit phases. Derive a prepared candidate ID from its lease while the submitted phase retains the ID owned by the pending host result. Room acknowledgement and active source ownership remain in their existing handlers.
    
    Validation: independent lifecycle review, 35 capture-enabled Native Session tests, 13 Server library checks and a control-WebSocket preparation-failure/cancellation check; the Windows capture App built. Update the three existing WHIP fixtures to the same phase representation. Physical source switching was not part of this check.
  • fix(app): commit site ownership with the accepted navigation
    Keep the current local-room origin while another site is only pending.
    Commit its local/site origin together when the matching document begins loading,
    so a failed navigation does not prematurely strip the existing overlay owner.
    
    The Windows capture-enabled product tests cover pending and accepted navigation,
    site verification and bookmark authority separation. Full WebView failed-load
    interaction remains a distinct runtime check; no bookmark or permission role changes.
  • fix(app): use native window activity for attended actions
    WebView can retain document focus after another Windows application becomes
    foreground. Project each Piik window's actual activation into its document
    and share that fact across message feedback, read markers, shortcut ownership
    and remote-input reset. Keep media visibility and room grants independent.
    
    The same real foreground-window transition reproduces silence and premature
    read advancement on beta.53, then triggers cues and preserves unread position
    on the candidate. Returning to Piik advances the cursor. Audio output was
    muted in the experiment; oscillator execution and completion were measured.
    All 2315 Web tests, TypeScript and the Windows capture-enabled App check pass.
  • test(server): allocate UDP independently in both browser harnesses
    Use the same OS UDP allocation helper for the primary and additional test
    Server, with the value scoped to each child's environment. Avoid reusing a TCP
    port that can be reserved for UDP on Windows. Actual protocol checks pass.
  • test(server): allocate the check Server's UDP port through UDP
    run-browser-check.mjs reserved a free TCP port and let the Server bind UDP
    on the same number. Windows reserves port ranges per protocol, so a free TCP
    port can sit inside a UDP reservation. On a machine where
    `netsh int ipv4 show excludedportrange protocol=udp` lists 52359-52458 and
    the TCP list leaves 52360-52395 free, three protocol checks in a row ended
    with "Bind Server UDP 0.0.0.0:52363 ... os error 10013".
    
    Give the Server its own UDP port, as 3713fc4c did for room_creation_policy.
    Only that child receives it, so the second Server that
    browser-native-acceptance.mjs starts from the inherited environment does not
    try to bind the same port.
  • test(runtime): coordinate races and allocate UDP independently
    Use request barriers to select the updater provider instead of millisecond
    sleep races. Allocate the integration test's UDP port through UDP rather than
    assuming the OS accepts the separately allocated TCP port.
    
    Refresh RTP baselines at the actual warm switch and compare modular progress.
    Keep media reuse deadlines and add failing phase/cycle context. This improves
    test causality without claiming the reported intermittent capture failure fixed.
  • fix(app): finish shutdown when the HTTP service ends first
    Both stop and HTTP-return paths await the same cleanup future, preserving
    dependency order and preventing cancellation of partially completed shutdown.
    Controlled Tokio checks cover cleanup before start, during work and after
    completion; the normal Server shutdown tests retain their existing contract.
  • fix(native): isolate individual room storage failures
    Opening or installing one room must not retire independently hosted siblings.
    Handle that failure at the existing room operation, retain global directory
    and identity failures as host failures, and report the failed CLI room ID.
    
    Session and real Server tests cover a locked room, creation installation
    failure, healthy sibling chat/history, recovery after unlocking and a second
    process that cannot steal an existing binding. Invalid global layout still
    ends the HTTP service and leaves the data unchanged.
  • fix(watch): prepare a new player without retiring the active webpage
    Keep a borrowed page and its active media reader alive while the host inspects
    another player. Commit the candidate only after the room accepts it, then retire
    the previous reader through the page owner. The native caption reopens the same
    source chooser without navigating the logged-in page.
    
    Validation: 2298 Web tests, TypeScript, Windows same-page A/B cancellation and
    commit controls, 41 current Windows page tests, Linux page tests and both Android
    ABIs. Two cancellation assertions were updated to expect the released empty slot.
    The ownership and source-selection contract is in channel-network-design.md.
  • fix(media): preserve shared encoding through pause and resume
    Read the negotiated codec separately from active allocation so pausing a sender does not permanently disable shared encoding. Refresh native page placement when pixel density changes and refresh selected-source labels when their title attributes change.
  • fix(network): retain PCP lease identity across renewal
    Use the existing gateway mapping when renewing its nonce and selecting its protocol after probe expiry. Align Native, Server and Android to the tested fork revision and associate its crate notices with the complete upstream license text.
  • fix(ui): keep drafts and operation feedback in their room
    Retire quoted content after explicit access revocation without dropping drafts during a room writer restart. Bind a pending file picker to its original conversation, keep room record actions independent, and clarify narrow terminal help and local-network troubleshooting.
  • fix(app)!: bind Android capture confirmation to its request
    Present the Android confirmation entry only after its capture is registered, and keep late intents scoped to that capture. Rejected desktop preparations no longer cancel another pending OBS source.
    
    BREAKING CHANGE: Internal Web and App builds must use App Control protocol 24. Domain protocol and saved-data formats are unchanged.
  • feat(transport): reuse native sockets and support TURN streams
    Native peers can use configured TURN over TCP or TLS and share ordinary IPv4 sockets within their endpoint runtime. Retire the last socket and gateway owner without interrupting sibling paths. Preserve explicit viewer playback errors, bound desktop decoder inputs, and stop copying cancelled retained files.
  • fix(routing)!: recover constrained paths through the shared pool
    Room planners describe authorized missing connections, and channel admission tries alternatives when a preferred peer is full. Retain completed pairs until payload grants take over, bound discovery advice by the existing frame limit, and detach retained file bytes before temporary cleanup.
    
    BREAKING CHANGE: Internal participants must use Domain protocol 44.
  • fix(runtime): preserve App selection and media continuity
    Keep chat history and scroll position across reconnects, bind App operations to the active control connection, and release background shortcuts while text or remote input owns the keyboard. Assemble H.264 pictures with their referenced parameter sets without transcoding.
  • fix(runtime): update vulnerable dependencies and recover missing pages
    Use patched URL and SQLite releases, restore str0m to its verified registry release, and update the Vite patch lines used by app and documentation builds. Preserve existing wire and stored formats. Render unavailable document links through the shared error surface while keeping resource requests at 404, and clarify hosting ownership in the guides.
  • fix(client): keep playback and prompts scoped to current views
    Apply confirmed paused positions exactly and retire media permission requests with their documents. Keep reaction menus and connection hints tied to visible anchors and proven metrics. Narrow text reaction receipts to messages, avoid copying image data for history sizing, and align the shared guides and previews with their controls.
  • fix(app): preserve runtime affinity across same-site invitations
    Keep the established launch query contract for separately updated Apps and sites. Handle same-document room and invitation navigation inside the verified Windows workspace while preserving full navigation for real path, query and origin changes. This keeps active sharing and the selected App together without a second URL or compatibility parser.
  • fix(app): preserve room navigation and reconcile local activity state
    Keep launch metadata in the room fragment so same-site invitations retain the document and active sharing. Preserve confirmed microphone state during capture permission, acknowledge confirmed empty history, and retire local watch intent through writer recovery. Consolidate actionable App guidance and distinguish local and invitation addresses. Move signed payloads without copying and import only the semver functions used.
  • fix(media): complete late IPv6 discovery and clarify input failures
    Start the existing NAT64 lookup when initial ICE gains its first usable IPv6 address, and retire it at nomination. Distinguish unsupported OBS offers from observed SPS limits. Keep invitations bound to their room and preserve usable playback controls in short windows.
  • feat(channel)!: improve retained previews and enforce one data owner
    Retain image previews up to 1280 pixels within the existing message budget, supplied by the shared Core limit. Require Domain 43 for new image writes while preserving App Control 23 and existing storage and backup formats. Hold the channel directory lock with its last writer and remove redundant storage locking. Align compact header branding and reuse the shared native drag region.
  • fix(channel): retire obsolete work and preserve active selections
    Retire initial ICE probes, stale bot requests, completed cache sources, and duplicate chat effects at their owning boundaries. Preserve webpage selection across DOM replacement and screen selection handoff. Reduce hidden voice polling and playback overlay coverage, align participant state labels and shared popup navigation, and remove duplicate discovery and status representations.
  • fix(runtime): keep room restoration and pending operations scoped
    Validate restored room ownership, preserve current capture and input state, and retire obsolete view requests. Keep App metrics independent of media reads and hide provider windows with their page. Package stripped Android libraries with matching native symbols.
  • refactor(conversation): verify scoped replies in one core operation
    Return authenticated typed replies from the Core receive boundary and remove repeated adapter signature verification. Preserve current host, binding, recipient and room checks. Keep the latest same-room invitation after an earlier request completes, and clarify hosted versus lightweight deployment guidance.
  • refactor(runtime): consolidate media and conversation ownership
    Keep applied Browser quality in the media owner and submit each Native domain view to the RTC driver once. Propagate shared signaling failures to carrier recovery, bound Node history by the Core page contract, and reuse unchanged voice-level samples. Clarify room-writer and version-specific presentation responsibilities.
  • fix(media): preserve selected paths and aligned source data
    Clear obsolete ICE send errors on path selection and check source assignment through an OS bind. Include queued microphone frames before mixing, preserve live HLS time anchors, and refresh path-scoped cookies across media redirects. Keep authorized physical connections visible during signaling recovery and clarify endpoint roles in the shared graph.
  • fix(runtime): serialize room views and preserve active encoders
    Read Browser room summaries after their storage turn, enqueue authority fanout in order, and validate ICE configuration before first-start persistence. Retain derived encoding incumbents during original-source handoff. Cancel attachment preparation promptly, refresh device choices on entry, and restore the complete known profile directory after reconnect.
  • fix(runtime): preserve source intent and isolate scoped failures
    Keep media selections explicit across refreshed catalogs and let page playback commands progress while buffering. Align file availability with eligible sources, restore independent rooms after policy refusal, and retain pending Unicode releases. Correct Android root failure reporting, bookmark refresh, lazy-module guidance and compact playback feedback; use the shared native modal backdrop for the title bar.
  • fix(runtime): preserve media and history across handoffs
    Keep live messages and paging anchors while history requests finish. Separate identity retirement from transport shutdown during restore. Preserve adopted file copies, release unused audio contexts, and activate Android microphone replacement correctly. Retain DASH discovery and static resource identity, reconcile encoded-frame limits, and simplify the profile image picker.
  • feat(app): add a voice overlay and refine room lifecycles
    Reuse the native room-tool window for a compact voice overlay. Preserve selected webpage players through unambiguous DOM replacements, keep activity presence through signaling recovery, and improve narrow playback controls and hybrid touch input. Reduce route capacity scans, tolerate added format diagnostics, and record bounded source-list outcomes.