lustro-cli 0.1.0__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.
Files changed (60) hide show
  1. lustro_cli/__init__.py +29 -0
  2. lustro_cli/cli.py +2460 -0
  3. lustro_cli/client.py +434 -0
  4. lustro_cli/discovery.py +1033 -0
  5. lustro_cli/exitcodes.py +25 -0
  6. lustro_cli/mcp.py +867 -0
  7. lustro_cli/wire/__init__.py +62 -0
  8. lustro_cli/wire/_schema.json +97 -0
  9. lustro_cli/wire/cursor-envelope.schema.json +28 -0
  10. lustro_cli/wire/error-envelope.schema.json +46 -0
  11. lustro_cli/wire/golden/cursor-delta.json +91 -0
  12. lustro_cli/wire/golden/cursor-reset.json +65 -0
  13. lustro_cli/wire/golden/cursor-unchanged.json +15 -0
  14. lustro_cli/wire/golden/error-envelope.json +7 -0
  15. lustro_cli/wire/golden/export-har-websocket.json +148 -0
  16. lustro_cli/wire/golden/export-har.json +359 -0
  17. lustro_cli/wire/golden/logs-delta.json +44 -0
  18. lustro_cli/wire/golden/logs-reset.json +73 -0
  19. lustro_cli/wire/golden/logs-unchanged.json +9 -0
  20. lustro_cli/wire/golden/meta.json +12 -0
  21. lustro_cli/wire/golden/prefs-delta.json +58 -0
  22. lustro_cli/wire/golden/prefs-files.json +64 -0
  23. lustro_cli/wire/golden/prefs-reset.json +58 -0
  24. lustro_cli/wire/golden/prefs-unchanged.json +4 -0
  25. lustro_cli/wire/golden/rules-list.json +44 -0
  26. lustro_cli/wire/golden/screen-tree-views.json +596 -0
  27. lustro_cli/wire/golden/screen-tree.json +689 -0
  28. lustro_cli/wire/golden/send-result.json +7 -0
  29. lustro_cli/wire/golden/senders-list.json +6 -0
  30. lustro_cli/wire/golden/sqlite-databases.json +37 -0
  31. lustro_cli/wire/golden/sqlite-exec.json +4 -0
  32. lustro_cli/wire/golden/sqlite-query.json +109 -0
  33. lustro_cli/wire/golden/sqlite-rows.json +109 -0
  34. lustro_cli/wire/golden/sqlite-schema.json +98 -0
  35. lustro_cli/wire/golden/sqlite-tables.json +57 -0
  36. lustro_cli/wire/golden/stream-delta.json +48 -0
  37. lustro_cli/wire/golden/stream-reset.json +66 -0
  38. lustro_cli/wire/golden/stream-unchanged.json +4 -0
  39. lustro_cli/wire/golden/transaction-image.json +43 -0
  40. lustro_cli/wire/golden/transaction.json +41 -0
  41. lustro_cli/wire/golden/websocket.json +37 -0
  42. lustro_cli/wire/golden/websockets-reset.json +89 -0
  43. lustro_cli/wire/golden/work-events.json +152 -0
  44. lustro_cli/wire/golden/work-item.json +118 -0
  45. lustro_cli/wire/golden/work-items.json +129 -0
  46. lustro_cli/wire/golden/work-metrics.json +40 -0
  47. lustro_cli/wire/logs.openapi.json +622 -0
  48. lustro_cli/wire/meta.schema.json +47 -0
  49. lustro_cli/wire/network.openapi.json +2458 -0
  50. lustro_cli/wire/pagination.schema.json +20 -0
  51. lustro_cli/wire/prefs.openapi.json +699 -0
  52. lustro_cli/wire/screen.openapi.json +512 -0
  53. lustro_cli/wire/sqlite.openapi.json +1233 -0
  54. lustro_cli/wire/stream-envelope.schema.json +33 -0
  55. lustro_cli/wire/sync.py +80 -0
  56. lustro_cli/wire/work.openapi.json +1188 -0
  57. lustro_cli-0.1.0.dist-info/METADATA +585 -0
  58. lustro_cli-0.1.0.dist-info/RECORD +60 -0
  59. lustro_cli-0.1.0.dist-info/WHEEL +4 -0
  60. lustro_cli-0.1.0.dist-info/entry_points.txt +3 -0
