@xoxoai/checkmate 0.6.6 → 0.7.0

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 (382) hide show
  1. package/dist/checkmate.js +13375 -0
  2. package/package.json +14 -100
  3. package/plugin/.claude-plugin/plugin.json +10 -0
  4. package/plugin/bin/checkmate.ts +3 -0
  5. package/plugin/contracts/finding.schema.json +78 -0
  6. package/plugin/contracts/gap.schema.json +56 -0
  7. package/plugin/contracts/plan-candidate.schema.json +103 -0
  8. package/plugin/contracts/plan-delta.schema.json +63 -0
  9. package/plugin/contracts/plan-patch.schema.json +116 -0
  10. package/plugin/contracts/plan-request.schema.json +108 -0
  11. package/plugin/contracts/plan.schema.json +313 -0
  12. package/plugin/contracts/profile.schema.json +154 -0
  13. package/plugin/contracts/response.schema.json +25 -0
  14. package/plugin/contracts/result.schema.json +410 -0
  15. package/plugin/dist/checkmate.js +13012 -0
  16. package/plugin/package.json +4 -0
  17. package/plugin/references/browser.md +35 -0
  18. package/plugin/references/http.md +30 -0
  19. package/plugin/references/workflow.md +122 -0
  20. package/plugin/skills/execute/SKILL.md +92 -0
  21. package/plugin/skills/plan/SKILL.md +94 -0
  22. package/plugin/skills/report/SKILL.md +28 -0
  23. package/plugin/skills/revise/SKILL.md +43 -0
  24. package/plugin/skills/setup/SKILL.md +82 -0
  25. package/plugin/skills/status/SKILL.md +20 -0
  26. package/plugin/skills/ui/SKILL.md +26 -0
  27. package/plugin/src/actor.ts +21 -0
  28. package/plugin/src/cli.ts +1133 -0
  29. package/plugin/src/contracts.ts +342 -0
  30. package/plugin/src/index.ts +52 -0
  31. package/plugin/src/plans.ts +1028 -0
  32. package/plugin/src/render.ts +544 -0
  33. package/plugin/src/runs.ts +868 -0
  34. package/plugin/src/store.ts +384 -0
  35. package/plugin/src/targets.ts +205 -0
  36. package/plugin/src/types.ts +319 -0
  37. package/plugin/src/ui/assets/client.js +501 -0
  38. package/plugin/src/ui/assets/favicon.svg +1 -0
  39. package/plugin/src/ui/assets/fonts/inter-OFL.txt +93 -0
  40. package/plugin/src/ui/assets/fonts/inter.woff2 +0 -0
  41. package/plugin/src/ui/assets/fonts/jetbrains-mono-OFL.txt +93 -0
  42. package/plugin/src/ui/assets/fonts/jetbrains-mono.woff2 +0 -0
  43. package/plugin/src/ui/assets/fonts/space-grotesk-OFL.txt +93 -0
  44. package/plugin/src/ui/assets/fonts/space-grotesk.woff2 +0 -0
  45. package/plugin/src/ui/assets/style.css +1926 -0
  46. package/plugin/src/ui/edit.ts +305 -0
  47. package/plugin/src/ui/forms.ts +209 -0
  48. package/plugin/src/ui/html.ts +130 -0
  49. package/plugin/src/ui/layout.ts +198 -0
  50. package/plugin/src/ui/lists.ts +645 -0
  51. package/plugin/src/ui/plan.ts +577 -0
  52. package/plugin/src/ui/run.ts +489 -0
  53. package/plugin/src/ui/server.ts +684 -0
  54. package/plugin/src/validators.d.ts +13 -0
  55. package/plugin/src/validators.js +1 -0
  56. package/plugin/src/views.ts +839 -0
  57. package/LICENSE +0 -21
  58. package/README.md +0 -294
  59. package/bin/checkmate.js +0 -13
  60. package/dist/ai/client.d.ts +0 -64
  61. package/dist/ai/client.d.ts.map +0 -1
  62. package/dist/ai/client.js +0 -313
  63. package/dist/ai/client.js.map +0 -1
  64. package/dist/ai/message-handler.d.ts +0 -9
  65. package/dist/ai/message-handler.d.ts.map +0 -1
  66. package/dist/ai/message-handler.js +0 -50
  67. package/dist/ai/message-handler.js.map +0 -1
  68. package/dist/ai/message-history.d.ts +0 -17
  69. package/dist/ai/message-history.d.ts.map +0 -1
  70. package/dist/ai/message-history.js +0 -45
  71. package/dist/ai/message-history.js.map +0 -1
  72. package/dist/ai/prompts.d.ts +0 -4
  73. package/dist/ai/prompts.d.ts.map +0 -1
  74. package/dist/ai/prompts.js +0 -24
  75. package/dist/ai/prompts.js.map +0 -1
  76. package/dist/ai/rate-limit-policy.d.ts +0 -9
  77. package/dist/ai/rate-limit-policy.d.ts.map +0 -1
  78. package/dist/ai/rate-limit-policy.js +0 -34
  79. package/dist/ai/rate-limit-policy.js.map +0 -1
  80. package/dist/ai/tool-response-handler.d.ts +0 -16
  81. package/dist/ai/tool-response-handler.d.ts.map +0 -1
  82. package/dist/ai/tool-response-handler.js +0 -85
  83. package/dist/ai/tool-response-handler.js.map +0 -1
  84. package/dist/ai/turn-processor.d.ts +0 -34
  85. package/dist/ai/turn-processor.d.ts.map +0 -1
  86. package/dist/ai/turn-processor.js +0 -107
  87. package/dist/ai/turn-processor.js.map +0 -1
  88. package/dist/api/allocate-run-identity.d.ts +0 -8
  89. package/dist/api/allocate-run-identity.d.ts.map +0 -1
  90. package/dist/api/allocate-run-identity.js +0 -10
  91. package/dist/api/allocate-run-identity.js.map +0 -1
  92. package/dist/api/execute-prepared-run.d.ts +0 -22
  93. package/dist/api/execute-prepared-run.d.ts.map +0 -1
  94. package/dist/api/execute-prepared-run.js +0 -184
  95. package/dist/api/execute-prepared-run.js.map +0 -1
  96. package/dist/api/index.d.ts +0 -25
  97. package/dist/api/index.d.ts.map +0 -1
  98. package/dist/api/index.js +0 -69
  99. package/dist/api/index.js.map +0 -1
  100. package/dist/api/prepare-run.d.ts +0 -44
  101. package/dist/api/prepare-run.d.ts.map +0 -1
  102. package/dist/api/prepare-run.js +0 -261
  103. package/dist/api/prepare-run.js.map +0 -1
  104. package/dist/cli/diagnostic-relay.d.ts +0 -6
  105. package/dist/cli/diagnostic-relay.d.ts.map +0 -1
  106. package/dist/cli/diagnostic-relay.js +0 -6
  107. package/dist/cli/diagnostic-relay.js.map +0 -1
  108. package/dist/cli/main.d.ts +0 -21
  109. package/dist/cli/main.d.ts.map +0 -1
  110. package/dist/cli/main.js +0 -166
  111. package/dist/cli/main.js.map +0 -1
  112. package/dist/cli/protocol.d.ts +0 -57
  113. package/dist/cli/protocol.d.ts.map +0 -1
  114. package/dist/cli/protocol.js +0 -116
  115. package/dist/cli/protocol.js.map +0 -1
  116. package/dist/cli/reconcile-result.d.ts +0 -13
  117. package/dist/cli/reconcile-result.d.ts.map +0 -1
  118. package/dist/cli/reconcile-result.js +0 -300
  119. package/dist/cli/reconcile-result.js.map +0 -1
  120. package/dist/cli/run-parent.d.ts +0 -37
  121. package/dist/cli/run-parent.d.ts.map +0 -1
  122. package/dist/cli/run-parent.js +0 -491
  123. package/dist/cli/run-parent.js.map +0 -1
  124. package/dist/cli/signals.d.ts +0 -36
  125. package/dist/cli/signals.d.ts.map +0 -1
  126. package/dist/cli/signals.js +0 -85
  127. package/dist/cli/signals.js.map +0 -1
  128. package/dist/cli/static-commands.d.ts +0 -11
  129. package/dist/cli/static-commands.d.ts.map +0 -1
  130. package/dist/cli/static-commands.js +0 -83
  131. package/dist/cli/static-commands.js.map +0 -1
  132. package/dist/cli/worker-stream-guard.d.ts +0 -20
  133. package/dist/cli/worker-stream-guard.d.ts.map +0 -1
  134. package/dist/cli/worker-stream-guard.js +0 -41
  135. package/dist/cli/worker-stream-guard.js.map +0 -1
  136. package/dist/cli/worker.d.ts +0 -3
  137. package/dist/cli/worker.d.ts.map +0 -1
  138. package/dist/cli/worker.js +0 -111
  139. package/dist/cli/worker.js.map +0 -1
  140. package/dist/config/ingestion.d.ts +0 -58
  141. package/dist/config/ingestion.d.ts.map +0 -1
  142. package/dist/config/ingestion.js +0 -283
  143. package/dist/config/ingestion.js.map +0 -1
  144. package/dist/config/manifest.d.ts +0 -20
  145. package/dist/config/manifest.d.ts.map +0 -1
  146. package/dist/config/manifest.js +0 -91
  147. package/dist/config/manifest.js.map +0 -1
  148. package/dist/config/model-egress.d.ts +0 -10
  149. package/dist/config/model-egress.d.ts.map +0 -1
  150. package/dist/config/model-egress.js +0 -62
  151. package/dist/config/model-egress.js.map +0 -1
  152. package/dist/config/package-resolution.d.ts +0 -4
  153. package/dist/config/package-resolution.d.ts.map +0 -1
  154. package/dist/config/package-resolution.js +0 -24
  155. package/dist/config/package-resolution.js.map +0 -1
  156. package/dist/config/policy.d.ts +0 -44
  157. package/dist/config/policy.d.ts.map +0 -1
  158. package/dist/config/policy.js +0 -141
  159. package/dist/config/policy.js.map +0 -1
  160. package/dist/config/record.d.ts +0 -4
  161. package/dist/config/record.d.ts.map +0 -1
  162. package/dist/config/record.js +0 -10
  163. package/dist/config/record.js.map +0 -1
  164. package/dist/config/secrets.d.ts +0 -11
  165. package/dist/config/secrets.d.ts.map +0 -1
  166. package/dist/config/secrets.js +0 -42
  167. package/dist/config/secrets.js.map +0 -1
  168. package/dist/contracts/diagnostics.d.ts +0 -4
  169. package/dist/contracts/diagnostics.d.ts.map +0 -1
  170. package/dist/contracts/diagnostics.js +0 -31
  171. package/dist/contracts/diagnostics.js.map +0 -1
  172. package/dist/contracts/serialize.d.ts +0 -2
  173. package/dist/contracts/serialize.d.ts.map +0 -1
  174. package/dist/contracts/serialize.js +0 -90
  175. package/dist/contracts/serialize.js.map +0 -1
  176. package/dist/contracts/types.d.ts +0 -316
  177. package/dist/contracts/types.d.ts.map +0 -1
  178. package/dist/contracts/types.js +0 -74
  179. package/dist/contracts/types.js.map +0 -1
  180. package/dist/contracts/validator.d.ts +0 -8
  181. package/dist/contracts/validator.d.ts.map +0 -1
  182. package/dist/contracts/validator.js +0 -71
  183. package/dist/contracts/validator.js.map +0 -1
  184. package/dist/driver.d.ts +0 -97
  185. package/dist/driver.d.ts.map +0 -1
  186. package/dist/driver.js +0 -24
  187. package/dist/driver.js.map +0 -1
  188. package/dist/drivers/descriptor.d.ts +0 -15
  189. package/dist/drivers/descriptor.d.ts.map +0 -1
  190. package/dist/drivers/descriptor.js +0 -122
  191. package/dist/drivers/descriptor.js.map +0 -1
  192. package/dist/drivers/loader.d.ts +0 -18
  193. package/dist/drivers/loader.d.ts.map +0 -1
  194. package/dist/drivers/loader.js +0 -97
  195. package/dist/drivers/loader.js.map +0 -1
  196. package/dist/drivers/web/checkmate-driver.json +0 -47
  197. package/dist/drivers/web/index.d.ts +0 -6
  198. package/dist/drivers/web/index.d.ts.map +0 -1
  199. package/dist/drivers/web/index.js +0 -27
  200. package/dist/drivers/web/index.js.map +0 -1
  201. package/dist/drivers/web/session.d.ts +0 -25
  202. package/dist/drivers/web/session.d.ts.map +0 -1
  203. package/dist/drivers/web/session.js +0 -132
  204. package/dist/drivers/web/session.js.map +0 -1
  205. package/dist/drivers/web/tools/network-request-recorder.d.ts +0 -46
  206. package/dist/drivers/web/tools/network-request-recorder.d.ts.map +0 -1
  207. package/dist/drivers/web/tools/network-request-recorder.js +0 -164
  208. package/dist/drivers/web/tools/network-request-recorder.js.map +0 -1
  209. package/dist/drivers/web/tools/screenshot-service.d.ts +0 -10
  210. package/dist/drivers/web/tools/screenshot-service.d.ts.map +0 -1
  211. package/dist/drivers/web/tools/screenshot-service.js +0 -23
  212. package/dist/drivers/web/tools/screenshot-service.js.map +0 -1
  213. package/dist/drivers/web/tools/snapshot-filter/index.d.ts +0 -4
  214. package/dist/drivers/web/tools/snapshot-filter/index.d.ts.map +0 -1
  215. package/dist/drivers/web/tools/snapshot-filter/index.js +0 -4
  216. package/dist/drivers/web/tools/snapshot-filter/index.js.map +0 -1
  217. package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.d.ts +0 -15
  218. package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.d.ts.map +0 -1
  219. package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.js +0 -99
  220. package/dist/drivers/web/tools/snapshot-filter/semantic-scorer.js.map +0 -1
  221. package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.d.ts +0 -5
  222. package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.d.ts.map +0 -1
  223. package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.js +0 -56
  224. package/dist/drivers/web/tools/snapshot-filter/snapshot-filter.js.map +0 -1
  225. package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.d.ts +0 -3
  226. package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.d.ts.map +0 -1
  227. package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.js +0 -85
  228. package/dist/drivers/web/tools/snapshot-filter/tree-reconstructor.js.map +0 -1
  229. package/dist/drivers/web/tools/snapshot-service.d.ts +0 -31
  230. package/dist/drivers/web/tools/snapshot-service.d.ts.map +0 -1
  231. package/dist/drivers/web/tools/snapshot-service.js +0 -96
  232. package/dist/drivers/web/tools/snapshot-service.js.map +0 -1
  233. package/dist/drivers/web/tools/tool.d.ts +0 -76
  234. package/dist/drivers/web/tools/tool.d.ts.map +0 -1
  235. package/dist/drivers/web/tools/tool.js +0 -562
  236. package/dist/drivers/web/tools/tool.js.map +0 -1
  237. package/dist/drivers/web/tools/transient-state-tracker.d.ts +0 -26
  238. package/dist/drivers/web/tools/transient-state-tracker.d.ts.map +0 -1
  239. package/dist/drivers/web/tools/transient-state-tracker.js +0 -301
  240. package/dist/drivers/web/tools/transient-state-tracker.js.map +0 -1
  241. package/dist/drivers/web/tools/types.d.ts +0 -11
  242. package/dist/drivers/web/tools/types.d.ts.map +0 -1
  243. package/dist/drivers/web/tools/types.js +0 -2
  244. package/dist/drivers/web/tools/types.js.map +0 -1
  245. package/dist/evidence/atomic-file.d.ts +0 -23
  246. package/dist/evidence/atomic-file.d.ts.map +0 -1
  247. package/dist/evidence/atomic-file.js +0 -104
  248. package/dist/evidence/atomic-file.js.map +0 -1
  249. package/dist/evidence/layout.d.ts +0 -30
  250. package/dist/evidence/layout.d.ts.map +0 -1
  251. package/dist/evidence/layout.js +0 -152
  252. package/dist/evidence/layout.js.map +0 -1
  253. package/dist/evidence/retention.d.ts +0 -5
  254. package/dist/evidence/retention.d.ts.map +0 -1
  255. package/dist/evidence/retention.js +0 -10
  256. package/dist/evidence/retention.js.map +0 -1
  257. package/dist/evidence/store.d.ts +0 -101
  258. package/dist/evidence/store.d.ts.map +0 -1
  259. package/dist/evidence/store.js +0 -375
  260. package/dist/evidence/store.js.map +0 -1
  261. package/dist/evidence/terminal-finalizer.d.ts +0 -19
  262. package/dist/evidence/terminal-finalizer.d.ts.map +0 -1
  263. package/dist/evidence/terminal-finalizer.js +0 -56
  264. package/dist/evidence/terminal-finalizer.js.map +0 -1
  265. package/dist/index.d.ts +0 -9
  266. package/dist/index.d.ts.map +0 -1
  267. package/dist/index.js +0 -12
  268. package/dist/index.js.map +0 -1
  269. package/dist/logging/invocation-logger.d.ts +0 -4
  270. package/dist/logging/invocation-logger.d.ts.map +0 -1
  271. package/dist/logging/invocation-logger.js +0 -25
  272. package/dist/logging/invocation-logger.js.map +0 -1
  273. package/dist/logging/level-logger.d.ts +0 -11
  274. package/dist/logging/level-logger.d.ts.map +0 -1
  275. package/dist/logging/level-logger.js +0 -82
  276. package/dist/logging/level-logger.js.map +0 -1
  277. package/dist/logging/types.d.ts +0 -8
  278. package/dist/logging/types.d.ts.map +0 -1
  279. package/dist/logging/types.js +0 -7
  280. package/dist/logging/types.js.map +0 -1
  281. package/dist/redaction/diagnostic-sanitizer.d.ts +0 -7
  282. package/dist/redaction/diagnostic-sanitizer.d.ts.map +0 -1
  283. package/dist/redaction/diagnostic-sanitizer.js +0 -42
  284. package/dist/redaction/diagnostic-sanitizer.js.map +0 -1
  285. package/dist/redaction/redactor.d.ts +0 -40
  286. package/dist/redaction/redactor.d.ts.map +0 -1
  287. package/dist/redaction/redactor.js +0 -176
  288. package/dist/redaction/redactor.js.map +0 -1
  289. package/dist/redaction/scrub.d.ts +0 -29
  290. package/dist/redaction/scrub.d.ts.map +0 -1
  291. package/dist/redaction/scrub.js +0 -54
  292. package/dist/redaction/scrub.js.map +0 -1
  293. package/dist/runtime/config.d.ts +0 -16
  294. package/dist/runtime/config.d.ts.map +0 -1
  295. package/dist/runtime/config.js +0 -2
  296. package/dist/runtime/config.js.map +0 -1
  297. package/dist/runtime/driver-boundary.d.ts +0 -16
  298. package/dist/runtime/driver-boundary.d.ts.map +0 -1
  299. package/dist/runtime/driver-boundary.js +0 -71
  300. package/dist/runtime/driver-boundary.js.map +0 -1
  301. package/dist/runtime/driver-session.d.ts +0 -9
  302. package/dist/runtime/driver-session.d.ts.map +0 -1
  303. package/dist/runtime/driver-session.js +0 -64
  304. package/dist/runtime/driver-session.js.map +0 -1
  305. package/dist/runtime/internal-step-evidence.d.ts +0 -30
  306. package/dist/runtime/internal-step-evidence.d.ts.map +0 -1
  307. package/dist/runtime/internal-step-evidence.js +0 -82
  308. package/dist/runtime/internal-step-evidence.js.map +0 -1
  309. package/dist/runtime/result-adapter.d.ts +0 -9
  310. package/dist/runtime/result-adapter.d.ts.map +0 -1
  311. package/dist/runtime/result-adapter.js +0 -77
  312. package/dist/runtime/result-adapter.js.map +0 -1
  313. package/dist/runtime/runner.d.ts +0 -43
  314. package/dist/runtime/runner.d.ts.map +0 -1
  315. package/dist/runtime/runner.js +0 -72
  316. package/dist/runtime/runner.js.map +0 -1
  317. package/dist/runtime/scenario-control.d.ts +0 -40
  318. package/dist/runtime/scenario-control.d.ts.map +0 -1
  319. package/dist/runtime/scenario-control.js +0 -94
  320. package/dist/runtime/scenario-control.js.map +0 -1
  321. package/dist/runtime/scenario-runner.d.ts +0 -41
  322. package/dist/runtime/scenario-runner.d.ts.map +0 -1
  323. package/dist/runtime/scenario-runner.js +0 -274
  324. package/dist/runtime/scenario-runner.js.map +0 -1
  325. package/dist/runtime/scenario-state.d.ts +0 -55
  326. package/dist/runtime/scenario-state.d.ts.map +0 -1
  327. package/dist/runtime/scenario-state.js +0 -128
  328. package/dist/runtime/scenario-state.js.map +0 -1
  329. package/dist/runtime/step-execution.d.ts +0 -27
  330. package/dist/runtime/step-execution.d.ts.map +0 -1
  331. package/dist/runtime/step-execution.js +0 -143
  332. package/dist/runtime/step-execution.js.map +0 -1
  333. package/dist/runtime/text.d.ts +0 -10
  334. package/dist/runtime/text.d.ts.map +0 -1
  335. package/dist/runtime/text.js +0 -25
  336. package/dist/runtime/text.js.map +0 -1
  337. package/dist/runtime/types.d.ts +0 -53
  338. package/dist/runtime/types.d.ts.map +0 -1
  339. package/dist/runtime/types.js +0 -2
  340. package/dist/runtime/types.js.map +0 -1
  341. package/dist/runtime/usage-tracker.d.ts +0 -37
  342. package/dist/runtime/usage-tracker.d.ts.map +0 -1
  343. package/dist/runtime/usage-tracker.js +0 -110
  344. package/dist/runtime/usage-tracker.js.map +0 -1
  345. package/dist/tools/define-agent-tool.d.ts +0 -20
  346. package/dist/tools/define-agent-tool.d.ts.map +0 -1
  347. package/dist/tools/define-agent-tool.js +0 -30
  348. package/dist/tools/define-agent-tool.js.map +0 -1
  349. package/dist/tools/dispatcher.d.ts +0 -19
  350. package/dist/tools/dispatcher.d.ts.map +0 -1
  351. package/dist/tools/dispatcher.js +0 -91
  352. package/dist/tools/dispatcher.js.map +0 -1
  353. package/dist/tools/loop-detector.d.ts +0 -27
  354. package/dist/tools/loop-detector.d.ts.map +0 -1
  355. package/dist/tools/loop-detector.js +0 -76
  356. package/dist/tools/loop-detector.js.map +0 -1
  357. package/dist/tools/registry.d.ts +0 -19
  358. package/dist/tools/registry.d.ts.map +0 -1
  359. package/dist/tools/registry.js +0 -54
  360. package/dist/tools/registry.js.map +0 -1
  361. package/dist/tools/step/result-tool.d.ts +0 -7
  362. package/dist/tools/step/result-tool.d.ts.map +0 -1
  363. package/dist/tools/step/result-tool.js +0 -34
  364. package/dist/tools/step/result-tool.js.map +0 -1
  365. package/dist/tools/tool-contract.d.ts +0 -3
  366. package/dist/tools/tool-contract.d.ts.map +0 -1
  367. package/dist/tools/tool-contract.js +0 -2
  368. package/dist/tools/tool-contract.js.map +0 -1
  369. package/dist/tools/types.d.ts +0 -210
  370. package/dist/tools/types.d.ts.map +0 -1
  371. package/dist/tools/types.js +0 -4
  372. package/dist/tools/types.js.map +0 -1
  373. package/docs/CLI.md +0 -59
  374. package/docs/CONFIGURATION.md +0 -105
  375. package/docs/DRIVERS.md +0 -79
  376. package/docs/EVIDENCE.md +0 -64
  377. package/schemas/checkmate-config.v1.json +0 -176
  378. package/schemas/describe-result.v1.json +0 -414
  379. package/schemas/driver-descriptor.v1.json +0 -66
  380. package/schemas/run-request.v1.json +0 -67
  381. package/schemas/run-result.v1.json +0 -333
  382. package/schemas/validation-result.v1.json +0 -86
