@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,185 @@
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
+ "ToolSearch",
47
+ "Workflow",
48
+ "Write"
49
+ ],
50
+ "apiKeySource": "none",
51
+ "slash_commands": [
52
+ "compact"
53
+ ],
54
+ "output_style": "default",
55
+ "skills": [],
56
+ "plugins": [],
57
+ "mcp_servers": [
58
+ {
59
+ "name": "t8toolsearch",
60
+ "status": "connected"
61
+ }
62
+ ]
63
+ }
64
+ },
65
+ {
66
+ "sequence": 1,
67
+ "direction": "runtime-to-host",
68
+ "kind": "assistant",
69
+ "payload": {
70
+ "type": "assistant",
71
+ "message": {
72
+ "content": [
73
+ {
74
+ "type": "tool_use",
75
+ "id": "ts-call-1",
76
+ "name": "ToolSearch",
77
+ "input": {
78
+ "query": "select:mcp__t8toolsearch__echo"
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ }
84
+ },
85
+ {
86
+ "sequence": 2,
87
+ "direction": "runtime-to-host",
88
+ "kind": "assistant",
89
+ "payload": {
90
+ "type": "assistant",
91
+ "message": {
92
+ "content": [
93
+ {
94
+ "type": "tool_reference",
95
+ "tool_names": [
96
+ "mcp__t8toolsearch__echo"
97
+ ]
98
+ }
99
+ ]
100
+ }
101
+ }
102
+ },
103
+ {
104
+ "sequence": 3,
105
+ "direction": "runtime-to-host",
106
+ "kind": "user",
107
+ "payload": {
108
+ "type": "user",
109
+ "message": {
110
+ "content": [
111
+ {
112
+ "type": "tool_result",
113
+ "tool_use_id": "ts-call-1",
114
+ "content": "{\"matches\":[\"mcp__t8toolsearch__echo\"],\"query\":\"select:mcp__t8toolsearch__echo\",\"total_deferred_tools\":3}"
115
+ }
116
+ ]
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "sequence": 4,
122
+ "direction": "runtime-to-host",
123
+ "kind": "assistant",
124
+ "payload": {
125
+ "type": "assistant",
126
+ "message": {
127
+ "content": [
128
+ {
129
+ "type": "tool_use",
130
+ "id": "mcp-call-1",
131
+ "name": "mcp__t8toolsearch__echo",
132
+ "input": {
133
+ "x": 1
134
+ }
135
+ }
136
+ ]
137
+ }
138
+ }
139
+ },
140
+ {
141
+ "sequence": 5,
142
+ "direction": "runtime-to-host",
143
+ "kind": "user",
144
+ "payload": {
145
+ "type": "user",
146
+ "message": {
147
+ "content": [
148
+ {
149
+ "type": "tool_result",
150
+ "tool_use_id": "mcp-call-1",
151
+ "content": "echo:{\"x\":1}"
152
+ }
153
+ ]
154
+ }
155
+ }
156
+ },
157
+ {
158
+ "sequence": 6,
159
+ "direction": "runtime-to-host",
160
+ "kind": "assistant",
161
+ "payload": {
162
+ "type": "assistant",
163
+ "message": {
164
+ "content": [
165
+ {
166
+ "type": "text",
167
+ "text": "tool search done"
168
+ }
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ {
174
+ "sequence": 7,
175
+ "direction": "runtime-to-host",
176
+ "kind": "result",
177
+ "payload": {
178
+ "type": "result",
179
+ "subtype": "success",
180
+ "is_error": false,
181
+ "result": "tool search done",
182
+ "permission_denials": []
183
+ }
184
+ }
185
+ ]
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@yanlinglabs/winter-conformance",
3
+ "version": "0.0.2",
4
+ "license": "MIT",
5
+ "type": "module",
6
+ "engines": {
7
+ "node": ">=18"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/yanlingLabs/winter-agent-sdk.git",
12
+ "directory": "packages/conformance"
13
+ },
14
+ "homepage": "https://github.com/yanlingLabs/winter-agent-sdk",
15
+ "bugs": {
16
+ "url": "https://github.com/yanlingLabs/winter-agent-sdk/issues"
17
+ },
18
+ "main": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/index.d.ts",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./trace": {
26
+ "types": "./dist/trace.d.ts",
27
+ "default": "./dist/trace.js"
28
+ },
29
+ "./official": {
30
+ "types": "./dist/official/index.d.ts",
31
+ "default": "./dist/official/index.js"
32
+ }
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "goldens",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "publishConfig": {
41
+ "access": "restricted"
42
+ },
43
+ "winter": {
44
+ "publish": {
45
+ "npm": true,
46
+ "harness": true
47
+ }
48
+ },
49
+ "scripts": {}
50
+ }