@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,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": "anthropic/claude-sonnet-5",
11
+ "permissionMode": "default",
12
+ "tools": [
13
+ "Agent",
14
+ "AskUserQuestion",
15
+ "advisor",
16
+ "Bash",
17
+ "CronCreate",
18
+ "CronDelete",
19
+ "CronList",
20
+ "Edit",
21
+ "EnterPlanMode",
22
+ "EnterWorktree",
23
+ "ExitPlanMode",
24
+ "ExitWorktree",
25
+ "Glob",
26
+ "Grep",
27
+ "ListAgents",
28
+ "Monitor",
29
+ "NotebookEdit",
30
+ "PushNotification",
31
+ "Read",
32
+ "ReadNotifications",
33
+ "ReportFindings",
34
+ "ScheduleWakeup",
35
+ "SendMessage",
36
+ "Skill",
37
+ "TaskCreate",
38
+ "TaskGet",
39
+ "TaskList",
40
+ "TaskOutput",
41
+ "TaskStop",
42
+ "TaskUpdate",
43
+ "Workflow",
44
+ "Write"
45
+ ],
46
+ "apiKeySource": "none",
47
+ "winter_provider": {
48
+ "providerId": "anthropic",
49
+ "modelKey": "anthropic/claude-sonnet-5",
50
+ "adapterId": "winter.anthropic-messages",
51
+ "adapterVersion": "1",
52
+ "catalogVersion": "v3.8.50+winter.1",
53
+ "continuationDomain": "anthropic/claude-sonnet-5",
54
+ "authRefKind": "inline"
55
+ },
56
+ "slash_commands": [
57
+ "compact"
58
+ ],
59
+ "output_style": "default",
60
+ "skills": [],
61
+ "plugins": []
62
+ }
63
+ },
64
+ {
65
+ "sequence": 1,
66
+ "direction": "runtime-to-host",
67
+ "kind": "assistant",
68
+ "payload": {
69
+ "type": "assistant",
70
+ "message": {
71
+ "content": [
72
+ {
73
+ "type": "text",
74
+ "text": "checking the tree"
75
+ },
76
+ {
77
+ "type": "tool_use",
78
+ "id": "toolu_p6",
79
+ "name": "Glob",
80
+ "input": {
81
+ "pattern": "*.winter-t10-no-such-file"
82
+ }
83
+ }
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "sequence": 2,
90
+ "direction": "runtime-to-host",
91
+ "kind": "user",
92
+ "payload": {
93
+ "type": "user",
94
+ "message": {
95
+ "content": [
96
+ {
97
+ "type": "tool_result",
98
+ "tool_use_id": "toolu_p6",
99
+ "content": "Error: path not found: /winter-fixture"
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ },
105
+ {
106
+ "sequence": 3,
107
+ "direction": "runtime-to-host",
108
+ "kind": "assistant",
109
+ "payload": {
110
+ "type": "assistant",
111
+ "message": {
112
+ "content": [
113
+ {
114
+ "type": "text",
115
+ "text": "the provider scenario is done"
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "sequence": 4,
123
+ "direction": "runtime-to-host",
124
+ "kind": "result",
125
+ "payload": {
126
+ "type": "result",
127
+ "subtype": "success",
128
+ "is_error": false,
129
+ "result": "the provider scenario is done",
130
+ "permission_denials": [],
131
+ "modelUsage": {
132
+ "anthropic/claude-sonnet-5": {
133
+ "inputTokens": 14,
134
+ "outputTokens": 7,
135
+ "cacheReadInputTokens": 0,
136
+ "cacheCreationInputTokens": 0,
137
+ "webSearchRequests": 0,
138
+ "costUSD": 0.000098,
139
+ "contextWindow": 1048576,
140
+ "canonicalModel": "anthropic/claude-sonnet-5",
141
+ "provider": "firstParty",
142
+ "costBasis": "list"
143
+ }
144
+ }
145
+ }
146
+ }
147
+ ]
@@ -0,0 +1,132 @@
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": "google/gemini-2.5-flash",
11
+ "permissionMode": "default",
12
+ "tools": [
13
+ "Agent",
14
+ "AskUserQuestion",
15
+ "advisor",
16
+ "Bash",
17
+ "CronCreate",
18
+ "CronDelete",
19
+ "CronList",
20
+ "Edit",
21
+ "EnterPlanMode",
22
+ "EnterWorktree",
23
+ "ExitPlanMode",
24
+ "ExitWorktree",
25
+ "Glob",
26
+ "Grep",
27
+ "ListAgents",
28
+ "Monitor",
29
+ "NotebookEdit",
30
+ "PushNotification",
31
+ "Read",
32
+ "ReadNotifications",
33
+ "ReportFindings",
34
+ "ScheduleWakeup",
35
+ "SendMessage",
36
+ "Skill",
37
+ "TaskCreate",
38
+ "TaskGet",
39
+ "TaskList",
40
+ "TaskOutput",
41
+ "TaskStop",
42
+ "TaskUpdate",
43
+ "Workflow",
44
+ "Write"
45
+ ],
46
+ "apiKeySource": "none",
47
+ "winter_provider": {
48
+ "providerId": "google",
49
+ "modelKey": "google/gemini-2.5-flash",
50
+ "adapterId": "winter.google-generate-content",
51
+ "adapterVersion": "1",
52
+ "catalogVersion": "v3.8.50+winter.1",
53
+ "authRefKind": "inline"
54
+ },
55
+ "slash_commands": [
56
+ "compact"
57
+ ],
58
+ "output_style": "default",
59
+ "skills": [],
60
+ "plugins": []
61
+ }
62
+ },
63
+ {
64
+ "sequence": 1,
65
+ "direction": "runtime-to-host",
66
+ "kind": "assistant",
67
+ "payload": {
68
+ "type": "assistant",
69
+ "message": {
70
+ "content": [
71
+ {
72
+ "type": "text",
73
+ "text": "checking the tree"
74
+ },
75
+ {
76
+ "type": "tool_use",
77
+ "id": "google-call-SCRUBBED",
78
+ "name": "Glob",
79
+ "input": {
80
+ "pattern": "*.winter-t10-no-such-file"
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ }
86
+ },
87
+ {
88
+ "sequence": 2,
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": "google-call-SCRUBBED",
98
+ "content": "Error: path not found: /winter-fixture"
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "sequence": 3,
106
+ "direction": "runtime-to-host",
107
+ "kind": "assistant",
108
+ "payload": {
109
+ "type": "assistant",
110
+ "message": {
111
+ "content": [
112
+ {
113
+ "type": "text",
114
+ "text": "the provider scenario is done"
115
+ }
116
+ ]
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "sequence": 4,
122
+ "direction": "runtime-to-host",
123
+ "kind": "result",
124
+ "payload": {
125
+ "type": "result",
126
+ "subtype": "success",
127
+ "is_error": false,
128
+ "result": "the provider scenario is done",
129
+ "permission_denials": []
130
+ }
131
+ }
132
+ ]
@@ -0,0 +1,133 @@
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": "deepseek/deepseek-v4-pro",
11
+ "permissionMode": "default",
12
+ "tools": [
13
+ "Agent",
14
+ "AskUserQuestion",
15
+ "advisor",
16
+ "Bash",
17
+ "CronCreate",
18
+ "CronDelete",
19
+ "CronList",
20
+ "Edit",
21
+ "EnterPlanMode",
22
+ "EnterWorktree",
23
+ "ExitPlanMode",
24
+ "ExitWorktree",
25
+ "Glob",
26
+ "Grep",
27
+ "ListAgents",
28
+ "Monitor",
29
+ "NotebookEdit",
30
+ "PushNotification",
31
+ "Read",
32
+ "ReadNotifications",
33
+ "ReportFindings",
34
+ "ScheduleWakeup",
35
+ "SendMessage",
36
+ "Skill",
37
+ "TaskCreate",
38
+ "TaskGet",
39
+ "TaskList",
40
+ "TaskOutput",
41
+ "TaskStop",
42
+ "TaskUpdate",
43
+ "Workflow",
44
+ "Write"
45
+ ],
46
+ "apiKeySource": "none",
47
+ "winter_provider": {
48
+ "providerId": "deepseek",
49
+ "modelKey": "deepseek/deepseek-v4-pro",
50
+ "adapterId": "winter.openai-chat-completions",
51
+ "adapterVersion": "1",
52
+ "catalogVersion": "v3.8.50+winter.1",
53
+ "continuationDomain": "deepseek/deepseek-v4-pro",
54
+ "authRefKind": "inline"
55
+ },
56
+ "slash_commands": [
57
+ "compact"
58
+ ],
59
+ "output_style": "default",
60
+ "skills": [],
61
+ "plugins": []
62
+ }
63
+ },
64
+ {
65
+ "sequence": 1,
66
+ "direction": "runtime-to-host",
67
+ "kind": "assistant",
68
+ "payload": {
69
+ "type": "assistant",
70
+ "message": {
71
+ "content": [
72
+ {
73
+ "type": "text",
74
+ "text": "checking the tree"
75
+ },
76
+ {
77
+ "type": "tool_use",
78
+ "id": "call_p6",
79
+ "name": "Glob",
80
+ "input": {
81
+ "pattern": "*.winter-t10-no-such-file"
82
+ }
83
+ }
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "sequence": 2,
90
+ "direction": "runtime-to-host",
91
+ "kind": "user",
92
+ "payload": {
93
+ "type": "user",
94
+ "message": {
95
+ "content": [
96
+ {
97
+ "type": "tool_result",
98
+ "tool_use_id": "call_p6",
99
+ "content": "Error: path not found: /winter-fixture"
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ },
105
+ {
106
+ "sequence": 3,
107
+ "direction": "runtime-to-host",
108
+ "kind": "assistant",
109
+ "payload": {
110
+ "type": "assistant",
111
+ "message": {
112
+ "content": [
113
+ {
114
+ "type": "text",
115
+ "text": "the provider scenario is done"
116
+ }
117
+ ]
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "sequence": 4,
123
+ "direction": "runtime-to-host",
124
+ "kind": "result",
125
+ "payload": {
126
+ "type": "result",
127
+ "subtype": "success",
128
+ "is_error": false,
129
+ "result": "the provider scenario is done",
130
+ "permission_denials": []
131
+ }
132
+ }
133
+ ]
@@ -0,0 +1,145 @@
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": "openai/gpt-4.1",
11
+ "permissionMode": "default",
12
+ "tools": [
13
+ "Agent",
14
+ "AskUserQuestion",
15
+ "advisor",
16
+ "Bash",
17
+ "CronCreate",
18
+ "CronDelete",
19
+ "CronList",
20
+ "Edit",
21
+ "EnterPlanMode",
22
+ "EnterWorktree",
23
+ "ExitPlanMode",
24
+ "ExitWorktree",
25
+ "Glob",
26
+ "Grep",
27
+ "ListAgents",
28
+ "Monitor",
29
+ "NotebookEdit",
30
+ "PushNotification",
31
+ "Read",
32
+ "ReadNotifications",
33
+ "ReportFindings",
34
+ "ScheduleWakeup",
35
+ "SendMessage",
36
+ "Skill",
37
+ "TaskCreate",
38
+ "TaskGet",
39
+ "TaskList",
40
+ "TaskOutput",
41
+ "TaskStop",
42
+ "TaskUpdate",
43
+ "Workflow",
44
+ "Write"
45
+ ],
46
+ "apiKeySource": "none",
47
+ "winter_provider": {
48
+ "providerId": "openai",
49
+ "modelKey": "openai/gpt-4.1",
50
+ "adapterId": "winter.openai-responses",
51
+ "adapterVersion": "1",
52
+ "catalogVersion": "v3.8.50+winter.1",
53
+ "authRefKind": "inline"
54
+ },
55
+ "slash_commands": [
56
+ "compact"
57
+ ],
58
+ "output_style": "default",
59
+ "skills": [],
60
+ "plugins": []
61
+ }
62
+ },
63
+ {
64
+ "sequence": 1,
65
+ "direction": "runtime-to-host",
66
+ "kind": "assistant",
67
+ "payload": {
68
+ "type": "assistant",
69
+ "message": {
70
+ "content": [
71
+ {
72
+ "type": "text",
73
+ "text": "checking the tree"
74
+ },
75
+ {
76
+ "type": "tool_use",
77
+ "id": "call_p6",
78
+ "name": "Glob",
79
+ "input": {
80
+ "pattern": "*.winter-t10-no-such-file"
81
+ }
82
+ }
83
+ ]
84
+ }
85
+ }
86
+ },
87
+ {
88
+ "sequence": 2,
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": "call_p6",
98
+ "content": "Error: path not found: /winter-fixture"
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "sequence": 3,
106
+ "direction": "runtime-to-host",
107
+ "kind": "assistant",
108
+ "payload": {
109
+ "type": "assistant",
110
+ "message": {
111
+ "content": [
112
+ {
113
+ "type": "text",
114
+ "text": "the provider scenario is done"
115
+ }
116
+ ]
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "sequence": 4,
122
+ "direction": "runtime-to-host",
123
+ "kind": "result",
124
+ "payload": {
125
+ "type": "result",
126
+ "subtype": "success",
127
+ "is_error": false,
128
+ "result": "the provider scenario is done",
129
+ "permission_denials": [],
130
+ "modelUsage": {
131
+ "openai/gpt-4.1": {
132
+ "inputTokens": 14,
133
+ "outputTokens": 8,
134
+ "cacheReadInputTokens": 0,
135
+ "cacheCreationInputTokens": 0,
136
+ "webSearchRequests": 0,
137
+ "costUSD": 0.000092,
138
+ "contextWindow": 1047576,
139
+ "canonicalModel": "openai/gpt-4.1",
140
+ "costBasis": "list"
141
+ }
142
+ }
143
+ }
144
+ }
145
+ ]
@@ -0,0 +1,68 @@
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": "anthropic/definitely-not-a-model-t10",
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": "result",
58
+ "payload": {
59
+ "type": "result",
60
+ "subtype": "success",
61
+ "is_error": true,
62
+ "result": "model \"definitely-not-a-model-t10\" is not in provider \"anthropic\"'s catalog (its live catalog is authoritative, so absence is definitive)",
63
+ "terminal_reason": "api_error",
64
+ "api_error_status": null,
65
+ "permission_denials": []
66
+ }
67
+ }
68
+ ]