@ai-sdk/harness-claude-code 1.0.96 → 1.0.98
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/CHANGELOG.md +28 -0
- package/dist/bridge/index.mjs +137 -27
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/bridge/package.json +3 -3
- package/dist/bridge/pnpm-lock.yaml +128 -126
- package/dist/bridge/pnpm-workspace.yaml +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +74 -32
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/bridge/create-emit-stream-event.ts +74 -13
- package/src/bridge/index.ts +134 -20
- package/src/bridge/package.json +3 -3
- package/src/bridge/pnpm-lock.yaml +128 -126
- package/src/bridge/pnpm-workspace.yaml +1 -1
- package/src/claude-code-bridge-protocol.ts +8 -0
- package/src/claude-code-harness.ts +116 -41
|
@@ -9,14 +9,14 @@ importers:
|
|
|
9
9
|
.:
|
|
10
10
|
dependencies:
|
|
11
11
|
'@anthropic-ai/claude-agent-sdk':
|
|
12
|
-
specifier: 0.3.
|
|
13
|
-
version: 0.3.
|
|
12
|
+
specifier: 0.3.245
|
|
13
|
+
version: 0.3.245(@anthropic-ai/sdk@0.97.1(zod@4.4.3))(@modelcontextprotocol/sdk@1.30.0(zod@4.4.3))(zod@4.4.3)
|
|
14
14
|
'@anthropic-ai/claude-code':
|
|
15
|
-
specifier: 2.1.
|
|
16
|
-
version: 2.1.
|
|
15
|
+
specifier: 2.1.245
|
|
16
|
+
version: 2.1.245
|
|
17
17
|
'@modelcontextprotocol/sdk':
|
|
18
|
-
specifier: 1.
|
|
19
|
-
version: 1.
|
|
18
|
+
specifier: 1.30.0
|
|
19
|
+
version: 1.30.0(zod@4.4.3)
|
|
20
20
|
ws:
|
|
21
21
|
specifier: 8.21.0
|
|
22
22
|
version: 8.21.0
|
|
@@ -26,104 +26,104 @@ importers:
|
|
|
26
26
|
|
|
27
27
|
packages:
|
|
28
28
|
|
|
29
|
-
'@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.
|
|
30
|
-
resolution: {integrity: sha512-
|
|
29
|
+
'@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.245':
|
|
30
|
+
resolution: {integrity: sha512-oH1R4yxVKR8oSYMqKHb5NaAPYq8+/enKR0qZKi+lKm6ru64onCmoujT3ilD9rz6TYALCYp2L8Jl2zwOerKSpug==}
|
|
31
31
|
cpu: [arm64]
|
|
32
32
|
os: [darwin]
|
|
33
33
|
|
|
34
|
-
'@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.
|
|
35
|
-
resolution: {integrity: sha512-
|
|
34
|
+
'@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.245':
|
|
35
|
+
resolution: {integrity: sha512-VtK8dfnF0GhVzJgVylZxPdGRZb21DhOpd04WWefKRfnWVbgjdOtEGpafyMi4ZaND/ftYpc2PB2P7IX8OkIj5iA==}
|
|
36
36
|
cpu: [x64]
|
|
37
37
|
os: [darwin]
|
|
38
38
|
|
|
39
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.
|
|
40
|
-
resolution: {integrity: sha512-
|
|
39
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.245':
|
|
40
|
+
resolution: {integrity: sha512-81QcZcFL5YcLLdvw2AXBq8Bxs/Fcq4qkq5dqUkjEEIi6jI2+WTk5gCjLsUg9zVaHG1yoVN3HKBFJss+sI+evHA==}
|
|
41
41
|
cpu: [arm64]
|
|
42
42
|
os: [linux]
|
|
43
43
|
libc: [musl]
|
|
44
44
|
|
|
45
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.
|
|
46
|
-
resolution: {integrity: sha512-
|
|
45
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.245':
|
|
46
|
+
resolution: {integrity: sha512-qIi1grLff5a3Z6K9dUsWKrFKcjUuOGErX89DHC9m0UBfGN6swOs6cFj9zvFYhJhLBJeZu0JKyz18BHSXfeu3PA==}
|
|
47
47
|
cpu: [arm64]
|
|
48
48
|
os: [linux]
|
|
49
49
|
libc: [glibc]
|
|
50
50
|
|
|
51
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.
|
|
52
|
-
resolution: {integrity: sha512-
|
|
51
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.245':
|
|
52
|
+
resolution: {integrity: sha512-3Uxl7YDnqpQHbSpEOYCPytcbcuo1PcdYHDXDpoSotBPlvFOJEiLGCGhwWfEbTO/9RGdp94Qm0T2gGtPNE6QpFg==}
|
|
53
53
|
cpu: [x64]
|
|
54
54
|
os: [linux]
|
|
55
55
|
libc: [musl]
|
|
56
56
|
|
|
57
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64@0.3.
|
|
58
|
-
resolution: {integrity: sha512-
|
|
57
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64@0.3.245':
|
|
58
|
+
resolution: {integrity: sha512-fvPtGYI61pGRP2rmaYskyLE83PytLLMV/NzDunmDlIRvqkzgQrxDBeOistt6mc29uAlI70EbaKW4zsSft6IhBQ==}
|
|
59
59
|
cpu: [x64]
|
|
60
60
|
os: [linux]
|
|
61
61
|
libc: [glibc]
|
|
62
62
|
|
|
63
|
-
'@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.
|
|
64
|
-
resolution: {integrity: sha512-
|
|
63
|
+
'@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.245':
|
|
64
|
+
resolution: {integrity: sha512-N8JTt+DuX2xwbbnLMLDUgmnbtz3VKSGI07WV4WjCEBeb6Olt2KJHDksnJzknrbFBapJz915Vbv2fO+izJcRI1g==}
|
|
65
65
|
cpu: [arm64]
|
|
66
66
|
os: [win32]
|
|
67
67
|
|
|
68
|
-
'@anthropic-ai/claude-agent-sdk-win32-x64@0.3.
|
|
69
|
-
resolution: {integrity: sha512-
|
|
68
|
+
'@anthropic-ai/claude-agent-sdk-win32-x64@0.3.245':
|
|
69
|
+
resolution: {integrity: sha512-C8PHrQBPgExO6sr5bwG+IW7cTR2KDmvAUj9By++u+IiTFEAtPCEjOQ3CFgfPc5wTuGD26SrzWUbdEom5TQp1Dg==}
|
|
70
70
|
cpu: [x64]
|
|
71
71
|
os: [win32]
|
|
72
72
|
|
|
73
|
-
'@anthropic-ai/claude-agent-sdk@0.3.
|
|
74
|
-
resolution: {integrity: sha512-
|
|
73
|
+
'@anthropic-ai/claude-agent-sdk@0.3.245':
|
|
74
|
+
resolution: {integrity: sha512-b/SXCxBxZfN4ItHFDUS1uJ3xhI5fOSv3/VxyZvekYmlsbSwZi/75UqKhVlT7qbB1LDJOB48ZmQdCTxWhJWjObA==}
|
|
75
75
|
engines: {node: '>=18.0.0'}
|
|
76
76
|
peerDependencies:
|
|
77
77
|
'@anthropic-ai/sdk': '>=0.93.0'
|
|
78
78
|
'@modelcontextprotocol/sdk': ^1.29.0
|
|
79
79
|
zod: ^4.0.0
|
|
80
80
|
|
|
81
|
-
'@anthropic-ai/claude-code-darwin-arm64@2.1.
|
|
82
|
-
resolution: {integrity: sha512-
|
|
81
|
+
'@anthropic-ai/claude-code-darwin-arm64@2.1.245':
|
|
82
|
+
resolution: {integrity: sha512-jjXl0zI4v3UXpkOlvDdPzJzz0rQ1QwvzDlKMSUIw5rGMReiOErq8o8DJyQJNgERejGG5Et9DiUFm+Bg6Tq9IBw==}
|
|
83
83
|
cpu: [arm64]
|
|
84
84
|
os: [darwin]
|
|
85
85
|
|
|
86
|
-
'@anthropic-ai/claude-code-darwin-x64@2.1.
|
|
87
|
-
resolution: {integrity: sha512-
|
|
86
|
+
'@anthropic-ai/claude-code-darwin-x64@2.1.245':
|
|
87
|
+
resolution: {integrity: sha512-4WJJ+nHOuhV00/55I3LoVhfWDBU4KGgYdBe/lZjuufOSFhoREeG8T/HT2bYS/qTbFZUbkBau80M1TBMiBDbnbw==}
|
|
88
88
|
cpu: [x64]
|
|
89
89
|
os: [darwin]
|
|
90
90
|
|
|
91
|
-
'@anthropic-ai/claude-code-linux-arm64-musl@2.1.
|
|
92
|
-
resolution: {integrity: sha512-
|
|
91
|
+
'@anthropic-ai/claude-code-linux-arm64-musl@2.1.245':
|
|
92
|
+
resolution: {integrity: sha512-Fb6aeNv5NZf8XhFbBqb0HG5gT3Y+3FtrJetPoYbN36i74Jqt5Xsw85o/JyCPBULWBoNHDBm/ljYfn+/KwRerFg==}
|
|
93
93
|
cpu: [arm64]
|
|
94
94
|
os: [linux]
|
|
95
95
|
libc: [musl]
|
|
96
96
|
|
|
97
|
-
'@anthropic-ai/claude-code-linux-arm64@2.1.
|
|
98
|
-
resolution: {integrity: sha512-
|
|
97
|
+
'@anthropic-ai/claude-code-linux-arm64@2.1.245':
|
|
98
|
+
resolution: {integrity: sha512-Qbn5HnZbYeW4GdifVkDGfcVKqj3/f3U9sfVd3LEaUZh08CcS8D/ptJ76zuBfQUGHJHfToAdNVfak86uJ84b1Dg==}
|
|
99
99
|
cpu: [arm64]
|
|
100
100
|
os: [linux]
|
|
101
101
|
libc: [glibc]
|
|
102
102
|
|
|
103
|
-
'@anthropic-ai/claude-code-linux-x64-musl@2.1.
|
|
104
|
-
resolution: {integrity: sha512-
|
|
103
|
+
'@anthropic-ai/claude-code-linux-x64-musl@2.1.245':
|
|
104
|
+
resolution: {integrity: sha512-loThtx/opxdpmwk07VmjQL7ALhOKJJozdJs2T5SXVY7iAEZwX+nPK+Zz0CyvT3XRtxtimbEeNaQPmk43PUkFag==}
|
|
105
105
|
cpu: [x64]
|
|
106
106
|
os: [linux]
|
|
107
107
|
libc: [musl]
|
|
108
108
|
|
|
109
|
-
'@anthropic-ai/claude-code-linux-x64@2.1.
|
|
110
|
-
resolution: {integrity: sha512-
|
|
109
|
+
'@anthropic-ai/claude-code-linux-x64@2.1.245':
|
|
110
|
+
resolution: {integrity: sha512-SRO5w2f9iHKZmREp389kPKxWAr6qEODxggdhhS7zF16OMwaUHjV5Yu7Oq8jSMD57gQiBjOfvFp/SJg3CdfHCtA==}
|
|
111
111
|
cpu: [x64]
|
|
112
112
|
os: [linux]
|
|
113
113
|
libc: [glibc]
|
|
114
114
|
|
|
115
|
-
'@anthropic-ai/claude-code-win32-arm64@2.1.
|
|
116
|
-
resolution: {integrity: sha512-
|
|
115
|
+
'@anthropic-ai/claude-code-win32-arm64@2.1.245':
|
|
116
|
+
resolution: {integrity: sha512-gG/B3EU+nQZA9tjp43JE94p2VoCh0VotfaxyKYOf1eW0JmJRYzcpvV2Iih8/5i/FkL9TWghPAtRV8YcxwzTtow==}
|
|
117
117
|
cpu: [arm64]
|
|
118
118
|
os: [win32]
|
|
119
119
|
|
|
120
|
-
'@anthropic-ai/claude-code-win32-x64@2.1.
|
|
121
|
-
resolution: {integrity: sha512
|
|
120
|
+
'@anthropic-ai/claude-code-win32-x64@2.1.245':
|
|
121
|
+
resolution: {integrity: sha512-/SVV2dUpKIyuNylzsHo0pFqKAn6HGcqNB/fEpluahvUIaYsgluJsBs8m3uIgYLfU4nFnPbemrYj0ekoG626SgA==}
|
|
122
122
|
cpu: [x64]
|
|
123
123
|
os: [win32]
|
|
124
124
|
|
|
125
|
-
'@anthropic-ai/claude-code@2.1.
|
|
126
|
-
resolution: {integrity: sha512
|
|
125
|
+
'@anthropic-ai/claude-code@2.1.245':
|
|
126
|
+
resolution: {integrity: sha512-+7baJddJXZukgd6AgC7xStHGsMTVHDPlRcAoqTSPx2NQ+QwKGtvCZQLgbnKuhjkwq9v9vKvYwIhLOwGiE77mVQ==}
|
|
127
127
|
engines: {node: '>=22.0.0'}
|
|
128
128
|
hasBin: true
|
|
129
129
|
|
|
@@ -140,14 +140,14 @@ packages:
|
|
|
140
140
|
resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==}
|
|
141
141
|
engines: {node: '>=6.9.0'}
|
|
142
142
|
|
|
143
|
-
'@hono/node-server@1.
|
|
144
|
-
resolution: {integrity: sha512-
|
|
145
|
-
engines: {node: '>=
|
|
143
|
+
'@hono/node-server@2.1.1':
|
|
144
|
+
resolution: {integrity: sha512-ELuehkj5VCBdgEw9zs+ivkKwyzzUCSQuE96YmiPvn1ECBoZCczbFXJLeEGMTYjphP6gydh4pHMqEYPVMYUVgQg==}
|
|
145
|
+
engines: {node: '>=20'}
|
|
146
146
|
peerDependencies:
|
|
147
147
|
hono: ^4
|
|
148
148
|
|
|
149
|
-
'@modelcontextprotocol/sdk@1.
|
|
150
|
-
resolution: {integrity: sha512-
|
|
149
|
+
'@modelcontextprotocol/sdk@1.30.0':
|
|
150
|
+
resolution: {integrity: sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==}
|
|
151
151
|
engines: {node: '>=18'}
|
|
152
152
|
peerDependencies:
|
|
153
153
|
'@cfworker/json-schema': ^4.1.1
|
|
@@ -198,8 +198,8 @@ packages:
|
|
|
198
198
|
resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==}
|
|
199
199
|
engines: {node: '>= 0.6'}
|
|
200
200
|
|
|
201
|
-
content-type@2.
|
|
202
|
-
resolution: {integrity: sha512-
|
|
201
|
+
content-type@2.1.0:
|
|
202
|
+
resolution: {integrity: sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==}
|
|
203
203
|
engines: {node: '>=18'}
|
|
204
204
|
|
|
205
205
|
cookie-signature@1.2.2:
|
|
@@ -261,16 +261,16 @@ packages:
|
|
|
261
261
|
resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}
|
|
262
262
|
engines: {node: '>= 0.6'}
|
|
263
263
|
|
|
264
|
-
eventsource-parser@3.1.
|
|
265
|
-
resolution: {integrity: sha512-
|
|
264
|
+
eventsource-parser@3.1.1:
|
|
265
|
+
resolution: {integrity: sha512-EKN1vKAMcZ8MlYMpaNuxN6R9yakzH6uajHcHVTqWJzvu5pWw9DyhbP35HH8MVBQ+dZjAfDxk+A8NiR9KWaXiyQ==}
|
|
266
266
|
engines: {node: '>=18.0.0'}
|
|
267
267
|
|
|
268
268
|
eventsource@3.0.7:
|
|
269
269
|
resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==}
|
|
270
270
|
engines: {node: '>=18.0.0'}
|
|
271
271
|
|
|
272
|
-
express-rate-limit@8.6.
|
|
273
|
-
resolution: {integrity: sha512-
|
|
272
|
+
express-rate-limit@8.6.2:
|
|
273
|
+
resolution: {integrity: sha512-YH4ru+eOJxQABscKFfRCy9R7x9QFGdezclVMwwgFFndzS2Xnm0uo6B0ABZsLhcpeptGv2qvuJVWlQr9gQZoC3A==}
|
|
274
274
|
engines: {node: '>= 16'}
|
|
275
275
|
peerDependencies:
|
|
276
276
|
express: '>= 4.11'
|
|
@@ -285,8 +285,8 @@ packages:
|
|
|
285
285
|
fast-sha256@1.3.0:
|
|
286
286
|
resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==}
|
|
287
287
|
|
|
288
|
-
fast-uri@3.1.
|
|
289
|
-
resolution: {integrity: sha512-
|
|
288
|
+
fast-uri@3.1.6:
|
|
289
|
+
resolution: {integrity: sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q==}
|
|
290
290
|
|
|
291
291
|
finalhandler@2.1.1:
|
|
292
292
|
resolution: {integrity: sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==}
|
|
@@ -323,8 +323,8 @@ packages:
|
|
|
323
323
|
resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==}
|
|
324
324
|
engines: {node: '>= 0.4'}
|
|
325
325
|
|
|
326
|
-
hono@4.
|
|
327
|
-
resolution: {integrity: sha512-
|
|
326
|
+
hono@4.13.4:
|
|
327
|
+
resolution: {integrity: sha512-AGEwKIyRMHRv1t8Wjwa3LHxQ61X5CqrdFT+4BRNTpqS5aJNnpl5WLjADb7vFlJzI/8uK7T5QLVApCMQKNa3LgQ==}
|
|
328
328
|
engines: {node: '>=16.9.0'}
|
|
329
329
|
|
|
330
330
|
http-errors@2.0.1:
|
|
@@ -338,8 +338,8 @@ packages:
|
|
|
338
338
|
inherits@2.0.4:
|
|
339
339
|
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
|
340
340
|
|
|
341
|
-
ip-address@10.
|
|
342
|
-
resolution: {integrity: sha512
|
|
341
|
+
ip-address@10.5.0:
|
|
342
|
+
resolution: {integrity: sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g==}
|
|
343
343
|
engines: {node: '>= 12'}
|
|
344
344
|
|
|
345
345
|
ipaddr.js@1.9.1:
|
|
@@ -352,8 +352,8 @@ packages:
|
|
|
352
352
|
isexe@2.0.0:
|
|
353
353
|
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
|
|
354
354
|
|
|
355
|
-
jose@6.2.
|
|
356
|
-
resolution: {integrity: sha512-
|
|
355
|
+
jose@6.2.10:
|
|
356
|
+
resolution: {integrity: sha512-iiW7J9qRFlGxvCOIBDBDxFePQSn7ZMAnrYGhrrOo6siO/MIqwfyilLR27pkfDgUk+raLuzADS8A3S/KLBisc0g==}
|
|
357
357
|
|
|
358
358
|
json-schema-to-ts@3.1.1:
|
|
359
359
|
resolution: {integrity: sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==}
|
|
@@ -369,8 +369,8 @@ packages:
|
|
|
369
369
|
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
|
|
370
370
|
engines: {node: '>= 0.4'}
|
|
371
371
|
|
|
372
|
-
media-typer@1.1.
|
|
373
|
-
resolution: {integrity: sha512-
|
|
372
|
+
media-typer@1.1.1:
|
|
373
|
+
resolution: {integrity: sha512-yz3xRaG20c6/BOzvYoDaGtPmGscs7YivItZEEqe6GbwNfHuxu9YNmvnEkMzKldAGY4/80pRcQRZSEnhquk9XuQ==}
|
|
374
374
|
engines: {node: '>= 0.8'}
|
|
375
375
|
|
|
376
376
|
merge-descriptors@2.0.0:
|
|
@@ -388,9 +388,9 @@ packages:
|
|
|
388
388
|
ms@2.1.3:
|
|
389
389
|
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
|
390
390
|
|
|
391
|
-
negotiator@1.
|
|
392
|
-
resolution: {integrity: sha512-
|
|
393
|
-
engines: {node: '>=
|
|
391
|
+
negotiator@1.1.0:
|
|
392
|
+
resolution: {integrity: sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==}
|
|
393
|
+
engines: {node: '>=18'}
|
|
394
394
|
|
|
395
395
|
object-assign@4.1.1:
|
|
396
396
|
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
|
@@ -540,79 +540,79 @@ packages:
|
|
|
540
540
|
|
|
541
541
|
snapshots:
|
|
542
542
|
|
|
543
|
-
'@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.
|
|
543
|
+
'@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.245':
|
|
544
544
|
optional: true
|
|
545
545
|
|
|
546
|
-
'@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.
|
|
546
|
+
'@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.245':
|
|
547
547
|
optional: true
|
|
548
548
|
|
|
549
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.
|
|
549
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.245':
|
|
550
550
|
optional: true
|
|
551
551
|
|
|
552
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.
|
|
552
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.245':
|
|
553
553
|
optional: true
|
|
554
554
|
|
|
555
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.
|
|
555
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.245':
|
|
556
556
|
optional: true
|
|
557
557
|
|
|
558
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64@0.3.
|
|
558
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64@0.3.245':
|
|
559
559
|
optional: true
|
|
560
560
|
|
|
561
|
-
'@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.
|
|
561
|
+
'@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.245':
|
|
562
562
|
optional: true
|
|
563
563
|
|
|
564
|
-
'@anthropic-ai/claude-agent-sdk-win32-x64@0.3.
|
|
564
|
+
'@anthropic-ai/claude-agent-sdk-win32-x64@0.3.245':
|
|
565
565
|
optional: true
|
|
566
566
|
|
|
567
|
-
'@anthropic-ai/claude-agent-sdk@0.3.
|
|
567
|
+
'@anthropic-ai/claude-agent-sdk@0.3.245(@anthropic-ai/sdk@0.97.1(zod@4.4.3))(@modelcontextprotocol/sdk@1.30.0(zod@4.4.3))(zod@4.4.3)':
|
|
568
568
|
dependencies:
|
|
569
569
|
'@anthropic-ai/sdk': 0.97.1(zod@4.4.3)
|
|
570
|
-
'@modelcontextprotocol/sdk': 1.
|
|
570
|
+
'@modelcontextprotocol/sdk': 1.30.0(zod@4.4.3)
|
|
571
571
|
zod: 4.4.3
|
|
572
572
|
optionalDependencies:
|
|
573
|
-
'@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.
|
|
574
|
-
'@anthropic-ai/claude-agent-sdk-darwin-x64': 0.3.
|
|
575
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64': 0.3.
|
|
576
|
-
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl': 0.3.
|
|
577
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64': 0.3.
|
|
578
|
-
'@anthropic-ai/claude-agent-sdk-linux-x64-musl': 0.3.
|
|
579
|
-
'@anthropic-ai/claude-agent-sdk-win32-arm64': 0.3.
|
|
580
|
-
'@anthropic-ai/claude-agent-sdk-win32-x64': 0.3.
|
|
581
|
-
|
|
582
|
-
'@anthropic-ai/claude-code-darwin-arm64@2.1.
|
|
573
|
+
'@anthropic-ai/claude-agent-sdk-darwin-arm64': 0.3.245
|
|
574
|
+
'@anthropic-ai/claude-agent-sdk-darwin-x64': 0.3.245
|
|
575
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64': 0.3.245
|
|
576
|
+
'@anthropic-ai/claude-agent-sdk-linux-arm64-musl': 0.3.245
|
|
577
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64': 0.3.245
|
|
578
|
+
'@anthropic-ai/claude-agent-sdk-linux-x64-musl': 0.3.245
|
|
579
|
+
'@anthropic-ai/claude-agent-sdk-win32-arm64': 0.3.245
|
|
580
|
+
'@anthropic-ai/claude-agent-sdk-win32-x64': 0.3.245
|
|
581
|
+
|
|
582
|
+
'@anthropic-ai/claude-code-darwin-arm64@2.1.245':
|
|
583
583
|
optional: true
|
|
584
584
|
|
|
585
|
-
'@anthropic-ai/claude-code-darwin-x64@2.1.
|
|
585
|
+
'@anthropic-ai/claude-code-darwin-x64@2.1.245':
|
|
586
586
|
optional: true
|
|
587
587
|
|
|
588
|
-
'@anthropic-ai/claude-code-linux-arm64-musl@2.1.
|
|
588
|
+
'@anthropic-ai/claude-code-linux-arm64-musl@2.1.245':
|
|
589
589
|
optional: true
|
|
590
590
|
|
|
591
|
-
'@anthropic-ai/claude-code-linux-arm64@2.1.
|
|
591
|
+
'@anthropic-ai/claude-code-linux-arm64@2.1.245':
|
|
592
592
|
optional: true
|
|
593
593
|
|
|
594
|
-
'@anthropic-ai/claude-code-linux-x64-musl@2.1.
|
|
594
|
+
'@anthropic-ai/claude-code-linux-x64-musl@2.1.245':
|
|
595
595
|
optional: true
|
|
596
596
|
|
|
597
|
-
'@anthropic-ai/claude-code-linux-x64@2.1.
|
|
597
|
+
'@anthropic-ai/claude-code-linux-x64@2.1.245':
|
|
598
598
|
optional: true
|
|
599
599
|
|
|
600
|
-
'@anthropic-ai/claude-code-win32-arm64@2.1.
|
|
600
|
+
'@anthropic-ai/claude-code-win32-arm64@2.1.245':
|
|
601
601
|
optional: true
|
|
602
602
|
|
|
603
|
-
'@anthropic-ai/claude-code-win32-x64@2.1.
|
|
603
|
+
'@anthropic-ai/claude-code-win32-x64@2.1.245':
|
|
604
604
|
optional: true
|
|
605
605
|
|
|
606
|
-
'@anthropic-ai/claude-code@2.1.
|
|
606
|
+
'@anthropic-ai/claude-code@2.1.245':
|
|
607
607
|
optionalDependencies:
|
|
608
|
-
'@anthropic-ai/claude-code-darwin-arm64': 2.1.
|
|
609
|
-
'@anthropic-ai/claude-code-darwin-x64': 2.1.
|
|
610
|
-
'@anthropic-ai/claude-code-linux-arm64': 2.1.
|
|
611
|
-
'@anthropic-ai/claude-code-linux-arm64-musl': 2.1.
|
|
612
|
-
'@anthropic-ai/claude-code-linux-x64': 2.1.
|
|
613
|
-
'@anthropic-ai/claude-code-linux-x64-musl': 2.1.
|
|
614
|
-
'@anthropic-ai/claude-code-win32-arm64': 2.1.
|
|
615
|
-
'@anthropic-ai/claude-code-win32-x64': 2.1.
|
|
608
|
+
'@anthropic-ai/claude-code-darwin-arm64': 2.1.245
|
|
609
|
+
'@anthropic-ai/claude-code-darwin-x64': 2.1.245
|
|
610
|
+
'@anthropic-ai/claude-code-linux-arm64': 2.1.245
|
|
611
|
+
'@anthropic-ai/claude-code-linux-arm64-musl': 2.1.245
|
|
612
|
+
'@anthropic-ai/claude-code-linux-x64': 2.1.245
|
|
613
|
+
'@anthropic-ai/claude-code-linux-x64-musl': 2.1.245
|
|
614
|
+
'@anthropic-ai/claude-code-win32-arm64': 2.1.245
|
|
615
|
+
'@anthropic-ai/claude-code-win32-x64': 2.1.245
|
|
616
616
|
|
|
617
617
|
'@anthropic-ai/sdk@0.97.1(zod@4.4.3)':
|
|
618
618
|
dependencies:
|
|
@@ -623,24 +623,24 @@ snapshots:
|
|
|
623
623
|
|
|
624
624
|
'@babel/runtime@7.29.7': {}
|
|
625
625
|
|
|
626
|
-
'@hono/node-server@1.
|
|
626
|
+
'@hono/node-server@2.1.1(hono@4.13.4)':
|
|
627
627
|
dependencies:
|
|
628
|
-
hono: 4.
|
|
628
|
+
hono: 4.13.4
|
|
629
629
|
|
|
630
|
-
'@modelcontextprotocol/sdk@1.
|
|
630
|
+
'@modelcontextprotocol/sdk@1.30.0(zod@4.4.3)':
|
|
631
631
|
dependencies:
|
|
632
|
-
'@hono/node-server': 1.
|
|
632
|
+
'@hono/node-server': 2.1.1(hono@4.13.4)
|
|
633
633
|
ajv: 8.20.0
|
|
634
634
|
ajv-formats: 3.0.1(ajv@8.20.0)
|
|
635
635
|
content-type: 1.0.5
|
|
636
636
|
cors: 2.8.6
|
|
637
637
|
cross-spawn: 7.0.6
|
|
638
638
|
eventsource: 3.0.7
|
|
639
|
-
eventsource-parser: 3.1.
|
|
639
|
+
eventsource-parser: 3.1.1
|
|
640
640
|
express: 5.2.1
|
|
641
|
-
express-rate-limit: 8.6.
|
|
642
|
-
hono: 4.
|
|
643
|
-
jose: 6.2.
|
|
641
|
+
express-rate-limit: 8.6.2(express@5.2.1)
|
|
642
|
+
hono: 4.13.4
|
|
643
|
+
jose: 6.2.10
|
|
644
644
|
json-schema-typed: 8.0.2
|
|
645
645
|
pkce-challenge: 5.0.1
|
|
646
646
|
raw-body: 3.0.2
|
|
@@ -654,7 +654,7 @@ snapshots:
|
|
|
654
654
|
accepts@2.0.0:
|
|
655
655
|
dependencies:
|
|
656
656
|
mime-types: 3.0.2
|
|
657
|
-
negotiator: 1.
|
|
657
|
+
negotiator: 1.1.0
|
|
658
658
|
|
|
659
659
|
ajv-formats@3.0.1(ajv@8.20.0):
|
|
660
660
|
optionalDependencies:
|
|
@@ -663,14 +663,14 @@ snapshots:
|
|
|
663
663
|
ajv@8.20.0:
|
|
664
664
|
dependencies:
|
|
665
665
|
fast-deep-equal: 3.1.3
|
|
666
|
-
fast-uri: 3.1.
|
|
666
|
+
fast-uri: 3.1.6
|
|
667
667
|
json-schema-traverse: 1.0.0
|
|
668
668
|
require-from-string: 2.0.2
|
|
669
669
|
|
|
670
670
|
body-parser@2.3.0:
|
|
671
671
|
dependencies:
|
|
672
672
|
bytes: 3.1.2
|
|
673
|
-
content-type: 2.
|
|
673
|
+
content-type: 2.1.0
|
|
674
674
|
debug: 4.4.3
|
|
675
675
|
http-errors: 2.0.1
|
|
676
676
|
iconv-lite: 0.7.3
|
|
@@ -697,7 +697,7 @@ snapshots:
|
|
|
697
697
|
|
|
698
698
|
content-type@1.0.5: {}
|
|
699
699
|
|
|
700
|
-
content-type@2.
|
|
700
|
+
content-type@2.1.0: {}
|
|
701
701
|
|
|
702
702
|
cookie-signature@1.2.2: {}
|
|
703
703
|
|
|
@@ -742,17 +742,17 @@ snapshots:
|
|
|
742
742
|
|
|
743
743
|
etag@1.8.1: {}
|
|
744
744
|
|
|
745
|
-
eventsource-parser@3.1.
|
|
745
|
+
eventsource-parser@3.1.1: {}
|
|
746
746
|
|
|
747
747
|
eventsource@3.0.7:
|
|
748
748
|
dependencies:
|
|
749
|
-
eventsource-parser: 3.1.
|
|
749
|
+
eventsource-parser: 3.1.1
|
|
750
750
|
|
|
751
|
-
express-rate-limit@8.6.
|
|
751
|
+
express-rate-limit@8.6.2(express@5.2.1):
|
|
752
752
|
dependencies:
|
|
753
753
|
debug: 4.4.3
|
|
754
754
|
express: 5.2.1
|
|
755
|
-
ip-address: 10.
|
|
755
|
+
ip-address: 10.5.0
|
|
756
756
|
transitivePeerDependencies:
|
|
757
757
|
- supports-color
|
|
758
758
|
|
|
@@ -793,7 +793,7 @@ snapshots:
|
|
|
793
793
|
|
|
794
794
|
fast-sha256@1.3.0: {}
|
|
795
795
|
|
|
796
|
-
fast-uri@3.1.
|
|
796
|
+
fast-uri@3.1.6: {}
|
|
797
797
|
|
|
798
798
|
finalhandler@2.1.1:
|
|
799
799
|
dependencies:
|
|
@@ -838,7 +838,7 @@ snapshots:
|
|
|
838
838
|
dependencies:
|
|
839
839
|
function-bind: 1.1.2
|
|
840
840
|
|
|
841
|
-
hono@4.
|
|
841
|
+
hono@4.13.4: {}
|
|
842
842
|
|
|
843
843
|
http-errors@2.0.1:
|
|
844
844
|
dependencies:
|
|
@@ -854,7 +854,7 @@ snapshots:
|
|
|
854
854
|
|
|
855
855
|
inherits@2.0.4: {}
|
|
856
856
|
|
|
857
|
-
ip-address@10.
|
|
857
|
+
ip-address@10.5.0: {}
|
|
858
858
|
|
|
859
859
|
ipaddr.js@1.9.1: {}
|
|
860
860
|
|
|
@@ -862,7 +862,7 @@ snapshots:
|
|
|
862
862
|
|
|
863
863
|
isexe@2.0.0: {}
|
|
864
864
|
|
|
865
|
-
jose@6.2.
|
|
865
|
+
jose@6.2.10: {}
|
|
866
866
|
|
|
867
867
|
json-schema-to-ts@3.1.1:
|
|
868
868
|
dependencies:
|
|
@@ -875,7 +875,7 @@ snapshots:
|
|
|
875
875
|
|
|
876
876
|
math-intrinsics@1.1.0: {}
|
|
877
877
|
|
|
878
|
-
media-typer@1.1.
|
|
878
|
+
media-typer@1.1.1: {}
|
|
879
879
|
|
|
880
880
|
merge-descriptors@2.0.0: {}
|
|
881
881
|
|
|
@@ -887,7 +887,9 @@ snapshots:
|
|
|
887
887
|
|
|
888
888
|
ms@2.1.3: {}
|
|
889
889
|
|
|
890
|
-
negotiator@1.
|
|
890
|
+
negotiator@1.1.0:
|
|
891
|
+
dependencies:
|
|
892
|
+
content-type: 2.1.0
|
|
891
893
|
|
|
892
894
|
object-assign@4.1.1: {}
|
|
893
895
|
|
|
@@ -1016,8 +1018,8 @@ snapshots:
|
|
|
1016
1018
|
|
|
1017
1019
|
type-is@2.1.0:
|
|
1018
1020
|
dependencies:
|
|
1019
|
-
content-type: 2.
|
|
1020
|
-
media-typer: 1.1.
|
|
1021
|
+
content-type: 2.1.0
|
|
1022
|
+
media-typer: 1.1.1
|
|
1021
1023
|
mime-types: 3.0.2
|
|
1022
1024
|
|
|
1023
1025
|
unpipe@1.0.0: {}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
allowBuilds:
|
|
2
|
-
'@anthropic-ai/claude-code@2.1.
|
|
2
|
+
'@anthropic-ai/claude-code@2.1.245': true
|
|
@@ -42,6 +42,14 @@ export const startMessageSchema = harnessV1BridgeStartBaseSchema.extend({
|
|
|
42
42
|
// Claude SDK so the in-workdir thread state is rehydrated. The host sets this
|
|
43
43
|
// on the first prompt after a cross-process resume.
|
|
44
44
|
continue: z.boolean().optional(),
|
|
45
|
+
// Exact conversation to resume, as the Claude SDK's `resume` option.
|
|
46
|
+
//
|
|
47
|
+
// Preferred over `continue` whenever the host knows which conversation it
|
|
48
|
+
// means: `continue` resolves to the most recent thread in the workdir, which
|
|
49
|
+
// is the wrong one as soon as anything else has run there since — including
|
|
50
|
+
// a resume that itself started a new thread. Mutually exclusive with
|
|
51
|
+
// `continue` in the SDK, so the bridge sends one or the other.
|
|
52
|
+
resumeSessionId: z.string().optional(),
|
|
45
53
|
});
|
|
46
54
|
|
|
47
55
|
export type StartMessage = z.infer<typeof startMessageSchema>;
|