@consiliency/omnigent-transport 0.2.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/dist/capability-probe.d.ts +9 -0
- package/dist/capability-probe.d.ts.map +1 -0
- package/dist/capability-probe.js +40 -0
- package/dist/capability-probe.js.map +1 -0
- package/dist/capability-store.d.ts +13 -0
- package/dist/capability-store.d.ts.map +1 -0
- package/dist/capability-store.js +10 -0
- package/dist/capability-store.js.map +1 -0
- package/dist/cli-client.d.ts +22 -0
- package/dist/cli-client.d.ts.map +1 -0
- package/dist/cli-client.js +281 -0
- package/dist/cli-client.js.map +1 -0
- package/dist/contract-fixtures.d.ts +111 -0
- package/dist/contract-fixtures.d.ts.map +1 -0
- package/dist/contract-fixtures.js +36 -0
- package/dist/contract-fixtures.js.map +1 -0
- package/dist/event-mapper.d.ts +21 -0
- package/dist/event-mapper.d.ts.map +1 -0
- package/dist/event-mapper.js +213 -0
- package/dist/event-mapper.js.map +1 -0
- package/dist/failure-mapper.d.ts +13 -0
- package/dist/failure-mapper.d.ts.map +1 -0
- package/dist/failure-mapper.js +261 -0
- package/dist/failure-mapper.js.map +1 -0
- package/dist/fake-omnigent-server.d.ts +25 -0
- package/dist/fake-omnigent-server.d.ts.map +1 -0
- package/dist/fake-omnigent-server.js +425 -0
- package/dist/fake-omnigent-server.js.map +1 -0
- package/dist/fixtures/discovery/capability-probes.json +142 -0
- package/dist/fixtures/discovery/cli-surface.json +76 -0
- package/dist/fixtures/discovery/http-surface.json +207 -0
- package/dist/fixtures/discovery/source-metadata.json +108 -0
- package/dist/fixtures/errors/child-session-blocked.json +29 -0
- package/dist/fixtures/errors/close-session-gap.json +24 -0
- package/dist/fixtures/errors/harness-override-blocked.json +18 -0
- package/dist/fixtures/errors/invalid-event-400.json +21 -0
- package/dist/fixtures/events/cancel-interrupt.json +44 -0
- package/dist/fixtures/events/dual-terminal-markers.json +28 -0
- package/dist/fixtures/events/malformed-sse-skip.json +31 -0
- package/dist/fixtures/events/normal-terminal.json +54 -0
- package/dist/fixtures/events/reconnect-snapshot-dedupe.json +27 -0
- package/dist/fixtures/events/v0-4-noop-events.json +54 -0
- package/dist/fixtures/events/v0-5-noop-events.json +40 -0
- package/dist/fixtures/fake-server/README.md +38 -0
- package/dist/fixtures/fake-server/scenarios.json +112 -0
- package/dist/history-mapper.d.ts +13 -0
- package/dist/history-mapper.d.ts.map +1 -0
- package/dist/history-mapper.js +19 -0
- package/dist/history-mapper.js.map +1 -0
- package/dist/http-client.d.ts +39 -0
- package/dist/http-client.d.ts.map +1 -0
- package/dist/http-client.js +128 -0
- package/dist/http-client.js.map +1 -0
- package/dist/http-provider.d.ts +18 -0
- package/dist/http-provider.d.ts.map +1 -0
- package/dist/http-provider.js +195 -0
- package/dist/http-provider.js.map +1 -0
- package/dist/hybrid-provider.d.ts +26 -0
- package/dist/hybrid-provider.d.ts.map +1 -0
- package/dist/hybrid-provider.js +72 -0
- package/dist/hybrid-provider.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/process-manager.d.ts +39 -0
- package/dist/process-manager.d.ts.map +1 -0
- package/dist/process-manager.js +83 -0
- package/dist/process-manager.js.map +1 -0
- package/dist/sse-stream.d.ts +8 -0
- package/dist/sse-stream.d.ts.map +1 -0
- package/dist/sse-stream.js +80 -0
- package/dist/sse-stream.js.map +1 -0
- package/dist/types.d.ts +144 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +80 -0
- package/dist/types.js.map +1 -0
- package/package.json +23 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.http_surface.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"captured_at": "2026-07-11T03:10:00Z",
|
|
5
|
+
"session_endpoints": [
|
|
6
|
+
{
|
|
7
|
+
"method": "POST",
|
|
8
|
+
"path": "/v1/sessions",
|
|
9
|
+
"purpose": "create_session"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"method": "GET",
|
|
13
|
+
"path": "/v1/sessions",
|
|
14
|
+
"purpose": "list_sessions"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"method": "GET",
|
|
18
|
+
"path": "/v1/sessions/{session_id}",
|
|
19
|
+
"purpose": "snapshot"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"method": "PATCH",
|
|
23
|
+
"path": "/v1/sessions/{session_id}",
|
|
24
|
+
"purpose": "bind_runner_or_mutate_session"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"method": "DELETE",
|
|
28
|
+
"path": "/v1/sessions/{session_id}",
|
|
29
|
+
"purpose": "destructive_delete"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"method": "GET",
|
|
33
|
+
"path": "/v1/sessions/{session_id}/items",
|
|
34
|
+
"purpose": "read_history"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"method": "GET",
|
|
38
|
+
"path": "/v1/sessions/{session_id}/stream",
|
|
39
|
+
"purpose": "stream_events"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"method": "POST",
|
|
43
|
+
"path": "/v1/sessions/{session_id}/events",
|
|
44
|
+
"purpose": "send_turn_or_interrupt"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"path": "/v1/sessions/{session_id}/child_sessions",
|
|
49
|
+
"purpose": "observe_child_sessions"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"method": "POST",
|
|
53
|
+
"path": "/v1/sessions/{source_id}/fork",
|
|
54
|
+
"purpose": "fork_session"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"method": "POST",
|
|
58
|
+
"path": "/v1/sessions/{session_id}/switch-agent",
|
|
59
|
+
"purpose": "switch_bound_agent"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"method": "PUT",
|
|
63
|
+
"path": "/v1/sessions/{session_id}/read-state",
|
|
64
|
+
"purpose": "update_viewer_read_state"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"harness_endpoints": [
|
|
68
|
+
{
|
|
69
|
+
"method": "GET",
|
|
70
|
+
"path": "/v1/harnesses",
|
|
71
|
+
"purpose": "read_only_harness_catalog"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"session_snapshot_fields": {
|
|
75
|
+
"active_response_id": "optional reconnect hint for active in-flight response",
|
|
76
|
+
"background_task_count": "optional native terminal shell count",
|
|
77
|
+
"viewer_last_seen": "session list read-state marker",
|
|
78
|
+
"viewer_unread": "session list read-state marker",
|
|
79
|
+
"mcp_startup": "optional per-server MCP startup status metadata"
|
|
80
|
+
},
|
|
81
|
+
"session_list_item_fields": {
|
|
82
|
+
"search_snippet": "optional server-generated search result excerpt"
|
|
83
|
+
},
|
|
84
|
+
"session_status_contract": {
|
|
85
|
+
"api_md": [
|
|
86
|
+
"idle",
|
|
87
|
+
"running",
|
|
88
|
+
"waiting",
|
|
89
|
+
"failed"
|
|
90
|
+
],
|
|
91
|
+
"openapi_session_response": [
|
|
92
|
+
"idle",
|
|
93
|
+
"running",
|
|
94
|
+
"waiting",
|
|
95
|
+
"failed"
|
|
96
|
+
],
|
|
97
|
+
"sse_status_event": [
|
|
98
|
+
"launching",
|
|
99
|
+
"running",
|
|
100
|
+
"waiting",
|
|
101
|
+
"idle",
|
|
102
|
+
"failed"
|
|
103
|
+
],
|
|
104
|
+
"tolerated_raw_edge": [
|
|
105
|
+
"launching"
|
|
106
|
+
],
|
|
107
|
+
"note": "v0.5.1 retains the resolved waiting status; launching remains tolerated from session.status edges and maps to starting."
|
|
108
|
+
},
|
|
109
|
+
"response_status_contract": [
|
|
110
|
+
"queued",
|
|
111
|
+
"in_progress",
|
|
112
|
+
"completed",
|
|
113
|
+
"failed",
|
|
114
|
+
"incomplete",
|
|
115
|
+
"cancelled"
|
|
116
|
+
],
|
|
117
|
+
"stream_contract": {
|
|
118
|
+
"mode": "live_tail_only",
|
|
119
|
+
"done_sentinel": "[DONE]",
|
|
120
|
+
"replay": false,
|
|
121
|
+
"reconnect_steps": [
|
|
122
|
+
"open_stream",
|
|
123
|
+
"get_snapshot",
|
|
124
|
+
"dedupe_by_item_id"
|
|
125
|
+
],
|
|
126
|
+
"event_families": [
|
|
127
|
+
"session",
|
|
128
|
+
"response",
|
|
129
|
+
"turn"
|
|
130
|
+
],
|
|
131
|
+
"official_release_event_count": 50,
|
|
132
|
+
"release_event_types": [
|
|
133
|
+
"session.mcp_startup",
|
|
134
|
+
"response.policy_denied"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"optional_release_surfaces": [
|
|
138
|
+
{
|
|
139
|
+
"method": "GET",
|
|
140
|
+
"path": "/v1/hosts/{host_id}/worktrees",
|
|
141
|
+
"status": "observed_not_provider_required",
|
|
142
|
+
"reason": "host worktree inventory is not part of the transport provider contract"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"method": "POST",
|
|
146
|
+
"path": "/v1/sessions/{session_id}/resources/files:copy",
|
|
147
|
+
"status": "observed_not_provider_required",
|
|
148
|
+
"reason": "resource copying is not required by the transport provider"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"methods": [
|
|
152
|
+
"GET",
|
|
153
|
+
"PUT"
|
|
154
|
+
],
|
|
155
|
+
"path": "/v1/sharing",
|
|
156
|
+
"status": "observed_not_provider_required",
|
|
157
|
+
"reason": "sharing settings are not coordination leases"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"field": "SessionGitOptions.existing_worktree",
|
|
161
|
+
"status": "observed_not_provider_required",
|
|
162
|
+
"reason": "existing worktree selection is an upstream launch option"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"fork_request": {
|
|
166
|
+
"allowed_fields": [
|
|
167
|
+
"agent_id",
|
|
168
|
+
"title",
|
|
169
|
+
"up_to_response_id"
|
|
170
|
+
],
|
|
171
|
+
"removed_fields": [
|
|
172
|
+
"model_override"
|
|
173
|
+
],
|
|
174
|
+
"provider_sends_removed_fields": false
|
|
175
|
+
},
|
|
176
|
+
"child_session_public_surface": {
|
|
177
|
+
"observe": [
|
|
178
|
+
"GET /v1/sessions/{session_id}/child_sessions",
|
|
179
|
+
"session.created",
|
|
180
|
+
"session.child_session.updated"
|
|
181
|
+
],
|
|
182
|
+
"create_under_parent": false,
|
|
183
|
+
"fork_available": true
|
|
184
|
+
},
|
|
185
|
+
"provenance": [
|
|
186
|
+
{
|
|
187
|
+
"kind": "tagged_source",
|
|
188
|
+
"path": "omnigent/server/API.md",
|
|
189
|
+
"ref": "v0.5.1"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "tagged_source",
|
|
193
|
+
"path": "openapi.json",
|
|
194
|
+
"ref": "v0.5.1"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"kind": "tagged_source",
|
|
198
|
+
"path": "omnigent/server/routes/harnesses.py",
|
|
199
|
+
"ref": "v0.5.1"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "tagged_source",
|
|
203
|
+
"path": "omnigent/server/schemas.py",
|
|
204
|
+
"ref": "v0.5.1"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.source_metadata.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"captured_at": "2026-07-11T03:10:00Z",
|
|
5
|
+
"repo": "omnigent-ai/omnigent",
|
|
6
|
+
"freeze_target": {
|
|
7
|
+
"tag": "v0.5.1",
|
|
8
|
+
"commit": "08285468e098244ac0b0bf98cb470d5c1a1a7070",
|
|
9
|
+
"published_at": "2026-07-10T23:26:54Z",
|
|
10
|
+
"package_version": "0.5.1",
|
|
11
|
+
"requires_python": ">=3.12"
|
|
12
|
+
},
|
|
13
|
+
"head_probe": {
|
|
14
|
+
"branch": "main",
|
|
15
|
+
"commit": "f55e16f84e1b2c757deb3ee56229feace309cb6c",
|
|
16
|
+
"observed_at": "2026-07-11T03:10:00Z",
|
|
17
|
+
"authority": "latest remote head probe only; not part of IF-0-CONTRACT-1"
|
|
18
|
+
},
|
|
19
|
+
"previous_probe": {
|
|
20
|
+
"tag": "v0.5.0",
|
|
21
|
+
"commit": "1d1b3a8605c48df10618ce481e974f565771326b",
|
|
22
|
+
"observed_at": "2026-07-10T21:20:38Z",
|
|
23
|
+
"authority": "historical prior release probe only; superseded by official v0.5.1 freeze target"
|
|
24
|
+
},
|
|
25
|
+
"local_cli_probe": {
|
|
26
|
+
"omnigent_on_path": false,
|
|
27
|
+
"omni_on_path": false
|
|
28
|
+
},
|
|
29
|
+
"preflight_confirmation": {
|
|
30
|
+
"observed_at": "2026-07-11T03:10:00Z",
|
|
31
|
+
"openapi_has_harnesses": true,
|
|
32
|
+
"openapi_has_read_state": true,
|
|
33
|
+
"session_response_has_active_response_id": true,
|
|
34
|
+
"session_response_has_mcp_startup": true,
|
|
35
|
+
"session_list_item_has_search_snippet": true,
|
|
36
|
+
"session_git_options_has_existing_worktree": true,
|
|
37
|
+
"session_fork_request_removed_fields": [
|
|
38
|
+
"model_override"
|
|
39
|
+
],
|
|
40
|
+
"added_paths": [
|
|
41
|
+
"/v1/hosts/{host_id}/worktrees",
|
|
42
|
+
"/v1/sessions/{session_id}/resources/files:copy",
|
|
43
|
+
"/v1/sharing"
|
|
44
|
+
],
|
|
45
|
+
"added_stream_events": [
|
|
46
|
+
"session.mcp_startup",
|
|
47
|
+
"response.policy_denied"
|
|
48
|
+
],
|
|
49
|
+
"v0_5_0_openapi_matches_v0_5_1": true
|
|
50
|
+
},
|
|
51
|
+
"provenance": [
|
|
52
|
+
{
|
|
53
|
+
"kind": "release_metadata",
|
|
54
|
+
"source": "github release metadata",
|
|
55
|
+
"ref": "v0.5.1"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"kind": "package_metadata",
|
|
59
|
+
"source": "PyPI omnigent 0.5.1 metadata",
|
|
60
|
+
"ref": "v0.5.1"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"kind": "tagged_source",
|
|
64
|
+
"path": "pyproject.toml",
|
|
65
|
+
"ref": "v0.5.1"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "tagged_source",
|
|
69
|
+
"path": "openapi.json",
|
|
70
|
+
"ref": "v0.5.1"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "tagged_source",
|
|
74
|
+
"path": "omnigent/server/API.md",
|
|
75
|
+
"ref": "v0.5.1"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "tagged_source",
|
|
79
|
+
"path": "omnigent/server/routes/harnesses.py",
|
|
80
|
+
"ref": "v0.5.1"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "tagged_source",
|
|
84
|
+
"path": "omnigent/harness_plugins.py",
|
|
85
|
+
"ref": "v0.5.1"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "tagged_source",
|
|
89
|
+
"path": "omnigent/server/schemas.py",
|
|
90
|
+
"ref": "v0.5.1"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"kind": "tagged_source",
|
|
94
|
+
"path": "sdks/python-client/omnigent_client/_sessions.py",
|
|
95
|
+
"ref": "v0.5.1"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "tagged_source",
|
|
99
|
+
"path": "sdks/python-client/omnigent_client/_events.py",
|
|
100
|
+
"ref": "v0.5.1"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "remote_head_probe",
|
|
104
|
+
"path": "refs/heads/main",
|
|
105
|
+
"ref": "f55e16f84e1b2c757deb3ee56229feace309cb6c"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.error_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "child_session_blocked",
|
|
5
|
+
"observed_public_surface": {
|
|
6
|
+
"list_child_sessions": true,
|
|
7
|
+
"fork_session": true,
|
|
8
|
+
"create_child_session_under_parent": false
|
|
9
|
+
},
|
|
10
|
+
"provider_status": "blocked",
|
|
11
|
+
"note": "v0.4.0 exposes child-session observation and forking, but not a stable public spawn-under-parent create primitive.",
|
|
12
|
+
"provenance": [
|
|
13
|
+
{
|
|
14
|
+
"kind": "tagged_source",
|
|
15
|
+
"path": "omnigent/server/API.md",
|
|
16
|
+
"ref": "v0.4.0"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "tagged_source",
|
|
20
|
+
"path": "openapi.json",
|
|
21
|
+
"ref": "v0.4.0"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"kind": "tagged_source",
|
|
25
|
+
"path": "omnigent/tools/builtins/spawn.py",
|
|
26
|
+
"ref": "v0.4.0"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.error_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "close_session_gap",
|
|
5
|
+
"observed_public_surface": {
|
|
6
|
+
"stop_session_event": true,
|
|
7
|
+
"delete_session_route": true,
|
|
8
|
+
"non_destructive_public_close": false
|
|
9
|
+
},
|
|
10
|
+
"provider_status": "emulated",
|
|
11
|
+
"note": "Logical close needs provider-owned policy or state because the public surface exposes stop-or-delete, not a stable close state.",
|
|
12
|
+
"provenance": [
|
|
13
|
+
{
|
|
14
|
+
"kind": "tagged_source",
|
|
15
|
+
"path": "omnigent/server/API.md",
|
|
16
|
+
"ref": "v0.4.0"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "tagged_source",
|
|
20
|
+
"path": "omnigent/tools/builtins/spawn.py",
|
|
21
|
+
"ref": "v0.4.0"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.error_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "harness_override_blocked",
|
|
5
|
+
"observed_public_surface": {
|
|
6
|
+
"public_rest_harness_override": false,
|
|
7
|
+
"internal_allowlisted_spawn_override": true
|
|
8
|
+
},
|
|
9
|
+
"provider_status": "blocked",
|
|
10
|
+
"note": "v0.4.0 adds a read-only harness catalog, but the only observed harness override path remains allowlist-gated internal spawn-tool behavior, not a stable public session API.",
|
|
11
|
+
"provenance": [
|
|
12
|
+
{
|
|
13
|
+
"kind": "tagged_source",
|
|
14
|
+
"path": "omnigent/tools/builtins/spawn.py",
|
|
15
|
+
"ref": "v0.4.0"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.error_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "invalid_event_400",
|
|
5
|
+
"request": {
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"path": "/v1/sessions/{session_id}/events",
|
|
8
|
+
"case": "unsupported_event_type_or_schema_mismatch"
|
|
9
|
+
},
|
|
10
|
+
"response": {
|
|
11
|
+
"status_code": 400,
|
|
12
|
+
"class": "bad_request"
|
|
13
|
+
},
|
|
14
|
+
"provenance": [
|
|
15
|
+
{
|
|
16
|
+
"kind": "tagged_source",
|
|
17
|
+
"path": "omnigent/server/API.md",
|
|
18
|
+
"ref": "v0.4.0"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "cancel_interrupt",
|
|
5
|
+
"request": {
|
|
6
|
+
"method": "POST",
|
|
7
|
+
"path": "/v1/sessions/{session_id}/events",
|
|
8
|
+
"body": {
|
|
9
|
+
"type": "interrupt",
|
|
10
|
+
"data": {}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"ack": {
|
|
14
|
+
"queued": false
|
|
15
|
+
},
|
|
16
|
+
"events": [
|
|
17
|
+
{
|
|
18
|
+
"type": "response.incomplete",
|
|
19
|
+
"reason": "user_interrupt",
|
|
20
|
+
"terminal": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "session.interrupted",
|
|
24
|
+
"terminal": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "session.status",
|
|
28
|
+
"status": "idle",
|
|
29
|
+
"terminal": false
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"provenance": [
|
|
33
|
+
{
|
|
34
|
+
"kind": "tagged_source",
|
|
35
|
+
"path": "omnigent/server/API.md",
|
|
36
|
+
"ref": "v0.4.0"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "tagged_source",
|
|
40
|
+
"path": "sdks/python-client/omnigent_client/_sessions.py",
|
|
41
|
+
"ref": "v0.4.0"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "dual_terminal_markers",
|
|
5
|
+
"events": [
|
|
6
|
+
{
|
|
7
|
+
"type": "response.completed",
|
|
8
|
+
"semantic_terminal": true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "turn.completed",
|
|
12
|
+
"semantic_terminal": true
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"expected_provider_behavior": "collapse duplicate terminal markers into one normalized turn outcome",
|
|
16
|
+
"provenance": [
|
|
17
|
+
{
|
|
18
|
+
"kind": "tagged_source",
|
|
19
|
+
"path": "omnigent/server/API.md",
|
|
20
|
+
"ref": "v0.4.0"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"kind": "tagged_source",
|
|
24
|
+
"path": "sdks/python-client/omnigent_client/_events.py",
|
|
25
|
+
"ref": "v0.4.0"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "malformed_sse_skip",
|
|
5
|
+
"frames": [
|
|
6
|
+
{
|
|
7
|
+
"shape": "non_json_payload",
|
|
8
|
+
"client_action": "log_and_skip"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"shape": "json_non_object",
|
|
12
|
+
"client_action": "log_and_skip"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"shape": "unknown_event_type",
|
|
16
|
+
"client_action": "log_and_skip"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"shape": "valid_event",
|
|
20
|
+
"type": "response.output_text.delta",
|
|
21
|
+
"client_action": "yield"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"provenance": [
|
|
25
|
+
{
|
|
26
|
+
"kind": "tagged_source",
|
|
27
|
+
"path": "sdks/python-client/omnigent_client/_sessions.py",
|
|
28
|
+
"ref": "v0.4.0"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "normal_terminal_turn",
|
|
5
|
+
"events": [
|
|
6
|
+
{
|
|
7
|
+
"type": "session.status",
|
|
8
|
+
"status": "running",
|
|
9
|
+
"terminal": false
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "response.created",
|
|
13
|
+
"terminal": false
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "response.in_progress",
|
|
17
|
+
"terminal": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "response.output_text.delta",
|
|
21
|
+
"terminal": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "response.completed",
|
|
25
|
+
"terminal": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "turn.completed",
|
|
29
|
+
"terminal": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "session.status",
|
|
33
|
+
"status": "idle",
|
|
34
|
+
"terminal": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "[DONE]",
|
|
38
|
+
"terminal": true
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"note": "Successful turn with both response and turn terminal markers present.",
|
|
42
|
+
"provenance": [
|
|
43
|
+
{
|
|
44
|
+
"kind": "tagged_source",
|
|
45
|
+
"path": "omnigent/server/API.md",
|
|
46
|
+
"ref": "v0.4.0"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "tagged_source",
|
|
50
|
+
"path": "sdks/python-client/omnigent_client/_events.py",
|
|
51
|
+
"ref": "v0.4.0"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "reconnect_snapshot_dedupe",
|
|
5
|
+
"reconnect_steps": [
|
|
6
|
+
"open_stream",
|
|
7
|
+
"get_snapshot",
|
|
8
|
+
"dedupe_snapshot_items_by_item_id"
|
|
9
|
+
],
|
|
10
|
+
"transport_properties": {
|
|
11
|
+
"replay": false,
|
|
12
|
+
"stream_survives_across_turns": true
|
|
13
|
+
},
|
|
14
|
+
"dedupe_key": "item.id",
|
|
15
|
+
"provenance": [
|
|
16
|
+
{
|
|
17
|
+
"kind": "tagged_source",
|
|
18
|
+
"path": "omnigent/server/API.md",
|
|
19
|
+
"ref": "v0.4.0"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"kind": "tagged_source",
|
|
23
|
+
"path": "sdks/python-client/omnigent_client/_sessions.py",
|
|
24
|
+
"ref": "v0.4.0"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "omnigent.event_fixture.v1",
|
|
3
|
+
"redaction": "metadata_only",
|
|
4
|
+
"fixture": "v0_4_noop_events",
|
|
5
|
+
"events": [
|
|
6
|
+
{
|
|
7
|
+
"type": "session.usage",
|
|
8
|
+
"terminal": false
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "response.reasoning.started",
|
|
12
|
+
"terminal": false
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "response.reasoning_text.delta",
|
|
16
|
+
"terminal": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "response.retry",
|
|
20
|
+
"terminal": false,
|
|
21
|
+
"reason": "metadata_only_retry"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "response.error",
|
|
25
|
+
"terminal": false,
|
|
26
|
+
"reason": "metadata_only_error"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "response.heartbeat",
|
|
30
|
+
"terminal": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "session.reasoning_effort",
|
|
34
|
+
"terminal": false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "response.elicitation_request",
|
|
38
|
+
"terminal": false
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"expected_provider_behavior": "parse as known v0.4 events and no-op unless explicitly mapped to provider state",
|
|
42
|
+
"provenance": [
|
|
43
|
+
{
|
|
44
|
+
"kind": "tagged_source",
|
|
45
|
+
"path": "openapi.json",
|
|
46
|
+
"ref": "v0.4.0"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "tagged_source",
|
|
50
|
+
"path": "omnigent/server/schemas.py",
|
|
51
|
+
"ref": "v0.4.0"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|