@lunora/solid 1.0.0-alpha.7 → 1.0.0-alpha.71

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.
Files changed (44) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +8 -0
  3. package/dist/index.d.mts +931 -235
  4. package/dist/index.d.ts +931 -235
  5. package/dist/index.mjs +1 -13
  6. package/dist/packem_shared/AuthLoading-6vueEnV0.mjs +1 -0
  7. package/dist/packem_shared/LunoraContext-dPcjtn6R.mjs +1 -0
  8. package/dist/packem_shared/LunoraProvider-BKWckcDR.mjs +1 -0
  9. package/dist/packem_shared/createAction-M4s8XBXV.mjs +1 -0
  10. package/dist/packem_shared/createAgent-DTUKko5X.mjs +1 -0
  11. package/dist/packem_shared/createAgentChat-Bo021xHU.mjs +1 -0
  12. package/dist/packem_shared/createAgentState-DIknFZyn.mjs +1 -0
  13. package/dist/packem_shared/createAgentToolEvents-BZDqkzK6.mjs +1 -0
  14. package/dist/packem_shared/createConnectionStatus-BnlXYWeE.mjs +1 -0
  15. package/dist/packem_shared/createFlag-CkY9V_ou.mjs +1 -0
  16. package/dist/packem_shared/createInfiniteQuery-DLpKN_aQ.mjs +1 -0
  17. package/dist/packem_shared/createMutation-DcSsIbGF.mjs +1 -0
  18. package/dist/packem_shared/createMutator-q9cMjGKv.mjs +1 -0
  19. package/dist/packem_shared/createPresence-Da_DdL7L.mjs +1 -0
  20. package/dist/packem_shared/createQuery-DMcnUyOD.mjs +1 -0
  21. package/dist/packem_shared/createRateLimit-CIVWrD5H.mjs +1 -0
  22. package/dist/packem_shared/createStream-B10b3ijV.mjs +1 -0
  23. package/dist/packem_shared/createSubscription-D9e8lT1C.mjs +1 -0
  24. package/dist/packem_shared/createVoiceAgent-BjL6DH05.mjs +1 -0
  25. package/dist/packem_shared/hydratePreloaded-CnJNitir.mjs +1 -0
  26. package/dist/packem_shared/solid-compat-ByG5HD_F.mjs +1 -0
  27. package/dist/server.mjs +1 -1
  28. package/dist/upload.d.mts +2 -0
  29. package/dist/upload.d.ts +2 -0
  30. package/dist/upload.mjs +1 -0
  31. package/package.json +10 -4
  32. package/dist/packem_shared/AuthLoading-RMT5Q_eE.mjs +0 -73
  33. package/dist/packem_shared/LunoraContext-C9SpKj54.mjs +0 -12
  34. package/dist/packem_shared/LunoraProvider-B5BJFk3K.mjs +0 -17
  35. package/dist/packem_shared/createConnectionStatus-D8GPatZX.mjs +0 -14
  36. package/dist/packem_shared/createFlag-BDunYuaH.mjs +0 -106
  37. package/dist/packem_shared/createInfiniteQuery-DyMvQ2Qy.mjs +0 -196
  38. package/dist/packem_shared/createMutation-C7BxzO0y.mjs +0 -36
  39. package/dist/packem_shared/createMutator-foSnPJPt.mjs +0 -24
  40. package/dist/packem_shared/createPresence-DiAak1Jw.mjs +0 -78
  41. package/dist/packem_shared/createQuery-D8mdHfyQ.mjs +0 -28
  42. package/dist/packem_shared/createRateLimit-BA2f8XyF.mjs +0 -76
  43. package/dist/packem_shared/createSubscription-BM2fw8hw.mjs +0 -39
  44. package/dist/packem_shared/hydratePreloaded-CaT1kDBH.mjs +0 -25
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
@@ -52,6 +52,10 @@ yarn add @lunora/solid
52
52
  pnpm add @lunora/solid
53
53
  ```
54
54
 
55
+ Requires `solid-js@^1.9.0 || ^2.0.0-rc.0` as a peer. A single build serves both
56
+ majors and the public API is identical on either; on Solid 2.0 the surrounding
57
+ imports move (`solid-js/web` → `@solidjs/web`, `solid-js/store` → `solid-js`).
58
+
55
59
  ## Usage
56
60
 
57
61
  ```tsx
@@ -108,6 +112,10 @@ render(
108
112
  | `createRateLimit` | `useRateLimit` | Client-side rate-limit mirror — `ok`, `disabled`, `retryAfter` as signals. |
109
113
  | `createConnectionStatus` | `useConnectionStatus` | Reactive connection state signal. |
110
114
  | `hydratePreloaded` | `usePreloadedQuery` | Seed a query synchronously from an SSR `Preloaded` token, then go live. |
115
+ | `createAgentToolEvents` | `useAgentToolEvents` | One agent thread's tool lifecycle as an `Accessor` of discriminated events. |
116
+ | `createVoiceAgent` | `useVoiceAgent` | Full-duplex voice call — accessors for status/transcript/level + call controls. |
117
+
118
+ `createVoiceAgent` opens nothing until `startCall()` — that call is what requests the microphone, so it must run from a user gesture. `endCall()` releases the socket, the mic tracks and the Web Audio graph, and `onCleanup` runs it for you when the owning root is disposed.
111
119
 
112
120
  ## Related
113
121