@kehto/paja 0.24.3 → 0.24.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -149,8 +149,8 @@ The focused host regression runs in Chromium and Firefox after `pnpm build`:
149
149
  Other domains are equally capability-bound. Relay, outbox, and count require
150
150
  live relays; count uses NIP-45 `COUNT` without downloading events. Storage
151
151
  requires writable `localStorage`; the memory setting is an unadvertised fixture.
152
- Keys requires a document listener, media requires the browser Media Session
153
- API, notifications require Paja's host renderer, links require browser
152
+ Keys requires a document listener, media requires a browser document and uses audio/video elements (OS Media Session
153
+ integration is optional), notifications require Paja's host renderer, links require browser
154
154
  navigation, and intent requires the installed-catalog/runtime-tab host
155
155
  controller. DM also requires the Dev signer and live relays; FS requires a
156
156
  successful OPFS probe, while picker calls additionally require the corresponding
@@ -194,9 +194,13 @@ artifact. It uses the same browser host and service adapters, but loads verified
194
194
  napplet HTML from pasted `naddr` or `nevent` pointers with `hmr: none`. Each
195
195
  loaded pointer becomes a closeable header tab; loading an already-running
196
196
  napplet opens a choice to load another instance, switch to the existing tab, or
197
- cancel. Each tab includes a share control that copies a `/web/paja/?naddr=...`
198
- or `/web/paja/?nevent=...` link for that pointer, and the browser remembers open
199
- runtime tabs in local storage so returning to `/web/paja/` restores the previous
197
+ cancel. Each verified tab's Share control opens a dialog with its selectable
198
+ `/web/paja/?naddr=...` or `/web/paja/?nevent=...` app link. **Copy app link**
199
+ shows a confirmation on success; blocked or unavailable clipboard access selects
200
+ the link for manual copying. Apps with advertised intents also offer
201
+ **Create intent link**. Share keeps focus and pointer input in the host overlay
202
+ while the apps remain loaded. The browser remembers open runtime tabs in local storage
203
+ so returning to `/web/paja/` restores the previous
200
204
  pointer set. An explicit pointer in the URL still takes precedence over restored
201
205
  tabs.
202
206
 
@@ -568,3 +572,11 @@ Paja MUST load all three NIP-5D manifest kinds: root `15129`, named `35129`, and
568
572
  ## Controller diagnostics
569
573
 
570
574
  Paja shows a numbered controller icon directly beside the console arrow for each controller the browser detects. Each slot has its own color and input animation; hover for the controller model and activity state. Buttons and stick movement light up only that controller (stick movement below 0.12 is ignored). Quick taps retain the highlight briefly so they are easy to spot. Reduced-motion settings keep the activity highlight without animation. Disconnecting removes the icon. Browsers may require a button press before exposing a newly connected controller. These host diagnostics work without a napplet gamepad subscription and do not change focus-scoped input delivery.
575
+
576
+ ## Media player
577
+
578
+ Paja provides shell-owned audio/video playback through its resource resolver and a
579
+ collapsible player with transport, seek, volume, and close controls. It also
580
+ streams live HTTPS MP3/AAC radio without awaiting EOF and displays napplet-owned
581
+ sessions. See [Media playback](../../docs/media.md) for
582
+ source support, lifecycle rules, and canonical API examples.