@kubohiroya/turbowarp-http-server 0.1.0 → 0.2.1

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 (234) hide show
  1. package/README.ja.md +29 -13
  2. package/README.md +101 -42
  3. package/dist/cli.js +131 -17
  4. package/dist/cli.js.map +1 -1
  5. package/dist/compiler/adapters/cloudflare.d.ts +2 -0
  6. package/dist/compiler/adapters/cloudflare.js +477 -0
  7. package/dist/compiler/adapters/cloudflare.js.map +1 -0
  8. package/dist/compiler/adapters/firebase.d.ts +2 -0
  9. package/dist/compiler/adapters/firebase.js +489 -0
  10. package/dist/compiler/adapters/firebase.js.map +1 -0
  11. package/dist/compiler/adapters/index.d.ts +2 -0
  12. package/dist/compiler/adapters/index.js +3 -0
  13. package/dist/compiler/adapters/index.js.map +1 -0
  14. package/dist/compiler/binary/codec.d.ts +4 -0
  15. package/dist/compiler/binary/codec.js +45 -0
  16. package/dist/compiler/binary/codec.js.map +1 -0
  17. package/dist/compiler/binary/error.d.ts +3 -0
  18. package/dist/compiler/binary/error.js +21 -0
  19. package/dist/compiler/binary/error.js.map +1 -0
  20. package/dist/compiler/binary/index.d.ts +4 -0
  21. package/dist/compiler/binary/index.js +5 -0
  22. package/dist/compiler/binary/index.js.map +1 -0
  23. package/dist/compiler/binary/runtime.d.ts +18 -0
  24. package/dist/compiler/binary/runtime.js +123 -0
  25. package/dist/compiler/binary/runtime.js.map +1 -0
  26. package/dist/compiler/binary/types.d.ts +17 -0
  27. package/dist/compiler/binary/types.js +2 -0
  28. package/dist/compiler/binary/types.js.map +1 -0
  29. package/dist/compiler/feature-flags.d.ts +4 -0
  30. package/dist/compiler/feature-flags.js +4 -0
  31. package/dist/compiler/feature-flags.js.map +1 -0
  32. package/dist/compiler/index.d.ts +35 -0
  33. package/dist/compiler/index.js +84 -0
  34. package/dist/compiler/index.js.map +1 -0
  35. package/dist/compiler/ir-v2/canonical.d.ts +3 -0
  36. package/dist/compiler/ir-v2/canonical.js +50 -0
  37. package/dist/compiler/ir-v2/canonical.js.map +1 -0
  38. package/dist/compiler/ir-v2/index.d.ts +4 -0
  39. package/dist/compiler/ir-v2/index.js +5 -0
  40. package/dist/compiler/ir-v2/index.js.map +1 -0
  41. package/dist/compiler/ir-v2/parse.d.ts +10 -0
  42. package/dist/compiler/ir-v2/parse.js +753 -0
  43. package/dist/compiler/ir-v2/parse.js.map +1 -0
  44. package/dist/compiler/ir-v2/strict-json.d.ts +4 -0
  45. package/dist/compiler/ir-v2/strict-json.js +133 -0
  46. package/dist/compiler/ir-v2/strict-json.js.map +1 -0
  47. package/dist/compiler/ir-v2/types.d.ts +412 -0
  48. package/dist/compiler/ir-v2/types.js +84 -0
  49. package/dist/compiler/ir-v2/types.js.map +1 -0
  50. package/dist/compiler/kvs/lowering.d.ts +13 -0
  51. package/dist/compiler/kvs/lowering.js +77 -0
  52. package/dist/compiler/kvs/lowering.js.map +1 -0
  53. package/dist/compiler/manifest/error.d.ts +7 -0
  54. package/dist/compiler/manifest/error.js +9 -0
  55. package/dist/compiler/manifest/error.js.map +1 -0
  56. package/dist/compiler/manifest/index.d.ts +6 -0
  57. package/dist/compiler/manifest/index.js +7 -0
  58. package/dist/compiler/manifest/index.js.map +1 -0
  59. package/dist/compiler/manifest/operations.d.ts +12 -0
  60. package/dist/compiler/manifest/operations.js +60 -0
  61. package/dist/compiler/manifest/operations.js.map +1 -0
  62. package/dist/compiler/manifest/parse.d.ts +9 -0
  63. package/dist/compiler/manifest/parse.js +280 -0
  64. package/dist/compiler/manifest/parse.js.map +1 -0
  65. package/dist/compiler/manifest/registry.d.ts +3 -0
  66. package/dist/compiler/manifest/registry.js +48 -0
  67. package/dist/compiler/manifest/registry.js.map +1 -0
  68. package/dist/compiler/manifest/resolve.d.ts +14 -0
  69. package/dist/compiler/manifest/resolve.js +116 -0
  70. package/dist/compiler/manifest/resolve.js.map +1 -0
  71. package/dist/compiler/manifest/types.d.ts +95 -0
  72. package/dist/compiler/manifest/types.js +3 -0
  73. package/dist/compiler/manifest/types.js.map +1 -0
  74. package/dist/compiler/named-body/index.d.ts +1 -0
  75. package/dist/compiler/named-body/index.js +2 -0
  76. package/dist/compiler/named-body/index.js.map +1 -0
  77. package/dist/compiler/named-body/lowering.d.ts +18 -0
  78. package/dist/compiler/named-body/lowering.js +83 -0
  79. package/dist/compiler/named-body/lowering.js.map +1 -0
  80. package/dist/compiler/pipeline/compiler.d.ts +18 -0
  81. package/dist/compiler/pipeline/compiler.js +105 -0
  82. package/dist/compiler/pipeline/compiler.js.map +1 -0
  83. package/dist/compiler/pipeline/core-generator.d.ts +3 -0
  84. package/dist/compiler/pipeline/core-generator.js +483 -0
  85. package/dist/compiler/pipeline/core-generator.js.map +1 -0
  86. package/dist/compiler/pipeline/index.d.ts +5 -0
  87. package/dist/compiler/pipeline/index.js +6 -0
  88. package/dist/compiler/pipeline/index.js.map +1 -0
  89. package/dist/compiler/pipeline/registry.d.ts +7 -0
  90. package/dist/compiler/pipeline/registry.js +17 -0
  91. package/dist/compiler/pipeline/registry.js.map +1 -0
  92. package/dist/compiler/pipeline/requirements.d.ts +9 -0
  93. package/dist/compiler/pipeline/requirements.js +135 -0
  94. package/dist/compiler/pipeline/requirements.js.map +1 -0
  95. package/dist/compiler/pipeline/types.d.ts +65 -0
  96. package/dist/compiler/pipeline/types.js +2 -0
  97. package/dist/compiler/pipeline/types.js.map +1 -0
  98. package/dist/compiler/runtime/error.d.ts +6 -0
  99. package/dist/compiler/runtime/error.js +9 -0
  100. package/dist/compiler/runtime/error.js.map +1 -0
  101. package/dist/compiler/runtime/index.d.ts +1 -0
  102. package/dist/compiler/runtime/index.js +2 -0
  103. package/dist/compiler/runtime/index.js.map +1 -0
  104. package/dist/compiler/structured-data/index.d.ts +3 -0
  105. package/dist/compiler/structured-data/index.js +4 -0
  106. package/dist/compiler/structured-data/index.js.map +1 -0
  107. package/dist/compiler/structured-data/lowering.d.ts +30 -0
  108. package/dist/compiler/structured-data/lowering.js +202 -0
  109. package/dist/compiler/structured-data/lowering.js.map +1 -0
  110. package/dist/compiler/structured-data/path.d.ts +2 -0
  111. package/dist/compiler/structured-data/path.js +60 -0
  112. package/dist/compiler/structured-data/path.js.map +1 -0
  113. package/dist/compiler/structured-data/runtime.d.ts +20 -0
  114. package/dist/compiler/structured-data/runtime.js +210 -0
  115. package/dist/compiler/structured-data/runtime.js.map +1 -0
  116. package/dist/compiler/turbowarp-v2.d.ts +8 -0
  117. package/dist/compiler/turbowarp-v2.js +479 -0
  118. package/dist/compiler/turbowarp-v2.js.map +1 -0
  119. package/dist/compiler/validator/index.d.ts +4 -0
  120. package/dist/compiler/validator/index.js +5 -0
  121. package/dist/compiler/validator/index.js.map +1 -0
  122. package/dist/compiler/validator/ir-validator.d.ts +10 -0
  123. package/dist/compiler/validator/ir-validator.js +463 -0
  124. package/dist/compiler/validator/ir-validator.js.map +1 -0
  125. package/dist/compiler/validator/resource-lifetime.d.ts +18 -0
  126. package/dist/compiler/validator/resource-lifetime.js +106 -0
  127. package/dist/compiler/validator/resource-lifetime.js.map +1 -0
  128. package/dist/compiler/validator/turbowarp-subset.d.ts +3 -0
  129. package/dist/compiler/validator/turbowarp-subset.js +241 -0
  130. package/dist/compiler/validator/turbowarp-subset.js.map +1 -0
  131. package/dist/compiler/validator/types.d.ts +30 -0
  132. package/dist/compiler/validator/types.js +7 -0
  133. package/dist/compiler/validator/types.js.map +1 -0
  134. package/dist/config.d.ts +11 -0
  135. package/dist/config.js +12 -0
  136. package/dist/config.js.map +1 -0
  137. package/dist/digest-cli.js +0 -0
  138. package/dist/extension-manifest.json +102 -0
  139. package/dist/named-body.d.ts +57 -0
  140. package/dist/named-body.js +396 -0
  141. package/dist/named-body.js.map +1 -0
  142. package/dist/named-data-namespace.d.ts +3 -0
  143. package/dist/named-data-namespace.js +6 -0
  144. package/dist/named-data-namespace.js.map +1 -0
  145. package/dist/protocol.d.ts +13 -1
  146. package/dist/protocol.js +34 -0
  147. package/dist/protocol.js.map +1 -1
  148. package/dist/resource-named-body-provider.d.ts +8 -0
  149. package/dist/resource-named-body-provider.js +88 -0
  150. package/dist/resource-named-body-provider.js.map +1 -0
  151. package/dist/server.d.ts +10 -1
  152. package/dist/server.js +37 -7
  153. package/dist/server.js.map +1 -1
  154. package/dist/turbowarp-http-server.js +516 -1
  155. package/docs/binary-resource-semantics.ja.md +84 -0
  156. package/docs/cloudflare-worker-compiler.ja.md +90 -0
  157. package/docs/compiler-manifest-registry.ja.md +79 -0
  158. package/docs/compiler-platform-pipeline.ja.md +94 -0
  159. package/docs/deploy-ir-v2.ja.md +123 -0
  160. package/docs/fixed-input-editors.ja.md +23 -0
  161. package/docs/index.html +80 -0
  162. package/docs/ir-v2-conformance.ja.md +65 -0
  163. package/docs/named-response-body.ja.md +120 -0
  164. package/docs/platform-storage-adapters.ja.md +99 -0
  165. package/docs/server-executable-subset.ja.md +88 -0
  166. package/docs/structured-data-lowering.ja.md +63 -0
  167. package/examples/compiler/message-app.v2.ir.json +41 -0
  168. package/package.json +44 -20
  169. package/schemas/block-editor-fixed-inputs.schema.json +85 -0
  170. package/schemas/compiler-extension-manifest.schema.json +126 -0
  171. package/schemas/compiler-manifest-lock-v1.schema.json +48 -0
  172. package/schemas/deploy-ir-v2.schema.json +835 -0
  173. package/schemas/ir-v2-conformance-fixture.schema.json +44 -0
  174. package/src/block-definitions.json +76 -0
  175. package/src/cli.ts +136 -23
  176. package/src/compiler/adapters/cloudflare.ts +510 -0
  177. package/src/compiler/adapters/firebase.ts +538 -0
  178. package/src/compiler/adapters/index.ts +2 -0
  179. package/src/compiler/binary/codec.ts +61 -0
  180. package/src/compiler/binary/error.ts +25 -0
  181. package/src/compiler/binary/index.ts +4 -0
  182. package/src/compiler/binary/runtime.ts +133 -0
  183. package/src/compiler/binary/types.ts +26 -0
  184. package/src/compiler/feature-flags.ts +7 -0
  185. package/src/compiler/index.ts +114 -0
  186. package/src/compiler/ir-v2/canonical.ts +46 -0
  187. package/src/compiler/ir-v2/index.ts +9 -0
  188. package/src/compiler/ir-v2/parse.ts +921 -0
  189. package/src/compiler/ir-v2/strict-json.ts +129 -0
  190. package/src/compiler/ir-v2/types.ts +462 -0
  191. package/src/compiler/kvs/lowering.ts +88 -0
  192. package/src/compiler/manifest/error.ts +29 -0
  193. package/src/compiler/manifest/index.ts +17 -0
  194. package/src/compiler/manifest/operations.ts +175 -0
  195. package/src/compiler/manifest/parse.ts +390 -0
  196. package/src/compiler/manifest/registry.ts +74 -0
  197. package/src/compiler/manifest/resolve.ts +159 -0
  198. package/src/compiler/manifest/types.ts +112 -0
  199. package/src/compiler/named-body/index.ts +1 -0
  200. package/src/compiler/named-body/lowering.ts +186 -0
  201. package/src/compiler/pipeline/compiler.ts +138 -0
  202. package/src/compiler/pipeline/core-generator.ts +486 -0
  203. package/src/compiler/pipeline/index.ts +5 -0
  204. package/src/compiler/pipeline/registry.ts +18 -0
  205. package/src/compiler/pipeline/requirements.ts +139 -0
  206. package/src/compiler/pipeline/types.ts +59 -0
  207. package/src/compiler/runtime/error.ts +11 -0
  208. package/src/compiler/runtime/index.ts +1 -0
  209. package/src/compiler/structured-data/index.ts +3 -0
  210. package/src/compiler/structured-data/lowering.ts +314 -0
  211. package/src/compiler/structured-data/path.ts +53 -0
  212. package/src/compiler/structured-data/runtime.ts +221 -0
  213. package/src/compiler/turbowarp-v2.ts +610 -0
  214. package/src/compiler/validator/index.ts +4 -0
  215. package/src/compiler/validator/ir-validator.ts +812 -0
  216. package/src/compiler/validator/resource-lifetime.ts +153 -0
  217. package/src/compiler/validator/turbowarp-subset.ts +387 -0
  218. package/src/compiler/validator/types.ts +68 -0
  219. package/src/extension.ts +87 -1
  220. package/src/fixed-input-editors.ts +181 -0
  221. package/src/fixed-input-schema.ts +15 -0
  222. package/src/named-body.ts +495 -0
  223. package/src/named-data-namespace.ts +6 -0
  224. package/src/protocol.ts +50 -1
  225. package/src/resource-named-body-provider.ts +106 -0
  226. package/src/server.ts +88 -8
  227. package/docs/turbowarp-http-server.architecture.visual-check.1440x900.dark.png +0 -0
  228. package/docs/turbowarp-http-server.architecture.visual-check.1440x900.light.png +0 -0
  229. package/docs/turbowarp-http-server.architecture.visual-check.2048x1320.dark.png +0 -0
  230. package/docs/turbowarp-http-server.architecture.visual-check.2048x1320.light.png +0 -0
  231. package/docs/turbowarp-http-server.architecture.visual-check.html +0 -32
  232. package/docs/turbowarp-http-server.architecture.visual-check.json +0 -547
  233. package/schemas/extension-manifest.schema.json +0 -49
  234. package/src/extension-manifest.ts +0 -149
