@alia.onl/sdk 15.3.0 → 15.4.0

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,13 @@
1
1
  # @alia.onl/sdk
2
2
 
3
+ ## 15.4.0
4
+
5
+ - **New leaf entry `@alia.onl/sdk/avatar`.** `AliaAvatarIcon`, `AliaAvatar`, `ALIA_AVATAR` and
6
+ `useAliaActivity` without the chat: an app draws Alia's live avatar on a header button and keeps
7
+ the conversation UI behind a lazy import, instead of putting the whole SDK in its entry bundle.
8
+ `check:entries` holds the leaf free of the sheet, the composer, the markdown renderer and the
9
+ voice call. The root entry still exports the same four.
10
+
3
11
  ## 15.3.0
4
12
 
5
13
  - **The composer is Bloom's `ComposerPill`.** `AliaComposer` (the sheet's, the screen's and the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alia.onl/sdk",
3
- "version": "15.3.0",
3
+ "version": "15.4.0",
4
4
  "description": "Alia AI chat SDK — reusable chat UI, voice calls, dictation and streaming components for Oxy apps",
5
5
  "main": "src/index.ts",
6
6
  "react-native": "src/index.ts",
@@ -8,6 +8,7 @@
8
8
  "types": "src/index.ts",
9
9
  "exports": {
10
10
  ".": "./src/index.ts",
11
+ "./avatar": "./src/avatar.ts",
11
12
  "./content": "./src/lib/content-utils.ts",
12
13
  "./tools": "./src/tools.ts",
13
14
  "./voice": "./src/voice.ts",
package/src/avatar.ts ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The avatar leaf entry: Alia's live avatar and what makes it react, without the chat.
3
+ *
4
+ * An app puts her on a button in its header (`AliaAvatarIcon`) and keeps the chat itself behind a
5
+ * lazy import, so the SDK's conversation UI is not in the entry bundle just to draw a face. This
6
+ * entry reaches the avatar, the activity store and its one socket, and nothing of the sheet, the
7
+ * composer, the markdown renderer or the voice call (`check:entries` holds that).
8
+ */
9
+ export { ALIA_AVATAR, AliaAvatar } from './components/AliaAvatar';
10
+ export type { AliaAvatarProps, AliaAvatarState } from './components/AliaAvatar';
11
+ export { AliaAvatarIcon } from './components/AliaAvatarIcon';
12
+ export { useAliaActivity } from './hooks/useAliaActivity';
13
+ export type { UseAliaActivityOptions } from './hooks/useAliaActivity';