@reqvire-org/ads 0.4.4 → 0.4.5

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/README.md +11 -8
  2. package/dist/cli.mjs +1 -1
  3. package/dist/mcp/apps.mjs +7 -1
  4. package/dist/mcp/drafts.mjs +7 -0
  5. package/dist/mcp/preview-http.bundle.js +7 -0
  6. package/dist/mcp/preview-http.mjs +148 -0
  7. package/dist/mcp/preview-widget.bundle.js +20 -20
  8. package/dist/mcp/resource-loader.js +1 -1
  9. package/dist/mcp/sandbox-host.mjs +6 -1
  10. package/dist/mcp/server.mjs +25 -1
  11. package/dist/mcp/showcase-host.mjs +55 -5
  12. package/dist/mcp/showcase-http.mjs +66 -0
  13. package/dist/scenarios-compiler.mjs +19 -1
  14. package/dist/showcase/client.bundle.js +54 -54
  15. package/dist/showcase/comparison.js +15 -12
  16. package/dist/showcase/connection.js +10 -0
  17. package/dist/showcase/http-client.bundle.js +9 -0
  18. package/dist/showcase/http-connection.js +86 -0
  19. package/dist/showcase/http-preview.js +81 -0
  20. package/dist/showcase-http-routes.mjs +31 -0
  21. package/dist/skills/README.md +2 -2
  22. package/dist/skills/ads-designer/references/captures.md +1 -1
  23. package/dist/skills/ads-designer/references/runtimes.md +18 -2
  24. package/dist/skills/ads-designer/references/workflows.md +16 -0
  25. package/dist/skills/ads-import/references/captures.md +1 -1
  26. package/dist/skills/ads-import/references/runtimes.md +18 -2
  27. package/dist/skills/ads-import/references/workflows.md +16 -0
  28. package/dist/skills/ads-migrate/SKILL.md +1 -0
  29. package/dist/skills/ads-migrate/references/0.4.3-to-0.4.4.md +9 -0
  30. package/dist/skills/ads-migrate/references/0.4.4-to-0.4.5.md +72 -0
  31. package/dist/skills/ads-port/references/captures.md +1 -1
  32. package/dist/skills/ads-port/references/runtimes.md +18 -2
  33. package/dist/skills/ads-port/references/workflows.md +16 -0
  34. package/dist/verification/browser.mjs +2 -2
  35. package/docs/ADS.md +9 -7
  36. package/docs/ARCHITECTURE.md +48 -42
  37. package/docs/CHANGELOG.md +65 -0
  38. package/docs/GUIDE.md +15 -8
  39. package/docs/HTTP-SHOWCASE-POC.md +397 -0
  40. package/docs/MCP.md +63 -9
  41. package/docs/benchmarks/http-showcase-optimized.json +1879 -0
  42. package/docs/benchmarks/http-showcase-profile.json +308 -0
  43. package/docs/benchmarks/http-showcase.json +3069 -0
  44. package/package.json +1 -1
