@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.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +128 -0
  3. package/dist/bun-required.d.ts +54 -0
  4. package/dist/goldens.d.ts +11 -0
  5. package/dist/index-v0zvhx0z.js +1576 -0
  6. package/dist/index-z5gwvsfh.js +49 -0
  7. package/dist/index.d.ts +5 -0
  8. package/dist/index.js +49 -0
  9. package/dist/official/capture.d.ts +1 -0
  10. package/dist/official/fetch.d.ts +40 -0
  11. package/dist/official/index.d.ts +3 -0
  12. package/dist/official/index.js +27 -0
  13. package/dist/trace.d.ts +9 -0
  14. package/dist/trace.js +8 -0
  15. package/goldens/advertised-set-round.trace.json +81 -0
  16. package/goldens/background-task-round.trace.json +210 -0
  17. package/goldens/bash-background-round.trace.json +148 -0
  18. package/goldens/canusetool-approved-round.trace.json +119 -0
  19. package/goldens/compaction-auto-round.trace.json +219 -0
  20. package/goldens/compaction-manual-round.trace.json +232 -0
  21. package/goldens/denied-tool-round.trace.json +141 -0
  22. package/goldens/hook-denied-round.trace.json +169 -0
  23. package/goldens/hooked-tool-round.trace.json +147 -0
  24. package/goldens/interrupt.trace.json +129 -0
  25. package/goldens/mcp-tool-round.trace.json +131 -0
  26. package/goldens/messaging-facet-round.trace.json +278 -0
  27. package/goldens/mode-switch-mid-session.trace.json +200 -0
  28. package/goldens/multi-turn.trace.json +110 -0
  29. package/goldens/p6-anthropic-fake.trace.json +147 -0
  30. package/goldens/p6-gemini-fake.trace.json +132 -0
  31. package/goldens/p6-openai-chat-fake.trace.json +133 -0
  32. package/goldens/p6-openai-responses-fake.trace.json +145 -0
  33. package/goldens/p6-resolution-failure.trace.json +68 -0
  34. package/goldens/plain-query.trace.json +82 -0
  35. package/goldens/resume.trace.json +162 -0
  36. package/goldens/sendmessage-child-round.trace.json +158 -0
  37. package/goldens/skill-invocation-round.trace.json +123 -0
  38. package/goldens/structured-exhaustion-round.trace.json +182 -0
  39. package/goldens/structured-output-round.trace.json +106 -0
  40. package/goldens/subagent-permission-round.trace.json +174 -0
  41. package/goldens/subagent-spawn-round.trace.json +120 -0
  42. package/goldens/tool-round.trace.json +119 -0
  43. package/goldens/toolsearch-select-round.trace.json +185 -0
  44. package/package.json +50 -0
