@alia.onl/sdk 10.0.1 → 10.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @alia.onl/sdk
2
2
 
3
+ ## 10.0.3
4
+
5
+ Admit `@oxy.so/services` 10 alongside 8 and 9. The SDK uses the unchanged
6
+ `useOxy` client API; this peer-only patch supports apps upgrading to Bloom 6.
7
+
8
+ ## 10.0.2
9
+
10
+ ### Oxy through `@oxy.so/services/ui/client`
11
+
12
+ `useAliaChat`, `useTTS` and `useVoiceRoom` import `useOxy` from
13
+ `@oxy.so/services/ui/client` instead of the root barrel. The root re-exports
14
+ every sign-in panel and the Commons QR encoder, and Metro does not tree-shake,
15
+ so a consumer of either entry shipped all of them; in Mention they reached the
16
+ initial web bundle. `ui/client` exports the same `useOxy` in services 8 and 9,
17
+ so the peer range is unchanged. `check:entries` now fails if either entry
18
+ imports the root again.
19
+
3
20
  ## 10.0.1
4
21
 
5
22
  ### `@oxy.so/services` 9 is admitted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alia.onl/sdk",
3
- "version": "10.0.1",
3
+ "version": "10.0.3",
4
4
  "description": "Alia AI chat SDK — reusable chat UI, voice, and streaming components for Oxy apps",
5
5
  "main": "src/index.ts",
6
6
  "react-native": "src/index.ts",
@@ -43,7 +43,7 @@
43
43
  "react": "^19.2.3",
44
44
  "react-native": "^0.86.0",
45
45
  "@oxy.so/core": "^3.0.0",
46
- "@oxy.so/services": "^8.0.0 || ^9.0.0",
46
+ "@oxy.so/services": "^8.0.0 || ^9.0.0 || ^10.0.0",
47
47
  "@react-native-async-storage/async-storage": "^2.2.0",
48
48
  "expo-blur": "^57.0.0",
49
49
  "react-native-reanimated": "^4.5.0",
@@ -1,5 +1,5 @@
1
1
  import React, { useCallback, useEffect, useRef, useState } from 'react';
2
- import { useOxy } from '@oxy.so/services';
2
+ import { useOxy } from '@oxy.so/services/ui/client';
3
3
  import type { ChatMessage, ToolInvocation } from '../types';
4
4
  import { getTextFromContent } from '../lib/content-utils';
5
5
  import { resolveModelId } from '../lib/catalogue';
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useEffect, useRef } from 'react';
2
2
  import type { AudioPlayer, AudioSample, AudioStatus } from 'expo-audio';
3
3
  import { makeMutable, withTiming } from 'react-native-reanimated';
4
- import { useOxy } from '@oxy.so/services';
4
+ import { useOxy } from '@oxy.so/services/ui/client';
5
5
  import { errorMessage } from '../lib/utils';
6
6
  import { create } from 'zustand';
7
7
  import { createAudioLevelMeter } from '../lib/audio-level';
@@ -28,7 +28,7 @@
28
28
  */
29
29
 
30
30
  import { useState, useCallback, useRef, useEffect, useMemo } from 'react';
31
- import { useOxy } from '@oxy.so/services';
31
+ import { useOxy } from '@oxy.so/services/ui/client';
32
32
  import { errorMessage } from '../lib/utils';
33
33
  import type { RoomState, AgentState, VoiceMessage } from '../types';
34
34
  import {