@@ -0,0 +1,308 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "purpose": "Stage diagnosis, not a replacement controlled latency benchmark",
4
+ "baselineCommit": "5dea5739ef44a42a29a45088dbe472ea2215aa2a",
5
+ "httpBaseCommit": "3c1ac13",
6
+ "identity": {
7
+ "source": "437b75535191699e1b2fe8b128ad592f33515689da2701e667ee723edd7aa95d",
8
+ "dist": "c00c1e461c8fadf567491b81796515048beb5b0f79470866a284dd8a9ca7ae47",
9
+ "client": "f0db4e0267f96fa6ead7d50634adc5bc9108a660e6951800e944421363245cec",
10
+ "harness": "5db26db21b6a978fb9ee01eb58fdb8b737924b42f11eb218b156f7c2e9becb38",
11
+ "fixture": "ad59973377c592483648b67f41051c1c0f7009845b9941cf1822005b4ec65a12"
12
+ },
13
+ "httpRows": [
14
+ {
15
+ "scenario": "owner-js",
16
+ "index": 0,
17
+ "visibleMs": 1415.6288589999986,
18
+ "verifiedMs": 2997.2509659999996,
19
+ "beforeCompilerMs": 522.7529296875,
20
+ "compilerMs": 154.2471110000006,
21
+ "compilerEndToManifestMs": 298.300048828125,
22
+ "manifestMs": 189.40000009536743,
23
+ "httpPublicationMs": 175.39999997615814,
24
+ "publicationManifestReadMs": 152.98761300000115,
25
+ "pinAssetsMs": 18.218743999999788,
26
+ "pinnedAssets": 3,
27
+ "postPublicationToVisibleMs": 75.52880859375,
28
+ "sourceCheckMs": 1327.672407
29
+ },
30
+ {
31
+ "scenario": "owner-js",
32
+ "index": 1,
33
+ "visibleMs": 1195.395480000001,
34
+ "verifiedMs": 2047.2493640000012,
35
+ "beforeCompilerMs": 342.202880859375,
36
+ "compilerMs": 106.7970750000004,
37
+ "compilerEndToManifestMs": 294.900146484375,
38
+ "manifestMs": 199,
39
+ "httpPublicationMs": 198.30000007152557,
40
+ "publicationManifestReadMs": 177.42788499999915,
41
+ "pinAssetsMs": 18.008716000000277,
42
+ "pinnedAssets": 3,
43
+ "postPublicationToVisibleMs": 54.1953125,
44
+ "sourceCheckMs": 901.6461579999996
45
+ },
46
+ {
47
+ "scenario": "owner-js",
48
+ "index": 2,
49
+ "visibleMs": 930.1829549999984,
50
+ "verifiedMs": 2079.0133339999993,
51
+ "beforeCompilerMs": 294.281494140625,
52
+ "compilerMs": 116.71839100000034,
53
+ "compilerEndToManifestMs": 209.5,
54
+ "manifestMs": 121.29999995231628,
55
+ "httpPublicationMs": 118.60000002384186,
56
+ "publicationManifestReadMs": 91.43401599999925,
57
+ "pinAssetsMs": 23.97670300000027,
58
+ "pinnedAssets": 3,
59
+ "postPublicationToVisibleMs": 69.78271484375,
60
+ "sourceCheckMs": 904.3633920000011
61
+ },
62
+ {
63
+ "scenario": "owner-style",
64
+ "index": 0,
65
+ "visibleMs": 1133.6740659999996,
66
+ "verifiedMs": 2032.514955999999,
67
+ "beforeCompilerMs": 372.539794921875,
68
+ "compilerMs": 110.4602759999998,
69
+ "compilerEndToManifestMs": 301.5,
70
+ "manifestMs": 135.89999997615814,
71
+ "httpPublicationMs": 140.89999997615814,
72
+ "publicationManifestReadMs": 97.2385269999977,
73
+ "pinAssetsMs": 37.211849999999686,
74
+ "pinnedAssets": 4,
75
+ "postPublicationToVisibleMs": 72.3740234375,
76
+ "sourceCheckMs": 840.7063900000012
77
+ },
78
+ {
79
+ "scenario": "owner-style",
80
+ "index": 1,
81
+ "visibleMs": 1068.0477659999997,
82
+ "verifiedMs": 1751.935266999997,
83
+ "beforeCompilerMs": 242.63623046875,
84
+ "compilerMs": 124.36368299999958,
85
+ "compilerEndToManifestMs": 368.5,
86
+ "manifestMs": 122,
87
+ "httpPublicationMs": 148.60000002384186,
88
+ "publicationManifestReadMs": 103.3979760000002,
89
+ "pinAssetsMs": 42.643566999999166,
90
+ "pinnedAssets": 4,
91
+ "postPublicationToVisibleMs": 61.84765625,
92
+ "sourceCheckMs": 812.9522150000012
93
+ },
94
+ {
95
+ "scenario": "owner-style",
96
+ "index": 2,
97
+ "visibleMs": 922.0824439999997,
98
+ "verifiedMs": 1988.1943810000012,
99
+ "beforeCompilerMs": 276.989501953125,
100
+ "compilerMs": 105.01046100000167,
101
+ "compilerEndToManifestMs": 168.10009765625,
102
+ "manifestMs": 110.60000002384186,
103
+ "httpPublicationMs": 187,
104
+ "publicationManifestReadMs": 121.85058600000048,
105
+ "pinAssetsMs": 59.225421999999526,
106
+ "pinnedAssets": 4,
107
+ "postPublicationToVisibleMs": 74.38232421875,
108
+ "sourceCheckMs": 823.949023000001
109
+ },
110
+ {
111
+ "scenario": "shared-dependency",
112
+ "index": 0,
113
+ "visibleMs": 988.9657789999983,
114
+ "verifiedMs": 2037.4427959999994,
115
+ "beforeCompilerMs": 270.589111328125,
116
+ "compilerMs": 87.4108070000002,
117
+ "compilerEndToManifestMs": 277.5,
118
+ "manifestMs": 101.5,
119
+ "httpPublicationMs": 184.5,
120
+ "publicationManifestReadMs": 121.20292799999879,
121
+ "pinAssetsMs": 60.39231899999868,
122
+ "pinnedAssets": 4,
123
+ "postPublicationToVisibleMs": 67.4658203125,
124
+ "sourceCheckMs": 809.6433250000009
125
+ },
126
+ {
127
+ "scenario": "shared-dependency",
128
+ "index": 1,
129
+ "visibleMs": 870.7857480000021,
130
+ "verifiedMs": 1938.1903770000026,
131
+ "beforeCompilerMs": 262.958251953125,
132
+ "compilerMs": 104.04169700000057,
133
+ "compilerEndToManifestMs": 169.400146484375,
134
+ "manifestMs": 82.5,
135
+ "httpPublicationMs": 196.20000004768372,
136
+ "publicationManifestReadMs": 130.60202100000242,
137
+ "pinAssetsMs": 59.988532999999734,
138
+ "pinnedAssets": 4,
139
+ "postPublicationToVisibleMs": 55.685546875,
140
+ "sourceCheckMs": 839.0576939999992
141
+ },
142
+ {
143
+ "scenario": "shared-dependency",
144
+ "index": 2,
145
+ "visibleMs": 971.4382769999975,
146
+ "verifiedMs": 1804.1366909999997,
147
+ "beforeCompilerMs": 271.0078125,
148
+ "compilerMs": 90.99220799999966,
149
+ "compilerEndToManifestMs": 227.60009765625,
150
+ "manifestMs": 145.29999995231628,
151
+ "httpPublicationMs": 167.79999995231628,
152
+ "publicationManifestReadMs": 105.00837200000024,
153
+ "pinAssetsMs": 59.849145000000135,
154
+ "pinnedAssets": 4,
155
+ "postPublicationToVisibleMs": 68.63818359375,
156
+ "sourceCheckMs": 780.6062039999997
157
+ },
158
+ {
159
+ "scenario": "token-css",
160
+ "index": 0,
161
+ "visibleMs": 1155.6018379999987,
162
+ "verifiedMs": 2672.735826999997,
163
+ "beforeCompilerMs": 244.88525390625,
164
+ "compilerMs": 378.1148460000004,
165
+ "compilerEndToManifestMs": 272.2001953125,
166
+ "manifestMs": 101.59999990463257,
167
+ "httpPublicationMs": 114.90000009536743,
168
+ "publicationManifestReadMs": 96.99040400000013,
169
+ "pinAssetsMs": 15.255464000001666,
170
+ "pinnedAssets": 1,
171
+ "postPublicationToVisibleMs": 43.90185546875,
172
+ "sourceCheckMs": 784.6729720000003
173
+ },
174
+ {
175
+ "scenario": "token-css",
176
+ "index": 1,
177
+ "visibleMs": 1144.840533999999,
178
+ "verifiedMs": 2688.0585439999995,
179
+ "beforeCompilerMs": 243.928466796875,
180
+ "compilerMs": 316.071474999997,
181
+ "compilerEndToManifestMs": 306,
182
+ "manifestMs": 89.89999997615814,
183
+ "httpPublicationMs": 131.60000002384186,
184
+ "publicationManifestReadMs": 110.92223000000013,
185
+ "pinAssetsMs": 13.868832000000111,
186
+ "pinnedAssets": 1,
187
+ "postPublicationToVisibleMs": 57.34033203125,
188
+ "sourceCheckMs": 806.4285019999988
189
+ },
190
+ {
191
+ "scenario": "token-css",
192
+ "index": 2,
193
+ "visibleMs": 1085.3208220000015,
194
+ "verifiedMs": 2635.344149000004,
195
+ "beforeCompilerMs": 234.17724609375,
196
+ "compilerMs": 297.8228459999991,
197
+ "compilerEndToManifestMs": 298.7001953125,
198
+ "manifestMs": 94.39999997615814,
199
+ "httpPublicationMs": 110.19999992847443,
200
+ "publicationManifestReadMs": 92.19106499999907,
201
+ "pinAssetsMs": 15.34213300000556,
202
+ "pinnedAssets": 1,
203
+ "postPublicationToVisibleMs": 50.020751953125,
204
+ "sourceCheckMs": 794.7324999999983
205
+ }
206
+ ],
207
+ "checks": [
208
+ {
209
+ "time": 1794326815893,
210
+ "ms": 2292.2894519999995
211
+ },
212
+ {
213
+ "time": 1794326820596,
214
+ "ms": 1327.672407
215
+ },
216
+ {
217
+ "time": 1794326822888,
218
+ "ms": 901.6461579999996
219
+ },
220
+ {
221
+ "time": 1794326824927,
222
+ "ms": 904.3633920000011
223
+ },
224
+ {
225
+ "time": 1794326827022,
226
+ "ms": 840.7063900000012
227
+ },
228
+ {
229
+ "time": 1794326828927,
230
+ "ms": 812.9522150000012
231
+ },
232
+ {
233
+ "time": 1794326830747,
234
+ "ms": 823.949023000001
235
+ },
236
+ {
237
+ "time": 1794326832696,
238
+ "ms": 809.6433250000009
239
+ },
240
+ {
241
+ "time": 1794326834786,
242
+ "ms": 839.0576939999992
243
+ },
244
+ {
245
+ "time": 1794326836684,
246
+ "ms": 780.6062039999997
247
+ },
248
+ {
249
+ "time": 1794326838771,
250
+ "ms": 784.6729720000003
251
+ },
252
+ {
253
+ "time": 1794326841431,
254
+ "ms": 806.4285019999988
255
+ },
256
+ {
257
+ "time": 1794326844073,
258
+ "ms": 794.7324999999983
259
+ }
260
+ ],
261
+ "runs": [
262
+ {
263
+ "path": "output/http-profile/release-1",
264
+ "identity": {
265
+ "source": "5b57628397651bac8cfb5eeeeb69a69950c971832aafb6bddb7ccc4f1432f244",
266
+ "dist": "96948296534b9ade9369ecf63ff2bf74ecdeefea736239f988ea64034895b2ae",
267
+ "client": "a7a35ad1e2b30740b0afb587f1244a7dae3dc46fdc020762705b43ea05bf009d",
268
+ "harness": "6e515f536c67ad16584b7c77135d66ecd2087733b95f8144c6bcf74dbc3f49ed",
269
+ "fixture": "ad59973377c592483648b67f41051c1c0f7009845b9941cf1822005b4ec65a12"
270
+ },
271
+ "errors": [],
272
+ "preserved": 12,
273
+ "browserMcpRequests": 573
274
+ },
275
+ {
276
+ "path": "output/http-profile/http-1",
277
+ "identity": {
278
+ "source": "d7f4cdaa7b46634cd84a15d8f4ed5f14efb8736dfbeddf0d1b4104799e664490",
279
+ "dist": "a967d8841422595a91c7a94ad6c6b76113c1f293af3df0b0f9e8326916a5d190",
280
+ "client": "f0db4e0267f96fa6ead7d50634adc5bc9108a660e6951800e944421363245cec",
281
+ "harness": "6e515f536c67ad16584b7c77135d66ecd2087733b95f8144c6bcf74dbc3f49ed",
282
+ "fixture": "ad59973377c592483648b67f41051c1c0f7009845b9941cf1822005b4ec65a12"
283
+ },
284
+ "errors": [],
285
+ "preserved": 12,
286
+ "browserMcpRequests": 0
287
+ },
288
+ {
289
+ "path": "output/http-profile/http-deep-1",
290
+ "identity": {
291
+ "source": "437b75535191699e1b2fe8b128ad592f33515689da2701e667ee723edd7aa95d",
292
+ "dist": "c00c1e461c8fadf567491b81796515048beb5b0f79470866a284dd8a9ca7ae47",
293
+ "client": "f0db4e0267f96fa6ead7d50634adc5bc9108a660e6951800e944421363245cec",
294
+ "harness": "5db26db21b6a978fb9ee01eb58fdb8b737924b42f11eb218b156f7c2e9becb38",
295
+ "fixture": "ad59973377c592483648b67f41051c1c0f7009845b9941cf1822005b4ec65a12"
296
+ },
297
+ "errors": [],
298
+ "preserved": 12,
299
+ "browserMcpRequests": 0
300
+ }
301
+ ],
302
+ "limitations": [
303
+ "One release and two HTTP profiling runs, serial; unrelated applications stayed running.",
304
+ "The release trace includes 9.25 s owner-style and 6.18/22.96 s token visible/verified outliers; no cross-run speedup is claimed.",
305
+ "Timers only: no source validation or integrity gates removed.",
306
+ "These are localhost profiles; network shaping and full acceptance are excluded."
307
+ ]
308
+ }