@@ -1,547 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "ok": true,
4
- "command": "visual-check",
5
- "status": "pass",
6
- "visualReview": "pending",
7
- "artifact": {
8
- "path": "/Users/hiroya/Dev/turbowarp-http-server/docs/turbowarp-http-server.architecture.html",
9
- "sha256": "dba5f63981f662eb0b9f41fc212dcd62af6ddc543f09f276acd017958881be5a",
10
- "bytes": 757734
11
- },
12
- "state": {
13
- "detail": "read",
14
- "motion": "still"
15
- },
16
- "chrome": {
17
- "status": "available",
18
- "executable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
19
- },
20
- "diagnostics": [],
21
- "containment": {
22
- "status": "pass",
23
- "viewports": [
24
- {
25
- "width": 1440,
26
- "height": 900,
27
- "theme": "light",
28
- "innerWidth": 1440,
29
- "innerHeight": 900,
30
- "scrollWidth": 1440,
31
- "scrollHeight": 900,
32
- "overflowX": false,
33
- "overflowY": false,
34
- "ok": true,
35
- "readerWidth": 1363,
36
- "diagramWidth": 1333,
37
- "viewBoxWidth": 1390,
38
- "minimumProjectedNodeTextPx": 8.630935251798562,
39
- "minimumProjectedNodeText": "Browser/fetch/LAN",
40
- "minimumProjectedNodeTextDetail": "context",
41
- "minimumRequiredNodeTextPx": 6,
42
- "readabilityOk": true,
43
- "hasLegend": true,
44
- "hasNavigationDock": true,
45
- "legendDockIntersectionArea": 0,
46
- "dockStageIntersectionArea": 0,
47
- "dockStageGap": 10.21875,
48
- "requiredDockStageGap": 10,
49
- "viewerChromeStageOk": true,
50
- "viewerChromeReserve": 51,
51
- "viewerChromeActive": true,
52
- "viewerChromeOk": true,
53
- "resolvedTheme": "light"
54
- },
55
- {
56
- "width": 1600,
57
- "height": 1000,
58
- "theme": "light",
59
- "innerWidth": 1600,
60
- "innerHeight": 1000,
61
- "scrollWidth": 1600,
62
- "scrollHeight": 1000,
63
- "overflowX": false,
64
- "overflowY": false,
65
- "ok": true,
66
- "readerWidth": 1447,
67
- "diagramWidth": 1417,
68
- "viewBoxWidth": 1390,
69
- "minimumProjectedNodeTextPx": 9,
70
- "minimumProjectedNodeText": "Browser/fetch/LAN",
71
- "minimumProjectedNodeTextDetail": "context",
72
- "minimumRequiredNodeTextPx": 6,
73
- "readabilityOk": true,
74
- "hasLegend": true,
75
- "hasNavigationDock": true,
76
- "legendDockIntersectionArea": 0,
77
- "dockStageIntersectionArea": 0,
78
- "dockStageGap": 10.21875,
79
- "requiredDockStageGap": 10,
80
- "viewerChromeStageOk": true,
81
- "viewerChromeReserve": 51,
82
- "viewerChromeActive": true,
83
- "viewerChromeOk": true,
84
- "resolvedTheme": "light"
85
- },
86
- {
87
- "width": 1920,
88
- "height": 1080,
89
- "theme": "light",
90
- "innerWidth": 1920,
91
- "innerHeight": 1080,
92
- "scrollWidth": 1920,
93
- "scrollHeight": 1080,
94
- "overflowX": false,
95
- "overflowY": false,
96
- "ok": true,
97
- "readerWidth": 1646,
98
- "diagramWidth": 1616,
99
- "viewBoxWidth": 1390,
100
- "minimumProjectedNodeTextPx": 9,
101
- "minimumProjectedNodeText": "Browser/fetch/LAN",
102
- "minimumProjectedNodeTextDetail": "context",
103
- "minimumRequiredNodeTextPx": 6,
104
- "readabilityOk": true,
105
- "hasLegend": true,
106
- "hasNavigationDock": true,
107
- "legendDockIntersectionArea": 0,
108
- "dockStageIntersectionArea": 0,
109
- "dockStageGap": 10.21875,
110
- "requiredDockStageGap": 10,
111
- "viewerChromeStageOk": true,
112
- "viewerChromeReserve": 51,
113
- "viewerChromeActive": true,
114
- "viewerChromeOk": true,
115
- "resolvedTheme": "light"
116
- },
117
- {
118
- "width": 2048,
119
- "height": 1320,
120
- "theme": "light",
121
- "innerWidth": 2048,
122
- "innerHeight": 1320,
123
- "scrollWidth": 2048,
124
- "scrollHeight": 1320,
125
- "overflowX": false,
126
- "overflowY": false,
127
- "ok": true,
128
- "readerWidth": 1920,
129
- "diagramWidth": 1870,
130
- "viewBoxWidth": 1390,
131
- "minimumProjectedNodeTextPx": 9,
132
- "minimumProjectedNodeText": "Browser/fetch/LAN",
133
- "minimumProjectedNodeTextDetail": "context",
134
- "minimumRequiredNodeTextPx": 6,
135
- "readabilityOk": true,
136
- "hasLegend": true,
137
- "hasNavigationDock": true,
138
- "legendDockIntersectionArea": 0,
139
- "dockStageIntersectionArea": 0,
140
- "dockStageGap": 10.21875,
141
- "requiredDockStageGap": 10,
142
- "viewerChromeStageOk": true,
143
- "viewerChromeReserve": 41,
144
- "viewerChromeActive": true,
145
- "viewerChromeOk": true,
146
- "resolvedTheme": "light"
147
- }
148
- ]
149
- },
150
- "readability": {
151
- "status": "pass",
152
- "minimumProjectedNodeTextPx": 6,
153
- "viewports": [
154
- {
155
- "width": 1440,
156
- "height": 900,
157
- "theme": "light",
158
- "innerWidth": 1440,
159
- "innerHeight": 900,
160
- "scrollWidth": 1440,
161
- "scrollHeight": 900,
162
- "overflowX": false,
163
- "overflowY": false,
164
- "ok": true,
165
- "readerWidth": 1363,
166
- "diagramWidth": 1333,
167
- "viewBoxWidth": 1390,
168
- "minimumProjectedNodeTextPx": 8.630935251798562,
169
- "minimumProjectedNodeText": "Browser/fetch/LAN",
170
- "minimumProjectedNodeTextDetail": "context",
171
- "minimumRequiredNodeTextPx": 6,
172
- "readabilityOk": true,
173
- "hasLegend": true,
174
- "hasNavigationDock": true,
175
- "legendDockIntersectionArea": 0,
176
- "dockStageIntersectionArea": 0,
177
- "dockStageGap": 10.21875,
178
- "requiredDockStageGap": 10,
179
- "viewerChromeStageOk": true,
180
- "viewerChromeReserve": 51,
181
- "viewerChromeActive": true,
182
- "viewerChromeOk": true,
183
- "resolvedTheme": "light"
184
- },
185
- {
186
- "width": 1600,
187
- "height": 1000,
188
- "theme": "light",
189
- "innerWidth": 1600,
190
- "innerHeight": 1000,
191
- "scrollWidth": 1600,
192
- "scrollHeight": 1000,
193
- "overflowX": false,
194
- "overflowY": false,
195
- "ok": true,
196
- "readerWidth": 1447,
197
- "diagramWidth": 1417,
198
- "viewBoxWidth": 1390,
199
- "minimumProjectedNodeTextPx": 9,
200
- "minimumProjectedNodeText": "Browser/fetch/LAN",
201
- "minimumProjectedNodeTextDetail": "context",
202
- "minimumRequiredNodeTextPx": 6,
203
- "readabilityOk": true,
204
- "hasLegend": true,
205
- "hasNavigationDock": true,
206
- "legendDockIntersectionArea": 0,
207
- "dockStageIntersectionArea": 0,
208
- "dockStageGap": 10.21875,
209
- "requiredDockStageGap": 10,
210
- "viewerChromeStageOk": true,
211
- "viewerChromeReserve": 51,
212
- "viewerChromeActive": true,
213
- "viewerChromeOk": true,
214
- "resolvedTheme": "light"
215
- },
216
- {
217
- "width": 1920,
218
- "height": 1080,
219
- "theme": "light",
220
- "innerWidth": 1920,
221
- "innerHeight": 1080,
222
- "scrollWidth": 1920,
223
- "scrollHeight": 1080,
224
- "overflowX": false,
225
- "overflowY": false,
226
- "ok": true,
227
- "readerWidth": 1646,
228
- "diagramWidth": 1616,
229
- "viewBoxWidth": 1390,
230
- "minimumProjectedNodeTextPx": 9,
231
- "minimumProjectedNodeText": "Browser/fetch/LAN",
232
- "minimumProjectedNodeTextDetail": "context",
233
- "minimumRequiredNodeTextPx": 6,
234
- "readabilityOk": true,
235
- "hasLegend": true,
236
- "hasNavigationDock": true,
237
- "legendDockIntersectionArea": 0,
238
- "dockStageIntersectionArea": 0,
239
- "dockStageGap": 10.21875,
240
- "requiredDockStageGap": 10,
241
- "viewerChromeStageOk": true,
242
- "viewerChromeReserve": 51,
243
- "viewerChromeActive": true,
244
- "viewerChromeOk": true,
245
- "resolvedTheme": "light"
246
- },
247
- {
248
- "width": 2048,
249
- "height": 1320,
250
- "theme": "light",
251
- "innerWidth": 2048,
252
- "innerHeight": 1320,
253
- "scrollWidth": 2048,
254
- "scrollHeight": 1320,
255
- "overflowX": false,
256
- "overflowY": false,
257
- "ok": true,
258
- "readerWidth": 1920,
259
- "diagramWidth": 1870,
260
- "viewBoxWidth": 1390,
261
- "minimumProjectedNodeTextPx": 9,
262
- "minimumProjectedNodeText": "Browser/fetch/LAN",
263
- "minimumProjectedNodeTextDetail": "context",
264
- "minimumRequiredNodeTextPx": 6,
265
- "readabilityOk": true,
266
- "hasLegend": true,
267
- "hasNavigationDock": true,
268
- "legendDockIntersectionArea": 0,
269
- "dockStageIntersectionArea": 0,
270
- "dockStageGap": 10.21875,
271
- "requiredDockStageGap": 10,
272
- "viewerChromeStageOk": true,
273
- "viewerChromeReserve": 41,
274
- "viewerChromeActive": true,
275
- "viewerChromeOk": true,
276
- "resolvedTheme": "light"
277
- }
278
- ]
279
- },
280
- "viewerChrome": {
281
- "status": "pass",
282
- "viewports": [
283
- {
284
- "width": 1440,
285
- "height": 900,
286
- "theme": "light",
287
- "innerWidth": 1440,
288
- "innerHeight": 900,
289
- "scrollWidth": 1440,
290
- "scrollHeight": 900,
291
- "overflowX": false,
292
- "overflowY": false,
293
- "ok": true,
294
- "readerWidth": 1363,
295
- "diagramWidth": 1333,
296
- "viewBoxWidth": 1390,
297
- "minimumProjectedNodeTextPx": 8.630935251798562,
298
- "minimumProjectedNodeText": "Browser/fetch/LAN",
299
- "minimumProjectedNodeTextDetail": "context",
300
- "minimumRequiredNodeTextPx": 6,
301
- "readabilityOk": true,
302
- "hasLegend": true,
303
- "hasNavigationDock": true,
304
- "legendDockIntersectionArea": 0,
305
- "dockStageIntersectionArea": 0,
306
- "dockStageGap": 10.21875,
307
- "requiredDockStageGap": 10,
308
- "viewerChromeStageOk": true,
309
- "viewerChromeReserve": 51,
310
- "viewerChromeActive": true,
311
- "viewerChromeOk": true,
312
- "resolvedTheme": "light"
313
- },
314
- {
315
- "width": 1600,
316
- "height": 1000,
317
- "theme": "light",
318
- "innerWidth": 1600,
319
- "innerHeight": 1000,
320
- "scrollWidth": 1600,
321
- "scrollHeight": 1000,
322
- "overflowX": false,
323
- "overflowY": false,
324
- "ok": true,
325
- "readerWidth": 1447,
326
- "diagramWidth": 1417,
327
- "viewBoxWidth": 1390,
328
- "minimumProjectedNodeTextPx": 9,
329
- "minimumProjectedNodeText": "Browser/fetch/LAN",
330
- "minimumProjectedNodeTextDetail": "context",
331
- "minimumRequiredNodeTextPx": 6,
332
- "readabilityOk": true,
333
- "hasLegend": true,
334
- "hasNavigationDock": true,
335
- "legendDockIntersectionArea": 0,
336
- "dockStageIntersectionArea": 0,
337
- "dockStageGap": 10.21875,
338
- "requiredDockStageGap": 10,
339
- "viewerChromeStageOk": true,
340
- "viewerChromeReserve": 51,
341
- "viewerChromeActive": true,
342
- "viewerChromeOk": true,
343
- "resolvedTheme": "light"
344
- },
345
- {
346
- "width": 1920,
347
- "height": 1080,
348
- "theme": "light",
349
- "innerWidth": 1920,
350
- "innerHeight": 1080,
351
- "scrollWidth": 1920,
352
- "scrollHeight": 1080,
353
- "overflowX": false,
354
- "overflowY": false,
355
- "ok": true,
356
- "readerWidth": 1646,
357
- "diagramWidth": 1616,
358
- "viewBoxWidth": 1390,
359
- "minimumProjectedNodeTextPx": 9,
360
- "minimumProjectedNodeText": "Browser/fetch/LAN",
361
- "minimumProjectedNodeTextDetail": "context",
362
- "minimumRequiredNodeTextPx": 6,
363
- "readabilityOk": true,
364
- "hasLegend": true,
365
- "hasNavigationDock": true,
366
- "legendDockIntersectionArea": 0,
367
- "dockStageIntersectionArea": 0,
368
- "dockStageGap": 10.21875,
369
- "requiredDockStageGap": 10,
370
- "viewerChromeStageOk": true,
371
- "viewerChromeReserve": 51,
372
- "viewerChromeActive": true,
373
- "viewerChromeOk": true,
374
- "resolvedTheme": "light"
375
- },
376
- {
377
- "width": 2048,
378
- "height": 1320,
379
- "theme": "light",
380
- "innerWidth": 2048,
381
- "innerHeight": 1320,
382
- "scrollWidth": 2048,
383
- "scrollHeight": 1320,
384
- "overflowX": false,
385
- "overflowY": false,
386
- "ok": true,
387
- "readerWidth": 1920,
388
- "diagramWidth": 1870,
389
- "viewBoxWidth": 1390,
390
- "minimumProjectedNodeTextPx": 9,
391
- "minimumProjectedNodeText": "Browser/fetch/LAN",
392
- "minimumProjectedNodeTextDetail": "context",
393
- "minimumRequiredNodeTextPx": 6,
394
- "readabilityOk": true,
395
- "hasLegend": true,
396
- "hasNavigationDock": true,
397
- "legendDockIntersectionArea": 0,
398
- "dockStageIntersectionArea": 0,
399
- "dockStageGap": 10.21875,
400
- "requiredDockStageGap": 10,
401
- "viewerChromeStageOk": true,
402
- "viewerChromeReserve": 41,
403
- "viewerChromeActive": true,
404
- "viewerChromeOk": true,
405
- "resolvedTheme": "light"
406
- }
407
- ]
408
- },
409
- "captures": {
410
- "status": "pass",
411
- "screenshots": [
412
- {
413
- "width": 1440,
414
- "height": 900,
415
- "theme": "light",
416
- "innerWidth": 1440,
417
- "innerHeight": 900,
418
- "scrollWidth": 1440,
419
- "scrollHeight": 900,
420
- "overflowX": false,
421
- "overflowY": false,
422
- "ok": true,
423
- "readerWidth": 1363,
424
- "diagramWidth": 1333,
425
- "viewBoxWidth": 1390,
426
- "minimumProjectedNodeTextPx": 8.630935251798562,
427
- "minimumProjectedNodeText": "Browser/fetch/LAN",
428
- "minimumProjectedNodeTextDetail": "context",
429
- "minimumRequiredNodeTextPx": 6,
430
- "readabilityOk": true,
431
- "hasLegend": true,
432
- "hasNavigationDock": true,
433
- "legendDockIntersectionArea": 0,
434
- "dockStageIntersectionArea": 0,
435
- "dockStageGap": 10.21875,
436
- "requiredDockStageGap": 10,
437
- "viewerChromeStageOk": true,
438
- "viewerChromeReserve": 51,
439
- "viewerChromeActive": true,
440
- "viewerChromeOk": true,
441
- "resolvedTheme": "light",
442
- "file": "turbowarp-http-server.architecture.visual-check.1440x900.light.png"
443
- },
444
- {
445
- "width": 1440,
446
- "height": 900,
447
- "theme": "dark",
448
- "innerWidth": 1440,
449
- "innerHeight": 900,
450
- "scrollWidth": 1440,
451
- "scrollHeight": 900,
452
- "overflowX": false,
453
- "overflowY": false,
454
- "ok": true,
455
- "readerWidth": 1363,
456
- "diagramWidth": 1333,
457
- "viewBoxWidth": 1390,
458
- "minimumProjectedNodeTextPx": 8.630935251798562,
459
- "minimumProjectedNodeText": "Browser/fetch/LAN",
460
- "minimumProjectedNodeTextDetail": "context",
461
- "minimumRequiredNodeTextPx": 6,
462
- "readabilityOk": true,
463
- "hasLegend": true,
464
- "hasNavigationDock": true,
465
- "legendDockIntersectionArea": 0,
466
- "dockStageIntersectionArea": 0,
467
- "dockStageGap": 10.21875,
468
- "requiredDockStageGap": 10,
469
- "viewerChromeStageOk": true,
470
- "viewerChromeReserve": 51,
471
- "viewerChromeActive": true,
472
- "viewerChromeOk": true,
473
- "resolvedTheme": "dark",
474
- "file": "turbowarp-http-server.architecture.visual-check.1440x900.dark.png"
475
- },
476
- {
477
- "width": 2048,
478
- "height": 1320,
479
- "theme": "light",
480
- "innerWidth": 2048,
481
- "innerHeight": 1320,
482
- "scrollWidth": 2048,
483
- "scrollHeight": 1320,
484
- "overflowX": false,
485
- "overflowY": false,
486
- "ok": true,
487
- "readerWidth": 1920,
488
- "diagramWidth": 1870,
489
- "viewBoxWidth": 1390,
490
- "minimumProjectedNodeTextPx": 9,
491
- "minimumProjectedNodeText": "Browser/fetch/LAN",
492
- "minimumProjectedNodeTextDetail": "context",
493
- "minimumRequiredNodeTextPx": 6,
494
- "readabilityOk": true,
495
- "hasLegend": true,
496
- "hasNavigationDock": true,
497
- "legendDockIntersectionArea": 0,
498
- "dockStageIntersectionArea": 0,
499
- "dockStageGap": 10.21875,
500
- "requiredDockStageGap": 10,
501
- "viewerChromeStageOk": true,
502
- "viewerChromeReserve": 41,
503
- "viewerChromeActive": true,
504
- "viewerChromeOk": true,
505
- "resolvedTheme": "light",
506
- "file": "turbowarp-http-server.architecture.visual-check.2048x1320.light.png"
507
- },
508
- {
509
- "width": 2048,
510
- "height": 1320,
511
- "theme": "dark",
512
- "innerWidth": 2048,
513
- "innerHeight": 1320,
514
- "scrollWidth": 2048,
515
- "scrollHeight": 1320,
516
- "overflowX": false,
517
- "overflowY": false,
518
- "ok": true,
519
- "readerWidth": 1920,
520
- "diagramWidth": 1870,
521
- "viewBoxWidth": 1390,
522
- "minimumProjectedNodeTextPx": 9,
523
- "minimumProjectedNodeText": "Browser/fetch/LAN",
524
- "minimumProjectedNodeTextDetail": "context",
525
- "minimumRequiredNodeTextPx": 6,
526
- "readabilityOk": true,
527
- "hasLegend": true,
528
- "hasNavigationDock": true,
529
- "legendDockIntersectionArea": 0,
530
- "dockStageIntersectionArea": 0,
531
- "dockStageGap": 10.21875,
532
- "requiredDockStageGap": 10,
533
- "viewerChromeStageOk": true,
534
- "viewerChromeReserve": 41,
535
- "viewerChromeActive": true,
536
- "viewerChromeOk": true,
537
- "resolvedTheme": "dark",
538
- "file": "turbowarp-http-server.architecture.visual-check.2048x1320.dark.png"
539
- }
540
- ],
541
- "contactSheet": "turbowarp-http-server.architecture.visual-check.html"
542
- },
543
- "sidecars": {
544
- "receipt": "turbowarp-http-server.architecture.visual-check.json",
545
- "contactSheet": "turbowarp-http-server.architecture.visual-check.html"
546
- }
547
- }
@@ -1,49 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://raw.githubusercontent.com/kubohiroya/turbowarp-extension-template/main/schemas/extension-manifest.schema.json",
4
- "title": "TurboWarp Extension API Manifest",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "required": ["formatVersion", "id", "blocks", "menus"],
8
- "properties": {
9
- "formatVersion": {"const": 1},
10
- "id": {"type": "string", "pattern": "^[a-z0-9]+$"},
11
- "blocks": {
12
- "type": "array",
13
- "items": {
14
- "type": "object",
15
- "additionalProperties": false,
16
- "required": ["opcode", "blockType", "arguments"],
17
- "properties": {
18
- "opcode": {"type": "string", "minLength": 1},
19
- "blockType": {"type": "string", "minLength": 1},
20
- "arguments": {
21
- "type": "array",
22
- "items": {
23
- "type": "object",
24
- "additionalProperties": false,
25
- "required": ["id", "type"],
26
- "properties": {
27
- "id": {"type": "string", "minLength": 1},
28
- "type": {"type": "string", "minLength": 1},
29
- "menu": {"type": "string", "minLength": 1}
30
- }
31
- }
32
- }
33
- }
34
- }
35
- },
36
- "menus": {
37
- "type": "array",
38
- "items": {
39
- "type": "object",
40
- "additionalProperties": false,
41
- "required": ["id", "acceptReporters"],
42
- "properties": {
43
- "id": {"type": "string", "minLength": 1},
44
- "acceptReporters": {"type": "boolean"}
45
- }
46
- }
47
- }
48
- }
49
- }