@@ -0,0 +1,501 @@
1
+ const body = document.body
2
+ const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)')
3
+ const served = new Map(
4
+ [...document.querySelectorAll('[data-region]')].map((region) => [region.dataset.region, region.cloneNode(true)])
5
+ )
6
+
7
+ function syncRationale(root = document) {
8
+ for (const form of root.querySelectorAll('form')) {
9
+ const rationale = form.querySelector('[data-rationale]')
10
+ if (!rationale) continue
11
+ const empty = !rationale.value.trim()
12
+ for (const button of form.querySelectorAll('[data-needs-rationale]')) button.disabled = empty
13
+ }
14
+ }
15
+
16
+ function syncSource(root = document) {
17
+ for (const form of root.querySelectorAll('[data-gap-form]')) {
18
+ const kind = form.querySelector('input[name="kind"]:checked')
19
+ const source = form.querySelector('[data-source]')
20
+ if (source) source.required = kind?.value === 'clarify'
21
+ }
22
+ }
23
+
24
+ function confirmStart(form, button) {
25
+ let verdict = form.querySelector('[data-verdict-input]')
26
+ if (!verdict) {
27
+ verdict = document.createElement('input')
28
+ verdict.type = 'hidden'
29
+ verdict.name = 'verdict'
30
+ verdict.dataset.verdictInput = ''
31
+ form.append(verdict)
32
+ }
33
+ verdict.value = button.value
34
+ form.dataset.confirming = '1'
35
+ form.querySelector('[data-confirm-summary]').textContent = button.dataset.summary
36
+ form.querySelector('[data-confirm-submit]').textContent = button.dataset.confirmLabel
37
+ form.querySelector('[data-confirm]').hidden = false
38
+ form.querySelector('[data-confirm-buttons]').hidden = false
39
+ form.querySelector('[data-choose]').hidden = true
40
+ form.querySelector('[data-rationale]').readOnly = true
41
+ form.querySelector('[data-confirm-submit]').focus()
42
+ }
43
+
44
+ function confirmStop(form) {
45
+ form.querySelector('[data-verdict-input]')?.remove()
46
+ delete form.dataset.confirming
47
+ form.querySelector('[data-confirm]').hidden = true
48
+ form.querySelector('[data-confirm-buttons]').hidden = true
49
+ form.querySelector('[data-choose]').hidden = false
50
+ const rationale = form.querySelector('[data-rationale]')
51
+ rationale.readOnly = false
52
+ rationale.focus()
53
+ }
54
+
55
+ document.addEventListener('input', (event) => {
56
+ const form = event.target.closest?.('form')
57
+ if (form) syncRationale(form.parentElement ?? document)
58
+ })
59
+
60
+ document.addEventListener('change', (event) => {
61
+ if (event.target.name === 'kind') syncSource()
62
+ })
63
+
64
+ document.addEventListener('submit', (event) => {
65
+ const form = event.target
66
+ if (form.matches('[data-verdict-form]') && !form.dataset.confirming) {
67
+ const button = event.submitter
68
+ if (!button || button.name !== 'verdict') return
69
+ event.preventDefault()
70
+ confirmStart(form, button)
71
+ }
72
+ if (form.matches('[data-theme-form]')) {
73
+ event.preventDefault()
74
+ const button = form.querySelector('button[name="theme"]')
75
+ const data = new URLSearchParams(new FormData(form))
76
+ data.set('theme', button.value)
77
+ fetch(form.action, { method: 'POST', body: data, redirect: 'manual' }).catch(() => {})
78
+ applyTheme(form, button.value)
79
+ }
80
+ })
81
+
82
+ const themeOrder = { system: 'light', light: 'dark', dark: 'system' }
83
+
84
+ function applyTheme(form, theme) {
85
+ if (theme === 'system') delete document.documentElement.dataset.theme
86
+ else document.documentElement.dataset.theme = theme
87
+ const button = form.querySelector('button[name="theme"]')
88
+ const next = themeOrder[theme]
89
+ button.value = next
90
+ button.dataset.current = theme
91
+ button.title = `Theme: ${theme}. Switch to ${next}.`
92
+ button.setAttribute('aria-label', button.title)
93
+ }
94
+
95
+ document.addEventListener('click', (event) => {
96
+ const back = event.target.closest('[data-confirm-back]')
97
+ if (back) return confirmStop(back.closest('form'))
98
+ const image = event.target.closest('a[data-view-image]')
99
+ if (image && !event.ctrlKey && !event.metaKey && !event.shiftKey && event.button === 0) {
100
+ event.preventDefault()
101
+ openViewer(image)
102
+ }
103
+ if (event.target.closest('[data-viewer-close]')) closeViewer()
104
+ if (event.target.matches('[data-viewer]')) closeViewer()
105
+ if (event.target.closest('[data-shortcuts-open]')) toggleShortcuts()
106
+ if (event.target.closest('[data-shortcuts-close]')) toggleShortcuts(false)
107
+ })
108
+
109
+ const viewer = document.querySelector('[data-viewer]')
110
+ let viewerOpener = null
111
+
112
+ function openViewer(link) {
113
+ viewerOpener = link
114
+ viewer.querySelector('[data-viewer-image]').src = link.href
115
+ viewer.querySelector('[data-viewer-image]').alt = link.querySelector('img')?.alt ?? ''
116
+ viewer.querySelector('[data-viewer-name]').textContent = link.dataset.name ?? ''
117
+ viewer.querySelector('[data-viewer-open]').href = link.href
118
+ viewer.hidden = false
119
+ viewer.querySelector('[data-viewer-close]').focus()
120
+ }
121
+
122
+ function closeViewer() {
123
+ if (viewer.hidden) return false
124
+ viewer.hidden = true
125
+ viewer.querySelector('[data-viewer-image]').removeAttribute('src')
126
+ viewerOpener?.focus()
127
+ return true
128
+ }
129
+
130
+ const shortcuts = document.querySelector('[data-shortcuts]')
131
+
132
+ let shortcutsOpener = null
133
+
134
+ function toggleShortcuts(show = shortcuts.hidden) {
135
+ if (show && shortcuts.hidden) shortcutsOpener = document.activeElement
136
+ shortcuts.hidden = !show
137
+ if (show) shortcuts.querySelector('[data-shortcuts-close]').focus()
138
+ else shortcutsOpener?.focus()
139
+ return true
140
+ }
141
+
142
+ function navItems() {
143
+ return [...document.querySelectorAll('[data-nav-item]')].filter((item) => item.offsetParent !== null)
144
+ }
145
+
146
+ function move(step) {
147
+ const items = navItems()
148
+ if (!items.length) return
149
+ const index = items.indexOf(document.activeElement)
150
+ const next = index < 0 ? (step > 0 ? 0 : items.length - 1) : Math.min(items.length - 1, Math.max(0, index + step))
151
+ items[next].focus()
152
+ items[next].scrollIntoView({ block: 'nearest' })
153
+ }
154
+
155
+ let pendingG = false
156
+
157
+ document.addEventListener('keydown', (event) => {
158
+ if (event.defaultPrevented || event.ctrlKey || event.metaKey || event.altKey) return
159
+ const target = event.target
160
+ const typing = target.isContentEditable || /^(INPUT|TEXTAREA|SELECT)$/.test(target.tagName)
161
+ if (event.key === 'Escape') {
162
+ const menu = document.querySelector('details[data-menu][open]')
163
+ if (menu) {
164
+ menu.open = false
165
+ menu.querySelector('summary').focus()
166
+ event.preventDefault()
167
+ } else if (closeViewer() || (!shortcuts.hidden && toggleShortcuts(false))) event.preventDefault()
168
+ else if (typing) target.blur()
169
+ return
170
+ }
171
+ if (typing) return
172
+ if (pendingG) {
173
+ pendingG = false
174
+ if (event.key === 'i') return void (location.href = '/')
175
+ }
176
+ if (event.key === '/') {
177
+ const search = document.querySelector('[data-search]')
178
+ if (!search) return
179
+ event.preventDefault()
180
+ search.focus()
181
+ search.select()
182
+ } else if (event.key === 'j') move(1)
183
+ else if (event.key === 'k') move(-1)
184
+ else if (event.key === '?') toggleShortcuts()
185
+ else if (event.key === 'g') pendingG = true
186
+ })
187
+
188
+ function normalize(text) {
189
+ return text.replace(/<time[^>]*>[\s\S]*?<\/time>/g, '').replace(/\s+/g, ' ')
190
+ }
191
+
192
+ function dirty(region) {
193
+ if (region.querySelector('form[data-confirming]')) return true
194
+ for (const field of region.querySelectorAll('textarea, input, select')) {
195
+ if (field.type === 'hidden') continue
196
+ if (field.type === 'radio' || field.type === 'checkbox') {
197
+ if (field.checked !== field.defaultChecked) return true
198
+ } else if (field.tagName === 'SELECT') {
199
+ if ([...field.options].some((option) => option.selected !== option.defaultSelected)) return true
200
+ } else if (field.value !== field.defaultValue) return true
201
+ }
202
+ return false
203
+ }
204
+
205
+ function staleNotice(region) {
206
+ const slot = region.querySelector('[data-stale-slot]')
207
+ if (!slot || slot.querySelector('[data-live-stale]')) return
208
+ const notice = document.createElement('div')
209
+ notice.className = 'banner warn'
210
+ notice.setAttribute('role', 'status')
211
+ notice.dataset.liveStale = ''
212
+ notice.textContent = region.dataset.staleMessage || 'This item changed. Review it before you decide.'
213
+ slot.prepend(notice)
214
+ announce(notice.textContent)
215
+ }
216
+
217
+ function keyed(root) {
218
+ const map = new Map()
219
+ for (const element of root.querySelectorAll('[data-key]')) map.set(element.dataset.key, element)
220
+ return map
221
+ }
222
+
223
+ function focusKey() {
224
+ const active = document.activeElement
225
+ if (!active || active === body) return null
226
+ const owner = active.closest('[data-key]')
227
+ return {
228
+ id: active.id || null,
229
+ key: owner?.dataset.key ?? null,
230
+ navIndex: active.matches('[data-nav-item]') ? navItems().indexOf(active) : -1,
231
+ region: active.closest('[data-region]'),
232
+ }
233
+ }
234
+
235
+ function restoreFocus(saved) {
236
+ if (!saved || document.activeElement !== body) return
237
+ const byId = saved.id && document.getElementById(saved.id)
238
+ if (byId) return byId.focus({ preventScroll: true })
239
+ if (saved.key) {
240
+ const owner = document.querySelector(`[data-key="${CSS.escape(saved.key)}"]`)
241
+ const target = owner?.matches('[data-nav-item]') ? owner : owner?.querySelector('[data-nav-item], a, summary')
242
+ if (target) return target.focus({ preventScroll: true })
243
+ }
244
+ if (saved.navIndex >= 0) {
245
+ const items = navItems()
246
+ if (items.length) items[Math.min(saved.navIndex, items.length - 1)].focus({ preventScroll: true })
247
+ }
248
+ }
249
+
250
+ function replaceRegion(region, fresh, previous) {
251
+ const before = keyed(previous ?? region)
252
+ const opened = new Map(
253
+ [...region.querySelectorAll('details[data-open-key]')].map((details) => [details.dataset.openKey, details.open])
254
+ )
255
+ const saved = focusKey()
256
+ const next = document.importNode(fresh, true)
257
+ for (const details of next.querySelectorAll('details[data-open-key]'))
258
+ if (opened.has(details.dataset.openKey)) details.open = opened.get(details.dataset.openKey)
259
+ region.replaceWith(next)
260
+ if (saved?.region === region) restoreFocus(saved)
261
+ const changed = [...keyed(next)]
262
+ .filter(
263
+ ([key, element]) =>
264
+ !before.has(key) || normalize(before.get(key).outerHTML) !== normalize(element.outerHTML)
265
+ )
266
+ .map(([, element]) => element)
267
+ const innermost = changed.filter(
268
+ (element) => !changed.some((other) => other !== element && element.contains(other))
269
+ )
270
+ for (const element of innermost) {
271
+ element.classList.add('changed')
272
+ if (!reducedMotion.matches) setTimeout(() => element.classList.remove('changed'), 2000)
273
+ }
274
+ syncRationale(next)
275
+ syncSource(next)
276
+ return innermost.map((element) => element.dataset.announce).filter(Boolean)
277
+ }
278
+
279
+ const announcer = document.querySelector('[data-announcer]')
280
+
281
+ function announce(text) {
282
+ if (!text) return
283
+ announcer.textContent = ''
284
+ setTimeout(() => (announcer.textContent = text), 50)
285
+ }
286
+
287
+ let refreshing = false
288
+ let again = false
289
+
290
+ async function refresh() {
291
+ if (refreshing) return void (again = true)
292
+ refreshing = true
293
+ try {
294
+ const response = await fetch(location.pathname + location.search, { cache: 'no-store' })
295
+ if (!response.ok) return
296
+ const fresh = new DOMParser().parseFromString(await response.text(), 'text/html')
297
+ const messages = []
298
+ for (const region of [...document.querySelectorAll('[data-region]')]) {
299
+ const name = region.dataset.region
300
+ const replacement = fresh.querySelector(`[data-region="${name}"]`)
301
+ const previous = served.get(name)
302
+ if (!replacement || (previous && normalize(previous.outerHTML) === normalize(replacement.outerHTML)))
303
+ continue
304
+ if (dirty(region)) {
305
+ staleNotice(region)
306
+ continue
307
+ }
308
+ messages.push(...replaceRegion(region, replacement, previous))
309
+ served.set(name, replacement.cloneNode(true))
310
+ }
311
+ document.title = fresh.title
312
+ if (messages.length) announce(messages.join('. '))
313
+ } catch {
314
+ } finally {
315
+ refreshing = false
316
+ if (again) {
317
+ again = false
318
+ refresh()
319
+ }
320
+ }
321
+ }
322
+
323
+ const live = document.querySelector('[data-live]')
324
+ let source = null
325
+ let last = body.dataset.cursor ?? '0'
326
+
327
+ function setLive(up) {
328
+ live.hidden = false
329
+ live.classList.toggle('down', !up)
330
+ live.textContent = up ? '● Live' : '○ Reconnecting…'
331
+ }
332
+
333
+ function connect() {
334
+ if (source || !body.dataset.subjects || !window.EventSource) return
335
+ const subjects = encodeURIComponent(body.dataset.subjects)
336
+ source = new EventSource(`/events?subjects=${subjects}&after=${encodeURIComponent(last)}`)
337
+ source.onopen = () => setLive(true)
338
+ source.onerror = () => setLive(false)
339
+ source.onmessage = (event) => {
340
+ if (event.lastEventId) last = event.lastEventId
341
+ refresh()
342
+ }
343
+ }
344
+
345
+ function disconnect() {
346
+ source?.close()
347
+ source = null
348
+ }
349
+
350
+ document.addEventListener('visibilitychange', () => {
351
+ if (document.hidden) disconnect()
352
+ else {
353
+ connect()
354
+ refresh()
355
+ }
356
+ })
357
+
358
+ const listForm = document.querySelector('[data-list-form]')
359
+ let typingTimer = null
360
+ let listTicket = 0
361
+
362
+ function listUrl(form) {
363
+ const params = new URLSearchParams()
364
+ for (const field of form.elements) {
365
+ if (!field.name || field.value === '' || field.value === (field.dataset.default ?? '')) continue
366
+ params.set(field.name, field.value)
367
+ }
368
+ const query = params.toString()
369
+ return form.getAttribute('action') + (query ? `?${query}` : '')
370
+ }
371
+
372
+ function syncListForm(url) {
373
+ const params = new URL(url, location.href).searchParams
374
+ for (const field of listForm.elements) {
375
+ if (!field.name || field === document.activeElement) continue
376
+ field.value = params.get(field.name) ?? field.dataset.default ?? ''
377
+ }
378
+ }
379
+
380
+ async function showList(url, mode) {
381
+ clearTimeout(typingTimer)
382
+ const ticket = ++listTicket
383
+ try {
384
+ const response = await fetch(url, { cache: 'no-store' })
385
+ if (ticket !== listTicket) return
386
+ if (!response.ok) return void location.assign(url)
387
+ const fresh = new DOMParser().parseFromString(await response.text(), 'text/html')
388
+ const region = document.querySelector('[data-list-region]')
389
+ const replacement = fresh.querySelector('[data-list-region]')
390
+ if (!region || !replacement) return void location.assign(url)
391
+ if (mode === 'push') window.history.pushState(null, '', url)
392
+ if (mode === 'replace') window.history.replaceState(null, '', url)
393
+ region.replaceWith(document.importNode(replacement, true))
394
+ served.set(replacement.dataset.region, replacement.cloneNode(true))
395
+ document.title = fresh.title
396
+ syncListForm(url)
397
+ } catch {
398
+ location.assign(url)
399
+ }
400
+ }
401
+
402
+ if (listForm) {
403
+ listForm.querySelector('[data-list-submit]').hidden = true
404
+ listForm.addEventListener('input', (event) => {
405
+ if (event.target.type !== 'search') return
406
+ clearTimeout(typingTimer)
407
+ typingTimer = setTimeout(() => showList(listUrl(listForm), 'replace'), 250)
408
+ })
409
+ listForm.addEventListener('change', (event) => {
410
+ if (event.target.tagName === 'SELECT') showList(listUrl(listForm), 'push')
411
+ })
412
+ listForm.addEventListener('submit', (event) => {
413
+ event.preventDefault()
414
+ showList(listUrl(listForm), 'push')
415
+ })
416
+ window.addEventListener('popstate', () => showList(location.href, null))
417
+ }
418
+
419
+ function plainClick(event) {
420
+ return !event.ctrlKey && !event.metaKey && !event.shiftKey && !event.altKey && event.button === 0
421
+ }
422
+
423
+ document.addEventListener('click', (event) => {
424
+ if (!plainClick(event)) return
425
+ const link = event.target.closest('a[data-list-link]')
426
+ if (link && listForm) {
427
+ event.preventDefault()
428
+ return void showList(link.href, 'push')
429
+ }
430
+ const clear = event.target.closest('[data-list-clear]')
431
+ if (clear && listForm) {
432
+ event.preventDefault()
433
+ for (const field of listForm.elements) if (field.name) field.value = field.dataset.default ?? ''
434
+ return void showList(clear.href, 'push')
435
+ }
436
+ const more = event.target.closest('[data-history-more]')
437
+ if (more) {
438
+ event.preventDefault()
439
+ return void showHistory(more)
440
+ }
441
+ for (const menu of document.querySelectorAll('details[data-menu][open]'))
442
+ if (!menu.contains(event.target)) menu.open = false
443
+ })
444
+
445
+ async function showHistory(link) {
446
+ link.setAttribute('aria-busy', 'true')
447
+ try {
448
+ const response = await fetch(link.dataset.historyMore, { cache: 'no-store' })
449
+ if (!response.ok) return void location.assign(link.href)
450
+ const fragment = document.createRange().createContextualFragment(await response.text())
451
+ const list = link.closest('[data-history]')
452
+ const shown = list.querySelectorAll('ol.history > li').length
453
+ list.replaceWith(fragment)
454
+ const entries = document.querySelectorAll('[data-history] ol.history > li')
455
+ entries[shown]?.querySelector('summary')?.focus()
456
+ announce(`Showing ${entries.length} revisions`)
457
+ } catch {
458
+ location.assign(link.href)
459
+ }
460
+ }
461
+
462
+ function openTarget() {
463
+ if (!location.hash) return
464
+ const target = document.getElementById(decodeURIComponent(location.hash.slice(1)))
465
+ const details = target?.closest('details')
466
+ if (details && !details.open) details.open = true
467
+ }
468
+
469
+ window.addEventListener('hashchange', openTarget)
470
+
471
+ const toast = document.querySelector('[data-toast]')
472
+ if (toast)
473
+ setTimeout(() => {
474
+ toast.classList.add('gone')
475
+ setTimeout(() => toast.remove(), reducedMotion.matches ? 0 : 320)
476
+ }, 6000)
477
+
478
+ function fitHeight(area) {
479
+ area.style.height = 'auto'
480
+ area.style.height = `${area.scrollHeight + area.offsetHeight - area.clientHeight}px`
481
+ }
482
+
483
+ if (!CSS.supports('field-sizing', 'content')) {
484
+ const areas = [...document.querySelectorAll('.edit-card textarea')]
485
+ for (const area of areas) {
486
+ fitHeight(area)
487
+ area.addEventListener('input', () => fitHeight(area))
488
+ }
489
+ window.addEventListener('resize', () => areas.forEach(fitHeight))
490
+ }
491
+
492
+ document.querySelector('[data-shortcuts-open]').hidden = false
493
+ syncRationale()
494
+ syncSource()
495
+ openTarget()
496
+ if (location.hash === '#decide' || location.hash === '#answer')
497
+ document.querySelector(`${location.hash} textarea, ${location.hash} input:not([type="hidden"])`)?.focus({
498
+ preventScroll: false,
499
+ })
500
+ else if (body.dataset.subjects === 'inbox' && navItems().length) navItems()[0].focus({ preventScroll: true })
501
+ connect()
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -22 64 64"><g fill="none" stroke="#2c6150" stroke-width="2.5"><rect x="2" y="3" width="13" height="13"/><rect x="18" y="3" width="13" height="13"/><rect x="34" y="3" width="13" height="13" fill="#2c6150"/><rect x="50" y="3" width="13" height="13"/></g></svg>
@@ -0,0 +1,93 @@
1
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,93 @@
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.