@@ -0,0 +1,37 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "name": "app",
5
+ "registered": true,
6
+ "source": "support",
7
+ "writable": true,
8
+ "policy": "mask_sensitive",
9
+ "path": "/data/user/0/com.example.app/databases/app.db",
10
+ "sizeBytes": 57344,
11
+ "walBytes": 131872,
12
+ "schemaVersion": 3
13
+ },
14
+ {
15
+ "name": "catalog",
16
+ "registered": true,
17
+ "source": "file",
18
+ "writable": false,
19
+ "policy": "visible",
20
+ "path": "/data/user/0/com.example.app/databases/catalog.db",
21
+ "sizeBytes": 24576,
22
+ "walBytes": null,
23
+ "schemaVersion": 7
24
+ },
25
+ {
26
+ "name": "sdk_cache.db",
27
+ "registered": false,
28
+ "source": "file",
29
+ "writable": false,
30
+ "policy": "mask_sensitive",
31
+ "path": "/data/user/0/com.example.app/databases/sdk_cache.db",
32
+ "sizeBytes": 16384,
33
+ "walBytes": null,
34
+ "schemaVersion": 7
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "status": "ok",
3
+ "changes": 2
4
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "database": "app",
3
+ "columns": [
4
+ "id",
5
+ "title",
6
+ "attachment",
7
+ "score",
8
+ "body_chars",
9
+ "share_token"
10
+ ],
11
+ "rows": [
12
+ [
13
+ {
14
+ "type": "integer",
15
+ "value": "9007199254740993"
16
+ },
17
+ {
18
+ "type": "text",
19
+ "value": "Synced"
20
+ },
21
+ {
22
+ "type": "null"
23
+ },
24
+ {
25
+ "type": "real",
26
+ "value": 0.25
27
+ },
28
+ {
29
+ "type": "null"
30
+ },
31
+ {
32
+ "type": "text",
33
+ "masked": true
34
+ }
35
+ ],
36
+ [
37
+ {
38
+ "type": "integer",
39
+ "value": 3
40
+ },
41
+ {
42
+ "type": "text",
43
+ "value": "Imported"
44
+ },
45
+ {
46
+ "type": "null"
47
+ },
48
+ {
49
+ "type": "null"
50
+ },
51
+ {
52
+ "type": "integer",
53
+ "value": 4
54
+ },
55
+ {
56
+ "type": "null"
57
+ }
58
+ ],
59
+ [
60
+ {
61
+ "type": "integer",
62
+ "value": 2
63
+ },
64
+ {
65
+ "type": "text",
66
+ "value": "Trip plan"
67
+ },
68
+ {
69
+ "type": "blob",
70
+ "bytes": 20480
71
+ },
72
+ {
73
+ "type": "null"
74
+ },
75
+ {
76
+ "type": "integer",
77
+ "value": 4377
78
+ },
79
+ {
80
+ "type": "null"
81
+ }
82
+ ],
83
+ [
84
+ {
85
+ "type": "integer",
86
+ "value": 1
87
+ },
88
+ {
89
+ "type": "text",
90
+ "value": "Groceries"
91
+ },
92
+ {
93
+ "type": "null"
94
+ },
95
+ {
96
+ "type": "real",
97
+ "value": 4.5
98
+ },
99
+ {
100
+ "type": "integer",
101
+ "value": 10
102
+ },
103
+ {
104
+ "type": "null"
105
+ }
106
+ ]
107
+ ],
108
+ "truncated": false
109
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "rowid": "9007199254740993",
5
+ "cells": {
6
+ "id": {
7
+ "type": "integer",
8
+ "value": "9007199254740993"
9
+ },
10
+ "title": {
11
+ "type": "text",
12
+ "value": "Synced"
13
+ },
14
+ "body": {
15
+ "type": "null"
16
+ },
17
+ "attachment": {
18
+ "type": "null"
19
+ },
20
+ "score": {
21
+ "type": "real",
22
+ "value": 0.25
23
+ },
24
+ "created_at": {
25
+ "type": "integer",
26
+ "value": 1792419770040
27
+ },
28
+ "folder_id": {
29
+ "type": "null"
30
+ },
31
+ "share_token": {
32
+ "type": "text",
33
+ "masked": true
34
+ }
35
+ }
36
+ },
37
+ {
38
+ "rowid": "3",
39
+ "cells": {
40
+ "id": {
41
+ "type": "integer",
42
+ "value": 3
43
+ },
44
+ "title": {
45
+ "type": "text",
46
+ "value": "Imported"
47
+ },
48
+ "body": {
49
+ "type": "blob",
50
+ "bytes": 4
51
+ },
52
+ "attachment": {
53
+ "type": "null"
54
+ },
55
+ "score": {
56
+ "type": "null"
57
+ },
58
+ "created_at": {
59
+ "type": "integer",
60
+ "value": 1792419760030
61
+ },
62
+ "folder_id": {
63
+ "type": "null"
64
+ },
65
+ "share_token": {
66
+ "type": "null"
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "rowid": "2",
72
+ "cells": {
73
+ "id": {
74
+ "type": "integer",
75
+ "value": 2
76
+ },
77
+ "title": {
78
+ "type": "text",
79
+ "value": "Trip plan"
80
+ },
81
+ "body": {
82
+ "type": "text",
83
+ "value": "Day 1: walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk the old town. walk",
84
+ "truncated": true,
85
+ "length": 4377
86
+ },
87
+ "attachment": {
88
+ "type": "blob",
89
+ "bytes": 20480
90
+ },
91
+ "score": {
92
+ "type": "null"
93
+ },
94
+ "created_at": {
95
+ "type": "integer",
96
+ "value": 1792419750020
97
+ },
98
+ "folder_id": {
99
+ "type": "integer",
100
+ "value": 1
101
+ },
102
+ "share_token": {
103
+ "type": "null"
104
+ }
105
+ }
106
+ }
107
+ ],
108
+ "nextCursor": "Mw=="
109
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "database": "app",
3
+ "table": "notes",
4
+ "type": "table",
5
+ "internal": false,
6
+ "hasRowId": true,
7
+ "rowCount": 4,
8
+ "sql": "CREATE TABLE notes (id INTEGER PRIMARY KEY AUTOINCREMENT, title TEXT NOT NULL, body TEXT, attachment BLOB, score REAL, created_at INTEGER NOT NULL, folder_id INTEGER REFERENCES folders(id) ON DELETE CASCADE, share_token TEXT)",
9
+ "entity": "NoteEntity",
10
+ "purpose": "A note that the user wrote, in a folder.",
11
+ "columns": [
12
+ {
13
+ "name": "id",
14
+ "type": "INTEGER",
15
+ "notNull": false,
16
+ "defaultValue": null,
17
+ "primaryKey": 1,
18
+ "generated": false,
19
+ "masked": false
20
+ },
21
+ {
22
+ "name": "title",
23
+ "type": "TEXT",
24
+ "notNull": true,
25
+ "defaultValue": null,
26
+ "primaryKey": 0,
27
+ "generated": false,
28
+ "masked": false
29
+ },
30
+ {
31
+ "name": "body",
32
+ "type": "TEXT",
33
+ "notNull": false,
34
+ "defaultValue": null,
35
+ "primaryKey": 0,
36
+ "generated": false,
37
+ "masked": false
38
+ },
39
+ {
40
+ "name": "attachment",
41
+ "type": "BLOB",
42
+ "notNull": false,
43
+ "defaultValue": null,
44
+ "primaryKey": 0,
45
+ "generated": false,
46
+ "masked": false
47
+ },
48
+ {
49
+ "name": "score",
50
+ "type": "REAL",
51
+ "notNull": false,
52
+ "defaultValue": null,
53
+ "primaryKey": 0,
54
+ "generated": false,
55
+ "masked": false
56
+ },
57
+ {
58
+ "name": "created_at",
59
+ "type": "INTEGER",
60
+ "notNull": true,
61
+ "defaultValue": null,
62
+ "primaryKey": 0,
63
+ "generated": false,
64
+ "masked": false
65
+ },
66
+ {
67
+ "name": "folder_id",
68
+ "type": "INTEGER",
69
+ "notNull": false,
70
+ "defaultValue": null,
71
+ "primaryKey": 0,
72
+ "generated": false,
73
+ "masked": false
74
+ },
75
+ {
76
+ "name": "share_token",
77
+ "type": "TEXT",
78
+ "notNull": false,
79
+ "defaultValue": null,
80
+ "primaryKey": 0,
81
+ "generated": false,
82
+ "masked": true
83
+ }
84
+ ],
85
+ "foreignKeys": [
86
+ {
87
+ "table": "folders",
88
+ "from": [
89
+ "folder_id"
90
+ ],
91
+ "to": [
92
+ "id"
93
+ ],
94
+ "onUpdate": "NO ACTION",
95
+ "onDelete": "CASCADE"
96
+ }
97
+ ]
98
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "database": "app",
3
+ "writable": true,
4
+ "items": [
5
+ {
6
+ "name": "android_metadata",
7
+ "type": "table",
8
+ "internal": true,
9
+ "hasRowId": true,
10
+ "rowCount": 1
11
+ },
12
+ {
13
+ "name": "folders",
14
+ "type": "table",
15
+ "internal": false,
16
+ "hasRowId": true,
17
+ "rowCount": 1,
18
+ "entity": "FolderEntity"
19
+ },
20
+ {
21
+ "name": "note_tags",
22
+ "type": "table",
23
+ "internal": false,
24
+ "hasRowId": false,
25
+ "rowCount": 2
26
+ },
27
+ {
28
+ "name": "notes",
29
+ "type": "table",
30
+ "internal": false,
31
+ "hasRowId": true,
32
+ "rowCount": 4,
33
+ "entity": "NoteEntity",
34
+ "purpose": "A note that the user wrote, in a folder."
35
+ },
36
+ {
37
+ "name": "recent_notes",
38
+ "type": "view",
39
+ "internal": false,
40
+ "hasRowId": false
41
+ },
42
+ {
43
+ "name": "room_master_table",
44
+ "type": "table",
45
+ "internal": true,
46
+ "hasRowId": true,
47
+ "rowCount": 1
48
+ },
49
+ {
50
+ "name": "sqlite_sequence",
51
+ "type": "table",
52
+ "internal": true,
53
+ "hasRowId": true,
54
+ "rowCount": 2
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "cursor": "c:1004",
3
+ "status": "delta",
4
+ "dropped": 3,
5
+ "items": [
6
+ {
7
+ "seq": 1009,
8
+ "at": 1790605340010,
9
+ "timestamp": "14:22:20.010",
10
+ "kind": "close",
11
+ "direction": "sent",
12
+ "code": 1000,
13
+ "reason": "bye",
14
+ "enqueued": true
15
+ },
16
+ {
17
+ "seq": 1010,
18
+ "at": 1790605340019,
19
+ "timestamp": "14:22:20.019",
20
+ "kind": "message",
21
+ "direction": "sent",
22
+ "type": "text",
23
+ "payloadBytes": 8,
24
+ "stored": true,
25
+ "truncated": false,
26
+ "preview": "too late",
27
+ "previewComplete": true,
28
+ "enqueued": false
29
+ },
30
+ {
31
+ "seq": 1011,
32
+ "at": 1790605341018,
33
+ "timestamp": "14:22:21.018",
34
+ "kind": "close",
35
+ "direction": "received",
36
+ "code": 1000,
37
+ "reason": "bye"
38
+ },
39
+ {
40
+ "seq": 1012,
41
+ "at": 1790605341020,
42
+ "timestamp": "14:22:21.020",
43
+ "kind": "closed",
44
+ "code": 1000,
45
+ "reason": "bye"
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "cursor": "c:5",
3
+ "status": "reset",
4
+ "items": [
5
+ {
6
+ "seq": 1,
7
+ "at": 1790605337243,
8
+ "timestamp": "14:22:17.243",
9
+ "kind": "open",
10
+ "statusCode": 101
11
+ },
12
+ {
13
+ "seq": 2,
14
+ "at": 1790605337250,
15
+ "timestamp": "14:22:17.250",
16
+ "kind": "message",
17
+ "direction": "sent",
18
+ "type": "text",
19
+ "payloadBytes": 36,
20
+ "stored": true,
21
+ "truncated": false,
22
+ "preview": "{\"type\":\"auth\",\"token\":\"[REDACTED]\"}",
23
+ "previewComplete": true,
24
+ "enqueued": true
25
+ },
26
+ {
27
+ "seq": 3,
28
+ "at": 1790605337391,
29
+ "timestamp": "14:22:17.391",
30
+ "kind": "message",
31
+ "direction": "received",
32
+ "type": "text",
33
+ "payloadBytes": 16,
34
+ "stored": true,
35
+ "truncated": false,
36
+ "preview": "{\"type\":\"ready\"}",
37
+ "previewComplete": true
38
+ },
39
+ {
40
+ "seq": 4,
41
+ "at": 1790605338004,
42
+ "timestamp": "14:22:18.004",
43
+ "kind": "message",
44
+ "direction": "sent",
45
+ "type": "binary",
46
+ "payloadBytes": 4,
47
+ "stored": true,
48
+ "truncated": false,
49
+ "hexPreview": "deadbeef",
50
+ "enqueued": true
51
+ },
52
+ {
53
+ "seq": 5,
54
+ "at": 1790605339112,
55
+ "timestamp": "14:22:19.112",
56
+ "kind": "message",
57
+ "direction": "received",
58
+ "type": "text",
59
+ "payloadBytes": 300000,
60
+ "stored": true,
61
+ "truncated": true,
62
+ "preview": "{\"type\":\"snapshot\",\"items\":[{\"id\":1,\"na",
63
+ "previewComplete": false
64
+ }
65
+ ]
66
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "cursor": "c:1004",
3
+ "status": "unchanged"
4
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "id": "tx_c81f5e02",
3
+ "timestamp": "14:22:13.140",
4
+ "startedAt": 1790605333140,
5
+ "completedAt": 1790605333236,
6
+ "method": "GET",
7
+ "url": "https://cdn.example.com/avatars/77e2.png",
8
+ "finalUrl": "https://img.example-cdn.net/avatars/77e2.png?w=96",
9
+ "protocol": "h2",
10
+ "statusCode": 200,
11
+ "durationMs": 96,
12
+ "throttledMs": null,
13
+ "categories": ["media"],
14
+ "isMocked": false,
15
+ "mockRuleId": null,
16
+ "activeMockRuleId": null,
17
+ "source": "okhttp",
18
+ "replacedCount": 0,
19
+ "requestContentType": null,
20
+ "responseContentType": "image/png",
21
+ "requestBodyBytes": null,
22
+ "responseBodyBytes": 5184,
23
+ "responseComplete": true,
24
+ "webSocketId": null,
25
+ "error": null,
26
+ "requestHeaders": {
27
+ "Accept": "image/*"
28
+ },
29
+ "requestBody": null,
30
+ "requestBodyTruncated": false,
31
+ "requestBodyBinary": false,
32
+ "responseHeaders": {
33
+ "Content-Type": "image/png",
34
+ "Content-Length": "5184"
35
+ },
36
+ "responseBody": null,
37
+ "responseBodyTruncated": false,
38
+ "responseBodyBinary": true,
39
+ "matchingMockRuleIds": [],
40
+ "priorResponses": [
41
+ { "url": "https://cdn.example.com/avatars/77e2.png", "statusCode": 302 }
42
+ ]
43
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "id": "tx_77e2c014",
3
+ "timestamp": "14:22:11.781",
4
+ "startedAt": 1790605331781,
5
+ "completedAt": 1790605332822,
6
+ "method": "GET",
7
+ "url": "https://api.example.com/v1/orders/77e2",
8
+ "finalUrl": null,
9
+ "protocol": null,
10
+ "statusCode": 500,
11
+ "durationMs": 41,
12
+ "throttledMs": 1000,
13
+ "categories": ["api"],
14
+ "isMocked": true,
15
+ "mockRuleId": "orders-500",
16
+ "activeMockRuleId": "orders-500",
17
+ "source": "okhttp",
18
+ "replacedCount": 0,
19
+ "requestContentType": null,
20
+ "responseContentType": "application/json",
21
+ "requestBodyBytes": 0,
22
+ "responseBodyBytes": 17,
23
+ "responseComplete": true,
24
+ "webSocketId": null,
25
+ "error": null,
26
+ "requestHeaders": {
27
+ "Accept": "application/json",
28
+ "Authorization": "<redacted>"
29
+ },
30
+ "requestBody": null,
31
+ "requestBodyTruncated": false,
32
+ "requestBodyBinary": false,
33
+ "responseHeaders": {
34
+ "Content-Type": "application/json"
35
+ },
36
+ "responseBody": "{\"error\":\"boom\"}",
37
+ "responseBodyTruncated": false,
38
+ "responseBodyBinary": false,
39
+ "matchingMockRuleIds": ["orders-500"],
40
+ "priorResponses": []
41
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "id": "ws_3d2a7f10",
3
+ "url": "wss://chat.example.com/socket?token=%5BREDACTED%5D",
4
+ "state": "open",
5
+ "timestamp": "14:22:17.098",
6
+ "startedAt": 1790605337098,
7
+ "openedAt": 1790605337243,
8
+ "closedAt": null,
9
+ "statusCode": 101,
10
+ "closeCode": null,
11
+ "closeReason": null,
12
+ "closedBy": null,
13
+ "canceled": false,
14
+ "error": null,
15
+ "transactionId": "tx_a81c3f09",
16
+ "categories": [
17
+ "chat"
18
+ ],
19
+ "sentCount": 2,
20
+ "sentBytes": 40,
21
+ "receivedCount": 2,
22
+ "receivedBytes": 300016,
23
+ "storedEvents": 5,
24
+ "evictedEvents": 0,
25
+ "droppedEvents": 0,
26
+ "protocol": "http/1.1",
27
+ "requestHeaders": {
28
+ "Authorization": "[REDACTED]",
29
+ "Sec-WebSocket-Protocol": "chat.v2"
30
+ },
31
+ "responseHeaders": {
32
+ "Upgrade": "websocket",
33
+ "Connection": "Upgrade",
34
+ "Sec-WebSocket-Accept": "s3pPLMBiTxaQ9kYGzzhZRbK+xOo=",
35
+ "Sec-WebSocket-Protocol": "chat.v2"
36
+ }
37
+ }