@yanlinglabs/winter-conformance 0.0.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/LICENSE +21 -0
- package/README.md +128 -0
- package/dist/bun-required.d.ts +54 -0
- package/dist/goldens.d.ts +11 -0
- package/dist/index-v0zvhx0z.js +1576 -0
- package/dist/index-z5gwvsfh.js +49 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +49 -0
- package/dist/official/capture.d.ts +1 -0
- package/dist/official/fetch.d.ts +40 -0
- package/dist/official/index.d.ts +3 -0
- package/dist/official/index.js +27 -0
- package/dist/trace.d.ts +9 -0
- package/dist/trace.js +8 -0
- package/goldens/advertised-set-round.trace.json +81 -0
- package/goldens/background-task-round.trace.json +210 -0
- package/goldens/bash-background-round.trace.json +148 -0
- package/goldens/canusetool-approved-round.trace.json +119 -0
- package/goldens/compaction-auto-round.trace.json +219 -0
- package/goldens/compaction-manual-round.trace.json +232 -0
- package/goldens/denied-tool-round.trace.json +141 -0
- package/goldens/hook-denied-round.trace.json +169 -0
- package/goldens/hooked-tool-round.trace.json +147 -0
- package/goldens/interrupt.trace.json +129 -0
- package/goldens/mcp-tool-round.trace.json +131 -0
- package/goldens/messaging-facet-round.trace.json +278 -0
- package/goldens/mode-switch-mid-session.trace.json +200 -0
- package/goldens/multi-turn.trace.json +110 -0
- package/goldens/p6-anthropic-fake.trace.json +147 -0
- package/goldens/p6-gemini-fake.trace.json +132 -0
- package/goldens/p6-openai-chat-fake.trace.json +133 -0
- package/goldens/p6-openai-responses-fake.trace.json +145 -0
- package/goldens/p6-resolution-failure.trace.json +68 -0
- package/goldens/plain-query.trace.json +82 -0
- package/goldens/resume.trace.json +162 -0
- package/goldens/sendmessage-child-round.trace.json +158 -0
- package/goldens/skill-invocation-round.trace.json +123 -0
- package/goldens/structured-exhaustion-round.trace.json +182 -0
- package/goldens/structured-output-round.trace.json +106 -0
- package/goldens/subagent-permission-round.trace.json +174 -0
- package/goldens/subagent-spawn-round.trace.json +120 -0
- package/goldens/tool-round.trace.json +119 -0
- package/goldens/toolsearch-select-round.trace.json +185 -0
- package/package.json +50 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"sequence": 0,
|
|
4
|
+
"direction": "runtime-to-host",
|
|
5
|
+
"kind": "system/init",
|
|
6
|
+
"payload": {
|
|
7
|
+
"type": "system",
|
|
8
|
+
"subtype": "init",
|
|
9
|
+
"cwd": "/winter-fixture",
|
|
10
|
+
"model": "winter-test/echo",
|
|
11
|
+
"permissionMode": "default",
|
|
12
|
+
"tools": [
|
|
13
|
+
"Agent",
|
|
14
|
+
"AskUserQuestion",
|
|
15
|
+
"Bash",
|
|
16
|
+
"CronCreate",
|
|
17
|
+
"CronDelete",
|
|
18
|
+
"CronList",
|
|
19
|
+
"Edit",
|
|
20
|
+
"EnterPlanMode",
|
|
21
|
+
"EnterWorktree",
|
|
22
|
+
"ExitPlanMode",
|
|
23
|
+
"ExitWorktree",
|
|
24
|
+
"Glob",
|
|
25
|
+
"Grep",
|
|
26
|
+
"ListAgents",
|
|
27
|
+
"Monitor",
|
|
28
|
+
"NotebookEdit",
|
|
29
|
+
"PushNotification",
|
|
30
|
+
"Read",
|
|
31
|
+
"ReadNotifications",
|
|
32
|
+
"ReportFindings",
|
|
33
|
+
"ScheduleWakeup",
|
|
34
|
+
"SendMessage",
|
|
35
|
+
"Skill",
|
|
36
|
+
"TaskCreate",
|
|
37
|
+
"TaskGet",
|
|
38
|
+
"TaskList",
|
|
39
|
+
"TaskOutput",
|
|
40
|
+
"TaskStop",
|
|
41
|
+
"TaskUpdate",
|
|
42
|
+
"Workflow",
|
|
43
|
+
"Write"
|
|
44
|
+
],
|
|
45
|
+
"apiKeySource": "none",
|
|
46
|
+
"slash_commands": [
|
|
47
|
+
"compact"
|
|
48
|
+
],
|
|
49
|
+
"output_style": "default",
|
|
50
|
+
"skills": [],
|
|
51
|
+
"plugins": []
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"sequence": 1,
|
|
56
|
+
"direction": "runtime-to-host",
|
|
57
|
+
"kind": "assistant",
|
|
58
|
+
"payload": {
|
|
59
|
+
"type": "assistant",
|
|
60
|
+
"message": {
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "tool_use",
|
|
64
|
+
"id": "test-call-1",
|
|
65
|
+
"name": "test_tool",
|
|
66
|
+
"input": {
|
|
67
|
+
"probe": true
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"sequence": 2,
|
|
76
|
+
"direction": "runtime-to-host",
|
|
77
|
+
"kind": "user",
|
|
78
|
+
"payload": {
|
|
79
|
+
"type": "user",
|
|
80
|
+
"message": {
|
|
81
|
+
"content": [
|
|
82
|
+
{
|
|
83
|
+
"type": "tool_result",
|
|
84
|
+
"tool_use_id": "test-call-1",
|
|
85
|
+
"content": "test_tool:{\"probe\":true}"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"sequence": 3,
|
|
93
|
+
"direction": "runtime-to-host",
|
|
94
|
+
"kind": "assistant",
|
|
95
|
+
"payload": {
|
|
96
|
+
"type": "assistant",
|
|
97
|
+
"message": {
|
|
98
|
+
"content": [
|
|
99
|
+
{
|
|
100
|
+
"type": "text",
|
|
101
|
+
"text": "tool round done"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"sequence": 4,
|
|
109
|
+
"direction": "runtime-to-host",
|
|
110
|
+
"kind": "result",
|
|
111
|
+
"payload": {
|
|
112
|
+
"type": "result",
|
|
113
|
+
"subtype": "success",
|
|
114
|
+
"is_error": false,
|
|
115
|
+
"result": "tool round done",
|
|
116
|
+
"permission_denials": []
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
]
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"sequence": 0,
|
|
4
|
+
"direction": "runtime-to-host",
|
|
5
|
+
"kind": "system/init",
|
|
6
|
+
"payload": {
|
|
7
|
+
"type": "system",
|
|
8
|
+
"subtype": "init",
|
|
9
|
+
"cwd": "/winter-fixture",
|
|
10
|
+
"model": "winter-test/echo",
|
|
11
|
+
"permissionMode": "default",
|
|
12
|
+
"tools": [
|
|
13
|
+
"Agent",
|
|
14
|
+
"AskUserQuestion",
|
|
15
|
+
"Bash",
|
|
16
|
+
"CronCreate",
|
|
17
|
+
"CronDelete",
|
|
18
|
+
"CronList",
|
|
19
|
+
"Edit",
|
|
20
|
+
"EnterPlanMode",
|
|
21
|
+
"EnterWorktree",
|
|
22
|
+
"ExitPlanMode",
|
|
23
|
+
"ExitWorktree",
|
|
24
|
+
"Glob",
|
|
25
|
+
"Grep",
|
|
26
|
+
"ListAgents",
|
|
27
|
+
"Monitor",
|
|
28
|
+
"NotebookEdit",
|
|
29
|
+
"PushNotification",
|
|
30
|
+
"Read",
|
|
31
|
+
"ReadNotifications",
|
|
32
|
+
"ReportFindings",
|
|
33
|
+
"ScheduleWakeup",
|
|
34
|
+
"SendMessage",
|
|
35
|
+
"Skill",
|
|
36
|
+
"TaskCreate",
|
|
37
|
+
"TaskGet",
|
|
38
|
+
"TaskList",
|
|
39
|
+
"TaskOutput",
|
|
40
|
+
"TaskStop",
|
|
41
|
+
"TaskUpdate",
|
|
42
|
+
"Workflow",
|
|
43
|
+
"Write"
|
|
44
|
+
],
|
|
45
|
+
"apiKeySource": "none",
|
|
46
|
+
"slash_commands": [
|
|
47
|
+
"compact"
|
|
48
|
+
],
|
|
49
|
+
"output_style": "default",
|
|
50
|
+
"skills": [],
|
|
51
|
+
"plugins": []
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"sequence": 1,
|
|
56
|
+
"direction": "runtime-to-host",
|
|
57
|
+
"kind": "assistant",
|
|
58
|
+
"payload": {
|
|
59
|
+
"type": "assistant",
|
|
60
|
+
"message": {
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "text",
|
|
64
|
+
"text": "reply 1"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"sequence": 2,
|
|
72
|
+
"direction": "runtime-to-host",
|
|
73
|
+
"kind": "result",
|
|
74
|
+
"payload": {
|
|
75
|
+
"type": "result",
|
|
76
|
+
"subtype": "success",
|
|
77
|
+
"is_error": false,
|
|
78
|
+
"result": "reply 1",
|
|
79
|
+
"permission_denials": []
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"sequence": 3,
|
|
84
|
+
"direction": "runtime-to-host",
|
|
85
|
+
"kind": "assistant",
|
|
86
|
+
"payload": {
|
|
87
|
+
"type": "assistant",
|
|
88
|
+
"message": {
|
|
89
|
+
"content": [
|
|
90
|
+
{
|
|
91
|
+
"type": "text",
|
|
92
|
+
"text": "reply 2"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"sequence": 4,
|
|
100
|
+
"direction": "runtime-to-host",
|
|
101
|
+
"kind": "result",
|
|
102
|
+
"payload": {
|
|
103
|
+
"type": "result",
|
|
104
|
+
"subtype": "success",
|
|
105
|
+
"is_error": false,
|
|
106
|
+
"result": "reply 2",
|
|
107
|
+
"permission_denials": []
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"sequence": 5,
|
|
112
|
+
"direction": "runtime-to-host",
|
|
113
|
+
"kind": "assistant",
|
|
114
|
+
"payload": {
|
|
115
|
+
"type": "assistant",
|
|
116
|
+
"message": {
|
|
117
|
+
"content": [
|
|
118
|
+
{
|
|
119
|
+
"type": "text",
|
|
120
|
+
"text": "reply 3"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"sequence": 6,
|
|
128
|
+
"direction": "runtime-to-host",
|
|
129
|
+
"kind": "result",
|
|
130
|
+
"payload": {
|
|
131
|
+
"type": "result",
|
|
132
|
+
"subtype": "success",
|
|
133
|
+
"is_error": false,
|
|
134
|
+
"result": "reply 3",
|
|
135
|
+
"permission_denials": []
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"sequence": 7,
|
|
140
|
+
"direction": "runtime-to-host",
|
|
141
|
+
"kind": "assistant",
|
|
142
|
+
"payload": {
|
|
143
|
+
"type": "assistant",
|
|
144
|
+
"message": {
|
|
145
|
+
"content": [
|
|
146
|
+
{
|
|
147
|
+
"type": "text",
|
|
148
|
+
"text": "reply 4"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"sequence": 8,
|
|
156
|
+
"direction": "runtime-to-host",
|
|
157
|
+
"kind": "result",
|
|
158
|
+
"payload": {
|
|
159
|
+
"type": "result",
|
|
160
|
+
"subtype": "success",
|
|
161
|
+
"is_error": false,
|
|
162
|
+
"result": "reply 4",
|
|
163
|
+
"permission_denials": []
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"sequence": 9,
|
|
168
|
+
"direction": "runtime-to-host",
|
|
169
|
+
"kind": "system/compact_boundary",
|
|
170
|
+
"payload": {
|
|
171
|
+
"type": "system",
|
|
172
|
+
"subtype": "compact_boundary",
|
|
173
|
+
"compact_metadata": {
|
|
174
|
+
"trigger": "auto",
|
|
175
|
+
"pre_tokens": 950,
|
|
176
|
+
"preserved_messages": {
|
|
177
|
+
"anchor_uuid": "ANCHOR",
|
|
178
|
+
"uuids": [
|
|
179
|
+
"PRESERVED_0",
|
|
180
|
+
"PRESERVED_1",
|
|
181
|
+
"PRESERVED_2",
|
|
182
|
+
"PRESERVED_3",
|
|
183
|
+
"PRESERVED_4",
|
|
184
|
+
"PRESERVED_5",
|
|
185
|
+
"PRESERVED_6"
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"sequence": 10,
|
|
193
|
+
"direction": "runtime-to-host",
|
|
194
|
+
"kind": "assistant",
|
|
195
|
+
"payload": {
|
|
196
|
+
"type": "assistant",
|
|
197
|
+
"message": {
|
|
198
|
+
"content": [
|
|
199
|
+
{
|
|
200
|
+
"type": "text",
|
|
201
|
+
"text": "reply 5"
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"sequence": 11,
|
|
209
|
+
"direction": "runtime-to-host",
|
|
210
|
+
"kind": "result",
|
|
211
|
+
"payload": {
|
|
212
|
+
"type": "result",
|
|
213
|
+
"subtype": "success",
|
|
214
|
+
"is_error": false,
|
|
215
|
+
"result": "reply 5",
|
|
216
|
+
"permission_denials": []
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
]
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"sequence": 0,
|
|
4
|
+
"direction": "runtime-to-host",
|
|
5
|
+
"kind": "system/init",
|
|
6
|
+
"payload": {
|
|
7
|
+
"type": "system",
|
|
8
|
+
"subtype": "init",
|
|
9
|
+
"cwd": "/winter-fixture",
|
|
10
|
+
"model": "winter-test/echo",
|
|
11
|
+
"permissionMode": "default",
|
|
12
|
+
"tools": [
|
|
13
|
+
"Agent",
|
|
14
|
+
"AskUserQuestion",
|
|
15
|
+
"Bash",
|
|
16
|
+
"CronCreate",
|
|
17
|
+
"CronDelete",
|
|
18
|
+
"CronList",
|
|
19
|
+
"Edit",
|
|
20
|
+
"EnterPlanMode",
|
|
21
|
+
"EnterWorktree",
|
|
22
|
+
"ExitPlanMode",
|
|
23
|
+
"ExitWorktree",
|
|
24
|
+
"Glob",
|
|
25
|
+
"Grep",
|
|
26
|
+
"ListAgents",
|
|
27
|
+
"Monitor",
|
|
28
|
+
"NotebookEdit",
|
|
29
|
+
"PushNotification",
|
|
30
|
+
"Read",
|
|
31
|
+
"ReadNotifications",
|
|
32
|
+
"ReportFindings",
|
|
33
|
+
"ScheduleWakeup",
|
|
34
|
+
"SendMessage",
|
|
35
|
+
"Skill",
|
|
36
|
+
"TaskCreate",
|
|
37
|
+
"TaskGet",
|
|
38
|
+
"TaskList",
|
|
39
|
+
"TaskOutput",
|
|
40
|
+
"TaskStop",
|
|
41
|
+
"TaskUpdate",
|
|
42
|
+
"Workflow",
|
|
43
|
+
"Write"
|
|
44
|
+
],
|
|
45
|
+
"apiKeySource": "none",
|
|
46
|
+
"slash_commands": [
|
|
47
|
+
"compact"
|
|
48
|
+
],
|
|
49
|
+
"output_style": "default",
|
|
50
|
+
"skills": [],
|
|
51
|
+
"plugins": []
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"sequence": 1,
|
|
56
|
+
"direction": "runtime-to-host",
|
|
57
|
+
"kind": "assistant",
|
|
58
|
+
"payload": {
|
|
59
|
+
"type": "assistant",
|
|
60
|
+
"message": {
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "text",
|
|
64
|
+
"text": "reply 1"
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"sequence": 2,
|
|
72
|
+
"direction": "runtime-to-host",
|
|
73
|
+
"kind": "result",
|
|
74
|
+
"payload": {
|
|
75
|
+
"type": "result",
|
|
76
|
+
"subtype": "success",
|
|
77
|
+
"is_error": false,
|
|
78
|
+
"result": "reply 1",
|
|
79
|
+
"permission_denials": []
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"sequence": 3,
|
|
84
|
+
"direction": "runtime-to-host",
|
|
85
|
+
"kind": "assistant",
|
|
86
|
+
"payload": {
|
|
87
|
+
"type": "assistant",
|
|
88
|
+
"message": {
|
|
89
|
+
"content": [
|
|
90
|
+
{
|
|
91
|
+
"type": "text",
|
|
92
|
+
"text": "reply 2"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"sequence": 4,
|
|
100
|
+
"direction": "runtime-to-host",
|
|
101
|
+
"kind": "result",
|
|
102
|
+
"payload": {
|
|
103
|
+
"type": "result",
|
|
104
|
+
"subtype": "success",
|
|
105
|
+
"is_error": false,
|
|
106
|
+
"result": "reply 2",
|
|
107
|
+
"permission_denials": []
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"sequence": 5,
|
|
112
|
+
"direction": "runtime-to-host",
|
|
113
|
+
"kind": "assistant",
|
|
114
|
+
"payload": {
|
|
115
|
+
"type": "assistant",
|
|
116
|
+
"message": {
|
|
117
|
+
"content": [
|
|
118
|
+
{
|
|
119
|
+
"type": "text",
|
|
120
|
+
"text": "reply 3"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"sequence": 6,
|
|
128
|
+
"direction": "runtime-to-host",
|
|
129
|
+
"kind": "result",
|
|
130
|
+
"payload": {
|
|
131
|
+
"type": "result",
|
|
132
|
+
"subtype": "success",
|
|
133
|
+
"is_error": false,
|
|
134
|
+
"result": "reply 3",
|
|
135
|
+
"permission_denials": []
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"sequence": 7,
|
|
140
|
+
"direction": "runtime-to-host",
|
|
141
|
+
"kind": "assistant",
|
|
142
|
+
"payload": {
|
|
143
|
+
"type": "assistant",
|
|
144
|
+
"message": {
|
|
145
|
+
"content": [
|
|
146
|
+
{
|
|
147
|
+
"type": "text",
|
|
148
|
+
"text": "reply 4"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"sequence": 8,
|
|
156
|
+
"direction": "runtime-to-host",
|
|
157
|
+
"kind": "result",
|
|
158
|
+
"payload": {
|
|
159
|
+
"type": "result",
|
|
160
|
+
"subtype": "success",
|
|
161
|
+
"is_error": false,
|
|
162
|
+
"result": "reply 4",
|
|
163
|
+
"permission_denials": []
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"sequence": 9,
|
|
168
|
+
"direction": "runtime-to-host",
|
|
169
|
+
"kind": "assistant",
|
|
170
|
+
"payload": {
|
|
171
|
+
"type": "assistant",
|
|
172
|
+
"message": {
|
|
173
|
+
"content": [
|
|
174
|
+
{
|
|
175
|
+
"type": "text",
|
|
176
|
+
"text": "reply 5"
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"sequence": 10,
|
|
184
|
+
"direction": "runtime-to-host",
|
|
185
|
+
"kind": "result",
|
|
186
|
+
"payload": {
|
|
187
|
+
"type": "result",
|
|
188
|
+
"subtype": "success",
|
|
189
|
+
"is_error": false,
|
|
190
|
+
"result": "reply 5",
|
|
191
|
+
"permission_denials": []
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"sequence": 11,
|
|
196
|
+
"direction": "runtime-to-host",
|
|
197
|
+
"kind": "system/compact_boundary",
|
|
198
|
+
"payload": {
|
|
199
|
+
"type": "system",
|
|
200
|
+
"subtype": "compact_boundary",
|
|
201
|
+
"compact_metadata": {
|
|
202
|
+
"trigger": "manual",
|
|
203
|
+
"pre_tokens": 950,
|
|
204
|
+
"preserved_messages": {
|
|
205
|
+
"anchor_uuid": "ANCHOR",
|
|
206
|
+
"uuids": [
|
|
207
|
+
"PRESERVED_0",
|
|
208
|
+
"PRESERVED_1",
|
|
209
|
+
"PRESERVED_2",
|
|
210
|
+
"PRESERVED_3",
|
|
211
|
+
"PRESERVED_4",
|
|
212
|
+
"PRESERVED_5",
|
|
213
|
+
"PRESERVED_6",
|
|
214
|
+
"PRESERVED_7"
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"sequence": 12,
|
|
222
|
+
"direction": "runtime-to-host",
|
|
223
|
+
"kind": "result",
|
|
224
|
+
"payload": {
|
|
225
|
+
"type": "result",
|
|
226
|
+
"subtype": "success",
|
|
227
|
+
"is_error": false,
|
|
228
|
+
"result": "Compacted the conversation. 8 message(s) retained alongside the summary.",
|
|
229
|
+
"permission_denials": []
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"sequence": 0,
|
|
4
|
+
"direction": "runtime-to-host",
|
|
5
|
+
"kind": "system/init",
|
|
6
|
+
"payload": {
|
|
7
|
+
"type": "system",
|
|
8
|
+
"subtype": "init",
|
|
9
|
+
"cwd": "/winter-fixture",
|
|
10
|
+
"model": "winter-test/echo",
|
|
11
|
+
"permissionMode": "default",
|
|
12
|
+
"tools": [
|
|
13
|
+
"Agent",
|
|
14
|
+
"AskUserQuestion",
|
|
15
|
+
"Bash",
|
|
16
|
+
"CronCreate",
|
|
17
|
+
"CronDelete",
|
|
18
|
+
"CronList",
|
|
19
|
+
"Edit",
|
|
20
|
+
"EnterPlanMode",
|
|
21
|
+
"EnterWorktree",
|
|
22
|
+
"ExitPlanMode",
|
|
23
|
+
"ExitWorktree",
|
|
24
|
+
"Glob",
|
|
25
|
+
"Grep",
|
|
26
|
+
"ListAgents",
|
|
27
|
+
"Monitor",
|
|
28
|
+
"NotebookEdit",
|
|
29
|
+
"PushNotification",
|
|
30
|
+
"Read",
|
|
31
|
+
"ReadNotifications",
|
|
32
|
+
"ReportFindings",
|
|
33
|
+
"ScheduleWakeup",
|
|
34
|
+
"SendMessage",
|
|
35
|
+
"Skill",
|
|
36
|
+
"TaskCreate",
|
|
37
|
+
"TaskGet",
|
|
38
|
+
"TaskList",
|
|
39
|
+
"TaskOutput",
|
|
40
|
+
"TaskStop",
|
|
41
|
+
"TaskUpdate",
|
|
42
|
+
"Workflow",
|
|
43
|
+
"Write"
|
|
44
|
+
],
|
|
45
|
+
"apiKeySource": "none",
|
|
46
|
+
"slash_commands": [
|
|
47
|
+
"compact"
|
|
48
|
+
],
|
|
49
|
+
"output_style": "default",
|
|
50
|
+
"skills": [],
|
|
51
|
+
"plugins": []
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"sequence": 1,
|
|
56
|
+
"direction": "runtime-to-host",
|
|
57
|
+
"kind": "assistant",
|
|
58
|
+
"payload": {
|
|
59
|
+
"type": "assistant",
|
|
60
|
+
"message": {
|
|
61
|
+
"content": [
|
|
62
|
+
{
|
|
63
|
+
"type": "tool_use",
|
|
64
|
+
"id": "test-call-1",
|
|
65
|
+
"name": "test_tool",
|
|
66
|
+
"input": {
|
|
67
|
+
"probe": true
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"sequence": 2,
|
|
76
|
+
"direction": "runtime-to-host",
|
|
77
|
+
"kind": "system/permission_denied",
|
|
78
|
+
"payload": {
|
|
79
|
+
"type": "system",
|
|
80
|
+
"subtype": "permission_denied",
|
|
81
|
+
"tool_name": "test_tool",
|
|
82
|
+
"tool_use_id": "test-call-1",
|
|
83
|
+
"decision_reason_type": "mode",
|
|
84
|
+
"message": "Denied: no canUseTool handler answered this unmatched action (WS-07 §6.1 — never implicitly allowed)"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"sequence": 3,
|
|
89
|
+
"direction": "runtime-to-host",
|
|
90
|
+
"kind": "user",
|
|
91
|
+
"payload": {
|
|
92
|
+
"type": "user",
|
|
93
|
+
"message": {
|
|
94
|
+
"content": [
|
|
95
|
+
{
|
|
96
|
+
"type": "tool_result",
|
|
97
|
+
"tool_use_id": "test-call-1",
|
|
98
|
+
"content": "Denied: no canUseTool handler answered this unmatched action (WS-07 §6.1 — never implicitly allowed)",
|
|
99
|
+
"denied": true
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"sequence": 4,
|
|
107
|
+
"direction": "runtime-to-host",
|
|
108
|
+
"kind": "assistant",
|
|
109
|
+
"payload": {
|
|
110
|
+
"type": "assistant",
|
|
111
|
+
"message": {
|
|
112
|
+
"content": [
|
|
113
|
+
{
|
|
114
|
+
"type": "text",
|
|
115
|
+
"text": "tool round done"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"sequence": 5,
|
|
123
|
+
"direction": "runtime-to-host",
|
|
124
|
+
"kind": "result",
|
|
125
|
+
"payload": {
|
|
126
|
+
"type": "result",
|
|
127
|
+
"subtype": "success",
|
|
128
|
+
"is_error": false,
|
|
129
|
+
"result": "tool round done",
|
|
130
|
+
"permission_denials": [
|
|
131
|
+
{
|
|
132
|
+
"tool_name": "test_tool",
|
|
133
|
+
"tool_use_id": "test-call-1",
|
|
134
|
+
"tool_input": {
|
|
135
|
+
"probe": true
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|