vis-agent 0.5.22.dev9332__py3-none-any.whl → 0.5.22.dev9358__py3-none-any.whl

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.
@@ -28,6 +28,7 @@ _SCHEMA_NAMES = (
28
28
  "symbol",
29
29
  "toggle",
30
30
  "view",
31
+ "voice",
31
32
  )
32
33
 
33
34
 
@@ -8,6 +8,9 @@
8
8
  "deleted_session_ids": [],
9
9
  "session_count": 1
10
10
  },
11
+ "DELETE /v1/sessions/:sid/voice/live/:vid": {
12
+ "closed": true
13
+ },
11
14
  "GET /v1/admin/status": {
12
15
  "client_replacements_total": 0,
13
16
  "extensions": {
@@ -1584,6 +1587,28 @@
1584
1587
  "GET /v1/sessions/:sid/views/live": {
1585
1588
  "views": []
1586
1589
  },
1590
+ "GET /v1/sessions/:sid/voice/live/:vid": {
1591
+ "state": {
1592
+ "voice_session_id": "578d6e4b-a831-4458-b286-bcf2a336e03f",
1593
+ "capture_generation": 0,
1594
+ "output_epoch": 0,
1595
+ "capture": "live",
1596
+ "utterance": "admitted",
1597
+ "agent": "running",
1598
+ "output": "idle"
1599
+ },
1600
+ "receipts": [
1601
+ {
1602
+ "voice_session_id": "578d6e4b-a831-4458-b286-bcf2a336e03f",
1603
+ "utterance_id": 0,
1604
+ "idempotency_key": "voice/578d6e4b-a831-4458-b286-bcf2a336e03f/0",
1605
+ "text": "Explain the test.",
1606
+ "revision": 2,
1607
+ "turn_id": "5f0c1a52-2d7b-4a6e-9a55-0c6f3d1b7e10",
1608
+ "status": "running"
1609
+ }
1610
+ ]
1611
+ },
1587
1612
  "GET /v1/sessions/:sid/workspace": {
1588
1613
  "workspace": {
1589
1614
  "id": "335d4075-8512-4cb0-8062-fdce5a444441",
@@ -1715,6 +1740,72 @@
1715
1740
  }
1716
1741
  ]
1717
1742
  },
1743
+ "GET /v1/voice/live/capabilities": {
1744
+ "enabled": true,
1745
+ "available": true,
1746
+ "reason": null,
1747
+ "limits": {
1748
+ "sample_rate": 24000,
1749
+ "frame_ms": 20,
1750
+ "frame_samples": 480,
1751
+ "header_bytes": 12,
1752
+ "input_buffer_ms": 2000,
1753
+ "output_credit_ms": 1000,
1754
+ "preroll_ms": 200,
1755
+ "max_utterance_ms": 30000,
1756
+ "endpoint_silence_ms": 1100,
1757
+ "min_speech_ms": 120,
1758
+ "lease_ms": 15000,
1759
+ "heartbeat_ms": 5000,
1760
+ "ticket_ms": 15000,
1761
+ "max_control_bytes": 8192,
1762
+ "max_sessions": 1,
1763
+ "max_pending_utterances": 2,
1764
+ "max_pending_segments": 8,
1765
+ "max_projection_chars": 65536,
1766
+ "max_speech_segment_chars": 400,
1767
+ "max_speech_segments": 256,
1768
+ "max_admissions": 1024,
1769
+ "max_retained_sessions": 16,
1770
+ "retention_ms": 300000,
1771
+ "max_pending_inputs": 32
1772
+ },
1773
+ "engines": {
1774
+ "available": true,
1775
+ "asr": {
1776
+ "available": true,
1777
+ "engine": "vibevoice-asr-local",
1778
+ "sample_rate": 24000,
1779
+ "max_samples": 720000,
1780
+ "concurrency": 1,
1781
+ "languages": [
1782
+ "en"
1783
+ ],
1784
+ "abort_bound_ms": null
1785
+ },
1786
+ "tts": {
1787
+ "available": true,
1788
+ "engine": "pocket-tts-local",
1789
+ "sample_rate": 24000,
1790
+ "max_characters": 600,
1791
+ "concurrency": 1,
1792
+ "abort_bound_ms": null
1793
+ }
1794
+ },
1795
+ "profile": {
1796
+ "language": "en",
1797
+ "privacy": "local_speech",
1798
+ "concurrency": 1,
1799
+ "clients": [
1800
+ "companion_desktop",
1801
+ "companion_ios_test",
1802
+ "companion_android_test",
1803
+ "tui_headset"
1804
+ ],
1805
+ "mobile_qualified": false,
1806
+ "playback_precision": "rendered_minus_latency"
1807
+ }
1808
+ },
1718
1809
  "GET /v1/voice/model": {
1719
1810
  "status": "absent",
1720
1811
  "engine": "parakeet-local"
@@ -1889,6 +1980,113 @@
1889
1980
  "POST /v1/sessions/:sid/resume-queue": {
1890
1981
  "turn": null
1891
1982
  },
1983
+ "POST /v1/sessions/:sid/voice/live": {
1984
+ "voice_session_id": "578d6e4b-a831-4458-b286-bcf2a336e03f",
1985
+ "client_id": "cfdcf062-ee7c-44e7-87cb-369bc687e77d",
1986
+ "media_path": "/v1/sessions/31d34262-789a-43bb-82e3-6e8531b32000/voice/live/578d6e4b-a831-4458-b286-bcf2a336e03f/media",
1987
+ "ticket": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
1988
+ "state": {
1989
+ "voice_session_id": "578d6e4b-a831-4458-b286-bcf2a336e03f",
1990
+ "capture_generation": 0,
1991
+ "output_epoch": 0,
1992
+ "capture": "live",
1993
+ "utterance": "idle",
1994
+ "agent": "idle",
1995
+ "output": "idle"
1996
+ },
1997
+ "limits": {
1998
+ "sample_rate": 24000,
1999
+ "frame_ms": 20,
2000
+ "frame_samples": 480,
2001
+ "header_bytes": 12,
2002
+ "input_buffer_ms": 2000,
2003
+ "output_credit_ms": 1000,
2004
+ "preroll_ms": 200,
2005
+ "max_utterance_ms": 30000,
2006
+ "endpoint_silence_ms": 1100,
2007
+ "min_speech_ms": 120,
2008
+ "lease_ms": 15000,
2009
+ "heartbeat_ms": 5000,
2010
+ "ticket_ms": 15000,
2011
+ "max_control_bytes": 8192,
2012
+ "max_sessions": 1,
2013
+ "max_pending_utterances": 2,
2014
+ "max_pending_segments": 8,
2015
+ "max_projection_chars": 65536,
2016
+ "max_speech_segment_chars": 400,
2017
+ "max_speech_segments": 256,
2018
+ "max_admissions": 1024,
2019
+ "max_retained_sessions": 16,
2020
+ "retention_ms": 300000,
2021
+ "max_pending_inputs": 32
2022
+ },
2023
+ "capabilities": {
2024
+ "enabled": true,
2025
+ "available": true,
2026
+ "reason": null,
2027
+ "limits": {
2028
+ "sample_rate": 24000,
2029
+ "frame_ms": 20,
2030
+ "frame_samples": 480,
2031
+ "header_bytes": 12,
2032
+ "input_buffer_ms": 2000,
2033
+ "output_credit_ms": 1000,
2034
+ "preroll_ms": 200,
2035
+ "max_utterance_ms": 30000,
2036
+ "endpoint_silence_ms": 1100,
2037
+ "min_speech_ms": 120,
2038
+ "lease_ms": 15000,
2039
+ "heartbeat_ms": 5000,
2040
+ "ticket_ms": 15000,
2041
+ "max_control_bytes": 8192,
2042
+ "max_sessions": 1,
2043
+ "max_pending_utterances": 2,
2044
+ "max_pending_segments": 8,
2045
+ "max_projection_chars": 65536,
2046
+ "max_speech_segment_chars": 400,
2047
+ "max_speech_segments": 256,
2048
+ "max_admissions": 1024,
2049
+ "max_retained_sessions": 16,
2050
+ "retention_ms": 300000,
2051
+ "max_pending_inputs": 32
2052
+ },
2053
+ "engines": {
2054
+ "available": true,
2055
+ "asr": {
2056
+ "available": true,
2057
+ "engine": "vibevoice-asr-local",
2058
+ "sample_rate": 24000,
2059
+ "max_samples": 720000,
2060
+ "concurrency": 1,
2061
+ "languages": [
2062
+ "en"
2063
+ ],
2064
+ "abort_bound_ms": null
2065
+ },
2066
+ "tts": {
2067
+ "available": true,
2068
+ "engine": "pocket-tts-local",
2069
+ "sample_rate": 24000,
2070
+ "max_characters": 600,
2071
+ "concurrency": 1,
2072
+ "abort_bound_ms": null
2073
+ }
2074
+ },
2075
+ "profile": {
2076
+ "language": "en",
2077
+ "privacy": "local_speech",
2078
+ "concurrency": 1,
2079
+ "clients": [
2080
+ "companion_desktop",
2081
+ "companion_ios_test",
2082
+ "companion_android_test",
2083
+ "tui_headset"
2084
+ ],
2085
+ "mobile_qualified": false,
2086
+ "playback_precision": "rendered_minus_latency"
2087
+ }
2088
+ }
2089
+ },
1892
2090
  "POST /v1/sessions/actions/archive": {
1893
2091
  "archived": [
1894
2092
  "ec50190a-1dfc-4bd3-a9a0-bcf71fafab1d"
@@ -5,6 +5,74 @@
5
5
  "$defs": {
6
6
  "block": {
7
7
  "oneOf": [
8
+ {
9
+ "type": "object",
10
+ "additionalProperties": false,
11
+ "properties": {
12
+ "id": {
13
+ "$ref": "common.json#/$defs/non_blank_string"
14
+ },
15
+ "type": {
16
+ "const": "conversation"
17
+ },
18
+ "phase": {
19
+ "enum": [
20
+ "progress",
21
+ "answer"
22
+ ]
23
+ },
24
+ "text": {
25
+ "$ref": "voice.json#/$defs/speech_text"
26
+ }
27
+ },
28
+ "required": [
29
+ "id",
30
+ "type",
31
+ "phase",
32
+ "text"
33
+ ]
34
+ },
35
+ {
36
+ "type": "object",
37
+ "additionalProperties": false,
38
+ "properties": {
39
+ "id": {
40
+ "$ref": "common.json#/$defs/non_blank_string"
41
+ },
42
+ "type": {
43
+ "const": "visual"
44
+ },
45
+ "markdown": {
46
+ "type": "string",
47
+ "maxLength": 65536
48
+ }
49
+ },
50
+ "required": [
51
+ "id",
52
+ "type",
53
+ "markdown"
54
+ ]
55
+ },
56
+ {
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "properties": {
60
+ "id": {
61
+ "$ref": "common.json#/$defs/non_blank_string"
62
+ },
63
+ "type": {
64
+ "const": "silence"
65
+ },
66
+ "reason": {
67
+ "const": "user_requested"
68
+ }
69
+ },
70
+ "required": [
71
+ "id",
72
+ "type",
73
+ "reason"
74
+ ]
75
+ },
8
76
  {
9
77
  "type": "object",
10
78
  "additionalProperties": true,