@lunora/svelte 1.0.0-alpha.10 → 1.0.0-alpha.101
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/LICENSE.md +6 -0
- package/README.md +4 -0
- package/dist/index.d.mts +1001 -200
- package/dist/index.d.ts +1001 -200
- package/dist/index.mjs +1 -11
- package/dist/packem_shared/action-SjeZUGhX.mjs +1 -0
- package/dist/packem_shared/agent-CFzp-ncV.mjs +1 -0
- package/dist/packem_shared/agentChat-BhMVjqq4.mjs +1 -0
- package/dist/packem_shared/agentState-at2Rg_Q9.mjs +1 -0
- package/dist/packem_shared/agentToolEvents-BrybzNXi.mjs +1 -0
- package/dist/packem_shared/auth-Bew4W5n1.mjs +1 -0
- package/dist/packem_shared/connectionStatus-D9A79Eqw.mjs +1 -0
- package/dist/packem_shared/flag-BUhJN_h7.mjs +1 -0
- package/dist/packem_shared/getLunoraClient-DU7BmZy1.mjs +1 -0
- package/dist/packem_shared/hydratePreloaded-CW7Ak8zY.mjs +1 -0
- package/dist/packem_shared/infiniteQuery-CFBT6Hbs.mjs +1 -0
- package/dist/packem_shared/is-browser-BEdfLJHK.mjs +1 -0
- package/dist/packem_shared/is-function-reference-abFdrAae.mjs +1 -0
- package/dist/packem_shared/mutation-DLBr5Op1.mjs +1 -0
- package/dist/packem_shared/mutator-DECDuo94.mjs +1 -0
- package/dist/packem_shared/presence-I_W9Zbhg.mjs +1 -0
- package/dist/packem_shared/query-aWSTFtNz.mjs +1 -0
- package/dist/packem_shared/rateLimit-Cli38qWO.mjs +1 -0
- package/dist/packem_shared/stream-eY1eAuVw.mjs +1 -0
- package/dist/packem_shared/subscribe-reactive-args-DYKqoWhw.mjs +1 -0
- package/dist/packem_shared/subscription-3foboeMU.mjs +1 -0
- package/dist/packem_shared/voiceAgent-odCezdLl.mjs +1 -0
- package/dist/server.mjs +1 -1
- package/dist/upload.d.mts +2 -0
- package/dist/upload.d.ts +2 -0
- package/dist/upload.mjs +1 -0
- package/package.json +8 -7
- package/dist/packem_shared/auth-DLPf_bK9.mjs +0 -28
- package/dist/packem_shared/connectionStatus-CRsOMeYl.mjs +0 -14
- package/dist/packem_shared/flag-19nEeKPT.mjs +0 -56
- package/dist/packem_shared/getLunoraClient--bwSz7F6.mjs +0 -16
- package/dist/packem_shared/hydratePreloaded-D5rUJdXy.mjs +0 -21
- package/dist/packem_shared/infiniteQuery-jPMQw8Vz.mjs +0 -196
- package/dist/packem_shared/is-function-reference-ycLAcI79.mjs +0 -3
- package/dist/packem_shared/mutation-CnDkAaLH.mjs +0 -31
- package/dist/packem_shared/presence-BQWixJ2T.mjs +0 -66
- package/dist/packem_shared/query-D8Pct9Qe.mjs +0 -36
- package/dist/packem_shared/rateLimit-Cdw1kp8t.mjs +0 -66
- package/dist/packem_shared/subscription-twuBT_Wb.mjs +0 -46
- package/dist/worker.d.mts +0 -1
- package/dist/worker.d.ts +0 -1
- package/dist/worker.mjs +0 -1
package/LICENSE.md
CHANGED
|
@@ -103,3 +103,9 @@ Unless required by applicable law or agreed to in writing, software distributed
|
|
|
103
103
|
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
104
|
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
105
|
specific language governing permissions and limitations under the License.
|
|
106
|
+
|
|
107
|
+
<!-- DEPENDENCIES -->
|
|
108
|
+
<!-- /DEPENDENCIES -->
|
|
109
|
+
|
|
110
|
+
<!-- TYPE_DEPENDENCIES -->
|
|
111
|
+
<!-- /TYPE_DEPENDENCIES -->
|
package/README.md
CHANGED
|
@@ -113,6 +113,10 @@ All functions that require a component lifecycle (presence, rate-limit) return a
|
|
|
113
113
|
| `rateLimit` | `useRateLimit` | Client-side rate-limit mirror — `ok`, `disabled`, `retryAfter` readables + `teardown`. |
|
|
114
114
|
| `connectionStatus` | `useConnectionStatus` | Reactive connection state store. |
|
|
115
115
|
| `hydratePreloaded` | `usePreloadedQuery` | Seed a query store from an SSR `Preloaded` token, then go live. |
|
|
116
|
+
| `agentToolEvents` | `useAgentToolEvents` | One agent thread's tool lifecycle as a readable store of discriminated events. |
|
|
117
|
+
| `voiceAgent` | `useVoiceAgent` | Full-duplex voice call — stores for status/transcript/level + call controls. |
|
|
118
|
+
|
|
119
|
+
`voiceAgent` opens nothing until `startCall()` — that call is what requests the microphone, so it must run from a user gesture. Unlike the other adapters there is **no auto-dispose**: call `onDestroy(call.endCall)` yourself to release the socket, the mic tracks and the Web Audio graph.
|
|
116
120
|
|
|
117
121
|
## Related
|
|
118
122
|
|