@hosty-sdk/app 0.46.1 → 0.48.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.
@@ -0,0 +1,166 @@
1
+ {
2
+ "schemaVersion": "agent-fixtures.1",
3
+ "provider": {
4
+ "appId": "org.example.unrelated",
5
+ "installationId": "installation-1",
6
+ "key": "execution"
7
+ },
8
+ "validRequests": [
9
+ {
10
+ "method": "PUT",
11
+ "path": "/sessions/11111111-1111-4111-8111-111111111111",
12
+ "body": {
13
+ "configuration": {
14
+ "connection": {
15
+ "id": "unrelated-account",
16
+ "revision": "1"
17
+ }
18
+ }
19
+ }
20
+ },
21
+ {
22
+ "method": "PUT",
23
+ "path": "/sessions/11111111-1111-4111-8111-111111111111/runs/22222222-2222-4222-8222-222222222222",
24
+ "body": {
25
+ "expectedSessionRevision": "1",
26
+ "configurationRevision": "1",
27
+ "continuation": "start",
28
+ "input": {
29
+ "text": "Independent consumer input"
30
+ },
31
+ "mcp": {
32
+ "targets": []
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "method": "POST",
38
+ "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
39
+ "body": {
40
+ "requestId": "44444444-4444-4444-8444-444444444444",
41
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
42
+ "expectedRevision": "1"
43
+ }
44
+ },
45
+ {
46
+ "method": "POST",
47
+ "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
48
+ "body": {
49
+ "requestId": "44444444-4444-4444-8444-444444444444",
50
+ "fenceIfNotAdmitted": {
51
+ "sessionId": "11111111-1111-4111-8111-111111111111",
52
+ "startDigest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "method": "POST",
58
+ "path": "/runs/22222222-2222-4222-8222-222222222222/responses",
59
+ "body": {
60
+ "requestId": "44444444-4444-4444-8444-444444444444",
61
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
62
+ "expectedRevision": "1",
63
+ "decisionId": "question-1",
64
+ "decisionRevision": "1",
65
+ "response": {
66
+ "kind": "question",
67
+ "answers": {
68
+ "choice": "option-1"
69
+ }
70
+ }
71
+ }
72
+ },
73
+ {
74
+ "method": "POST",
75
+ "path": "/runs/22222222-2222-4222-8222-222222222222/controls",
76
+ "body": {
77
+ "requestId": "44444444-4444-4444-8444-444444444444",
78
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
79
+ "expectedRevision": "1",
80
+ "command": "barrier",
81
+ "barrierId": "barrier-1",
82
+ "kind": "source_rebind",
83
+ "generation": "1",
84
+ "acknowledgedSequence": "8"
85
+ }
86
+ },
87
+ {
88
+ "method": "PUT",
89
+ "path": "/attachments/44444444-4444-4444-8444-444444444444/chunks/0",
90
+ "body": {
91
+ "digest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
92
+ "sizeBytes": 1,
93
+ "mediaType": "text/plain",
94
+ "count": 1,
95
+ "data": "YQ=="
96
+ }
97
+ }
98
+ ],
99
+ "invalidRequests": [
100
+ {
101
+ "method": "PUT",
102
+ "path": "/sessions/11111111-1111-4111-8111-111111111111",
103
+ "body": {
104
+ "configuration": {
105
+ "connection": {
106
+ "id": "unrelated-account",
107
+ "revision": "1"
108
+ }
109
+ },
110
+ "userId": "administrator"
111
+ }
112
+ },
113
+ {
114
+ "method": "PUT",
115
+ "path": "/sessions/11111111-1111-4111-8111-111111111111/runs/22222222-2222-4222-8222-222222222222",
116
+ "body": {
117
+ "expectedSessionRevision": "1",
118
+ "configurationRevision": "1",
119
+ "continuation": "start",
120
+ "input": {
121
+ "text": "Independent consumer input"
122
+ },
123
+ "mcp": {
124
+ "targets": [
125
+ {
126
+ "target": {
127
+ "kind": "core"
128
+ },
129
+ "headers": {
130
+ "authorization": "not-authority"
131
+ }
132
+ }
133
+ ]
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "method": "POST",
139
+ "path": "/runs/22222222-2222-4222-8222-222222222222/cancel",
140
+ "body": {
141
+ "requestId": "44444444-4444-4444-8444-444444444444",
142
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
143
+ "expectedRevision": "1",
144
+ "fenceIfNotAdmitted": {
145
+ "sessionId": "11111111-1111-4111-8111-111111111111",
146
+ "startDigest": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "method": "POST",
152
+ "path": "/runs/22222222-2222-4222-8222-222222222222/responses",
153
+ "body": {
154
+ "requestId": "44444444-4444-4444-8444-444444444444",
155
+ "expectedGeneration": "33333333-3333-4333-8333-333333333333",
156
+ "expectedRevision": "1",
157
+ "decisionId": "question-1",
158
+ "decisionRevision": "1",
159
+ "response": {
160
+ "kind": "tool_result",
161
+ "output": "fabricated"
162
+ }
163
+ }
164
+ }
165
+ ]
166
+ }