@viji-dev/core 0.5.4 → 0.5.5

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/dist/index.d.ts CHANGED
@@ -442,9 +442,12 @@ export declare class AudioSystem {
442
442
  getChannelCount(): number;
443
443
  /**
444
444
  * Record a tap for the specified instrument onset.
445
- * `options.skipRecognition` retains visual envelope + session timing but
446
- * bypasses the recognition pipeline used by host-side relay of forwarded
447
- * tap messages where another core is doing the authoritative recognition.
445
+ * `options.skipRecognition` opts the tap out of the recognition pipeline
446
+ * only (no IOI accumulation, no `tryRecognizePattern`, no `applyPattern`).
447
+ * Mode still flips `'auto' 'tapping'` so the visual envelope and
448
+ * audio-event filter run; only the pattern-detection pipeline is bypassed.
449
+ * Used by host-side relay of forwarded tap messages where another core
450
+ * owns the authoritative recognition.
448
451
  */
449
452
  tapOnset(instrument: InstrumentType, options?: {
450
453
  skipRecognition?: boolean;
@@ -2251,7 +2254,7 @@ declare type TrackingState = 'TRACKING' | 'LOCKED' | 'BREAKDOWN' | 'LOST';
2251
2254
  /** Returned by `on*` listener registration calls; invoke to unsubscribe. */
2252
2255
  export declare type Unsubscribe = () => void;
2253
2256
 
2254
- export declare const VERSION = "0.5.4";
2257
+ export declare const VERSION = "0.5.5";
2255
2258
 
2256
2259
  /**
2257
2260
  * Real-time video API: drawable frame, dimensions, and the source-side
@@ -3023,13 +3026,17 @@ export declare class VijiCore {
3023
3026
  * First tap switches the instrument from auto to tapping mode.
3024
3027
  * If a repeating pattern is recognized, it continues after tapping stops.
3025
3028
  *
3026
- * `options.skipRecognition: true` keeps the visual envelope and session
3027
- * timing but bypasses pattern recognition entirely (no IOI accumulation,
3028
- * no mode transition, no `applyPattern`, no `handlePatternTap`). Use
3029
- * this when relaying tap messages from another instance that owns the
3030
- * authoritative recognition (e.g. host receiving forwarded controller
3031
- * taps over WebRTC). The receiving core's mode is then driven only by
3032
- * `importSessionState` from the authoritative sender.
3029
+ * `options.skipRecognition: true` opts the tap out of the **recognition
3030
+ * pipeline only** no `tapIOIs` accumulation, no `tryRecognizePattern`,
3031
+ * no `applyPattern`, no `handlePatternTap`. Mode still flips
3032
+ * `'auto' 'tapping'` on the first tap of a session (and back to
3033
+ * `'auto'` on the 5s timeout). The mode flip is load-bearing for
3034
+ * `processFrame`'s drain of `pendingTapEvents`, the audio-event filter
3035
+ * that prevents music+tap doubling, and `onModeChange` consumers. Use
3036
+ * `skipRecognition` when relaying tap messages from another instance
3037
+ * that owns the authoritative recognition (e.g. host receiving
3038
+ * controller taps over WebRTC); the receiving core's pattern is then
3039
+ * driven only by `importSessionState` from the authoritative sender.
3033
3040
  *
3034
3041
  * The `MIN_TAP_INTERVAL_MS` debounce still applies regardless of the
3035
3042
  * `skipRecognition` flag.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, V, a, b } from "./index-_PbbZgmh.js";
1
+ import { A, V, a, b } from "./index-DsJxKERc.js";
2
2
  export {
3
3
  A as AudioSystem,
4
4
  V as VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",