@adea-ai/audio 0.10.9 → 0.10.11

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
@@ -1,4 +1,4 @@
1
1
  # Audio package
2
2
 
3
- Owns the optional music controller and React bindings used by Agent HQ. Audio is
3
+ Owns the optional music controller and React bindings used by Adea. Audio is
4
4
  lazy and non-blocking so scene loading does not depend on sound assets.
package/dist/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /** Optional soundtrack hooks for Agent HQ. */
1
+ /** Optional soundtrack hooks for Adea. */
2
2
  export declare const AUDIO_BASE_URL = "/assets/audio";
3
3
  export declare const MUSIC_DIR = "/assets/audio/sounds/music";
4
4
  export declare const MUSIC_FILES: {
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- /** Optional soundtrack hooks for Agent HQ. */
1
+ /** Optional soundtrack hooks for Adea. */
2
2
  export const AUDIO_BASE_URL = "/assets/audio";
3
3
  export const MUSIC_DIR = `${AUDIO_BASE_URL}/sounds/music`;
4
4
  export const MUSIC_FILES = {
@@ -1,6 +1,6 @@
1
1
  import { MUSIC_DIR, MUSIC_FILES } from "./config";
2
- const MUSIC_MUTE_KEY = "agent-hq:audio:music-muted";
3
- const LEGACY_MUTE_KEY = "agent-hq:audio:muted";
2
+ const MUSIC_MUTE_KEY = "adea:audio:music-muted";
3
+ const LEGACY_MUTE_KEY = "adea:audio:muted";
4
4
  const DEFAULT_MUSIC_VOLUME = 0.8;
5
5
  const FADE_STEP_MS = 30;
6
6
  function clampVolume(value) {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Optional soundtrack hooks for Agent HQ.
1
+ // Optional soundtrack hooks for Adea.
2
2
  export { AUDIO_BASE_URL, MUSIC_FILES } from "./config";
3
3
  export { SoundController, soundController } from "./controller";
4
4
  export { musicForScene, sceneMusicTracks } from "./scene-music";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adea-ai/audio",
3
- "version": "0.10.9",
3
+ "version": "0.10.11",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/config.ts CHANGED
@@ -1,4 +1,4 @@
1
- /** Optional soundtrack hooks for Agent HQ. */
1
+ /** Optional soundtrack hooks for Adea. */
2
2
  export const AUDIO_BASE_URL = "/assets/audio";
3
3
  export const MUSIC_DIR = `${AUDIO_BASE_URL}/sounds/music`;
4
4
 
package/src/controller.ts CHANGED
@@ -7,8 +7,8 @@ export type MusicOptions = {
7
7
  fadeMs?: number;
8
8
  };
9
9
 
10
- const MUSIC_MUTE_KEY = "agent-hq:audio:music-muted";
11
- const LEGACY_MUTE_KEY = "agent-hq:audio:muted";
10
+ const MUSIC_MUTE_KEY = "adea:audio:music-muted";
11
+ const LEGACY_MUTE_KEY = "adea:audio:muted";
12
12
  const DEFAULT_MUSIC_VOLUME = 0.8;
13
13
  const FADE_STEP_MS = 30;
14
14
 
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Optional soundtrack hooks for Agent HQ.
1
+ // Optional soundtrack hooks for Adea.
2
2
 
3
3
  export { AUDIO_BASE_URL, MUSIC_FILES, type MusicId } from "./config";
4
4
  export { SoundController, soundController, type MusicOptions } from "./controller";