@kehto/paja 0.26.1 → 0.27.1

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
@@ -31,7 +31,9 @@ surface: relay/outbox, storage, identity, keys, config, resource, theme, notify,
31
31
  media, upload, intent, count, link, common, lists, serial, BLE, WebRTC, DM, FS,
32
32
  CVM, and inc. Relay/outbox defaults to live public relays
33
33
  and uses NIP-65 relay-list bootstrap plus kind `3` contact-list reads for
34
- identity flows; `--relay-mode memory` is the explicit deterministic fixture
34
+ identity flows; background kind-0 profile warming runs only for a connected
35
+ signer account, so a signer-less session with a fixed simulation identity stays
36
+ read-only. `--relay-mode memory` is the explicit deterministic fixture
35
37
  mode and does not advertise relay, outbox, count, or DM. `shell` is the
36
38
  mandatory, non-toggleable handshake domain; the deprecated legacy package path
37
39
  remains an upstream compatibility alias to `inc`.
@@ -594,7 +596,7 @@ This non-normative guidance defers to the living [NAP-GAMEPAD](https://github.co
594
596
 
595
597
  ## LLM integration
596
598
 
597
- This non-normative guidance defers to the living [NAP-LLM](https://github.com/napplet/naps/pull/134) (checked at `3e10939`). Services export `createLlmService`, `LlmServiceError`, the provider mappers and `LLM_PROVIDER_PRESETS`; shell exports `getShellDomainState` and the `LlmHooks` adapter field; acl exports `llm:generate`. The runtime routes `llm.*` to one registered service and answers every sanctioned request with exactly one `llm.<op>.result`, shaping missing-service and ACL failures as `{ code: 'unsupported' }`. Hosts implement `LlmConnectionHost`; the service enforces schema, handle ownership, consent before submission, duplicate ids, cancellation and deadline races, ordered deltas and safe errors. Advertisement stays binary on the wire while hosts report a third `unconfigured` state until the user adds a connection. See [Language models](https://github.com/kehto/web/blob/main/docs/llm.md).
599
+ This non-normative guidance defers to the living [NAP-LLM](https://github.com/napplet/naps/pull/134) (checked at `3e10939`). Services export `createLlmService`, `LlmServiceError`, the provider mappers and `LLM_PROVIDER_PRESETS`; shell exports `getShellDomainState` and the `LlmHooks` adapter field; acl exports `llm:generate`. The runtime routes `llm.*` to one registered service and answers every sanctioned request with exactly one `llm.<op>.result`, shaping missing-service and ACL failures as `{ code: 'unsupported' }`. Hosts implement `LlmConnectionHost`; the service enforces schema, handle ownership, a per-window live-handle bound (`maxHandlesPerWindow`), consent before submission, duplicate ids, cancellation and deadline races, ordered deltas and safe errors, and passes `select`/`authorize` a `{ signal }` that withdraws stale prompts. `createHttpLlmProvider({ stream: true })` streams provider output into `llm.delta`. Advertisement stays binary on the wire while hosts report a third `unconfigured` state until the user adds a connection. See [Language models](https://github.com/kehto/web/blob/main/docs/llm.md).
598
600
 
599
601
  ## NIP-5D runtime pointers
600
602