@@ -0,0 +1,169 @@
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/hook_started",
78
+ "payload": {
79
+ "type": "system",
80
+ "subtype": "hook_started",
81
+ "hook_id": "PreToolUse:sdk:0:0",
82
+ "hook_name": "",
83
+ "hook_event": "PreToolUse"
84
+ }
85
+ },
86
+ {
87
+ "sequence": 3,
88
+ "direction": "runtime-to-host",
89
+ "kind": "system/hook_response",
90
+ "payload": {
91
+ "type": "system",
92
+ "subtype": "hook_response",
93
+ "hook_id": "PreToolUse:sdk:0:0",
94
+ "hook_name": "",
95
+ "hook_event": "PreToolUse",
96
+ "output": "",
97
+ "stdout": "",
98
+ "stderr": "",
99
+ "outcome": "success"
100
+ }
101
+ },
102
+ {
103
+ "sequence": 4,
104
+ "direction": "runtime-to-host",
105
+ "kind": "system/permission_denied",
106
+ "payload": {
107
+ "type": "system",
108
+ "subtype": "permission_denied",
109
+ "tool_name": "test_tool",
110
+ "tool_use_id": "test-call-1",
111
+ "decision_reason_type": "hook",
112
+ "message": "differential: hook says no"
113
+ }
114
+ },
115
+ {
116
+ "sequence": 5,
117
+ "direction": "runtime-to-host",
118
+ "kind": "user",
119
+ "payload": {
120
+ "type": "user",
121
+ "message": {
122
+ "content": [
123
+ {
124
+ "type": "tool_result",
125
+ "tool_use_id": "test-call-1",
126
+ "content": "differential: hook says no",
127
+ "denied": true
128
+ }
129
+ ]
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "sequence": 6,
135
+ "direction": "runtime-to-host",
136
+ "kind": "assistant",
137
+ "payload": {
138
+ "type": "assistant",
139
+ "message": {
140
+ "content": [
141
+ {
142
+ "type": "text",
143
+ "text": "tool round done"
144
+ }
145
+ ]
146
+ }
147
+ }
148
+ },
149
+ {
150
+ "sequence": 7,
151
+ "direction": "runtime-to-host",
152
+ "kind": "result",
153
+ "payload": {
154
+ "type": "result",
155
+ "subtype": "success",
156
+ "is_error": false,
157
+ "result": "tool round done",
158
+ "permission_denials": [
159
+ {
160
+ "tool_name": "test_tool",
161
+ "tool_use_id": "test-call-1",
162
+ "tool_input": {
163
+ "probe": true
164
+ }
165
+ }
166
+ ]
167
+ }
168
+ }
169
+ ]
@@ -0,0 +1,147 @@
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/hook_started",
78
+ "payload": {
79
+ "type": "system",
80
+ "subtype": "hook_started",
81
+ "hook_id": "PreToolUse:sdk:0:0",
82
+ "hook_name": "",
83
+ "hook_event": "PreToolUse"
84
+ }
85
+ },
86
+ {
87
+ "sequence": 3,
88
+ "direction": "runtime-to-host",
89
+ "kind": "system/hook_response",
90
+ "payload": {
91
+ "type": "system",
92
+ "subtype": "hook_response",
93
+ "hook_id": "PreToolUse:sdk:0:0",
94
+ "hook_name": "",
95
+ "hook_event": "PreToolUse",
96
+ "output": "",
97
+ "stdout": "",
98
+ "stderr": "",
99
+ "outcome": "success"
100
+ }
101
+ },
102
+ {
103
+ "sequence": 4,
104
+ "direction": "runtime-to-host",
105
+ "kind": "user",
106
+ "payload": {
107
+ "type": "user",
108
+ "message": {
109
+ "content": [
110
+ {
111
+ "type": "tool_result",
112
+ "tool_use_id": "test-call-1",
113
+ "content": "test_tool:{\"probe\":true}"
114
+ }
115
+ ]
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "sequence": 5,
121
+ "direction": "runtime-to-host",
122
+ "kind": "assistant",
123
+ "payload": {
124
+ "type": "assistant",
125
+ "message": {
126
+ "content": [
127
+ {
128
+ "type": "text",
129
+ "text": "tool round done"
130
+ }
131
+ ]
132
+ }
133
+ }
134
+ },
135
+ {
136
+ "sequence": 6,
137
+ "direction": "runtime-to-host",
138
+ "kind": "result",
139
+ "payload": {
140
+ "type": "result",
141
+ "subtype": "success",
142
+ "is_error": false,
143
+ "result": "tool round done",
144
+ "permission_denials": []
145
+ }
146
+ }
147
+ ]
@@ -0,0 +1,129 @@
1
+ [
2
+ {
3
+ "sequence": 0,
4
+ "direction": "runtime-to-host",
5
+ "kind": "init",
6
+ "payload": {
7
+ "type": "init",
8
+ "protocolVersion": "1.0",
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
+ }
46
+ },
47
+ {
48
+ "sequence": 1,
49
+ "direction": "runtime-to-host",
50
+ "kind": "system/init",
51
+ "payload": {
52
+ "type": "system",
53
+ "subtype": "init",
54
+ "cwd": "/winter-fixture",
55
+ "model": "winter-test/echo",
56
+ "permissionMode": "default",
57
+ "tools": [
58
+ "Agent",
59
+ "AskUserQuestion",
60
+ "Bash",
61
+ "CronCreate",
62
+ "CronDelete",
63
+ "CronList",
64
+ "Edit",
65
+ "EnterPlanMode",
66
+ "EnterWorktree",
67
+ "ExitPlanMode",
68
+ "ExitWorktree",
69
+ "Glob",
70
+ "Grep",
71
+ "ListAgents",
72
+ "Monitor",
73
+ "NotebookEdit",
74
+ "PushNotification",
75
+ "Read",
76
+ "ReadNotifications",
77
+ "ReportFindings",
78
+ "ScheduleWakeup",
79
+ "SendMessage",
80
+ "Skill",
81
+ "TaskCreate",
82
+ "TaskGet",
83
+ "TaskList",
84
+ "TaskOutput",
85
+ "TaskStop",
86
+ "TaskUpdate",
87
+ "Workflow",
88
+ "Write"
89
+ ],
90
+ "apiKeySource": "none",
91
+ "slash_commands": [
92
+ "compact"
93
+ ],
94
+ "output_style": "default",
95
+ "skills": [],
96
+ "plugins": []
97
+ }
98
+ },
99
+ {
100
+ "sequence": 2,
101
+ "direction": "runtime-to-host",
102
+ "kind": "control_response",
103
+ "payload": {
104
+ "type": "control_response",
105
+ "ok": true
106
+ }
107
+ },
108
+ {
109
+ "sequence": 3,
110
+ "direction": "runtime-to-host",
111
+ "kind": "result",
112
+ "payload": {
113
+ "type": "result",
114
+ "subtype": "success",
115
+ "is_error": false,
116
+ "interrupted": true,
117
+ "permission_denials": []
118
+ }
119
+ },
120
+ {
121
+ "sequence": 4,
122
+ "direction": "runtime-to-host",
123
+ "kind": "control_response",
124
+ "payload": {
125
+ "type": "control_response",
126
+ "ok": true
127
+ }
128
+ }
129
+ ]
@@ -0,0 +1,131 @@
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
+ "ListMcpResourcesTool",
28
+ "Monitor",
29
+ "NotebookEdit",
30
+ "PushNotification",
31
+ "Read",
32
+ "ReadMcpResourceDirTool",
33
+ "ReadMcpResourceTool",
34
+ "ReadNotifications",
35
+ "RefreshMcpTools",
36
+ "ReportFindings",
37
+ "ScheduleWakeup",
38
+ "SendMessage",
39
+ "Skill",
40
+ "TaskCreate",
41
+ "TaskGet",
42
+ "TaskList",
43
+ "TaskOutput",
44
+ "TaskStop",
45
+ "TaskUpdate",
46
+ "WaitForMcpServers",
47
+ "Workflow",
48
+ "Write",
49
+ "mcp__t8mcpsdk__echo"
50
+ ],
51
+ "apiKeySource": "none",
52
+ "slash_commands": [
53
+ "compact"
54
+ ],
55
+ "output_style": "default",
56
+ "skills": [],
57
+ "plugins": [],
58
+ "mcp_servers": [
59
+ {
60
+ "name": "t8mcpsdk",
61
+ "status": "connected"
62
+ }
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "sequence": 1,
68
+ "direction": "runtime-to-host",
69
+ "kind": "assistant",
70
+ "payload": {
71
+ "type": "assistant",
72
+ "message": {
73
+ "content": [
74
+ {
75
+ "type": "tool_use",
76
+ "id": "mcpsdk-call-1",
77
+ "name": "mcp__t8mcpsdk__echo",
78
+ "input": {
79
+ "x": 1
80
+ }
81
+ }
82
+ ]
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "sequence": 2,
88
+ "direction": "runtime-to-host",
89
+ "kind": "user",
90
+ "payload": {
91
+ "type": "user",
92
+ "message": {
93
+ "content": [
94
+ {
95
+ "type": "tool_result",
96
+ "tool_use_id": "mcpsdk-call-1",
97
+ "content": "echo:{\"x\":1}"
98
+ }
99
+ ]
100
+ }
101
+ }
102
+ },
103
+ {
104
+ "sequence": 3,
105
+ "direction": "runtime-to-host",
106
+ "kind": "assistant",
107
+ "payload": {
108
+ "type": "assistant",
109
+ "message": {
110
+ "content": [
111
+ {
112
+ "type": "text",
113
+ "text": "mcp sdk done"
114
+ }
115
+ ]
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "sequence": 4,
121
+ "direction": "runtime-to-host",
122
+ "kind": "result",
123
+ "payload": {
124
+ "type": "result",
125
+ "subtype": "success",
126
+ "is_error": false,
127
+ "result": "mcp sdk done",
128
+ "permission_denials": []
129
+ }
130
+ }
131
+ ]