@wibly/internal-protocol 0.1.1 → 0.1.2

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,7 @@
1
1
  # `@wibly/internal-protocol` — Changelog
2
2
 
3
+ ## 0.1.2 — 2026-06-08
4
+
3
5
  ## 0.1.1 — 2026-05-30
4
6
 
5
7
  Initial public npm release. Internal runtime dependency of `@wibly/sdk` —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wibly/internal-protocol",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Wibly @wibly/internal-protocol",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -17,7 +17,7 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@wibly/internal-shared": "0.1.1",
20
+ "@wibly/internal-shared": "0.1.2",
21
21
  "zod": "^3.25.76"
22
22
  },
23
23
  "peerDependencies": {}
package/src/phase.ts CHANGED
@@ -32,6 +32,14 @@ export type InputSet = {
32
32
  */
33
33
  export type CollectionRule =
34
34
  | { readonly kind: 'all_respond' }
35
+ | { readonly kind: 'all_respond_or_timeout'; readonly ms: number }
36
+ | {
37
+ readonly kind: 'after_tts_completes';
38
+ /** Max wall-clock ms from phase entry before the phase advances. */
39
+ readonly timeout: number;
40
+ /** Ms to wait after the last TTS clip finishes before advancing. */
41
+ readonly buffer: number;
42
+ }
35
43
  | { readonly kind: 'first_respond'; readonly count: number }
36
44
  | { readonly kind: 'timeout'; readonly ms: number }
37
45
  | { readonly kind: 'manual' };